Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71590 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82123 invoked from network); 26 Jan 2014 19:01:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jan 2014 19:01:49 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.169 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.217.169 mail-lb0-f169.google.com Received: from [209.85.217.169] ([209.85.217.169:61942] helo=mail-lb0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D4/90-12631-B9B55E25 for ; Sun, 26 Jan 2014 14:01:48 -0500 Received: by mail-lb0-f169.google.com with SMTP id q8so3877487lbi.14 for ; Sun, 26 Jan 2014 11:01:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=WbRAYsI/bvXJtDevH2NajxRHJhyRZi+OeB9M4nzsJDE=; b=guvs7jJThgXJ4KAZA8HSnAHdBkgkZbaHovi8SGRIxmt5EbMQnIXCNsJM28ohJ1HNEx T/hAYXoRCbKKcD+XqmTD9YweJztXDbtnvlvLK0DCqhIaAliGfKAFAgyeeYX5pgKzBx7d Na/lJvb6ZovEKxq+4gvlqF4zMftpwUtrcsGB5P7+vcSq5s/BsDmU1LzmxhW0OEw7iwyt 6xBhVg90qzr07h6Bp0gcAsf/3SPqk/ydQVpf2UjPnlTG0ADuGcObhQvJ3eWaqjG8oKXf oq/BNxyPMw0cV02ww6sXC0WbPXI201lSvFMFNXkp8cTlbW6XdJdXyt5eDG/XPQ0g3iK8 nHRw== MIME-Version: 1.0 X-Received: by 10.152.22.1 with SMTP id z1mr106334lae.39.1390762904486; Sun, 26 Jan 2014 11:01:44 -0800 (PST) Received: by 10.112.35.163 with HTTP; Sun, 26 Jan 2014 11:01:44 -0800 (PST) In-Reply-To: <495825bae91351018d6142f4e0062d9a.squirrel@webmail.klapt.com> References: <52E0F55F.4040802@lsces.co.uk> <52E16AC2.8070400@ajf.me> <495825bae91351018d6142f4e0062d9a.squirrel@webmail.klapt.com> Date: Sun, 26 Jan 2014 20:01:44 +0100 Message-ID: To: Anatol Belski Cc: Dmitry Stogov , Andrea Faulds , Derick Rethans , PHP Internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC] 64 bit platform improvements for string length and integer From: pierre.php@gmail.com (Pierre Joye) On Sun, Jan 26, 2014 at 11:54 AM, Anatol Belski wrote: Some clarifications: > =E2=80=A2 The x86 build of the str_size_and_int64 is consistent wit= h the x86 build > of 5.5.8. Meaning, no delta between patched and standard branch. > =E2=80=A2 The x64 build of the str_size_and_int64 branch was a bit = slower than the > x86 build of any version, as expected. here we refer to the patched version. > =E2=80=A2 * I had some issues with the x64 versions of 5.5.8 and In this case we refer to the standard branch build using the x64 mode of the compiler, no patch applied. > str_size_and_int64 when testing with opcache enabled. Typically the > scripts will test each application three times with 16/32/64 virtual > clients. For the str_size_and_int64 build I could get 1 or 2 out of the > three runs to produce good results, and then the other runs would just > return 500 errors. That's the known issue we have with opcache on 64bit using 64bit binaries. It is due to the memory management. The int64/size_t patch is not causing this bug. > =E2=80=A2 The 5.5.8 x64 build was even worse. With the opcache sce= nario, I was > not able to get decent results for Drupal and Joomla after several > attempts. Again, we have to keep in mind that the x64 is not the int64/size_t. cheers, --=20 Pierre @pierrejoye | http://www.libgd.org