Hi, All

I want to use the QoS feature of OpenvSwitch to control the bandwidth based on 
the vlan id(scene 1) or port id(scene 2).

So I deployed it as the pdf file show,and configured the flows, the qos rules, 
and used iperf tool to test it.

But the result is disappointment.


In scene 1:


The bandwidth is not 800M.


[root@host1 ~]# iperf -c 10.10.12.4 -i 1 -t 100  -P 20 |grep SUM

[SUM]  0.0- 1.0 sec  53.2 MBytes    446 Mbits/sec

[SUM]  1.0- 2.0 sec  51.0 MBytes    428 Mbits/sec

[SUM]  2.0- 3.0 sec  54.3 MBytes    455 Mbits/sec

[SUM]  3.0- 4.0 sec  50.9 MBytes    427 Mbits/sec

[SUM]  6.0- 7.0 sec  50.5 MBytes    424 Mbits/sec

[SUM]  7.0- 8.0 sec  51.3 MBytes    430 Mbits/sec

[SUM]  8.0- 9.0 sec  50.1 MBytes    420 Mbits/sec

[SUM]  9.0-10.0 sec  52.0 MBytes    436 Mbits/sec

[SUM] 10.0-11.0 sec  47.2 MBytes    396 Mbits/sec

[SUM] 11.0-12.0 sec  52.9 MBytes    444 Mbits/sec

[SUM] 12.0-13.0 sec  47.8 MBytes    401 Mbits/sec

[SUM] 13.0-14.0 sec  51.1 MBytes    429 Mbits/sec

[SUM] 14.0-15.0 sec  47.4 MBytes    398 Mbits/sec

[SUM] 15.0-16.0 sec  61.7 MBytes    518 Mbits/sec


In scene 2:

If only “iperf -c 10.10.12.4 -N 5”, the bandwidth is 940M.

But after “iperf -c 192.168.4.3 -N 50”, the bandwidth for 10.10.12.4 down to 
150M.


[SUM] 94.0-95.0 sec    112 MBytes    939 Mbits/sec

[SUM] 95.0-96.0 sec    113 MBytes    950 Mbits/sec

[SUM] 96.0-97.0 sec    112 MBytes    938 Mbits/sec

[SUM] 97.0-98.0 sec    112 MBytes    938 Mbits/sec

[SUM] 98.0-99.0 sec    111 MBytes    935 Mbits/sec

[SUM] 99.0-100.0 sec    112 MBytes    941 Mbits/sec

[SUM] 100.0-101.0 sec  73.6 MBytes    617 Mbits/sec

[SUM] 101.0-102.0 sec  18.6 MBytes    156 Mbits/sec (??)

[SUM] 102.0-103.0 sec  17.1 MBytes    144 Mbits/sec

[SUM] 103.0-104.0 sec  18.6 MBytes    156 Mbits/sec

[SUM] 104.0-105.0 sec  17.8 MBytes    150 Mbits/sec


Could anybody help me find why and how to solve it ?

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to