QoS/device API (was Re: ipprecedence)

Luigi Rizzo rizzo at icir.org
Tue Jul 8 02:09:29 PDT 2003


On Mon, Jul 07, 2003 at 09:12:47PM +0100, Bruce M Simpson wrote:
...
> With the increased interest in VoIP and similar these days, perhaps hardware
> DS/QoS support of this nature is something the project should explore?

the usual problem here is that if you want your mechanisms to be
useful, you should implement them in software first (even though
it has a performance impact), and then exploit the hw capabilities
when/if they are present and useful (e.g. on a slow link and fast
CPU, you don't care too much about separate hw queues).

The 'if_tx_rdy' dummynet trick that i mentioned does cover the
software part, and i believe it can be made reasonably cheap (i.e.
skip the function call if no pipes are registered to be clocked by
that interface) so that it will not harm performance in the general case.

If there is interest, i can look into doing this change and adding
this call to our device drivers.

	cheers
	luigi


More information about the freebsd-net mailing list