Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:4831 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29523 invoked by uid 1010); 14 Oct 2003 15:51:08 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 29440 invoked from network); 14 Oct 2003 15:51:08 -0000 Received: from unknown (HELO mail.zend.com) (192.117.235.230) by pb1.pair.com with SMTP; 14 Oct 2003 15:51:08 -0000 Received: (qmail 19331 invoked from network); 14 Oct 2003 15:51:05 -0000 Received: from guardian.zend.office (HELO andi-laptop.zend.com) (10.1.1.4) by int.zend.com with SMTP; 14 Oct 2003 15:51:05 -0000 Message-ID: <5.1.0.14.2.20031014165752.02f83108@127.0.0.1> X-Sender: andi@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 14 Oct 2003 16:58:42 +0200 To: internals@lists.php.net Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Fwd: [PHP-DEV] ZEND_DISABLE_MEMORY_CACHE=0 problematic on large arrays From: andi@zend.com (Andi Gutmans) FYI, this should be fixed now. If anyone still bumps into weird performance problems relating to the memory manager please let me know. Andi >Date: Tue, 30 Sep 2003 21:21:38 +0800 >From: Alan Knowles >User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030911 >To: internals@lists.php.net >Subject: [PHP-DEV] ZEND_DISABLE_MEMORY_CACHE=0 problematic on large arrays > >http://cvs.php.net/diff.php/ZendEngine2/zend_alloc.c?r1=1.118&r2=1.119&ty=h&num=10 > >" - Add heap to memory manager. This should improve performance. >- Enabling it by default so that it gets tested. We should decide before >beta 2 if we want to revert back to malloc or not." > >Well, it's got some testing today.. - and it didnt do too well.. > >I'm testing by using the php-gtk generator.php (that parses the gtk.defs >scheme file into a (huge) php array. > >a default php5 checkout. build on a P800 timesout after parsing about >12000 lines in 300 seconds. > >when I revert the change: >#define ZEND_DISABLE_MEMORY_CACHE 1 > >It parses and builds the file ok.. in < 100seconds.. > >Regards >Alan > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php