Search squid archive

Re: Configuring Squid to behave as fast as possible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



sön 2009-09-06 klockan 16:50 +1200 skrev Amos Jeffries:

> NP: making the L1/L2 values "100 10" is probably a bad idea. AFAIK they 
> should be exponentials of 2 for fastest file path location.

No, but the resulting directory sizes of the L2 directories should be
reasonably block-aligned (the directory itself, not the file contents
within the directory), and not too many blocks. Details obviously very
filesystem dependent..

additionally L2 should not be excessively large. Squid processes one L2
folder at a time in a cleaning background job.

L2 of 256 is a reasonable average that should work well with most
filesystems.

L1 should be scaled to with the cache content. If set too large you get
a bunch of L2 directories never used, if set too small then Squid wraps
around on the L1 directories and will start storing more objects per L2
than it should..

Regards
Henrik


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux