[squid-users] squid workers question

Alex Rousskov rousskov at measurement-factory.com
Thu Mar 9 17:49:52 UTC 2017


On 03/09/2017 10:18 AM, Matus UHLAR - fantomas wrote:
>>>>> cache_dir rock /var/spool/squid3/rock 1024 max-size=32768
>>>>> #cache_dir aufs /var/spool/squid3 8192 16 256 min-size=32769
>>>>>
>>>>> are those correct values? (bug 3411 says something about 256B
>>>>> metadata)
>>>
>>>> Those 256 Byte will matter for Squid-3.4.
>>>
>>> doesn't it for later squid versions?
>>
>> Nope :-). Squid-3.5 'large rock' feature adds slots as needed to fit the
>> extra meta bytes. So 32KB is no longer an absolute limit.
> 
> will it waste whole slot or does it already support smaller chunks?

Just like a regular file system used by AUFS, Rock always uses the whole
slot, usually wasting some space. Please note that smaller
slots/pages/chunks also waste various resources (including space in some
cases!).

Alex.



More information about the squid-users mailing list