* [LARTC] Re: htb traffic shaping problem (Charlie Meyer)
@ 2006-09-09 19:55 Bugzilla-Redirect
2006-09-12 8:36 ` e.janz
2006-09-13 3:51 ` gypsy
0 siblings, 2 replies; 3+ messages in thread
From: Bugzilla-Redirect @ 2006-09-09 19:55 UTC (permalink / raw)
To: lartc
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
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] Re: htb traffic shaping problem (Charlie Meyer)
2006-09-09 19:55 [LARTC] Re: htb traffic shaping problem (Charlie Meyer) Bugzilla-Redirect
@ 2006-09-12 8:36 ` e.janz
2006-09-13 3:51 ` gypsy
1 sibling, 0 replies; 3+ messages in thread
From: e.janz @ 2006-09-12 8:36 UTC (permalink / raw)
To: lartc
[-- Attachment #1.1: Type: text/plain, Size: 2766 bytes --]
Hi again,
sorry for my late response. Could you give us also the output of
tc -s -d qdisc show dev eth0
tc filter show dev eth0
It is very strange that the rate and ceil from class 1:10 are set to
512Kbit but the class's rate goes over 3,5Mbits!! ¿Maybe it is a bug?
I'm preparing a similar setup (a linux wan router on a 100Mbit lan with
5Mbps upload/dowload to the Internet. We will see if I run into the same
issues...
Regards,
Eric Janz
Bugzilla-Redirect <bugzilla@sysreset.com>
Enviado por: lartc-bounces@mailman.ds9a.nl
09/09/2006 21:56
Para
lartc@mailman.ds9a.nl
cc
Asunto
[LARTC] Re: htb traffic shaping problem (Charlie Meyer)
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
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
--
ADVERTENCIA LEGAL
El contenido de este correo es confidencial y dirigido unicamente a su destinatario. Para acceder a su clausula de privacidad consulte http://www.barceloviajes.com/privacy
LEGAL ADVISORY
This message is confidential and intended only for the person or entity to which it is addressed. In order to read its privacy policy consult it at http://www.barceloviajes.com/privacy
[-- Attachment #1.2: Type: text/html, Size: 3906 bytes --]
[-- Attachment #2: Type: text/plain, Size: 143 bytes --]
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] Re: htb traffic shaping problem (Charlie Meyer)
2006-09-09 19:55 [LARTC] Re: htb traffic shaping problem (Charlie Meyer) Bugzilla-Redirect
2006-09-12 8:36 ` e.janz
@ 2006-09-13 3:51 ` gypsy
1 sibling, 0 replies; 3+ messages in thread
From: gypsy @ 2006-09-13 3:51 UTC (permalink / raw)
To: lartc
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-09-13 3:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-09 19:55 [LARTC] Re: htb traffic shaping problem (Charlie Meyer) Bugzilla-Redirect
2006-09-12 8:36 ` e.janz
2006-09-13 3:51 ` gypsy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.