[OpenAFS] Using tmpfs for afs cache

Jeffrey Hutzelman jhutz@cmu.edu
Mon, 3 Dec 2001 22:37:55 -0500 (EST)


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.

-- Jeffrey T. Hutzelman (N3NHS) <jhutz+@cmu.edu>
   Sr. Research Systems Programmer
   School of Computer Science - Research Computing Facility
   Carnegie Mellon University - Pittsburgh, PA