[OpenAFS-devel] suggested feature...

Derek Atkins warlord@MIT.EDU
25 Sep 2001 13:14:42 -0400


David Thompson <thomas@cs.wisc.edu> writes:

> This is a standard cache partition size:
> 
> Filesystem           1k-blocks      Used Available Use% Mounted on
> /dev/hda9               124427     89819     28184  77% /var/vice/cache

You didn't show me what 'fdisk' says for the partition size.  That's
what I was referring to.

> I won't believe that ext2 has ~20% overhead.  There are clearly
> situations where, for brief periods of time, the cache limit does
> get exceeded.

Note that if you add up the 'used' and 'available' you get 118003,
which is an overhead (from the 124427) of about 5%.  However, I would
not want to put a 100M cache on a partition with only 110M of
available space.  In this case I would reduce the cache to ~95M, or
maybe even 90M.  Note that CacheItems appears to take approximately
4.4k per cachefile.  If you have a 100M cache, that's 100K files, or
an additional 4.4M of storage in the cache partition of the top.

> Dave

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available