Re: About optimization
| From: | Rasmus Lerdorf | Date: | Thu, 14 Jan 2010 03:27:59 +0000 |
| Subject: | Re: About optimization | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-46729@lists.php.net to get a copy of this message | ||
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