Search squid archive

Re: Memory usage question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux