Re: Re[4]: [squid-users] Real simple dealy_parameter question?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: 18 Dec 2002 19:06:44 +0100

Every second restore amount of bytes is filled into the bucket. What
does not currently fit in the bucket will overflow and is discarded as
waste.

ons 2002-12-18 klockan 16.29 skrev christian@otrel.net:
> > I tested with 16000/2000 which should mean: full bandwith up to
> > filesize of 2 Mb. Then max 128 Kb. I only get 2 or 3 K..?
> >
> > This was why i got somewhat confused...
>
> Well, all parameters are in bytes, so with a max of 2000 you will not
> be able to ever get more than 2Kbyte/second. The remainder of the
> refill rate will overflow the bucket.
>
> Regards
> Henrik
>
> Ok.
>
> 1. So the function is to fill the bucket until the "maximum" is
> filled.
>
> 2. Then it will "owerflow" the bucket and the overflowing will have to
> wait until the next bucket is ready.
>
> 3. The bucket will will wait its time "restore" until it empties and
> is ready to be filled again.
>
> Restore is the time the bucket are open to be filled. That time are
> set in bytes that are accepted per one second. (I dont know what
> happens to the bytes that are overflown. Are they thrown?)
>
> --- So this gives that a certain amount of bytes are coming in a time
> frame. (This will limit the speed...)
>
> Is this right?
>
> And the bucket size, (maximum), will only allow a certain amount of
> bytes before emptying the bucket. I am not sure about this one....
> (Does this meen that the speed is free until the bucket have been
> filled once? Then the speed will be regulated with the restore rule?
>
> Is this right?
>
> Br,
>
> Christian Otrel christian@otrel.net
Received on Wed Dec 18 2002 - 11:06:46 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:12:08 MST