Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:1868 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2282 invoked from network); 21 May 2003 20:48:50 -0000 Received: from unknown (HELO mail.zend.com) (192.117.235.230) by pb1.pair.com with SMTP; 21 May 2003 20:48:50 -0000 Received: (qmail 18575 invoked from network); 21 May 2003 20:48:46 -0000 Received: from localhost (HELO andi-laptop.zend.com) (127.0.0.1) by localhost with SMTP; 21 May 2003 20:48:46 -0000 Message-ID: <5.1.0.14.2.20030521234808.03685e28@127.0.0.1> X-Sender: andi@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 21 May 2003 23:48:58 +0300 To: "Daniel T. Gorski" , Sterling Hughes Cc: internals@lists.php.net In-Reply-To: <20030521031624.GA374@fahrenheit.bluemars.de> References: <1053477532.24469.17.camel@hasele> <1053477532.24469.17.camel@hasele> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] Performance tuning PHP5 From: andi@zend.com (Andi Gutmans) 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