[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [ns] guidance needed...........
Hi Swetha,
This is the reply I give to a similar question of Alberto. I hope it will help you. Anyway, there's information on that on chapter 37 of the NS manual, I think.
Best regards,
Jorge
---------------------------
Hi Alberto,
You can find this information in the NS manual (I think it's chapter 37), where this is quite clearly explained. I don't remember the exact meaning of right-most parameters in the trace file. The first parameter symbolizes the 'action' (enque, receive, ..). The second is the timestamp. Then you have the source and destination node, the protocol, the packet size, etc.
To calculate the delay you should post-process the trace file with AWK.
Espero que te sea de ayuda.
Best regards,
Jorge
-----Mensaje original-----
De: ALBERTO FELIPE PEREZ [SMTP:[email protected]]
Enviado el: jueves, 19 de julio de 2001 19:08
Para: [email protected]
Asunto: [ns] Question about trace file and delay calculation
Hi all,
I'm using ns-allinone-2.1b7a and when I run a MIP simulation I obtain a very long trace file that contains something like this:
+ 0 0 1 tcp 1000 ------- 1 0.0 3.2 0 0
- 0 0 1 tcp 1000 ------- 1 0.0 3.2 0 0
v 0.0001 link-down 2 3
v 0.0001 link-down 3 2
r 0.009 0 1 tcp 1000 ------- 1 0.0 3.2 0 0
+ 0.009 1 3 tcp 1000 ------- 1 0.0 3.2 0 0
- 0.009 1 3 tcp 1000 ------- 1 0.0 3.2 0 0
r 0.018 1 3 tcp 1000 ------- 1 0.0 3.2 0 0
+ 0.018 3 1 ack 40 ------- 1 3.2 0.0 0 1
- 0.018 3 1 ack 40 ------- 1 3.2 0.0 0 1
r 0.02316 3 1 ack 40 ------- 1 3.2 0.0 0 1
+ 0.02316 1 0 ack 40 ------- 1 3.2 0.0 0 1
- 0.02316 1 0 ack 40 ------- 1 3.2 0.0 0 1
r 0.02832 1 0 ack 40 ------- 1 3.2 0.0 0 1
+ 0.02832 0 1 tcp 1000 ------- 1 0.0 3.2 1 2
.....................
Could you tell me what those fields mean?
And whith this, which is the best and fastest way to calculate the delay?
Thank you in advance.
- 0.02832 0 1 tcp 1000 ------- 1 0.0 3.2 1 2
+ 0.02832 0 1 tcp 1000 ------- 1 0.0 3.2 2 3
-----Mensaje original-----
De: swetha swetha [SMTP:[email protected]]
Enviado el: domingo, 22 de julio de 2001 19:50
Para: [email protected]
Asunto: [ns] guidance needed...........
Hi,
I have the following question, can you please help me
out.
i have setup a network topology. And now i want to
interpret the results. Iam unable to interpret the
results in the trace file .What are the basics that I
need to know to interpret the results.It would be
really greatful if anyone can help me out.
Thanx in advance
swetha
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/