delay_class

 < Day Day Up > 

delay_class

This directive defines the class of each delay pool. The first argument is the delay pool index. Index values start at 1 and must be less than or equal to the delay_pools value. The second argument is the delay class, which has three possible values:

  • A class 1 pool uses a single, aggregate bucket for all traffic that applies to the pool.

  • A class 2 pool uses a single, aggregate bucket, as well as 256 individual buckets. The individual bucket is chosen by the last octet of the client's IPv4 address.

  • A class 3 bucket uses a single, aggregate bucket, 256 network buckets, and 65,536 individual buckets. The network bucket is chosen based on the third octet of the client's IPv4 address. The individual bucket is chosen by the third and fourth octets.

Note that the class 2 and class 3 pools have multiple types of buckets (aggregate, network, individual). A client receives a traffic allocation from all relevant buckets, not just one of them. In other words, if any of the relevant buckets are empty, the client doesn't receive any traffic allocation.

Syntax

 delay_class   pool-number     class   

Default

No default

Example

 delay_class 1 2 delay_class 2 3 

Related

delay_pools , delay_access , delay_parameters , delay_initial_bucket_level

 < Day Day Up > 


Squid
Squid: The Definitive Guide
ISBN: 0596001622
EAN: 2147483647
Year: 2004
Pages: 401
Authors: Duane Wessels

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net