Simulating and getting congestion window plot in NS3

130 views
Skip to first unread message

Michał Cichecki

unread,
May 25, 2017, 3:45:32 PM5/25/17
to ns-3-users
Hello

I have to simulate the TCP protocol and get the congestion window plot. I've tried simulating the traffic-control.cc but I only got the .pcap file. What file from examples is the best to simulate and to get what I want. Moreover is there any way to slighly change the TCP algorithm (setting the cwnd and ssh_thresh) using the example files?

Konstantinos

unread,
May 25, 2017, 3:52:40 PM5/25/17
to ns-3-users
Hi,

Please refer to the tutorial. There is a tutorial example on congestion tracing and plotting.
There are different flavors of TCP which have an impact on cwnd and ssh_thresh. You can compare them (example provided in ns-3 codebase)

Regards,
K

Michał Cichecki

unread,
May 25, 2017, 4:07:39 PM5/25/17
to ns-3-users
Thanks for reply. Could you specify the example of congestion tracing? Which .cc file is it? I could not find it.

Konstantinos

unread,
May 25, 2017, 4:17:54 PM5/25/17
to ns-3-users
Please read the tutorial. It explains it.

Michał Cichecki

unread,
May 25, 2017, 4:23:53 PM5/25/17
to ns-3-users

Konstantinos

unread,
May 25, 2017, 4:28:57 PM5/25/17
to ns-3-users
This is not the correct version for the tutorial.
Please use the one corresponding to the ns-3 release you are using.
Reply all
Reply to author
Forward
0 new messages