[PATH] ALTQ(9) codel algorithm implementation

Gleb Smirnoff glebius at FreeBSD.org
Fri Jun 14 10:07:46 UTC 2013


  Luigi,

On Fri, Jun 14, 2013 at 12:08:28PM +0200, Luigi Rizzo wrote:
L> > I'm afraid we can't grow mbuf packet header with 8 bytes just to satisfy
L> > the ALTQ codel algo, which would definitely have a limited usage among
L> > FreeBSD users. Thus, "enqueue_time" should go into mbuf_tags(9) not into
L> > mbuf packet header.
L> 
L> not to take positions one way or the other, but getting and releasing
L> a tag on every packet is going to kill performance.

Does ALTQ care about performance?

L> If i remember well, 2-3 years ago at bsdcan there was discussion
L> (and mention of some pending work, jeffr maybe ?)
L> on providing some leading space in the mbuf so one could put there
L> tags (e.g. ipfw and dummynet ones) without having to allocate them.
L> Not sure where is this.

I even tried to prototype that.

-- 
Totus tuus, Glebius.


More information about the freebsd-net mailing list