Re: [squid-users] Download accelerator

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 21 Jul 2003 23:12:32 +0200

On Monday 21 July 2003 16.36, Rully Budisatya wrote:

> But the bandwidth consumption that's coming from my main router to
> the squid is not limited to 4KB/sec, instead it can go up to 1
> Mbit/sec or even more, but not steady. It continue to fluctuates
> around 1 Mbit/sec.

Then there is a problem.

The delay pool bandwidth is supposed to be allocated on the upstream
side of Squid, no matter if the client actually requested this part
of the object or not.

The pattern you should see is that the client gets the pool
assignment, and as soon as the receive TCP window have been filled
the downlink speed from the Internet should start to be throttled to
the speed delivered to the client. Now if your server and the server
contacted has support for large TCP windows then there may be a
significant delay before the download is throttled (some seconds).

To limit this you can tune down the size of the maximum TCP window on
your Squid server (see the window parameter to the route command),
but don't set it too low.

Another thing to note is that if you have set quick_abort to allow
downloads to continue after the client is gone then this will consume
as much bandwidth as it gets, as there is no client to throttle those
downloads.

-- 
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 Mon Jul 21 2003 - 15:13:40 MDT

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