[horde] General question to "horde-autoloader-cache-prune"
Patrick De Zordo
patrick at spamreducer.eu
Tue May 20 14:42:19 UTC 2014
Am 20.05.2014 15:02, schrieb Arjen de Korte:
> Citeren Arjen de Korte <arjen+horde at de-korte.org>:
>
>> Citeren Patrick De Zordo <patrick at spamreducer.eu>:
>>
>>> Am 20.05.2014 12:13, schrieb Arjen de Korte:
>>>> Not needed, APC will do this for you automatically. You can tune
>>>> this to some extent, see the variables that are shown by phpinfo(),
>>>> but I have never needed this. You'll want to keep an eye on
>>>> 'apc.php' for the next few days to see if you have configured
>>>> enough space. Some parts of Horde will slow down significantly if
>>>> you run out of cache space. If you have a large userbase, you may
>>>> need to increase this from the default value of 64 MB (if memory
>>>> serves).
>>>
>>> For now the "Shared Memory" defaults to 32MBytes and I'll try with
>>> this default a couple of days..
>>
>> That is probably not going to be enough (even with just a handful of
>> users). It will work, but not optimal. The opcode cache for Horde
>> already uses something like 40 MB, so configuring less than that,
>> will mean that is won't cache everything (which from a performance
>> point of view is very desireable). If your server is not starved on
>> RAM, I would consider 64 MB minimum for APC.
>
> Never mind. You're using APCu, which isn't an opcode cache, it's a
> user cache only. In that case, 32 MB will be plenty unless you have
> hundreds of users. For good measure, you may want to check if the
> OPcache is enabled (it probably is).
Well now I'm interested more on this..!
No, a hundred users will be max for now.
For the moment I have opcache enabled:
--- php.ini ---
8<--------------------------------------------------------------------------------------------
[opcache]
; Determines if Zend OPCache is enabled
opcache.enable=1
; Determines if Zend OPCache is enabled for the CLI version of PHP
opcache.enable_cli=1
; The OPcache shared memory storage size.
opcache.memory_consumption=64
8<--------------------------------------------------------------------------------------------
..and it runs! Pretty good!
APCu = 88% from cache
opcache = 95% from cache
Yeah, hell!
>
>
More information about the horde
mailing list