[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[altq 740] Re: Accounting mode
Long Le wrote:
> I'm trying to adapt some code that was added ALTQ 2.2 fifoq-tools and
> red-tools (the code does some logging of information for our own
> purpose)
> to ALTQ 3.0 and found in the CHANGES note that the accounting mode has
> been removed.
>
> Although I don't think that our code relies on this mode, I want
> to make sure that the change does not have any side-effect.
>
> What was the accounting mode for and why has it been removed?
I don't think it has any side effect to your code.
In the accounting mode, a queueing discipline classifies packets and
update packet counters but it does not perform packet scheduling and
uses the original FIFO queue.
It was used for demo to graphically compare flows with and without ALTQ.
While redesigning the ALTQ framework for 3.0, it became clear that
this function belongs to a classifier rather than a discipline.
(besides, the name, accounting mode, is misleading.)
I don't see a compelling reason to continue supporting the accounting
mode so that it was removed in ALTQ-3.0.
-Kenjiro