Re: [ns] calculating throughput

2007-03-15 Thread Matthias Krause
mantra modeIts all in the trace file/mantra mode the out.tr file normally containts all the data you wanna have. the + says, that a packet was put on a link. the r says, that a packet was received row 3 gives you the from-node, row 4 the to-node so change the script you got from r - + and take

Re: [ns] trace file

2007-03-22 Thread Matthias Krause
open it in notepad On 3/22/07, badii louati [EMAIL PROTECTED] wrote: hi how i can read read the trace file. thanks _ MSN Messenger : discutez en direct avec vos amis ! http://www.msn.fr/msger/default.asp

Re: [ns] Why does the RNG seed change ?

2007-04-05 Thread Matthias Krause
That seems to be in the seed. it has randomly the 12 twice. So give another seed, that doesnt have this problem (for example 12345) and you are done. Otherwise you store the values and check them for dublicates before assigning them. set rng [new RNG] $rng seed 12345 for {set i 0} {$i 5} {incr

[ns] howto modify SFQ maxqueue_ variable

2008-08-04 Thread Matthias Krause
Hi guys, maybe somebody can help me out here. I have a standard link $ns duplex-link $n2 $n3 100Mb 0.01ms SFQ and I would like to change the maxqueue_ variable of the SFQ algorithm. from the manual follows that $ns queue-limit $n2 $n3 100 should work, however it doesn't. In the code of sfq.cc