Re: Re: htb traffic shaping problem (Charlie Meyer)

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux