Re: Re[5]: [PHP-DEV] Design of the Zend Engine's Instruction Set

From: Date: Fri, 21 Aug 2009 17:06:36 +0000
Subject: Re: Re[5]: [PHP-DEV] Design of the Zend Engine's Instruction Set
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-45328@lists.php.net to get a copy of this message
On Aug 16, 2009, at 2:25 PM, Paul Biggar wrote:
I've seen that you talked about branch prediction misses in your paper. Did you ever tried to compile the original PHP with different compilers, for example from intel or sun studio? Did you test or have you ever heard of someone who tested the influence of the profiling feedback that modern C compilers offer? (Well don't ask me - it's somewhere on my TODO list - but i also haven't had the time yet).
I tried FDO with gcc 4.4 on phc generated code, but not on the PHP interpreter. I've not looked at other compilers either. I tried Sun Studio 12 feedback profile based optimization on Solairs sparc
and found only a small gain (~1.5%) in a ecommerce php application. Moreover feedback optimizations works sometimes if it is trained with same set of samples (which I avoided in my measurements). Feedback optimization however helped me find out where compiler is doing additional inlining. Coolstack provided php binaries which is compiled with Studio 12 feedback optimization. Basant.

« previous php.internals (#45328) next »