Skip to contentSkip to conversation

htb rate > 30mbit not working

LARTC Svetlin Simeonov 3 participants 4 messages Nov 11, 2003 – Nov 13, 2003

lore
Share & tools
lore
#0 lore raw

Hello,

I tried to set shaper on my local lan with HTB and rate 60mbit I used linux-2.4.22 and tried with 2.4.23rc1 - all QoS and HTB related staff compiled like modules. In both kernels the rate did not reach more than 30mbit( 3MB/sec )

When I delete shaper I can reach 9MB/sec ( about 74mbit ) if I set shaper more than 25mbit the speed did not increase :)

I tried this with kernel 2.6.test9 and everything is OK shaper works on 60mbit - so I think this is problem of the current kernel

Any ideas ? :)

Signature · 7 lines
Regards,
Svetlin Simeonov


_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#1 lore raw
Quoted 5 lines

I tried to set shaper on my local lan with HTB and rate 60mbit I used linux-2.4.22 and tried with 2.4.23rc1 - all QoS and HTB related staff compiled like modules. In both kernels the rate did not reach more than 30mbit( 3MB/sec )

Quoted 7 lines

When I delete shaper I can reach 9MB/sec ( about 74mbit ) if I set shaper more than 25mbit the speed did not increase :)

I tried this with kernel 2.6.test9 and everything is OK shaper works on 60mbit - so I think this is problem of the current kernel

Any ideas ? :)

Well there are two new things I can think of in 2.6 vs 2.4. One is that the HZ constant is bigger which peraps can make latencies in the kernel smaller... but I don't know if HZ has any influence on HTB performance.
Also 2.6 has NAPI, a new API for network card drivers that modifies the drivers behaviour to better reflect the usage. Its interupt driven on lighter loads, but "poll"-ing based on higher load.

Anyway you can run 2.6 its not that bad.

Signature · 5 lines
Damjan Georgievski
jabberID: [email protected]
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#2 lore raw
In reply to Svetlin Simeonov
Quoted 2 lines · Damjan

Anyway you can run 2.6 its not that bad.

There was a report some time ago about HTB not shaping to the specified bandwidth in 2.6.x when traffics consists of small-sized packages. See:
http://bugzilla.kernel.org/show_bug.cgi?ide7

This supposed bug has yet to be acknowledged by some developers.

Signature · 5 lines
Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Sid (Linux 2.6.0-test9-mm2)
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#3 lore raw
In reply to Svetlin Simeonov

Hello again,

I tested it with MTU 128 and it works fine :) ... for now I will set it with 2.6 kernel

Thanks a lot :)

on Wednesday, November 12, 2003, 12:49:01 AM, ste napisali

SS> Hello,

SS> I tried to set shaper on my local lan with HTB and rate 60mbit SS> I used linux-2.4.22 and tried with 2.4.23rc1 - all QoS and HTB related SS> staff compiled like modules. In both kernels the rate did not reach SS> more than 30mbit( 3MB/sec )

SS> When I delete shaper I can reach 9MB/sec ( about 74mbit ) SS> if I set shaper more than 25mbit the speed did not increase :)

SS> I tried this with kernel 2.6.test9 and everything is OK shaper works SS> on 60mbit - so I think this is problem of the current kernel

SS> Any ideas ? :)

Signature · 7 lines
Regards,
 Svetlin Simeonov


_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/