Re: [squid-users] COSS and large files

From: leongmzlist <leongmzlist@dont-contact.us>
Date: Thu, 15 Mar 2007 20:26:50 -0700

If that's the case, that would explain it. I did a test by
downloading from a parent cache, at about ~150 req/sec

mike

At 02:52 PM 3/15/2007, Chris Robertson wrote:
>leongmzlist wrote:
>>Hi,
>>
>>I have the following on my config:
>>
>>cache_dir coss /data/logs/squid_data/squid_coss.bin 9216
>>block-size=8192 max-size=32768 membufs=128
>>cache_dir aufs /data/logs/squid_data/squid-large-files 20480 20 256
>>cache_swap_log /data/logs/squid_data/%s
>>
>>
>>All the files smaller than 32K are supposed to be store in the COSS
>>file, correct? However, I see small files stored in the aufs
>>cache_dir as well. It seems that squid's just roundrobin the stores.
>>
>>mike
>
>There is a store_dir_select_algorithm directive, which defaults to
>"least-load", but can be set to round-robin. In other words unless
>you have a fairly similar amount of big and small objects entering
>your cache, the aufs cache_dir is going to be the least loaded on
>occasion, and will take some of the smaller objects.
>
>There was a discussion a few weeks ago about a min-size cache_dir
>option, that also has a possible explanation of what you are seeing:
>http://www.squid-cache.org/mail-archive/squid-users/200702/0146.html
>
>Chris
Received on Thu Mar 15 2007 - 21:26:59 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Mar 31 2007 - 13:00:02 MDT