Received: from eggs.gnu.org ([140.186.70.92]:56168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rs5kq-0006eU-5g for qemu-devel@nongnu.org; Mon, 30 Jan 2012 23:55:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rs5ko-0000mU-OJ for qemu-devel@nongnu.org; Mon, 30 Jan 2012 23:55:40 -0500 Received: from indium.canonical.com ([91.189.90.7]:53426) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rs5ko-0000mG-KC for qemu-devel@nongnu.org; Mon, 30 Jan 2012 23:55:38 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1Rs5kn-0003Nw-B2 for ; Tue, 31 Jan 2012 04:55:37 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 52A6A2E8043 for ; Tue, 31 Jan 2012 04:55:37 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 31 Jan 2012 04:49:12 -0000 From: Henrique Rodrigues Sender: bounces@canonical.com References: <20111202125742.13621.362.malonedeb@soybean.canonical.com> Message-Id: <20120131044912.3337.25373.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 899140] Re: Problem with Linux Kernel Traffic Control Reply-To: Bug 899140 <899140@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 (=3D65k) the traffic should be controlled as expected. Henrique -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/899140 Title: Problem with Linux Kernel Traffic Control Status in QEMU: New Bug description: Hi, The last main versions of QEMU (0.14.1, 0.15 and 1.0) have an important p= roblem when running on a Linux distribution which running itself a Traffic = Control (TC) instance. Indeed, when TC is configured with a Token Bucket Filter (TBF) with a par= ticular rate, the effective rate is very slower than the desired one. For instance, lets consider the following configuration : # tc qdisc add dev eth0 root tbf rate 20mbit burst 20k latency 50ms The effective rate will be about 100kbit/s ! (verified with iperf) I've encountered this problem on versions 0.14.1, 0.15 and 1.0 but not wi= th the 0.14.0... In the 0.14.0, we have a rate of 19.2 mbit/s which is quiet normal. I've done the experimentation on several hosts : - Debian 32bit core i7, 4GB RAM - Debian 64bit core i7, 8GB RAM - 3 different high performance servers : Ubuntu 64 bits, 48 AMD Opteron, = 128GB of RAM The problem is always the same... The problem is also seen with a Class Based Queuing (CBQ) in TC. Thanks To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/899140/+subscriptions