On Oct 1, 2015 3:59 AM, "Dmitry Stogov" <dmi...@zend.com> 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

Reply via email to