thanks a lot Amos!

Amos Jeffries wrote:
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

Reply via email to