Re: [squid-users] Squid delay pools using DS/Precedence field to limit BW

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 23 Nov 2001 08:54:21 +0100

David Wilson wrote:

> So from what you are saying it's almost impossible for me to build ACL's
> that can discriminate between the value's of the DS/precedence bit field ?

Not impossible, but first the OS needs to be extended so there is a way
that Squid may get access to the information.

> I wonder if looking at the source of "tc" (Linux shaper) would shed some
> light on how to implement the same feature into Squid ?

Probably not. The traffic shaper runs in the kernel, and is packet
based, so it does have access to the per packet DS information quite
naturally.

> I also wonder how guys that produce hardware caches manage to get it right,
> like Netcache, Allot etc etc. ?

Well.. they have control over the OS as well as the cache application.

> Anyone got a "Learn c in 1 week" book for me, sheez I wish I knew how this
> stuff worked so I could strip it to pieces and at least make an attempt at
> building the feature in ? :)

The coding required in Squid is quite small, once there is a mechanism
that Squid may use to get the DS information from the kernel on TCP
traffic..

Regards
Henrik
Received on Fri Nov 23 2001 - 01:22:24 MST

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