Re: Benchmarking ...

From: Date: Fri, 21 Oct 2011 23:26:25 +0000
Subject: Re: Benchmarking ...
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.internals 
Request: Send a blank email to internals+get-55893@lists.php.net to get a copy of this message
On 10/21/2011 4:42 PM, Lester Caine wrote: > Stephen Zarkos wrote: >> Yes, I do:) Although the tests we've done are a bit different from this sort of >> benchmark. We typically do more load testing, where we have one or more load agent(s) >> each creating multiple virtual clients accessing one or more PHP pages on another >> physical server. > > I'm trying to factualize this and come up with a benchmark that I can rely on to check > performance. The initial claim was that there was no advantage using 64bit builds, but > I've re-run everything on the Vista box, and this is giving me 70 seconds on the x86 > Apache/PHP but 60 seconds with the x64 build. This is confirming what I thought myself, > and I would expect around 40 seconds on a 64 bit linux on the same hardware. I will try a > live CD just to confirm that. > > This would suggest that something else is going on with the Windows7 setup for it to be 4 > times slower? 4x sounds excessive, but in fact TS code is a significant performance penalty for windows, the only place where thread safety is "supported". I'd challenge you to do a non-TS build on windows and set up an fcgid pool of php workers and compare -that- to linux. I'd expect very nearly identical performance, once you factor out kernel-specific differences in the link-loader/resolver. Those are likely two very different beasts.

« previous php.internals (#55893) next »