Search squid archive

[squid-users] RE: Re: delay pools

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

 



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


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

  Powered by Linux