Skip to contentSkip to conversation

New: forcedeth slowed down by traffic shaping

Bugme-new Andrew Morton 3 participants 3 messages Oct 7, 2006 – Oct 11, 2006 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 25 lines · On Fri, 6 Oct 2006 17:18:13 -0700 [email protected] 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: [email protected]
Submitter: [email protected]

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?)

#2 lore raw
Quoted 20 lines · Andrew Morton
Quoted 17 lines · On Fri, 6 Oct 2006 17:18:13 -0700 [email protected] 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: [email protected]
Submitter: [email protected]

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).

Quoted 7 lines
Quoted 7 lines

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?)

Isn't it to unpolite to expect from the submitter some details like this tbf rule or testing with other kernel version?

Jarek P.

#3 lore raw
Quoted 26 lines · Jarek Poplawski
Quoted 24 lines · Andrew Morton
Quoted 20 lines · On Fri, 6 Oct 2006 17:18:13 -0700 [email protected] 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: [email protected]
Submitter: [email protected]

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.

Quoted 8 lines
Quoted 4 lines
Quoted 4 lines

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?)

Isn't it to unpolite to expect from the submitter some details like this tbf rule or testing with other kernel version?

The TBF command would be a good start to make sure its not a configuration error.