Here is an example from another server. As you can see, /cache0 seems to be
getting very little of the data on 2 different servers. Found out of the range
I would assume based on their storage size. I am curious if my choices for L1/L2
effect what sized files go where? (like Coss seems to do)
Also, I think this has been asked before, but what criteria should be used to
decide the settings for L1/L2? I think the defaults are based on much smaller
disks, but does that matter? It would be great if some math for this was in
the .default file to help. It seems like my testing of different sizes has
resulted in different amounts of storage utilization some how.
Any thoughts on this most appreciated!
server 1
# AUFS
# cache_dir aufs Directory-Name Mbytes L1 L2 [options]
cache_dir aufs /cache0 24000 32 256
cache_dir aufs /cache1 90000 64 768
cache_dir aufs /cache2 90000 64 768
cache_dir aufs /cache3 90000 64 768
/dev/ad4s1h.journal 38G 16M 35G 0% /cache0
/dev/ad6s1e.journal 133G 62G 60G 51% /cache1
/dev/ad8s1e.journal 133G 62G 60G 51% /cache2
/dev/ad10s1e.journal 133G 62G 60G 51% /cache3
server 2
# AUFS
# cache_dir aufs Directory-Name Mbytes L1 L2 [options]
cache_dir aufs /cache0 24000 32 128
cache_dir aufs /cache1 90000 64 256
cache_dir aufs /cache2 90000 64 256
cache_dir aufs /cache3 90000 64 256
/dev/ad4s1h.journal 38G 8.1M 35G 0% /cache0
/dev/ad6s1e.journal 133G 49G 73G 40% /cache1
/dev/ad8s1e.journal 133G 49G 73G 40% /cache2
/dev/ad10s1e.journal 133G 49G 73G 40% /cache3
# 'Mbytes' is the amount of disk space (MB) to use under this
# directory. The default is 100 MB. Change this to suit your
# configuration. Do NOT put the size of your disk drive here.
# Instead, if you want Squid to use the entire disk drive,
# subtract 20% and use that value.
#
# 'Level-1' is the number of first-level subdirectories which
# will be created under the 'Directory'. The default is 16.
#
# 'Level-2' is the number of second-level subdirectories which
# will be created under each first-level directory. The default
# is 256.
Thanks!!
Nicole
-- |\ __ /| (`\ | o_o |__ ) ) // \\ - nmh@daemontech.com - Powered by FreeBSD - ------------------------------------------------------ "The term "daemons" is a Judeo-Christian pejorative. Such processes will now be known as "spiritual guides" - Politicaly Correct UNIX PageReceived on Fri Aug 24 2007 - 13:41:07 MDT
This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT