[squid-users] Memory usage question

Alex Samad alex at samad.com.au
Mon Jun 22 05:28:17 UTC 2015


Hi

UFS or AUFS ? guessing aufs

Any suggestions on the L1 L2  values, defaults ?


On 21 June 2015 at 11:57, Amos Jeffries <squid3 at treenet.co.nz> wrote:
> On 20/06/2015 9:08 p.m., Alex Samad wrote:
>> Hi
>>
>> Are there any gotchas i need to look out for.
>> Also I have allocated a 1T lun to the VM. Whats the best way to
>> allocate this do I use 1 cache_dir or multiple cache_dir.
>
> The usual one UFS based dir per physical drive and no RAID. That can be
> tricky with SAN/NAS based disk and VMs.
>
>>
>> I currently have 3, is there a way to migrate the cache objects in the
>> 3 into 1 or do I just delete them and bear the cost of re downloading
>> them
>
> If you need to merge them you can set cache_dir to read-only for a
> period. That way Squid will use their content until it becomes too far
> out of date, whiel storing new objects into the witable cache_dir.
>
>
> It should not be a big problem/cost to drop the cache anyway. The
> bandwidth to rebuild a cache is far smaller than most people expect.
> Much of the content in a large cache is stale objects waiting
> revalidation or replacement, and all HITs are duplicates by definition.
> The cache fill rate is an exponential/polynomial growth curve with the
> bulk of it being a few seconds/minutes worth of traffic.
>
> Amos
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users


More information about the squid-users mailing list