Search squid archive

Re: [squid-users] delay pool help

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

 



On 5/28/05, ashkan almaspour <ashkan.almaspour@xxxxxxxxx> wrote:
> Hi:
> i have a lan with 22 client.
> my link speed is 1000000 bit per second.
> i want assign to  per client 64000 byte per second.
> i write this acl and delay pools is it trure?
> acl all src 0.0.0.0/0.0.0.0
> acl mylan src 172.16.16.30-172.16.16.252/32
> delay pools 1
> delay_class 1 2
> delay_parameters 1 -1/-1 64000/64000
> delay_access 1 allow mylan
> delay_access deny all
> 
> 
> please help me..

Hello Ashkan.
Is your ip range correct? 172.16.16.30-172.16.16.52 Thats 22 clients.

acl mylan src 172.16.16.30-172.16.16.52

I believe you want to assign for each client 64Kb/s (64 kilo bit per
second) = 8KB/s (8 kilo Byte per second)

delay_parameters 1 -1/-1 8000/8000

you might also want to increase the bucket size ( think of it as a
burst when the client starts to surf/download )

delay_parameters 1 -1/-1 8000/256000

This would allow the client to download with full speed, once 256
KBytes are used the client speed is droped down to 8Kbytes per second
(= 64Kb/s ,same speed as a single ISDN connection)
I hope this answers you question.

-- 
Kind regards
Abu Khaled


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

  Powered by Linux