[nycphp-talk] Interesting PHP5 benchmarks
Andrew Yochum
andrew at plexpod.com
Tue May 9 00:59:22 EDT 2006
Nicholas,
On Sun, Apr 30, 2006 at 01:48:45PM -0400, Nicholas Tang wrote:
> We were benchmarking our new beta setup - Apache 2, PHP 5, and APC 3 -
> and seeing absolutely terrible results. Really, really bad.
> Atrocious. As in, I had momentary fears we'd have to pick between a
> rewrite in PHP 4 or double the size of our webserver farm to manage
> it.
...
> Amazingly, while I did tweak some settings here and there, and we did
> nudge a few things in the code, the biggest change? We downgraded our
> servers from Red Hat Enterprise 4 Update 3 to Update 2. That was it.
> Approximately 90% of the difference in the two tests came from that
> one shift - a shift that should have been completely inconsequential.
...
I'm curious... What made you try downgrading from 3 to 2 to discover
this? Are you using prefork or another MPM? Have you compared
callgrind data when running 3 vs. 2?
Please send more details and/or updates. I, for one, would like to hear
more.
Regards,
Andrew
--
Andrew Yochum
Plexpod
andrew at plexpod.com
718-360-0879
More information about the talk
mailing list