Re: [squid-users] Cache_dir size considerations

From: Marcello Romani <mromani_at_ottotecnica.com>
Date: Wed, 17 Mar 2010 08:18:03 +0100

GIGO . ha scritto:
> Dear All,
>
> Relevant info:
>
> On IBM Server 3650 x series with physical RAID 1 .
> Disk space comprises of 70 Gb
> Intended is caching of windows update.
> intended is caching of youtube contents.
> Single is dedicated to running squid on Ubuntu 8.04
>
> Current Settings : cache_dir aufs /usr/local/squid/var/cache 50000 16 256
> However i beleived that it should be changed to something like this: cache_dir aufs /usr/local/squid/var/cache 50gb 48 768
>
> or
>
> cache_dir aufs /usr/local/squid/var/cache 20000 32 512..... etc etc.
>
> so that not more file lies in L2.
>
> The confusion is that isnt it correct to allocating this large 50gb hard-disk space to caching? Does such large cache will result in some issues? Does this large size has to do with some latency issue etc?
>
>
> I am looking forward for your guidance.
>
> regards_at_all
>

50gb cache is handled by squid just fine.
I'm not an expert, but I'm using 16 256 for a 40gb cache and I don't see
any issues. IME before changing values without a deep understanding of
the technicalities involved, it's safer to stick with the defaults.

Also, you don't specify the amount of RAM of the server nor the value of
cache_mem parameter.

>
> _________________________________________________________________
> Hotmail: Free, trusted and rich email service.
> https://signup.live.com/signup.aspx?id=60969

-- 
Marcello Romani
Received on Wed Mar 17 2010 - 07:18:06 MDT

This archive was generated by hypermail 2.2.0 : Wed Mar 17 2010 - 12:00:04 MDT