Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:89245 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21951 invoked from network); 16 Nov 2015 21:22:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Nov 2015 21:22:32 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain lerdorf.com designates 209.85.160.179 as permitted sender) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.160.179 mail-yk0-f179.google.com Received: from [209.85.160.179] ([209.85.160.179:36765] helo=mail-yk0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1B/C2-34372-8194A465 for ; Mon, 16 Nov 2015 16:22:32 -0500 Received: by ykdr82 with SMTP id r82so263306588ykd.3 for ; Mon, 16 Nov 2015 13:22:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lerdorf_com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type; bh=9i0FPlKyLi2Euh4vDRnKiGlHMXyL3zxPRxRbfFN+Lfs=; b=RxPv8jYVZSW8TaLNUHXbAOvIMSBlnZ6AMOJXA1oEDQVq0GB1G0764BaG2jOkMj3/lB IroNRXSaF8J6xflyJotdafsQd/YGq9jSJa/Hj3djJbaN+gc+uH/GgGlq75M52yfnC/As VCfu2H7zi66N3pRfI+F+5UdchKQwPBbtb0OtfLBsChhdxsz+kRr3Wdpx8SY3ifHKr+Ec hr8yXEIIIWOuJycnlj7vjuAOCILEnHCjz7/yxXROaIFVuFwZXJJL6VXtaxxeADz0Dmyv IubDAqpdg2ZAqz0YZ2AhtWLn98jGCzG/7L4HA4CYua3ZLY7rmekQ8A1zsApvQP5X1TfZ Gxrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type; bh=9i0FPlKyLi2Euh4vDRnKiGlHMXyL3zxPRxRbfFN+Lfs=; b=CTuWDmJMYPLgM7iOy49EKyHqtAPJYWPQEqAWGpojaugShYnP7GPuY5TJWDdv/unRW+ MFEKqz+dlMjrIwJv1PeT2hihf0A7SnFOtQxdqD0biIRZ6YjSaFFmdectllnMloI82IuC XMKpANPahZDfbUwaH6mj/OD0wK46Z2zvexlTnjjGqN5aNLzfFEhLH+0PV52fJeMiLNWP 4GMRXZBXTc2QHIttjYTPsPY2ji2oNtj9eO7q9mzGbaSplWylOCvIR6BCI6zrFBMcOptR DwDaAAC1mETJfqNug2+zYjk+2JGmJqVjhwZY3mqXyxOgIMucwgoEpKolxuJxDqdVsleJ /x7g== X-Gm-Message-State: ALoCoQk6obakkRZ2HDvoFM0n2e7WnlrS47g671m4XwWmL6OBlTSxL75uqCri89aqnGg0vXVoc5Fe X-Received: by 10.13.243.135 with SMTP id c129mr40940299ywf.113.1447708949679; Mon, 16 Nov 2015 13:22:29 -0800 (PST) Received: from [10.252.9.10] ([64.124.192.210]) by smtp.googlemail.com with ESMTPSA id 141sm36879722ywm.28.2015.11.16.13.22.27 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Nov 2015 13:22:27 -0800 (PST) To: Jefferson Gonzalez , internals@lists.php.net References: <12.A1.62946.CB756465@pb1.pair.com> <564659DF.5070904@php.net> <77.62.62946.F6D56465@pb1.pair.com> <80ED4CA4-1548-48B5-A94B-B3FA1377C755@lerdorf.com> <54.63.62946.75D96465@pb1.pair.com> <564A38FB.2020101@gmail.com> <564A3B14.1040003@lerdorf.com> <564A4668.8050704@gmail.com> Message-ID: <564A4910.8010808@lerdorf.com> Date: Mon, 16 Nov 2015 16:22:24 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <564A4668.8050704@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="61V19PTtM41ia9LJRahBOnIT8iaaUOPOq" Subject: Re: [PHP-DEV] Support for writing and executing compiled opcodeStephen Coakley From: rasmus@lerdorf.com (Rasmus Lerdorf) --61V19PTtM41ia9LJRahBOnIT8iaaUOPOq Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 11/16/2015 04:11 PM, Jefferson Gonzalez wrote: > On 11/16/2015 04:22 PM, Rasmus Lerdorf wrote: >> But that is exactly what the file-based opcache does by itself. The on= ly >> speedup you achieve by trying to distribute the .bin files would be a >> minor boost the first time a cli script is executed. All subsequent ru= ns >> of the script would hit the cache. The added complexity and potential >> version conflicts of trying to distribute the .bin files doesn't seem >> like it would be worth the trouble for such a minor one-time performan= ce >> benefit. >> >> -Rasmus >> >> >=20 > But as far as I know thats only possible with php-cli and not with > php-cgi, is it? There is nothing cli-specific about this feature, so yes, it works fine with php-cgi. You can set opcache.file_cache_only if you like to not even try to create a shm cache and only use the file-based one for your php-cgi setup. -Rasmus --61V19PTtM41ia9LJRahBOnIT8iaaUOPOq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlZKSRMACgkQlxayKTuqOuDuKQCeKj0Wo2Hty2jqQk2qV89YV1wW NEUAniyp0iei/2E6fgQw91Skq+Uqexmx =+DIN -----END PGP SIGNATURE----- --61V19PTtM41ia9LJRahBOnIT8iaaUOPOq--