From mboxrd@z Thu Jan 1 00:00:00 1970 From: gypsy Date: Wed, 13 Sep 2006 03:51:53 +0000 Subject: Re: [LARTC] Re: htb traffic shaping problem (Charlie Meyer) Message-Id: <45078059.BF499823@iswest.com> List-Id: References: <6.2.0.14.2.20060909135043.02dd9d80@linux.sysreset.com> In-Reply-To: <6.2.0.14.2.20060909135043.02dd9d80@linux.sysreset.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Bugzilla-Redirect wrote: > > Eric, > I've attached the output from the command you requested below. > I'm using kernel 2.6.17.12 and tc version ss060323. I'm have a nforce4 > onboard giggabit controller using the forcedeth driver, if that makes a > difference. > > Charlie, > I'll take a look at the Apache model for throttling, thanks. I was going > for tc because was going to try to add additional shaping to non-apache > traffic once I got it working correctly. > > Thanks, > -Ryan Power > > tc -s -d class show dev eth0 > class htb 1:99 parent 1:1 leaf 99: prio 0 quantum 3000 rate 900000Kbit ceil > 1000Mbit burst 451350b/8 mpu 0b overhead 0b cburst 501375b/8 mpu 0b > overhead 0b level 0 > Sent 48695 bytes 398 pkt (dropped 0, overlimits 0 requeues 0) > rate 2704bit 2pps backlog 0b 0p requeues 0 > lended: 398 borrowed: 0 giants: 0 > tokens: 4326 ctokens: 4325 > > class htb 1:1 root rate 1000Mbit ceil 1000Mbit burst 501375b/8 mpu 0b > overhead 0b cburst 501375b/8 mpu 0b overhead 0b level 7 > Sent 32821394 bytes 994 pkt (dropped 0, overlimits 0 requeues 0) > rate 3556Kbit 10pps backlog 0b 0p requeues 0 > lended: 0 borrowed: 0 giants: 1128 > tokens: 4325 ctokens: 4325 > > class htb 1:10 parent 1:1 leaf 10: prio 0 quantum 3000 rate 512000bit ceil > 512000bit burst 1755b/8 mpu 0b overhead 0b cburst 1755b/8 mpu 0b overhead > 0b level 0 > Sent 34256069 bytes 701 pkt (dropped 0, overlimits 0 requeues 0) > rate 3554Kbit 8pps backlog 0b 105p requeues 0 > lended: 596 borrowed: 0 giants: 1128 > tokens: -52724 ctokens: -52724 The giants indicate that your MPU (MTU) is wrong. Set it specifically. Try 1500. Search the archives for "giants" and "MPU" or "MTU". -- gypsy _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc