In message <[EMAIL PROTECTED]>, Paul Blackburn writes:
>"Glew, Andy" wrote:
>
>> > If you are going to try this, IMHO, you need a machine with
>> > plenty of RAM.
>> > It worked for me with 256MB AFS RAM cache on 1GB RAM
>> > IBM RISC System/6000 (now ancient) model 930.
>>
>> Does the allocation of 256MB of AFS RAM cache
>> reserve physical memory? Is it static, i.e. if
>> I have an application that really needs to use a lot
>> of physical RAM, will the size of the AFS RAM cache
>> be dynamically reduced?
>
>I believe it is static.
>Normally, AFS Cache manager is started at boot time.
>So, I expect that the cache size (determined in /usr/vice/etc/cachinfo)
>to be "reserved" when "afsd -memcache" starts.

when i read the memcache code a long long time ago, it used
loads of memory since it created 'slots' for each of the cache
entries, each fixed in size at the cache entry size (is it still
typically 64k? or is it 128k?)

instead of using -memcache, you could be better off playing
with some MFS, and mounting the cache there before afsd starts
up... you may cut down on the actual memory usage, and still
use memory for the cache.

mts.

Reply via email to