Re: Performance tuning PHP5
| From: | Daniel T. Gorski | Date: | Wed, 21 May 2003 03:16:25 +0000 |
| Subject: | Re: Performance tuning PHP5 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-1836@lists.php.net to get a copy of this message | ||
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?
regards dtg