[3438] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: shaper or whatever

daemon@ATHENA.MIT.EDU (Mike Kilburn)
Mon Jun 24 02:35:29 1996

Date: 	Mon, 24 Jun 1996 08:02:33 +0200 (SAT)
From: Mike Kilburn <mike@lserv.conexio.co.za>
To: Miquel van Smoorenburg <miquels@cistron.nl>
cc: submit-linux-dev-net@ratatosk.yggdrasil.com
In-Reply-To: <96062431553.014301@drinkel.cistron.nl>



On Mon, 24 Jun 1996, Miquel van Smoorenburg wrote:

> Ah. Are you basing it on the firewall code? I want to start to implement
> something based on the firewall code. It adds a bandwidth argument to
> ipfwadm and sets up a bandwidth struct per source/destination specified.
> This is also recorded in the skbuff. Then in the drivers io routines

We also are working on this very method (can you read my mind?).

> this is checked per skbuff and the bandwidth is limited. This is done
> by calculating how long it would take to transmit the packet with the
> virtual bandwidth available and only allowing a new packet to be
> transmitted after that period has passed (using timers etc). If the
> backlog grows too big packets will be dropped. This behaves just like
> a normal serial link, but allowing several in parallel.
>
We are having quite a problem with receive (input firewall chain) as
it is. Nothing we have tried works properly on this chain. Output
chain was easy. We are of course trying *not* to hack the net
drivers themselfs. We only started on friday so there is still hope
for us. Its monday now though so we wont make anymore progress till
the weekend since this work is not sponsored by my main employer. 
 
> 
> Does this concept sound sane? Is this like the thing you are implementing?

We thought is was :). Potentially very powerful way of doing things. I
will give it a couple of man-weeks before I abandon our version. 


home help back first fref pref prev next nref lref last post