Re: [ovs-discuss] How to apply rate limiting or QoS on upload speed?

2015-03-10 Thread Zhangguanghui
I'd like to make an addition in the patch. - tc_fill_rate(&tc_police.rate, (kbits_rate * 1000)/8, mtu); + tc_fill_rate(&tc_police.rate, ((uint64_t)kbits_rate * 1000)/8, mtu); From: Ben Pfaff<mailto:b...@nicira.com> Date: 2015-03-11 04:37 To: zhangguanghui 10102 (RD)<mailto:

Re: [ovs-discuss] How to apply rate limiting or QoS on upload speed?

2015-03-09 Thread Zhangguanghui
There is a bug in the rate limiting, for the type of int has a max limit 2147483648,(lt 200*1000) if you can change type 'int' to 'uint' in the function context, as follow, static int tc_add_policer(struct netdev *netdev, int kbits_rate, int kbits_burst) From: discuss

Re: [ovs-discuss] performance drop 60% when using vxlan tunnel

2014-11-05 Thread Zhangguanghui
Hi Vxlan tunnel based on udp, (TSO support offloads for tcp, NIC support in default). in the case of case2 , this is entirely normal performance for standard ovs2.1.2 Only if you can make essential performance optimization. zhangguanghui 10102 From