Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71497 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91606 invoked from network); 24 Jan 2014 11:36:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Jan 2014 11:36:01 -0000 Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain zend.com from 74.125.82.42 cause and error) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 74.125.82.42 mail-wg0-f42.google.com Received: from [74.125.82.42] ([74.125.82.42:49828] helo=mail-wg0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C0/FC-39789-F1052E25 for ; Fri, 24 Jan 2014 06:36:00 -0500 Received: by mail-wg0-f42.google.com with SMTP id l18so1732143wgh.3 for ; Fri, 24 Jan 2014 03:35:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=WfajjXSKqmpcRBo0RVX/wbIiTZUpXn4yRIJL3eXF3DE=; b=c1fR3+Ryt1CIe4McnJBaz+VKG0sMmTcf9TeoHkU3EtV43EhAFEHZutXgML/s512qPV 1dfSjGWwh+qgCPLsqNjs1EL8D1f7arqfOVxstwPvVTJO2Ai3crqudOpaJxBZ4RRkslzH W20Jg14xRqgPWtnN8DWHWtkNOiQS4LeLd817p/JxjOMGnDYWfFvXJeEXu3lghDUjEbPH VNzkQtVi102zatk/8UotuZn8yeEW6035Iuul5lYWGXGFfRDe6waDVmTktE67yCfzcPQS InN6TbqVJf/L8O4+yY/0C63dS1PkIW2WkMnfVALKs7rZhgx1x8T+sOYiYN/vJXnnsW8P OIEg== X-Gm-Message-State: ALoCoQnTBwI3RstqGzQzaOmnqe2duI7OM1/U9dV5FqG526Mi16fpzLWE4zF6Wh288cwOVWjfKpAhSjb5FqIHKyHhMywMfFtmLLRciAkepfgxs8mZb0JzuBMu67j3lzvhCCaTkeDuCE70 MIME-Version: 1.0 X-Received: by 10.194.92.68 with SMTP id ck4mr1039722wjb.53.1390563356860; Fri, 24 Jan 2014 03:35:56 -0800 (PST) Received: by 10.227.91.196 with HTTP; Fri, 24 Jan 2014 03:35:56 -0800 (PST) In-Reply-To: References: <52E0F55F.4040802@lsces.co.uk> <52E16AC2.8070400@ajf.me> Date: Fri, 24 Jan 2014 15:35:56 +0400 Message-ID: To: Pierre Joye Cc: Andrea Faulds , Derick Rethans , PHP Internals Content-Type: multipart/alternative; boundary=047d7bf0d2deec7a2b04f0b5c2eb Subject: Re: [PHP-DEV] [RFC] 64 bit platform improvements for string length and integer From: dmitry@zend.com (Dmitry Stogov) --047d7bf0d2deec7a2b04f0b5c2eb Content-Type: text/plain; charset=UTF-8 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 wrote: > On Fri, Jan 24, 2014 at 8:32 AM, Dmitry Stogov 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 > --047d7bf0d2deec7a2b04f0b5c2eb--