Re: [squid-users] cache_swap_low and high waternmark

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 30 Apr 2003 08:54:31 +0200

On Wednesday 30 April 2003 02.42, Jigar Rasalawala wrote:

> According to the docs, When squid reaches upto high watermarks, it
> will try to maintain disk space between low and high watermark.

Yes, and it does.

What it does not do is to wait for the usage to reach the high water
mark before starting to clean up. Instead the closer to the high
water mark the more aggressive it deletes objects.

> While releasing objects from squid does not serve any HTTP
> request... It hurts performance.

On the contrary, by spending time when there is no requests to delete
objects performance is increased, as Squid then do not have to delete
objects at the same time as processing a request.

> I think If low and high watermark scenerio works, then
> squid will release object frequently but on at every second..

This would seriously impair performance. Every second Squid would need
to spend a lot of time on deleting objects, seriously impairing the
performance of requests at the time.

For Suqid performance you want an even and smooth performance, not
randomly blindingly fast and crawling.

You still have not answered how much traffic you are trying to push
via Squid.

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Wed Apr 30 2003 - 02:46:36 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:15:36 MST