[Ns-developers] GSoC: Advanced Queues

Adrian Sai-Wah TAM adrian at ieaa.org
Thu Apr 2 07:56:00 PDT 2009


Hi Alexandru,

> My questions are related to QoS. As far as I have seen there is
> defined only one queue per link (net-device), so called transmission
> queue. So my question is:
> It is possible in ns-3 to give priority for some applications at
> network layer based on TOS field (Type of service), port number,
> source/destination address, ... ?
That depends on how you define a priority. If there is a strict
priority regardless of the time the packets arrived, you can implement
this in a priority queue (heap) instead of a FIFO queue. I did that.

> If answer is no, then I think that ns-3 should contain following blocks:
>  - Classifier
>  - Queuing
>  - Scheduler
If I understand correctly, that means you want to have multiple queues
instead of a single queue for transmission. I can tell you this is not
going to be a big piece of work. You can actually do this in a week.
(I tried)

> If you find that I'm wrong  or it's too early for this to be added in
> ns-3 then I could resume only on advanced queues.
> In the other case with your help and guidance this could be achieved
> trough GSoC program. At first, there could be added a generic
> framework, then we will start to add more features like in case of
> Scheduler: strict priority, round-robin, .... and so on.
No. I think that's useful. However, to make your code more useful, you
have to think about how to make it generic and easily configured for
fit other applications. That's the hardest part. I can give you my
code as a starting point if you want but mine is tailored specific for
a particular application.

If you want to submit to GSoC (deadline is Friday), please think about
the design and explain it in good detail in the proposal. I love your
idea.

- Adrian.


More information about the Ns-developers mailing list