RE: [squid-users] Hardware for Squid

From: Gert Brits <gbrits@dont-contact.us>
Date: Wed, 2 Jun 2004 13:42:19 +0200

Hi There

I normally use this calculation for optimum performance :

x=Size of cache dir in KB (i.e. 6GB=~6,000,000KB) y=Average object size
(just use 13KB z=Number of directories per first level directory

(((x / y) / 256) / 256) * 2 = # of directories

As an example, I use 6GB of each of my 13GB drives, so:

6,000,000 / 13 = 461538.5 / 256 = 1802.9 / 256 = 7 * 2 = 14

So my cache_dir line would look like this:

cache_dir 6000 14 256

Regards

Gert Brits
Senior Engineer
Technology Concepts
Tel +27 11 803 2169
Fax +27 11 803 2189
http://www.techconcepts.co.za

-----Original Message-----
From: Kiraly Zoltan [mailto:lux@wplink.net]
Sent: Tuesday, June 01, 2004 8:35 PM
To: squid-users@squid-cache.org
Subject: [squid-users] Hardware for Squid

Anyone have an opionion, squid how much memory eat for 80 GB HDD that used
for cache ?

My server have 512 MB DDRAM on Intel Pentium 4 at 2.4GHz, HDD : 80 GB IDE.

Thanks !
Received on Wed Jun 02 2004 - 05:42:50 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jul 01 2004 - 12:00:02 MDT