Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jul 2003 09:18:48 -0700
From:      Luigi Rizzo <rizzo@icir.org>
To:        Eugene Grosbein <eugen@grosbein.pp.ru>
Cc:        net@freebsd.org
Subject:   Re: ipprecedence
Message-ID:  <20030702091848.A76558@xorpc.icir.org>
In-Reply-To: <20030702235442.A1757@grosbein.pp.ru>; from eugen@grosbein.pp.ru on Wed, Jul 02, 2003 at 11:54:42PM %2B0800
References:  <3F02E5F2.4090407@tenebras.com> <20030702235442.A1757@grosbein.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030702091848.A76558>