Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65556 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94563 invoked from network); 1 Feb 2013 16:10:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Feb 2013 16:10:18 -0000 Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 209.85.212.43 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.212.43 mail-vb0-f43.google.com Received: from [209.85.212.43] ([209.85.212.43:34628] helo=mail-vb0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2B/36-41663-8E8EB015 for ; Fri, 01 Feb 2013 11:10:17 -0500 Received: by mail-vb0-f43.google.com with SMTP id fr13so2509043vbb.16 for ; Fri, 01 Feb 2013 08:10:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding:x-gm-message-state; bh=O763gdgMMZbjVA+z/G0xf0L52Fn7w3r4CpkmIunOcBU=; b=Hf1SyU66Of6M8hChSd66nD85M0OkdiSuZ/macxUSuiAU/Iza5zSUpWAA2XO1KdumfZ k2P5MqIOQE6p9yaWHqAuCu9TQ0f7MR7DiSYcCFEm8hLPWreUVcVMQhXPwFMZRHjjXrcI I3EVxQzmFg4xsuRoKmxHgmSpWgsPQ4vQhqz4OGlOnLBdNr5cKJJBEjOSBlfhT3747X0M 4AAh6BAO6Zav9HZcmoH5WKQYFI4iR8ALbLXWzwvrwdeYUGTaj35xyjcufv1RHcfbCBol lw+lGVkoyDiC9SsIW0htHnDUH8ap0r6+9v7r3BdvtRpZBStInNbwB7Z2B38nQtSgqLL+ 0j/g== X-Received: by 10.52.88.40 with SMTP id bd8mr10335299vdb.1.1359735014184; Fri, 01 Feb 2013 08:10:14 -0800 (PST) Received: from [192.168.200.148] (c-50-131-44-225.hsd1.ca.comcast.net. [50.131.44.225]) by mx.google.com with ESMTPS id x17sm8431065vdi.1.2013.02.01.08.10.12 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 01 Feb 2013 08:10:13 -0800 (PST) Message-ID: <510BE8E3.1010903@lerdorf.com> Date: Fri, 01 Feb 2013 08:10:11 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: Zeev Suraski CC: "internals@lists.php.net" References: <5d21b42656d49b4a71d9f808541bd745@mail.gmail.com> <51078485.30107@rotorised.com> <11e1ccc6eca996d9d94ae9a3bff0bbab@mail.gmail.com> <5108667C.1030901@oracle.com> <510868DE.7010408@lerdorf.com> <5108749D.8090608@oracle.com> <20d0caac77a46de19086bb6ab622be6f@mail.gmail.com> <510B6536.8050901@oracle.com> <7113676647725427046@unknownmsgid> In-Reply-To: <7113676647725427046@unknownmsgid> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQnU+poce0YY/0DwxnX2I+82zCM5bvSU3/9MzVSc/QothAsm1WEyDMIkbDdC3bsKJMO4GTBX Subject: Re: [PHP-DEV] [RFC] Integrating Zend Optimizer+ into the PHP distribution From: rasmus@lerdorf.com (Rasmus Lerdorf) On 02/01/2013 12:38 AM, Zeev Suraski wrote: > In terms of what integration would entail - my intent was that integration > means that it's on by default. I'll clarify that in the RFC, unless people > think we should put that up for discussion..? The hardest thing about that is figuring out the defaults. Setting the shared memory segment size being the primary thing. But if a reset in ZO is low-overhead, I suppose setting a conservatively low cache size isn't going to cause too many problems. With APC because of its memory manager, once the segment starts to fill up things start to slow down a bit as it ends up spending time hunting for free blocks to use. Also, if we are going to turn it on by default I'd really like to get rid of zend_optimizerplus.inherited_hack and zend_optimizerplus.dups_fix since they are both quite hard to explain to users and hit things a user really shouldn't have to concern themselves about. With the integration we should be able to convince the compiler to give us op_arrays we don't need to have hacks for here. -Rasmus