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. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php