[Qemu-devel] [Bug 899140] Re: Problem with Linux Kernel Traffic Control

2012-02-09 Thread Henrique Rodrigues
Vincent, Have you tried to change the mtu of the tbf qdisc? The traffic control should work well if you set it to 65kb. I believe that this is happening due to the napi gro functionality. I'm still not sure, but the problem seems to be related to that. Henrique -- You received this bug notifi

[Qemu-devel] [Bug 899140] Re: Problem with Linux Kernel Traffic Control

2012-01-30 Thread Henrique Rodrigues
Hi, I figured out what was the problem. It seems that the pkts generated by each guest iperf command is bigger than the default qdisc mtu of 2kb (the pkts have length of 65k). If you set a higher qdisc mtu (=65k) the traffic should be controlled as expected. Henrique -- You received this bug n

[Qemu-devel] [Bug 899140] Re: Problem with Linux Kernel Traffic Control

2012-01-28 Thread Henrique Rodrigues
Hi guys, I'm having the same problem with a ubuntu 11.04 (natty) host. I tried to set the rate controllers using tc both at the host and inside the guest i.e.: tc qdisc add vnic0 root tbf rate 20mbit burst 20480 latency 50ms (host - to control the traffic going to the guest vm) and tc qdisc add