Tuesday, January 1, 2008

DSR interface queue length

It seems I cannot set the queue length in the tcl script using

node-config -ifqLen <qlen>

when I use DSR and CMUPriQueue.

The only effective way for me is to modify the C++ file dsr-priqueue.h under directory ns2/queue/. There is a statement

"#define IFQ_MAXLEN 50"

to specify the interface queue length is 50 packet, and it does changes the simulation result after I modified the value.

Is it a small bug?



Powered by ScribeFire.

No comments: