[Click] How to implement variable number of input queues for roundrobin scheduler?

Nicholas Weaver nweaver at ICSI.Berkeley.EDU
Tue Apr 14 11:12:56 EDT 2009


The only way I can think to do it quickly is include the scheduler in  
the queue itself:

As Bart Braem mentioned, Click is not really set up for dynamic links,  
and having the scheduler separate from the queue seems like a real  
headache:

You can't do dynamic links.

You can't really do packet marking, as there needs to be feedback back  
to the queue as to what to do.

But if you do it in the queue itself, its actually pretty  
straightforward: you have a bunch of little internal queues.  And if  
you use inheritence/OO right, you can build the "infinite little  
subqueue" mechanism and then place different schedulers in the logic.




More information about the click mailing list