Re: [squid-users] delay_parameters: What is difference between aggregate, network and individual bucket?

From: Amos Jeffries <squid3@dont-contact.us>
Date: Wed, 20 Feb 2008 22:04:38 +1300

Yong Bong Fong wrote:
> Dear friends,
>
> I am just confuse about the usage of aggregate, network and individual
> bucket.
> If not mistaken, aggregate bucket is just like a public bucket that all
> users get the privilege to access and individual bucket is one specific
> for each user?
>
> Say if i set a delay_parameter as follow:
> delay_parameters 2 32000/32000 8000/8000 600/8000
> then, how does it allocate the bucket limitation to each user?

aggregate bucket
   - ALL traffic has to be within the parameters.

network bucket (/24, /16, /network-size)
   - traffic per /n network as a whole network.
     squid may handle more than one /n network at once.

individual bucket
   - each IP address must have its traffic matching these settings.

> delay_parameters 2 32000/32000 8000/8000 600/8000

  - No individual IP can get more than 600bytes/sec. Slow clients are
given a bit of leeway to grab up to 8000byte chunks to compensate for up
to 13sec network delays.

  - No network of class </24? /16? missing data> may use more than
8000bytes/sec.
    ie 12 IP can connect at full rate, any more start cut others speeds
down.

  - Absolute max cap is set at 32000bytes/sec.
     ie 48 IP total can connect at full individual rate, before slowing.
     ie 4 network blocks may reach full rate before affecting each
others speed.

Amos

-- 
Please use Squid 2.6STABLE17+ or 3.0STABLE1+
There are serious security advisories out on all earlier releases.
Received on Wed Feb 20 2008 - 02:04:18 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:05 MST