RE: [squid-users] cache dir equation + Misc questions?

From: Anthony Giggins <[email protected]>
Date: Mon, 15 Apr 2002 14:51:40 +1000

OK in that Case if I have 60GB of cache_dir it should need 60 * 10 = 600MB
RAM.
 
The server its self has 1GIG RAM so I don't see a problem here but do I need
to change anything in the config, for example
 
cache_mem do I set this to 600?
 
Thanks for your help
 
-----Original Message-----
From: Hermann Strassner [mailto:hermann.strassner@hama.de]
Sent: Friday, 12 April 2002 6:45 PM
To: Anthony Giggins
Subject: RE: [squid-users] cache dir equation + Misc questions?
 
Some more:
Squid has an index of the files in cache_dir in memory. It uses about 76
Bytes per file, and the average size of the objects in Internet is about 13
kB (11.5 kb here with us).
So it needs about 6 MB of memory per 1 GB cache_dir plus some extra space
only for the index.
Calculate 10 MB of memory per 1 GB of cache_dir.
 
Hermann
-----Original Message-----
From: Anthony Giggins [mailto:AGiggins@synergyit.com.au]
Sent: Friday, April 12, 2002 6:00 AM
To: squid-users@squid-cache.org
Subject: [squid-users] cache dir equation + Misc questions?
Is there a cache_dir equation to work out the most efficient use of 1st and
2nd level directories? I'm running a large cache ie. 60GB and I find
that my first and second level Directories fill-up and as a result proxy
access slows down. The cache volume is no where near full. Ie about 13GB
after about 100Days Usage and we average between 0.5 - 1 GB per day.
 
cache_dir ufs /cache 60000 128 156
 
most other options are just the defaults
 
I'm running squid 2.3.STABLE4 on redhat Linnux 7.1
 
Any help would be great.
 
Anthony Giggins
Received on Sun Apr 14 2002 - 22:52:04 MDT

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