delay and packet loss plots

131 views
Skip to first unread message

Sourav Chakraborty

unread,
Dec 1, 2015, 5:21:35 PM12/1/15
to ns-3-users
I am trying to find delay on a per packet/per flow basis for evaluating WiFi MAC layer schemes,using ns-3.Also trying to get packet loss for an entire simulation time. The intention is to use gnuplot to plot graphs on a per flow basis for avg delay vs net load and packet loss vs net load.

What are the tried and tested techniques for achieving this?

BR,
Sourav 

Tom Henderson

unread,
Dec 1, 2015, 6:11:06 PM12/1/15
to ns-3-...@googlegroups.com
The main tools in use are the IP flow monitor and the data collection
framework.

IP flow monitor is useful for per-flow statistics including loss, delay,
and jitter: https://www.nsnam.org/docs/models/html/flow-monitor.html

There is a built-in gnuplot class that can be used to generate plots:
https://www.nsnam.org/docs/manual/html/gnuplot.html

There is a data collection framework that is designed to hook to ns-3
trace sources and outputs either text files or gnuplots:
https://www.nsnam.org/docs/manual/html/data-collection.html

There are various examples in the codebase for each of the above; likely
you will need to read them over and try them out, customizing for your
use case.

- Tom
Reply all
Reply to author
Forward
0 new messages