Re: Performance tuning PHP5
| From: | Andi Gutmans | Date: | Wed, 21 May 2003 20:48:58 +0000 |
| Subject: | Re: Performance tuning PHP5 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-1868@lists.php.net to get a copy of this message | ||
At 05:16 AM 5/21/2003 +0200, Daniel T. Gorski wrote:
On 20 May 20:38, Sterling Hughes wrote: Hi, #define ZEND_MM To: #undef ZEND_MM And touch zend_alloc.c, recompile, and then rebenchmark. My tests show a 15-20% performance improvement *across the board* between before and after. This probably increases if you're using a webserver like apache, where the memory manager really screws things up. I've here a midsize PHP5 application (about 50K LOC) with a lot of abstraction layers running as CGI ... disabling MM accelerated the whole thing by about 25%, or even more. Are there any problems expected without the MM?Nope. Andi