Re: PHP app & Server Load

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 8, 2010 at 12:19 PM, Daniel Brown <danbrown@xxxxxxx> wrote:

> On Tue, Jun 8, 2010 at 12:12, Dan Joseph <dmjoseph@xxxxxxxxx> wrote:
> >
> > Anyone know a good way to estimate load based on actually numbers
> compared
> > to benchmark results from intel on a faster server?
>
>     Run a DDoS-style (but not legitimate DDoS attack) load-balance
> simulator against your site and see where the bottlenecks lie.  The
> biggest problems are general filesystem writes (including sessions)
> and database queries.
>
>    If you have multiple servers from which you can run test scripts,
> do that (preferrably from various networks).  If not, do what you can
> with what you have.  Make sure your testing system simulates the
> traffic in the manner you expect (clicking links before the page fully
> loads, closing the connection and immediately refreshing it, et
> cetera).
>
>    Tools of the trade:
>
>        top/htop (for general system process watching)
>        mtop (for MySQL)
>        mod-top (for PHP process watching)
>        apachetop (for Apache)
>
>    And invaluable things to remember with regard to MySQL:
>
>        The 'log-slow-queries' option
>        The SQL statement: SHOW PROCESSLIST;
>
> --
> </Daniel P. Brown>
> daniel.brown@xxxxxxxxxxxx || danbrown@xxxxxxx
> http://www.parasane.net/ || http://www.pilotpig.net/
> We now offer SAME-DAY SETUP on a new line of servers!
>


Thanks, some of those I wasn't aware of.  I've got them setup now and I'm
going to try and test on the server I have again.

As for estimating how things would run on a better server.  There are
benchmarks that score the CPUs.  Let's say one scored 5500, and one scored
1100, is it safe to say the higher one can handle 5x the load?

-- 
-Dan Joseph

www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month.  Promo
Code "NEWTHINGS" for 10% off initial order

http://www.facebook.com/canishosting
http://www.facebook.com/originalpoetry

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux