Re: phpng: Refactored PHP Engine with Big Performance Improvement

From: Date: Tue, 13 May 2014 14:10:52 +0000
Subject: Re: phpng: Refactored PHP Engine with Big Performance Improvement
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On 5/12/14, 11:05 PM, Dmitry Stogov wrote:
> Even in this 64-bit world, I would suggest to try 32-bit PHP. In most
> cases it shows better performance.
> X32 ABI would be ideal, but it's not widely supported yet.
> 
> Anyway, PIC doesn't make significant slowdown on x86_64, because of
> additional CPU registers and special PIC support.
> 
> We tried GOTO executor and, of course, it's faster.
> Actually, after all the optimizations, instruction dispatch overhead
> became more and more significant,
> so we will have to think about it.

But I don't think people are going to be building PHP 32-bit if the rest
of their system is all 64-bit. And PIC vs. non-PIC isn't really an issue
anymore as I suspected. We should be optimizing for 64-bit. By the time
phpng hits the world there will be even fewer 32-bit deploys out there.

-Rasmus



Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc

Thread (123 messages)

« previous php.internals (#74143) next »