Re: [RFC] 64 bit platform improvements for string length and integer

From: Date: Fri, 24 Jan 2014 11:35:56 +0000
Subject: Re: [RFC] 64 bit platform improvements for string length and integer
References: 1 2 3 4 5 6 7 8 9 10 11 12 13  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
it's not a stopper. It's just a fact and it's not related to this patch at
all. Any performance related improvements are always welcome :)

X32 is not the same as x86. It is a new ABI (not widely used yet) , it's
actually executes 64-bit instructions but uses 32-bit pointers.
For tasks that don't really need huge amount of memory, it takes advantages
from both (x86 and x86-64) ABIs and as result such applications compiled
for X32 may run ~10% faster.

Thanks. Dmitry.


On Fri, Jan 24, 2014 at 1:34 PM, Pierre Joye <[email protected]> wrote:

> On Fri, Jan 24, 2014 at 8:32 AM, Dmitry Stogov <[email protected]> wrote:
> > Unfortunately, my benchmarks on Linux show that 64-bit PHP builds are
> always
> > a bit slower on real-life applications.
> > It's because 64-bit PHP uses more memory and as result causes more CPU
> cache
> > misses.
>
> That's something we can solve, it does not sound like a stopper to me.
> It is also about time to focus on 64bit much more widely, while
> keeping support for x32.
>
>
>
> --
> Pierre
>
> @pierrejoye | http://www.libgd.org
>


Thread (80 messages)

« previous php.internals (#71497) next »