[Codel] ns2 simulations of sfq_codel

Anirudh Sivaraman sk.anirudh at gmail.com
Sun Jan 13 22:57:56 EST 2013


Hi

I am using ns2 to simulate sfq_codel (code taken from
https://github.com/dtaht/ns2/blob/master/queue/sfqcodel.cc). I
modified codel.tcl
(https://github.com/dtaht/ns2/blob/master/codel.tcl) to run sfq_codel.
Specifically, I modified this line in codel.tcl :

$ns duplex-link $n0 $n1 $bw ${bdelay}ms CoDel

to

$ns duplex-link $n0 $n1 $bw ${bdelay}ms sfqCoDel

Things run fine, except I get these warnings :

warning: no class variable Queue/sfqCoDel::interval_

	see tcl-object.tcl in tclcl for info about this warning.

warning: no class variable Queue/sfqCoDel::target_

warning: no class variable Queue/sfqCoDel::curq_

warning: no class variable Queue/sfqCoDel::d_exp_

warning: no class variable Queue/sfqCoDel::interval_

	see tcl-object.tcl in tclcl for info about this warning.

warning: no class variable Queue/sfqCoDel::target_

warning: no class variable Queue/sfqCoDel::curq_

warning: no class variable Queue/sfqCoDel::d_exp_

Are these warnings safe to ignore or do they affect the simulation output ?

Anirudh



More information about the Codel mailing list