From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: [Bugme-new] [Bug 7278] New: forcedeth slowed down by traffic shaping Date: Fri, 6 Oct 2006 17:22:17 -0700 Message-ID: <20061006172217.af619871.akpm@osdl.org> References: <200610070018.k970IDgF032404@fire-2.osdl.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: kernel-bugzilla@future.shiny.co.il, "bugme-daemon@kernel-bugs.osdl.org" Return-path: Received: from smtp.osdl.org ([65.172.181.4]:30108 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S1423032AbWJGAWs (ORCPT ); Fri, 6 Oct 2006 20:22:48 -0400 To: netdev@vger.kernel.org In-Reply-To: <200610070018.k970IDgF032404@fire-2.osdl.org> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Fri, 6 Oct 2006 17:18:13 -0700 bugme-daemon@bugzilla.kernel.org wrote: > http://bugzilla.kernel.org/show_bug.cgi?id=7278 > > Summary: forcedeth slowed down by traffic shaping > Kernel Version: 2.6.16 > Status: NEW > Severity: normal > Owner: jgarzik@pobox.com > Submitter: kernel-bugzilla@future.shiny.co.il > > > When assigninig a simple Tocket Bucket Filter (TBF) classless trafic shaping > policy to the eth0 device (provided by forcedeth), the device's upstream speed > drops to ~12kbyte/s, regardless of the traffic limit I set in the shaping rule. > In fact, the traffic limit values could be larger than the connection's > throughput and it'll still limit to mere 12kbyte/s. Once I revert the rule to > pfifo_fast, the rate resumes to the connection's real one (64kbyte/s). > > If I set the TBF lower than 96kbit on eth0, it indeed applies; in other words, I > can make the connection slower than 12kbyte/s but not faster. > > If I assign the same rule to ppp0, it works just as intended, for rules higher > than 12kbyte/s, leading me to believe forcedeth has something to do with it. > > (Is there any module parameter I can try tweaking?) >