Discussion:
Cost of enabling ALTQ in kernels
(too old to reply)
David Brownlee
2007-06-16 19:39:19 UTC
Permalink
I have a couple of gateway boxes where I want to use ALTQ
(primarily for limited bandwidth to/from certain test
machines). In order to minimise custom kernel proliferation
I'd like to just enable ALTQ in all kernels, but only turn
it on on certain machines.

Is there any significant network performance or other cost
in having ALTQ compiled into the kernel but not used?
--
David Brownlee -- ***@absd.org

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Thor Lancelot Simon
2007-06-16 19:53:23 UTC
Permalink
Post by David Brownlee
I have a couple of gateway boxes where I want to use ALTQ
(primarily for limited bandwidth to/from certain test
machines). In order to minimise custom kernel proliferation
I'd like to just enable ALTQ in all kernels, but only turn
it on on certain machines.
Is there any significant network performance or other cost
in having ALTQ compiled into the kernel but not used?
It certainly makes the kernel considerably larger.

Thor

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Joerg Sonnenberger
2007-06-17 13:42:01 UTC
Permalink
Post by David Brownlee
Is there any significant network performance or other cost
in having ALTQ compiled into the kernel but not used?
In the current world, yes. It can be improved to do either of:
(1) One additional indirect functoin call per ifq operation.
(2) One additional conditional branch per ifq operation.

The first choice shouldn't increase the size of the kernel (might even
make it a bit smaller), the second would (very) slightly increase it.

Joerg

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Loading...