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

Re: Re: [ns] Priority Queuing and CAR



Hi Liu,

I think that must be what I am searching for, but how can I configure it?

$ns duplex-link $n1 $nagr 200kb 100ms DropTail 

works pefectly, but

$ns duplex-link $nagr $nfin 300kb 100ms PriQueue

doesn't work at all, it gives erros when compiling.

Could you give me an example on how to configure it?

Is there somewhere where I can find the details of queue-scheduling on NS (chapter 7 of the NS manual is not enough at all, since the instructions lare listed, but they are not deeply explained nor are the parameters explained at all). Is there any specific resource of sintaxis or examples on that: PQ, CBQ/WFQ, ...

Thanks a lot. I would greatly appreciate anybody's help.

Jorge

------------------------------------------------------------------------
There is a PriQueue which is the subclass of the drop tail.I am not sure it is the exact one you want. 
            Good Luck. 
            Hi all, 
            I've read most of the NS documentation, specially the part about scheduling. It looks like NS has RED, FQ, SFQ, CBQ,
            .. but I have not been able to find PQ (Priority Queuing). By PQ I mean a queue in which "important packets" are always
            preferred over "routine packets", so a "routine packet" is never sent if there is an "important packet" in the queue. I
            thought there must surely be a way to model that with NS, as much more complex scheduling techniques have been
            implemented. 
            How can I simulate PQ? Is it somewhere with a different name? Can it be modeled as a special case of other
            implemented scheduling techniques? 
            Besides, I need to simulate CAR (policing), which means transmiting data using a token bucket limitation. Can I do that
            with NS? 
            Thanks a lot and best regards, 
            Jorge Manrique 
            liu yong 
            [email protected]