ipprecedence

Luigi Rizzo rizzo at icir.org
Wed Jul 2 09:18:49 PDT 2003


On Wed, Jul 02, 2003 at 11:54:42PM +0800, Eugene Grosbein wrote:
> > It seems to me you could use dummynet/ipfw2 to provide a
> > stronge PREFERENCE for packets w/non-zero precedence --
...
> And what bandwidth of pipe should I use?
> Note that I do not need traffic shaping,
> I need to rearrange queues only.

Are you really sure that you are seeing significant queueing
in your system ? Reordering packets based on precedence/priority
typically makes sense at the bottleneck, not elsewhere.
And your bottleneck is probably your ISP, not your local router.

If, on the contrary, you have some kind of "slow" interface,
such as various kinds of serial lines etc. you might in
principle put a call to "if_tx_rdy()" in the 'transmit complete'
interrupt service routine of the device driver, and put

	pipe ... config bw foo0

where foo0 is the name of your device (I introduced this in
3.x times, though no device supports it).

	cheers
	luigi


More information about the freebsd-net mailing list