Re: rshaper-1.01, for linux-2.0

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 7 Aug 1998 19:49:38 +0100 (BST)


> Needing to use a traffic shaper in a production environment based on
> version 2.0, I found that shaper.c can't be backported to 2.0 because
> of relevant changes in the sk_buff structure.

Oops.

The shaper for 2.0 is about as old as 2.0 and can be found in 2.0.36pre2
and an older edition on shadow.cabi.net

> Therefore I wrote a simple tool that delays packet reception, instead
> of transmission, by hooking to netif_rx() calls as made by the driver.

Delaying isnt the entire answer. You have to actually model the delay/drop
properties of a real interface queue. Its very easy to do the wrong thing
and halve the throughput while doubling the bandwidth to TCP retransmits.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html