[OpenAFS] AFS disk cache

chas williams - CONTRACTOR chas@cmf.nrl.navy.mil
Sat, 26 Nov 2005 15:08:26 -0500


In message <20051126033318.GA21758@ckLennard.net.home>,Lars Wilke writes:
>from where he knows this or if this advice is correct. Is it true
>that i should do this from time to time and should i really only use 
>2/3 of the partition for the cache.

yes.  filesystems are able to store/organize data more efficiently if they
dont get more than about 80% full.  secondly (and more importantly),
deletes on modern filesystems can be "journaled".  so when the cache
manager deletes a file, the unlink() may finish, but the kernel might
be in the background slowly returning the disk blocks to the free pool.
ext3 certainly does this.