Re: PHP app & Server Load

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

 



On Tue, Jun 8, 2010 at 13:29, Dan Joseph <dmjoseph@xxxxxxxxx> wrote:
>
> 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?

    Very, very loosely, yes.  Keep in mind that multiple things
directly affect CPU performance, including disk speed and block size,
RAM availability and speed, motherboard speed, kernel tuning,
operating system and environment, optimally-compiled code, et cetera.
So while one may bench five times the other, a realistic expectation
may be somewhere in the three to 3.5x mark.

    Some of the servers we've been selling a lot of lately are
high-cache quad-core Xeon's with 12GB RAM.  Should be sufficient to
handle a decent amount of load.... but we used one as a demo machine
last month during a conference presentation for a subject very similar
to this, and showed that the larger machine with poor handling and
configuration could be outdone by a dual-core Celeron with 4GB RAM
with the same amount of stress.  Things like poor coding, using 32-bit
binaries on a 64-bit capable system, compiling generically instead of
specifically for the target architecture, keeping the system updated,
not compiling in unnecessary options (read: don't bloat your
binaries), having sufficient scratch disk space, and so forth.  It
sounds daunting, but it's really not.

-- 
</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!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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