Re: [LARTC] htb rate > 30mbit not working

2003-11-13 Thread 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 ? :)

-- 
Regards,
 Svetlin Simeonov


___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] htb rate > 30mbit not working

2003-11-12 Thread Jose Luis Domingo Lopez
On Wednesday, 12 November 2003, at 02:48:26 +0100,
Damjan wrote:

> 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?id=657

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

-- 
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/


Re: [LARTC] htb rate > 30mbit not working

2003-11-11 Thread Damjan
> 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 ? :)

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.


-- 
Damjan Georgievski
jabberID: [EMAIL PROTECTED]
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/