Re: [squid-users] Best practice for cache_dir

From: Matus UHLAR - fantomas <uhlar_at_fantomas.sk>
Date: Tue, 10 Aug 2010 14:35:47 +0200

On 10.08.10 11:17, Tony Mallin wrote:
> I'm using squid in a 200 user environment, processing approximately 50GB
> of traffic per day.
>
> Setup:
>
> ESXi host, VM with 2 vCPUs assigned, 2gb ram, 40GB hdd space (stored on a
> SANS, speed shouldn’t be an issue)

The cache should reside on local disk, not on network disk.
otherwise forget about the disk cache and use memory-only.
However it takes much memory (which is still good to have of course)

> For the traffic and setup I have, is lowering this, to say, 25000 64 255
> safe to do? Would there be any benefit to having it on a separate drive?
> Does bigger cache equal better performance in the long run?

bigger cache tends to give better hit ratio.
the cache should be on separate disk to have good performance.

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
There's a long-standing bug relating to the x86 architecture that
allows you to install Windows.   -- Matthew D. Fuller
Received on Tue Aug 10 2010 - 12:35:52 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 10 2010 - 12:00:02 MDT