Search squid archive

Re: Squid 3.5.7, cache_swap_high, bug or not bug ?

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

 



On 27/08/2015 6:48 a.m., FredT wrote:
> Hi Amos,
> 
> OK, clear :o)
> 
> Did you think to apply the low/high to the "Filemap Used" too ?
> From my point of view the Filemap Used is much more important in the objects
> cleaning because it reaches the 16 million entries faster than the cache
> space, especialy with small objects (<64kb).
> 

In those circumstances this algorithm clears out fileno faster than it
clears space. Since theagrressiveness is measured in pure count of how
many fileno/sec it tries to free up. At high-water it will always try to
free 220 fileno/sec but that may be 0.0001% of the cache distance
towards low-water - forcing another 220 etc the next second. Only when
caching bigger objects will the fileno free-ups be low - when it doesn't
matter as much.

I've put a "TODO possible improvements" list into the code where someone
will see it anyway. With that and the other things to experiment with.

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