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@xxxxxxxxxxxx> Enviado por: lartc-bounces@xxxxxxxxxxxxxxx 09/09/2006 21:56 |
|
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@xxxxxxxxxxxxxxx
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
_______________________________________________ LARTC mailing list LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc