Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71624 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52525 invoked from network); 27 Jan 2014 06:01:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jan 2014 06:01:08 -0000 Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain zend.com from 74.125.82.43 cause and error) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 74.125.82.43 mail-wg0-f43.google.com Received: from [74.125.82.43] ([74.125.82.43:33049] helo=mail-wg0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A5/2E-12631-226F5E25 for ; Mon, 27 Jan 2014 01:01:07 -0500 Received: by mail-wg0-f43.google.com with SMTP id y10so5131886wgg.22 for ; Sun, 26 Jan 2014 22:01:04 -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=Jx3wc6YarJr7/7ZkthF1IvEp4p1/+R3eOA1gaiNhBC0=; b=cbCuuqzlZA35p7d7r/6Sn7ewbRalbj4/5Dx4L2MQSwTZfhwrk21L/gVS8udBIyIXh3 gbY5B/YJJ03xOEUT5yESfQNuNd1DXXBV1v+QXLwU2MjQ/IHqPaBAAtb6Vdj2nlEx2hxr zv2Vft/U0JKNDs2ofhvJpHEuri5ySP+HJWdnB8Wk/gf7rg+ZUH8vVcHxptzRu64qrbOu 09I4hmTCnKVxl94h1sWp5ym1zHviML7YZJXi1obCvWot5eopPX2pWqvhBRvCRc2dMlTc GyuZPgul0hhPMslnyUseCeK+HNPm8Qekl8FFdXQFfj6rZh3IXmmMw/jN3IdN1p5AY9bt CnUQ== X-Gm-Message-State: ALoCoQlfBlModoApw5rd3XJ2vqZH1mfrQPqRSw9BgK0iEL/78XzC6zKRcl8ZnN553UtZqJXABa/nPrtg8jlMA4MkFBLyzQ911FrvtM+KQHydTEZSYSuLS1Ea4vkvNjzrKacV9JnMTEAg MIME-Version: 1.0 X-Received: by 10.195.13.164 with SMTP id ez4mr18603502wjd.11.1390802464198; Sun, 26 Jan 2014 22:01:04 -0800 (PST) Received: by 10.227.91.196 with HTTP; Sun, 26 Jan 2014 22:01:04 -0800 (PST) In-Reply-To: References: <52E0F55F.4040802@lsces.co.uk> <52E16AC2.8070400@ajf.me> <495825bae91351018d6142f4e0062d9a.squirrel@webmail.klapt.com> Date: Mon, 27 Jan 2014 10:01:04 +0400 Message-ID: To: Pierre Joye Cc: Anatol Belski , Andrea Faulds , Derick Rethans , PHP Internals Content-Type: multipart/alternative; boundary=047d7bb04f68d4e83704f0ed6ec9 Subject: Re: [PHP-DEV] [RFC] 64 bit platform improvements for string length and integer From: dmitry@zend.com (Dmitry Stogov) --047d7bb04f68d4e83704f0ed6ec9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Pierre, On Sun, Jan 26, 2014 at 11:01 PM, Pierre Joye wrote: > 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 w= ith 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 bi= t 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 th= e > > 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. > If you know how to fix it, please provide a patch. Thanks. Dmitry. > > > > =E2=80=A2 The 5.5.8 x64 build was even worse. With the opcache s= cenario, > 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, > -- > Pierre > > @pierrejoye | http://www.libgd.org > --047d7bb04f68d4e83704f0ed6ec9--