Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46729 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18444 invoked from network); 14 Jan 2010 03:28:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jan 2010 03:28:07 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 74.125.78.26 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 74.125.78.26 ey-out-2122.google.com Received: from [74.125.78.26] ([74.125.78.26:29025] helo=ey-out-2122.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 45/11-00773-64F8E4B4 for ; Wed, 13 Jan 2010 22:28:07 -0500 Received: by ey-out-2122.google.com with SMTP id 9so57976eyd.39 for ; Wed, 13 Jan 2010 19:28:03 -0800 (PST) Received: by 10.216.86.201 with SMTP id w51mr81369wee.8.1263439683360; Wed, 13 Jan 2010 19:28:03 -0800 (PST) Received: from ?192.168.200.22? (c-98-234-184-167.hsd1.ca.comcast.net [98.234.184.167]) by mx.google.com with ESMTPS id t12sm600741gvd.20.2010.01.13.19.28.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 13 Jan 2010 19:28:02 -0800 (PST) Message-ID: <4B4E8F3F.8020600@lerdorf.com> Date: Wed, 13 Jan 2010 19:27:59 -0800 User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Tim Starling CC: internals@lists.php.net References: <4B4DABED.4060202@easyflirt.com> <4B4DBF40.5040801@easyflirt.com> <4B4DCFDA.6090206@dmi.me.uk> <4B4DF01A.1080103@wikimedia.org> <4B4DFBDE.1020906@lerdorf.com> <4B4E5943.3000706@wikimedia.org> <4B4E5D5B.9020805@zend.com> <4B4E6BE5.1070404@wikimedia.org> <4B4E79A6.2010904@zend.com> <4B4E8D15.60508@wikimedia.org> In-Reply-To: <4B4E8D15.60508@wikimedia.org> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] About optimization From: rasmus@lerdorf.com (Rasmus Lerdorf) Tim Starling wrote: > For Mr. "everyone has 8GB of memory and tiny little data sets" Lerdorf, > I could point out that reducing the average zend_op size and placing > strings close to other op data will also make execution faster, due to > the improved CPU cache hit rate. Nice twist there. I simply related memory to cpu and the assumption was that if you had a dual quad-core system, chances are that you also had 8G of ram. Having 8 cores with only 1G of ram would be a weird server config. -Rasmus