[OpenAFS] Using tmpfs for afs cache

David Thompson thomas@cs.wisc.edu
Tue, 04 Dec 2001 08:22:10 -0600


Jeffrey Hutzelman wrote:
>On Mon, 3 Dec 2001, David Thompson wrote:
>
>> My concern about using ramdisks on linux is that AFAIK linux ram disks use 
>> physical (not virtual) memory.  Thus, you partition your memory and prevent 
>> the OS from managing AFS cache usage vs. all the other memory demands.
>
>Yeah, but that's true anyway.  The AFS memcache is allocated at
>startup and uses a constant amount of memory.  It also has a constant
>chunk size, which means the same amount of total cache is used less
>efficiently than a filesystem-based cache is.

These are exactly the reasons that I have not used either the mem cache or the ramdisk cache for our linux computers here.  Too bad the tmpfs cache doesn't work (yet).

Dave