[squid-users] Low HIT ratio with Coss

From: usman <usman@dont-contact.us>
Date: Thu, 25 Oct 2007 19:24:15 +0500

Hi EveryOne,

I am getting very low Request Hit ratio on squid cache since i implemented
coss. The caching directories containing coss stripes file are filling up
very very slow.

/dev/amrd1s1d 16G 136M 15G 1% /cache1
/dev/amrd2s1d 16G 141M 15G 1% /cache2
/dev/amrd3s1d 33G 5.9G 24G 20% /cache3

you can see the comparison between diskd and coss directories.

The cache_dir settings are
cache_dir coss /cache1 12000 max-size=1048576 max-stripe-waste=524288
membufs=500
cache_dir coss /cache2 12000 max-size=1048576 max-stripe-waste=524288
membufs=500
cache_dir diskd /cache3 28000 16 256 Q1=72 Q2=64

On other caches with same refresh pattern (total Diskd or Aufs) I get around
45 - 55 % Request HIT ratio. Currently its 12 % with coss. The caching
directories are not fully loaded yet but still I feel its very low request
hit ratio.

Where is something wrong in my Config ?

Also please suggest the size of "block-size" in coss settings, I am using
FreeBSD 6.2 with UFS2 file system (with default block size of file system
16384 bytes).
RAM is 4 GB, SMP System.

  Regards
   usman
Received on Thu Oct 25 2007 - 08:23:58 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Nov 01 2007 - 13:00:02 MDT