[squid-users] RE: Re: delay pools

From: Adam Aube <aaube01@dont-contact.us>
Date: Thu, 21 Apr 2005 00:34:48 -0400

azeem ahmad wrote:
> Adam Aube wrote:
>>azeem ahmad wrote:
>>
>> > i have configured delay pools and its working well.
>>
>> > delay_parameters 1 -1/-1 1000/1000
>> > delay_access 1 allow all
>>
>>> but it limits users to 1000 B/s even if there is only one user using
>>> the internet all the remaining bandwidth is wasted.

>>Use a class 1 delay pool instead, which sets a total limit for the pool,
>>which is then shared equally between all connections.
>
> if i configure a class one pool. and two of user start downloading while 3
> others are browsing. will all these 5 get the equal bandwidth????

Assuming all 5 are using the same number of HTTP connections, then yes.

> isnt it possible to create different buckets for all the users using class
> two pool to make them use maximum say 3KB but when the bandwidth is free
> then they can use more than 3KB.

No. If you use a class 2 delay pool and set 3 KB as the individual limit,
then they will never be able to use more than 3 KB, even when bandwidth is
available.

The closest you can get is to set the aggregate limit of a class 2 delay
pool to (3 KB * [number of users]), then set the individual limit to -1/-1.
However, this is essentially equivalent to using a class 1 delay pool with
the same aggregate limit as the class 2 delay pool.

The only benefit to using a class 2 in this way is that users with an
excessive number of concurrent active HTTP connections (such as a broken
download manager or a badly tweaked browser) will not get an unfair share
of the aggregate limit. This can occur in class 1 delay pools if you do not
limit the number of connections per IP address.

Adam
Received on Wed Apr 20 2005 - 22:35:50 MDT

This archive was generated by hypermail pre-2.1.9 : Sun May 01 2005 - 12:00:04 MDT