Re: [SQU] Using delay pools by file extension

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 23 Aug 2000 19:30:05 +0200

Dan Larsson wrote:
>
> Is the below delay settings correct if I'd want to limit
> each host to 256kbps when downloading a file with the file
> extension mp3 and with no limit otherwise?

> delay_parameters 1 64000/64000 -1/-1 32000/64000

Not quite. This also gives an aggregate limit of 512 kbit/s for all mp3
downloads.

If your goal is to only limit the individual stations to 256 kbit/s, but
allow two stations together to use more then use

delay_parameters 1 -1/-1 -1/-1 32000/64000

Personally I would probably apply a simiar rule but without the
restriction to mp3 and with a lot larger maximum value. This to limit
the speed of large downloads, but allow normals surfing without
restrictions. I.e. something like:

delay_pools 1
delay_class 1 3
delay_access 1 deny vip-people
delay_parameters 1 -1/-1 -1/-1 32000/2000000

--
Henrik Nordstrom
Squid hacker
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Wed Aug 23 2000 - 13:01:34 MDT

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