Re: phpng: Refactored PHP Engine with Big Performance Improvement

From: Date: Tue, 13 May 2014 14:34:53 +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 18  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
In case you care about few additional req/sec it must not be a problem to
do it on most major Linux distributions.

$ CC="gcc -m32" ./configure --without-pic ....

anyway, 64-bit phpng gets much more improvement because of reduced memory
consumption.

Thanks. Dmitry,




On Tue, May 13, 2014 at 6:10 PM, Rasmus Lerdorf <[email protected]> wrote:

> 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
>
>


Thread (123 messages)

« previous php.internals (#74145) next »