[squid-users] Delay pools

From: Edmund Turner <Edmund.Turner@dont-contact.us>
Date: Tue, 14 Oct 2003 16:51:51 +0800

Hey! Im having some trouble configuring the delay pools. Ive READ thru
the FAQ, configuration guide and even the user guide but I didn't manage
to find any info that would help me.
I configured the speed of my outgoing web surfing traffic from my
network to be defined by delay_parameter 1. This is for pure http
traffic.
I tried to use delay pools to slow downloads.
I specified that the downloading speed of files with extensions listed
in the Magic2 and Magic acl will be defined by delay parameter 2 and 3.
I conducted a few tests and according to the cache manager ALL traffic
seems to only fall in the first delay parameter. Even if I download a
'zip' file, it is not noted in the cache manager. The output from the
cache manager only lists traffic in the first delay parameter.
Ive tried moving around the delay access parameters but the delay pools
seem to only work for the first delay parameter. The rest is ignored.
Does anyone know how to solve this?

Please see my delay pools config and cache manager output below:

Regards
edmund

delay_initial_bucket_level 50

acl delay_pool src 172.24.1.0/255.255.255.0
delay_pools 3
delay_class 1 3
delay_class 2 3
delay_class 3 3

#Expression Lista
acl Magic url_regex -i ftp .mp3 .vqf .tar.gz .gz .rpm .zip .rar .avi
.mpeg .mpe .mpg .qt .ram .rm .iso .raw .wav
acl Magic2 url_regex -i http .mp3 .vqf .tar.gz .gz .rpm .zip .rar .avi
.mpeg .mpe .mpg .qt .ram .rm .iso .raw .wav

delay_parameters 1 384000/384000 128000/96000 32000/64000
delay_parameters 2 96000/96000 32000/32000 32000/32000
delay_parameters 3 32000/32000 16000/16000 6000/6000

delay_access 1 allow delay_pool
delay_access 1 deny all
delay_access 2 allow Magic2
delay_access 2 deny all
delay_access 3 allow Magic
delay_access 3 deny all

Cache manager output:
Delay pools configured: 4

Pool: 1
        Class: 3
        Aggregate:
                Max: 384000
                Restore: 384000
                Current: 301835
        Network:
                Max: 96000
                Rate: 128000
                Current: 1:81480 6:38275 4:95271 3:91039 2:95150 5:92620

        Individual:
                Max: 64000
                Rate: 32000
                Current [Network 1]: 79:64000 86:64000 127:64000
122:64000 85:64000 56:64000 103:49480 83:64000 59:64000 72:64000
96:64000 37:64000 128:64000 119:64000 91:64000 36:64000 250:64000
62:64000 90:64000 123:64000 65:64000 53:64000
                Current [Network 6]: 44:64000 93:64000 33:64000
128:64000 25:0 73:64000 69:64000 71:64000 47:64000 45:64000 124:64000
160:64000 74:64000 171:60796 89:64000 172:64000 75:64000 35:64000
165:64000 130:64000 200:64000 72:64000 79:64000 41:64000 91:64000
102:64000 48:64000 119:64000 23:64000 30:64000 107:64000 123:64000
46:64000 126:64000 158:64000 36:64000 39:64000 183:64000 76:64000
96:64000 50:64000 159:64000 77:64000 106:64000 85:64000 105:64000
84:64000 99:64000 70:64000 49:64000 104:64000 61:64000 90:58103 83:64000
68:64000 51:64000 82:64000 55:64000 81:47376 29:64000 114:64000
                Current [Network 4]: 92:64000 105:63711 57:64000
125:64000 62:64000 71:64000 117:64000 98:64000 70:64000 222:64000
39:63560 42:64000 52:64000 104:64000 224:64000 227:64000 226:64000
97:64000 63:64000 252:64000
                Current [Network 3]: 40:64000 143:64000 31:64000
43:64000 162:63372 37:64000 41:64000 223:64000 165:64000 175:64000
134:64000 60:64000 228:64000 218:64000 160:64000 32:64000 29:64000
34:64000 24:64000 145:64000 36:64000 230:64000 39:64000 219:64000
196:59667 68:64000 25:64000 51:64000 28:64000 44:64000 26:64000
                Current [Network 2]: 33:64000 134:64000 36:64000
82:64000 118:64000 31:64000 56:64000 135:64000 66:63150 77:64000
86:64000 151:64000
                Current [Network 5]: 57:64000 109:60620 31:64000

Pool: 2
        Class: 3
        Aggregate:
                Max: 96000
                Restore: 96000
                Current: 96000
        Network:
                Max: 32000
                Rate: 32000
                Current: Not used yet.
        Individual:
                Max: 32000
                Rate: 32000
                Current [All networks]: Not used yet.
Pool: 3
        Class: 3
        Aggregate:
                Max: 32000
                Restore: 32000
                Current: 32000
        Network:
                Max: 16000
                Rate: 16000
                Current: Not used yet.
        Individual:
                Max: 6000
                Rate: 6000
                Current [All networks]: Not used yet.
\
Received on Tue Oct 14 2003 - 02:52:32 MDT

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