How to get the tcprtt value from mininet

Skip to first unread message

viknes indiran

Apr 27, 2022, 11:40:35 AMApr 27
to sFlow-RT
My goal is to get the latency from the mininet hosts. I'm generating the tcp traffic with the iperf tool. I have connected my mininet to my ONOS controller and running the sflow with the mininet's 'sudo mn' command.  

Is there a way to get the rtt by using the s-flow rtt API.

I'm a student and still new to this. A guidance would be really helpful. Thank you

Peter Phaal

Apr 27, 2022, 12:10:49 PMApr 27
to sFlow-RT
The TCP RTT data comes from the Host sFlow agent, The tcp{} module provides the data using Linux tcp_diag instrumentation.

With Mininet, the embedded agent in Open vSwitch provides the sFlow measurements and it doesn't support the measurements since they can only be made at the TCP end points. Mininet doesn't fully containerize hosts, so I don't think it would be possible to run Host sFlow agents with Mininet host nodes.

You might want to look at alternatives like Containerlab if you want to collect host-based metrics,

Reply all
Reply to author
0 new messages