Measure packet loss rate, jitter, and end-to-end delay for UDP-based applications

6 07 2008

Two methods will be presented. One is to parse the traffic trace file by using gawk, and the other is to insert some codes in C++ codes. The first method is easy when the simulation is only on wired network topology. When the simulation covers wireless part, using gawk to parse traffic trace file becomes hard. Because the trace format for wireless is not the same. However, the second method needs some efforts before using it. But if the work is done, it will be easy for you to get these metrics despite wireless or wired simulation scenarios.

Read the rest of this entry »





Measure the throughput of TCP-based application

5 07 2008

TCP流量的取得,先修改添加tcpsink,然后用perl脚本对tcpsink的trace进行分析:

Read the rest of this entry »





Get the system throughput for UDP-based application

5 07 2008

非常有用的很直接能看到flow的throughput的修改.利用loss-monitor,记录第一个包和最后一个包的抵达时间,然后计算出流量. 用于UDP.

Read the rest of this entry »