Metering Function for OpenVSwitch 2.8.1

[Execution]

 

Add a meter (3Mbps) when packets are coming from port 1 to port.

 

Something strange. After setting, there are checksum errors for packets in h2. So I use iftop (sudo apt-get install iftop) to measure the throughput.

We are sending 5Mbps traffic to h2. Then we can get around 2.84Mbps at h2.

 

Referring to https://arthurchiao.github.io/blog/ovs-deep-dive-5-datapath-tx-offloading/

 

 

 

[References]

http://blog.csdn.net/rocson001/article/details/73163041

http://sdnhub.org/tutorials/openflow-1-3/

https://www.sdnlab.com/community/question/else/403#!answer_form

http://www.cnblogs.com/wpqwpq/p/7832650.html

 

Dr. Chih-Heng Ke (smallko@gmail.com)

Department of Computer Science and Information Engineering,

National Quemoy University, Kinmen, Taiwan.