Re: delay pools (fwd)

From: Vladimir Volovich <[email protected]>
Date: 22 Feb 1999 15:38:09 +0300

"DL" == David Luyer writes:

>> do the delay pools limit the bandwidth of squid->client transfers,
>> or the squid<->[parent_or_direct_access] ?

 DL> They limit the speed an object is transferred (both to the client
 DL> and into the cache). The limit is applied to direct access and
 DL> to selected peers, by default to all peers but it is possible to
 DL> use the 'no-delay' tag to specify that some peers should not be
 DL> subjected to the limit.

thanks. i.e., suppose that we have some config like

acl vsu-clients src 62.76.168.128/25 62.76.169.128/25
delay_class1_access deny all
delay_class2_access allow vsu-clients
delay_class2_aggregate_max 16384
delay_class2_aggregate_restore 8192
delay_class2_individual_max 4096
delay_class2_individual_restore 2048

does this mean that any client listed in the acl `vsu-clients' will be
limited by 2Kb/s (with the total bandwidth no more than 8Kb/s)? i.e.,

62.76.169.129 <---(1)---> squid <---(2)---> www

both the internal channel (1) and external channel (2) for client
62.76.169.129 will be used no more than with 2Kb/s?

one thing which is desirable: the internal channel (1) is often faster
than the external one. so, we'd like to limit the channel (2), but
have much more liberal policy on the internal channel. i.e., if
client's request hits the already chached object, it should be
transfered to client at a high speed (without limits or with
separately-specifyable limits). but if the requested object should be
transfered via the external channel, we'd like to have a `delay pool'.

is this possible?

>> is it possible to limit the squid<->[parent_or_direct_access]
>> bandwidth (i.e., limit the external channel) for a given class of
>> squid clients?

 DL> Yes. Read the config file. Personally I recommend squid-2.1
 DL> with the patch at http://typhaon.ucs.uwa.edu.au/squid-diff-9.gz ,
 DL> however and squid-2.1 should do it fine. It sounds like you
 DL> simply want a 'class 1 pool' (a single aggregate limit).

the `class 1 pool' sets the single global policy which is the same for
all transfers. are there some means to specify different bandwidth (of
external channels) for different clients?

Thanks.
Received on Mon Feb 22 1999 - 06:02:54 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:44:38 MST