[squid-users] Confguration of Delay_pools

From: Praha <Jindra@dont-contact.us>
Date: Fri, 13 Feb 2004 15:13:34 +0100

Hello,

I need limit bandwidth of lines with these conditions:
- limit Total bandwidth between Squid and Internet
- limit bandwidth between src networks and Squid (there are about 100
networks and plenty of speeds from 64kb to 1024kb)
- limit connections to "not usefull Webs for work" (like public mail servers
etc.)

My configuration:

acl srcspeed_16 src "/var/squid/etc/dpool/16.dpool"
acl srcspeed_24 src "/var/squid/etc/dpool/24.dpool"
acl srcspeed_32 src "/var/squid/etc/dpool/32.dpool"
acl srcspeed_48 src "/var/squid/etc/dpool/48.dpool"
acl srcspeed_64 src "/var/squid/etc/dpool/64.dpool"
acl srcspeed_96 src "/var/squid/etc/dpool/96.dpool"
acl srcspeed_128 src "/var/squid/etc/dpool/128.dpool"
acl srcspeed_256 src "/var/squid/etc/dpool/256.dpool"
acl slow_connect url_regex "/var/squid/etc/dpool/slow_connect.txt"

delay_pools 10

delay_class 1 1
delay_access 1 allow srcspeed_16
delay_parameters 1 2000/2000

....

delay_class 8 1
delay_access 8 allow srcspeed_256
delay_parameters 8 32000/32000

delay_class 9 1
delay_access 9 allow slow_connect
delay_parameters 9 3000/3000

delay_class 10 1
delay_access 10 allow all
delay_parameters 10 128000/128000

The problem is, that definitions of delay classes are standalone. It means I
can limit src networks and I can limit total bandwidth but I cannot limit
both. In this case total bandwith could be limit of delay_class 1 +
delay_class 2 + ... + delay_class 10.

Haven't somebody (who has better experience with "delay_pools") some other
idea how limit both?

Thanks

TJ

---------------------------------------------
Tomas Jindra
Datasys s.r.o. - pobocka Plzen
Karlovarska 22
301 55 Plzen
---------------------------------------------
Tel.: +420 377 538 645
Tel.: +420 603 198 732
Mail: jindra@datasys.cz
---------------------------------------------
 
Received on Fri Feb 13 2004 - 07:55:23 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:02 MST