the 10% factor
Chris Torek
chris at mimsy.umd.edu
Wed Nov 15 01:40:41 AEST 1989
In article <21436 at adm.BRL.MIL> MATHRICH at umcvmb.missouri.edu (Rich Winkel
UMC Math Department) writes:
>I understand that allowing bsd filesystems to exceed 90% of their
>capacity results in a significant reduction in performance.
The reserved space has two functions:
a) it speeds up block allocation: cylinder groups with no
free blocks in desired rotational positions are rare.
b) it speeds up access: since (a) is true, the chance that
the blocks of any single file are scattered randomly
about the disk is low.
>... I've been told this is also true of static filesystems.
Here only part (b) matters. If files on the file system are only
allocated once, ever, and the file system itself remains static
thereafter, there are no allocations in (a) to worry about. The
question is then whether (b) is worth concern. The short answer is
`probably not.'
>... if I have a 20MB partition set aside for an nfs client's swap activity,
(I can only guess that you mean `swap files for SunOS ``swap on a file''
style paging/swapping' here. Swap partitions, in the original Unix
sense, are not file systems.)
If all the files in that partition are allocated statically---never
grow---then there is no reason to keep a 10% reserve.
--
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain: chris at cs.umd.edu Path: uunet!mimsy!chris
More information about the Comp.unix.questions
mailing list