Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74143 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44002 invoked from network); 13 May 2014 14:11:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 May 2014 14:11:01 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 209.85.216.173 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.216.173 mail-qc0-f173.google.com Received: from [209.85.216.173] ([209.85.216.173:44159] helo=mail-qc0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4A/E1-23298-2F722735 for ; Tue, 13 May 2014 10:10:59 -0400 Received: by mail-qc0-f173.google.com with SMTP id i8so461815qcq.18 for ; Tue, 13 May 2014 07:10:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type; bh=IaXju7Gow+e4fUcgQmOUYKqvb5BP9iLgbKYGq4TJT4s=; b=CUOpYI0zBhFruMTXPrLaXaKgd+dwwZAWblKEamM7wcyAp79wH7+NZy2ZEIQEMSBIJp axDeu3PVU+iyv+e43jjSO3UUQntk7nwhEJxsR5d5CIpS7XRsGuyVl0gqFM3lkhJ4KiCP YsWDjM7R2VVDsXdghkFPDzIjBsutEpoDymg5pid2r/yER6vlTsc6c59R54hYi/vmKVGd ZudFP5tEI4tF5blMBdY22pjAr043Sm0IElvLjtO0sWSovV/mZZBP4+Q17mkwEEIlM+Kf 90674OfrND6ydIT+3u9AKxwaS4xsAz2De8/28ZNWVpE3ziMqBWafeSvqTvwzX2IVWhbc kkxg== X-Gm-Message-State: ALoCoQm+5ellCN93HGpwO0+iYZwnytkpUch+8+6r9O4JOEt37MD6aU0DTgwmqFOraQQsvF3yN64l X-Received: by 10.140.93.42 with SMTP id c39mr45623584qge.53.1399990255737; Tue, 13 May 2014 07:10:55 -0700 (PDT) Received: from [192.168.200.30] (c-50-131-44-225.hsd1.ca.comcast.net. [50.131.44.225]) by mx.google.com with ESMTPSA id k16sm20018803qaa.39.2014.05.13.07.10.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 13 May 2014 07:10:54 -0700 (PDT) Message-ID: <537227EC.4000400@lerdorf.com> Date: Tue, 13 May 2014 07:10:52 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Dmitry Stogov CC: Zeev Suraski , Andrea Faulds , Andi Gutmans , Sebastian Bergmann , "internals@lists.php.net" References: <5369CED9.5010001@php.net> <4339111475046055305@unknownmsgid> <578A5A21-A820-42AD-A218-FB8049F63B82@zend.com> <3A72C770-9A9F-40C9-9DFE-F40478709BA8@ajf.me> <311084565853739035@unknownmsgid> <536BA9FE.1090408@lerdorf.com> <5370D35C.8000306@lerdorf.com> <53715F59.6070203@lerdorf.com> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qAUKUfCsPK6ik7qjqnn3EWOHBwWMpJ5rQ" Subject: Re: [PHP-DEV] phpng: Refactored PHP Engine with Big Performance Improvement From: rasmus@lerdorf.com (Rasmus Lerdorf) --qAUKUfCsPK6ik7qjqnn3EWOHBwWMpJ5rQ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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. >=20 > Anyway, PIC doesn't make significant slowdown on x86_64, because of > additional CPU registers and special PIC support. >=20 > 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 --qAUKUfCsPK6ik7qjqnn3EWOHBwWMpJ5rQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) Comment: GPGTools - https://gpgtools.org iEYEARECAAYFAlNyJ+0ACgkQlxayKTuqOuDNOwCcDXGFS2QfFjL6XXOeRr+I9qRJ MWkAmwWGz7wIQrIl58IDSAUqQH2wyx2Q =/VUn -----END PGP SIGNATURE----- --qAUKUfCsPK6ik7qjqnn3EWOHBwWMpJ5rQ--