[squid-users] Delay pool class 2

Amos Jeffries squid3 at treenet.co.nz
Mon May 2 11:57:59 UTC 2016

On 2/05/2016 9:52 p.m., Magic Link wrote:
> Hi,
> i want to use delay pool with class 2. I don't understand how
> requests are handled on each bucket. There are 2 type of buckets in
> class 2, one aggregate and 256 individuals buckets. When aggregate
> bucket is used ? Is there a priority between each type ? I want to
> limit bandwith for each IP so how do i configure the aggregate bucket
> compared to individual buckets ?

When the aggregate bucket is enabled everything going through that delay
pool gets counted against it.

When the individual bucket is configured each client IP has a unique
bucket. Traffic sent by a server to a client gets counted against that
clients bucket.

Each byte going through the proxy gets counted in *both* buckets
relevant to the request. So at any one time a client is only able to use
up to the smaller of the two buckets available amounts.

Thats the theory at least, delay pools has some strange bugs which make
this not true for some things. If you can it is usually best to use the
OS provided QoS controls (maybe with TOS marking by Squid) instead of
Squid delay pools.

You can disable the aggregate bucket by configuring it as "-1/-1" or in
Squid-3.5+ the keyword "none" (meaning no limit for that bucket).


More information about the squid-users mailing list