Re: [squid-users] More than one cache?

From: Henrik Nordstrom <[email protected]>
Date: 02 Apr 2003 17:31:48 +0200

raid5 is the worst possible disk model for Squid performance. The
performance of your three disks is almost limited to that of a single
disk when using raid5.

I would install one more drive, then use two of the drives in mirror for
OS, swap and logs, and two drives as plain drives without mirror for
cache. Alternatively two mirrors with the data spread out on both.

There is no benefit in having more than one cache directory per logical
drive (standalone drive, or raid cluster). Use only one cache_dir per
locical drive.

Size the space of your cache and log directories according to the amount
of logs you need to keep and the amount of memory you can afford for the
cache index (see the Squid FAQ on memory usage).

Regards
Henrik

ons 2003-04-02 klockan 16.49 skrev Mauro:
> Hallo.
> I had to install squid on a IBM 342 xSeries with 3 scsi disks in raid 5
> hardware, the total disk space is about 70Gb.
> I have 1Gb ram.
> I put linux debian woody on it and I'll use only as a proxy server for about
> 600 clients.
> Someone suggest me to partition in this way:
>
> / 1Gb
> /usr 3Gb
> /var 10Gb
> /cache0 8Gb
> /cache1 8Gb
> /cache2 8Gb
> swap 2Gb
>
>
> My question is: why 3 caches?
> In your opinion, it's userful to have 3 cache rather than one?
> Thank you.
>
> Mauro

-- 
Free Squid-users support provided by Henrik Nordstr�m <hno@squid-cache.org>
PayPal donations welcome if you consider my Free Squid support helpful.
If you need commercial Squid support or cost effective Squid and
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, [email protected]
Received on Wed Apr 02 2003 - 08:31:54 MST

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