Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88591 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72873 invoked from network); 1 Oct 2015 06:25:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Oct 2015 06:25:34 -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.218.46 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.218.46 mail-oi0-f46.google.com Received: from [209.85.218.46] ([209.85.218.46:34131] helo=mail-oi0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 31/60-04700-DD1DC065 for ; Thu, 01 Oct 2015 02:25:33 -0400 Received: by oiev17 with SMTP id v17so35384170oie.1 for ; Wed, 30 Sep 2015 23:25:30 -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=9+iYoXgyqwuYo5k0M333c2wgvBodjHMq1lgYn2FM26g=; b=xh+ARMLQj7Zi1jZxu/7OMyrA03sr2x4B7WxlKAe9p87JVKlqutubeQKbcpf7wcGe8M 0iZgVNx6fcxmVdcuBE91JvWZzMJjRpMLdK0ZYiLkNmrtv/uX1XgH5ljWMAXaz8SjIyxQ F1ucX5ocxgyF/3fbSX23+J58bF7SzdAE3Euj8Z4JfkMciXCb872Gp0/XmBqoWBwALPDg Z+ZkyE362FoN237Og+Ye80Qvcb6sdcjP1iQfFHXZrUWvbEHmQWR6m1modAr9fzxeMXE3 XMbhcRFjfJv3S7aO4qO8daltcL/7hAwuXShah8C2jjy8nKfYpbOp84qq6yAgOfU+AV0/ n7Ng== MIME-Version: 1.0 X-Received: by 10.202.51.87 with SMTP id z84mr4645107oiz.35.1443680730017; Wed, 30 Sep 2015 23:25:30 -0700 (PDT) Received: by 10.202.214.8 with HTTP; Wed, 30 Sep 2015 23:25:28 -0700 (PDT) Received: by 10.202.214.8 with HTTP; Wed, 30 Sep 2015 23:25:28 -0700 (PDT) In-Reply-To: References: Date: Thu, 1 Oct 2015 13:25:28 +0700 Message-ID: To: Dmitry Stogov Cc: Anatoliy Belsky , Laruence , PHP Internals , "dmitry@php.net" , Matt Ficken Content-Type: multipart/alternative; boundary=001a113cf4f014f3cd0521051dba Subject: Re: [PHP-DEV] Re: Windows OpCache bug fix From: pierre.php@gmail.com (Pierre Joye) --001a113cf4f014f3cd0521051dba Content-Type: text/plain; charset=UTF-8 On Oct 1, 2015 3:59 AM, "Dmitry Stogov" wrote: > > Hi Matt, > > Thanks for looking into the problem, but I afraid that the proposed > solution won't solve the problem completely, but may introduce new > problems. At first, we might to reserve N times more memory. Then different > SHM segments might contain different data. opcache_reset(), > opcache_invalidate() and others will affect only one segment. > > I think the perfect solution would require converting all stored data in > position independent format, but this hardly ever is going to be done even > for php-8. > > We may fallback to use file-cache introduced in php-7. (this should work > out of the box or with minimal changes). > > Also. if we can't map SHM into desired address space, we may map it in any > other address and copy data into the process memory similar to file-cache. And what wincache does. It is slower but the request is served. > Finally we may try to use /DYNAMICBASE:NO --001a113cf4f014f3cd0521051dba--