[ns] trace level significance

Vin geekvinod@yahoo.com
Mon Jan 12 09:35:12 PST 2004


I had a further question on this and i am a beginner.
If you are looking from a user's perspective, we
should run the simulations with only AGT trace ON
right? When you run tracegraph, you get some
statistics.
Now if we keep both AGT and RTR traces ON, and collect
statistics, you get different statistics,possibly a
combination of both traces. So if you are comparing
routing protocols, what should be kept on and what
not? Should the results be judged from a router's
perspective or a user's perspective?

Thaks in advance,
Vin
--- Mona <Mona.Ghassemian@kcl.ac.uk> wrote:
> Hi,
> 
> When you use 
>                  -agentTrace ON \
>                  -routerTrace ON \
>                   -macTrace OFF
> You tunr on agent ond router trace on and mac trace
> off. As you can see in your trace file column 4, RTR
> and AGT refer to agent and routing traces. If you
> set macTrace on then you we see MAC in your trace
> file.
> 
> kr,
> Mona
> 
> Date: Sun, 11 Jan 2004 11:01:15 -0800 (PST)
> From: Di-Fa Chang <difac@aludra.usc.edu>
> Subject: Re: [ns] What is the meaning of the trace
> file.
> To: Jack Wang <junw24@hotmail.com>
> Cc: ns-users@ISI.EDU
> 
> check the trace format in
>
http://www.k-lug.org/~griswold/NS2/ns2-trace-formats.html
> 
> On Sat, 10 Jan 2004, Jack Wang wrote:
> 
> >
> > Hi all:
> >
> > I use a simple tcl script to try AODV. But I can
> not understand the meaning
> > of the fields of the trace file. I attach a piece
> of the result here. Could
> > someone tell me the meaning of the fields?
> >
> > Thanks a lot.
> >
> > Jack
> >
> > By the way, the trace setting is:
> > -agentTrace ON \
> >                  -routerTrace ON \
> >                  -macTrace OFF
> >
> >
> >
>
----------------------------------------------------------------------------------
> >
> > r 613.382814545 _7_ RTR  --- 0 AODV 48 [0 ffffffff
> 6 800] ------- [6:255
> > -1:255 3 0] [0x2 3 6 [12 5] [11 22]] (REQUEST)
> > r 613.382814643 _27_ RTR  --- 0 AODV 48 [0
> ffffffff 6 800] ------- [6:255
> > -1:255 3 0] [0x2 3 6 [12 5] [11 22]] (REQUEST)
> > r 613.382814654 _23_ RTR  --- 0 AODV 48 [0
> ffffffff 6 800] ------- [6:255
> > -1:255 3 0] [0x2 3 6 [12 5] [11 22]] (REQUEST)
> > r 613.382814782 _14_ RTR  --- 0 AODV 48 [0
> ffffffff 6 800] ------- [6:255
> > -1:255 3 0] [0x2 3 6 [12 5] [11 22]] (REQUEST)
> > r 613.382814783 _30_ RTR  --- 0 AODV 48 [0
> ffffffff 6 800] ------- [6:255
> > -1:255 3 0] [0x2 3 6 [12 5] [11 22]] (REQUEST)
> > r 613.382814804 _16_ RTR  --- 0 AODV 48 [0
> ffffffff 6 800] ------- [6:255
> > -1:255 3 0] [0x2 3 6 [12 5] [11 22]] (REQUEST)
> > r 613.382814871 _49_ RTR  --- 0 AODV 48 [0
> ffffffff 6 800] ------- [6:255
> > -1:255 3 0] [0x2 3 6 [12 5] [11 22]] (REQUEST)
> > r 613.384229584 _49_ RTR  --- 0 AODV 48 [0
> ffffffff 26 800] ------- [38:255
> > -1:255 2 0] [0x2 4 6 [12 5] [11 22]] (REQUEST)
> > r 613.384229703 _23_ RTR  --- 0 AODV 48 [0
> ffffffff 26 800] ------- [38:255
> > -1:255 2 0] [0x2 4 6 [12 5] [11 22]] (REQUEST)
> > r 613.384229713 _8_ RTR  --- 0 AODV 48 [0 ffffffff
> 26 800] ------- [38:255
> > -1:255 2 0] [0x2 4 6 [12 5] [11 22]] (REQUEST)
> > r 613.384229744 _15_ RTR  --- 0 AODV 48 [0
> ffffffff 26 800] ------- [38:255
> > -1:255 2 0] [0x2 4 6 [12 5] [11 22]] (REQUEST)
> > r 613.386215131 _29_ RTR  --- 0 AODV 44 [13a 1d c
> 800] ------- [12:255
> > 11:255 30 29] [0x4 1 [12 6] 10.000000] (REPLY)
> > f 613.386215131 _29_ RTR  --- 0 AODV 44 [13a 1d c
> 800] ------- [12:255
> > 11:255 29 11] [0x4 2 [12 6] 10.000000] (REPLY)
> > r 613.391422458 _11_ RTR  --- 0 AODV 44 [13a b 1d
> 800] ------- [12:255
> > 11:255 29 11] [0x4 2 [12 6] 10.000000] (REPLY)
> > s 613.391422458 _11_ RTR  --- 1266 cbr 532 [0 0 0
> 0] ------- [11:2 12:0 30
> > 29] [124] 0 2
> > r 613.397736313 _29_ RTR  --- 1266 cbr 532 [13a 1d
> b 800] ------- [11:2 12:0
> > 30 29] [124] 1 2
> > f 613.397736313 _29_ RTR  --- 1266 cbr 532 [13a 1d
> b 800] ------- [11:2 12:0
> > 29 12] [124] 1 2
> > r 613.403969703 _12_ AGT  --- 1266 cbr 532 [13a c
> 1d 800] ------- [11:2 12:0
> > 29 12] [124] 2 2
> > M 614.05352 12 (530.81, 619.54, 0.00), (530.81,
> 619.54), 0.00
> > s 614.119850310 _9_ AGT  --- 1267 cbr 512 [0 0 0
> 0] ------- [9:2 11:0 32 0]
> > [151] 0 1
> > r 614.119850310 _9_ RTR  --- 1267 cbr 512 [0 0 0
> 0] ------- [9:2 11:0 32 0]
> > [151] 0 1
> > s 614.119850310 _9_ RTR  --- 1267 cbr 532 [0 0 0
> 0] ------- [9:2 11:0 30 11]
> > [151] 0 1
> > M 614.29410 46 (565.99, 107.48, 0.00), (565.99,
> 107.48), 0.00
> > M 614.61903 38 (86.36, 24.79, 0.00), (86.36,
> 24.79), 0.00
> > s 614.697692585 _1_ AGT  --- 1268 cbr 512 [0 0 0
> 0] ------- [1:0 2:0 32 0]
> > [107] 0 1
> > r 614.697692585 _1_ RTR  --- 1268 cbr 512 [0 0 0
> 0] ------- [1:0 2:0 32 0]
> > [107] 0 1
> > s 614.697692585 _1_ RTR  --- 1268 cbr 532 [0 0 0
> 0] ------- [1:0 2:0 30 2]
> > [107] 0 1
> > r 614.703142019 _2_ AGT  --- 1268 cbr 532 [13a 2 1
> 800] ------- [1:0 2:0 30
> > 2] [107] 1 1
> > M 614.79610 36 (60.17, 660.90, 0.00), (60.17,
> 660.90), 0.00
> > M 615.36655 0 (412.84, 392.75, 0.00), (412.84,
> 392.75), 0.00
> > s 615.985116659 _2_ AGT  --- 1269 cbr 512 [0 0 0
> 0] ------- [2:1 3:1 32 0]
> > [130] 0 2
> > r 615.985116659 _2_ RTR  --- 1269 cbr 512 [0 0 0
> 0] ------- [2:1 3:1 32 0]
> > [130] 0 2
> > s 615.985116659 _2_ RTR  --- 1269 cbr 532 [0 0 0
> 0] ------- [2:1 3:1 30 45]
> > [130] 0 2
> > r 615.991145471 _45_ RTR  --- 1269 cbr 532 [13a 2d
> 2 800] ------- [2:1 3:1
> > 30 45] [130] 1 2
> > f 615.991145471 _45_ RTR  --- 1269 cbr 532 [13a 2d
> 2 800] ------- [2:1 3:1
> > 29 21] [130] 1 2
> > r 615.996859536 _21_ RTR  --- 1269 cbr 532 [13a 15
> 2d 800] ------- [2:1 3:1
> > 29 21] [130] 2 2
> > f 615.996859536 _21_ RTR  --- 1269 cbr 532 [13a 15
> 2d 800] ------- [2:1 3:1
> > 28 3] [130] 2 2
> > r 616.003153262 _3_ AGT  --- 1269 cbr 532 [13a 3
> 15 800] ------- [2:1 3:1 28
> > 3] [130] 3 2
> > s 616.387479767 _8_ AGT  --- 1270 cbr 512 [0 0 0
> 0] ------- [8:1 10:0 32 0]
> > [143] 0 2
> > r 616.387479767 _8_ RTR  --- 1270 cbr 512 [0 0 0
> 0] ------- [8:1 10:0 32 0]
> > [143] 0 2
> >
> >
>
_________________________________________________________________
> > Protect your PC - get McAfee.com VirusScan Online
> >
>
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> >
> >
> 
>
-----------------------------------------------------------
> Mona Ghassemian, PhD student
> Centre for Telecommunications Research
> King's College London
> Strand, London WC2R 2LS
> T: +44 20 7848 2596
> F: +44 20 7848 2664
> E: Mona.Ghassemian@kcl.ac.uk
>
-----------------------------------------------------------
> 


__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus




More information about the Ns-users mailing list