Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74168 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62328 invoked from network); 14 May 2014 08:43:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 May 2014 08:43:08 -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.192.51 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.192.51 mail-qg0-f51.google.com Received: from [209.85.192.51] ([209.85.192.51:47060] helo=mail-qg0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 19/44-40033-C9C23735 for ; Wed, 14 May 2014 04:43:08 -0400 Received: by mail-qg0-f51.google.com with SMTP id q107so2250138qgd.24 for ; Wed, 14 May 2014 01:43:05 -0700 (PDT) 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; bh=LHW63mv2ndpdSiJqF2LrrBuX3OxwMDjXn6oaAPPn96M=; b=RikjccyfDC2aICFe/Bz3qMVvag1pxu+lPRVMhwrkIZyXY6dFTdMmz8T73cgZp63gp5 tqG6+6YU1R90NxtZ/KlWVZdWZ00B9s/+SsNgnIpz2Iu793oHvzbaGWtiDaKgW2DKdT6b iT6Z0haZrsvW/jCCrJr9TJ/PiNunVmAH4KFrhXYK2/H05hXTcwhTivDtZiWE5IVFbviN TY2pyF5oL6zA74Bi8Sq/hFCGJcSvcMy5oToIUnH47LSqBifRjP2ION0broiMfM9U++mX Pt7nMwknmnXATlXMb1Tzqqhx4PvMJ9KS2Cg1JxaEV24UhfP1J0YaZVtQpjqqkxSdvs3Q KH/Q== MIME-Version: 1.0 X-Received: by 10.224.129.135 with SMTP id o7mr1274923qas.18.1400056985467; Wed, 14 May 2014 01:43:05 -0700 (PDT) Received: by 10.140.47.231 with HTTP; Wed, 14 May 2014 01:43:05 -0700 (PDT) In-Reply-To: References: Date: Wed, 14 May 2014 10:43:05 +0200 Message-ID: To: Zeev Suraski Cc: Nikita Popov , PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [VOTE] [RFC] 64 bit platform improvements for string length and integer From: pierre.php@gmail.com (Pierre Joye) On Wed, May 14, 2014 at 9:52 AM, Zeev Suraski wrote: > Well put Nikita! > > Guys - we're in a bit of a ridiculous situation > where the key low-level > engine maintainers are saying this patch is unacceptable, What is amazingly disturbing, annoying and respectless is yet again Zend, who are in my humble opinion not the only key developers since very long, worked on a rewamp of the engine for months, without sending a single notice to the list neither ask for feedback, support, discussions about its design, etc. > yet it may pass > due to the low level of overall interest and the lack of special rules to > govern low-level changes like that (where with all due respect, I think the > main maintainers of the engine should get much stronger power). Since when do you care about rules? Broke them for opcache last year and it looks like it will happen again for this prototype. > The patch the way it is now should be discarded; All the macro changes, as > well as any data structure change except for IS_LONG should be removed. So, if I understand correctly, you are asking to kill 80% of the patch, reduce it to the only 64bit integer part. And what for? Because you did not want to communicate earlier about your work on the engine? Despite the numerous messages, discussions, status updates about many tasks related to the next major version. Excuse me, but this is actually not acceptable. Let alone the technical reasons why the 64bit patch is a must have, since long. > Given that the current RFC doesn't thoroughly represent the performance hit > (in terms of memory footprint, as well as resulting performance hit - > especially when using phpng), I recommend the following: Let me rephrase it without confusing other readers, hopefully. phpng as it is now is a prototype. Very promising one but still a prototype. It totally lacks any usable documentation to do tests, port existing extensions or any real life tests, unlike the 64bit patch, which provide everything and have been intensively tested since the very first day, publicly, openly and every result has been discussed here. > * Add the relevant performance feedback from Dmitry to the RFC, as well as > his concerns as the chief performance guy php.net has Get phpng in a state where we can actually work with it, then we may consider it. As you can see, we already provide support to bring it there. But we are far away for being done, and I am only talking about getting it up and running on common supported platforms. Design (APIs) and other improvement still have to be done. > * Provide an option for people to vote 'yes' for the IS_LONG size part only No. As it is not what we have to do. See the previous discussions and my previous answers in this thread. > If the authors of the RFC object, my request from everyone who has voting > rights here is to vote 'no' and we can create a separate RFC for the IS_LONG > part only. Forcing this change against the explicit concerns of Dmitry and > Nikita, who worked their rear ends off to squeeze every bit of performance > in phpng (along with Xinchen, and now others joining in) - is, well, > ridiculous IMHO. Learn to manage your team in a way that cooperation with php.net core developers better. Performance is nice and shiny, but it should not be done at the price of the overall healthiness of the PHP project. And it becomes slowly a habit to push hard things for random reasons or unstable/unfinished patches. The proposal remains the same. I am more than convinced that we should cooperate and get both in at the same time. There are always rooms for improvements and we will provide support in many ways to achieve them, as we always did. But asking to simply drop 80% of the patch for an unknown and moving target is not acceptable. Cheers, -- Pierre @pierrejoye | http://www.libgd.org