[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] priority queue



HI, there, 
Thanks for your tip!
I looked up the simple-intserv-sched.cc, here is my understanding what I
should do, but I am sure if it is the right way. if you could give me
some feedback on this, that would be very helpful!
-------
To change a interface queue between LL and MAC layer to separate priotized
queue:

in tcl/lan/vlan.tcl, change the 
"LanNode set ifqType_   Queue/DropTail"
to 
"LanNode set ifqType_   Queue/SimpleIntServ"

or add Queue/SimpleIntServ as a parameter in make-lan command,

and set the flow id in ip header properly based on different priorities of
the packet.

To do the same thing for a normal node( other than a LAN node):
use 
$node add-interface .. to set ifq to Queue/SimpleIntServ,

Thanks a LOT!
yan

On Fri, 30 Jun 2000, Tarik Alj wrote:

> see Queue/SimpleIntServ.
> 
> >Date: Fri, 30 Jun 2000 06:35:43 -0700 (PDT)
> >From: Yan Yu <[email protected]>
> >To: ns-users <[email protected]>
> >Subject: [ns] priority queue
> >MIME-Version: 1.0
> >
> >Hi, there, 
> >  I am wondering is there convenient interface in ns that I can use to
> >implement separate  queues for packets with different priority at the
> >link layer?
> >Thanks,
> >yan
> >
> 
> Tarik 
>