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
Received on Sun Sep 06 2009 - 08:39:31 MDT
This archive was generated by hypermail 2.2.0 : Sun Sep 06 2009 - 12:00:02 MDT