From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: Bad shaping at low rates, after commit 56b765b79 (htb: improved accuracy at high rates) Date: Tue, 04 Jun 2013 08:18:53 -0700 Message-ID: <1370359133.24311.208.camel@edumazet-glaptop> References: <20130529151330.22c5c89e@redhat.com> <20130604141342.00c8eb9f@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Stephen Hemminger , Jiri Benc , David Miller , j.vimal@gmail.com, Michal Soltys , Mike Frysinger , Jussi Kivilinna , Patrick McHardy , Jiri Pirko , Toke =?ISO-8859-1?Q?H=F8iland-J=F8rgensen?= , Dave Taht , netdev@vger.kernel.org, bloat@lists.bufferbloat.net, Dan Siemon , Jim Gettys , Steven Barth , Felix Fietkau To: Jesper Dangaard Brouer Return-path: Received: from mail-pb0-f45.google.com ([209.85.160.45]:41503 "EHLO mail-pb0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751802Ab3FDPS5 (ORCPT ); Tue, 4 Jun 2013 11:18:57 -0400 Received: by mail-pb0-f45.google.com with SMTP id mc8so392566pbc.4 for ; Tue, 04 Jun 2013 08:18:56 -0700 (PDT) In-Reply-To: <20130604141342.00c8eb9f@redhat.com> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, 2013-06-04 at 14:13 +0200, Jesper Dangaard Brouer wrote: > Hi again, > > I found another regression by commit 56b765b79 (htb: improved accuracy > at high rates). > > After the commit HTB does not honor network rate limiting below 500kbps. > > I have found that the bandwidth problem is related to GSO being enabled > on the device. To test the situation, I had to use a real NIC (as I > were not allowed to disable GSO on dev "lo", test below). Well, do not forget lo mtu is 64K, so you'll also have to lower it for your tests. I have a good idea of what's going on for htb at low rates, I am testing a fix, thanks for the report !