[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: WFQ queue limit
Luca Liberti wrote:
>
> Hello everibody
> someone knows how to set queue limit of packet scheduler in links?
>
> I tryed with method,
> Simulator queue-limit
> it sets the variable limit_ in class Queue. Unfortunately it doesn't work.
>
> This function works well with DropTail queue, but hasn't any effect on
> other queues like: SFQ, FQ.
>
> Thanks in advance
> Luca
The situation is quite normal. FQ scheduler is implemented with
a set of queues that are untouchable from a ns script.
What you can do is to set the global limit_ variable. It will put
a limit on the queue of each flow.
So 'Queue set limit_ 15' will show in nam a 60 long queue if you have 4 full flows
but each flow separately will only grow to 15 packets.
I think it is necessary to customize the C++ code of FQ to get the
desired behaviour that is a more accurate control over the scheduling discipline.
Ludovic Kuty