Re: [squid-users] Why UFS

From: Joel Jaeggli <joelja@dont-contact.us>
Date: Wed, 26 Sep 2001 11:39:37 -0700 (PDT)

On Wed, 26 Sep 2001, Ravi.B.C.B. wrote:

> Hai,
>
> Is there any significance of Squid maintaining the Cache in UFS and
> specifically having 16 ( Ist level directories ) and 256 ( IInd level
> directories ).

yes the ufs selection implies that access to the filesystem is syncronous,
rather than asyncronous...

the number of first and second level directories is a measure of how many
total subdirectories there are to store files in, in this case there are
4096 subdirs for files... This number is kinda important because some
filesystems are very slow if you have to traverse a directory with several
thousand files in it so squid will only store limited number of files in
each end directory.

> Regards,
>
> Bhushan
>

-- 
--------------------------------------------------------------------------
Joel Jaeggli				       joelja@darkwing.uoregon.edu
Academic User Services			     consult@gladstone.uoregon.edu
     PGP Key Fingerprint: 1DE9 8FCA 51FB 4195 B42A 9C32 A30D 121E
--------------------------------------------------------------------------
It is clear that the arm of criticism cannot replace the criticism of
arms.  Karl Marx -- Introduction to the critique of Hegel's Philosophy of
the right, 1843.
Received on Wed Sep 26 2001 - 12:38:56 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:30 MST