Flow statistics of openflow in ryu controller

307 views
Skip to first unread message

Jenushanth Sivakumar

unread,
May 22, 2021, 9:55:37 PM5/22/21
to mininet-wifi-discuss
Hello everyone , 
I hope You all are doing  well.  I have been doing a research in mininet wifi with ryu controller and openvswitch.Screenshot from 2021-05-23 07-10-56.png 
This program was written along with simple_switch_13 and I got a trace_file  using ping command in which how to find bandwidth? that is my question.And also I attach
 with my trace_file.Here I prefer to count bandwidth when sending packets.Anyone coudl you help me?
Screenshot from 2021-05-23 07-10-36.pngt

Jenushanth Sivakumar

unread,
May 25, 2021, 1:03:58 AM5/25/21
to mininet-wifi-discuss
Hi Ramon sir, 
  could you solve my problem?

durga

unread,
May 25, 2021, 1:29:37 AM5/25/21
to Jenushanth Sivakumar, mininet-wifi-discuss
Hi

To calculate BW using flow-stats , you can use the formula (number of packets at t2 - number of packets at t1)/t2-t1. Please also note that icmp packets are tiny - hence it might not reflect correct bandwidth measurement. Rather, you can use traffic generation tools such as iperf to generate tcp/udp traffic, periodically measure flow tables and calculate BW using above formula

Hope that helps
Cheers!
Durga




--
You received this message because you are subscribed to the Google Groups "mininet-wifi-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mininet-wifi-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mininet-wifi-discuss/f5797928-ed1d-4821-8d17-8cda47244fabn%40googlegroups.com.

Jenushanth Sivakumar

unread,
May 25, 2021, 1:45:01 AM5/25/21
to durga, mininet-wifi-discuss
Thank you Durga, 
 And one more question ,can bandwidth measurement be save into csv file that  have already sent  
Reply all
Reply to author
Forward
0 new messages