Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Damjan <gdamjan@mail.net.mk>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] htb rate > 30mbit not working
Date: Wed, 12 Nov 2003 01:48:26 +0000	[thread overview]
Message-ID: <marc-lartc-106860178121560@msgid-missing> (raw)
In-Reply-To: <marc-lartc-106859141111934@msgid-missing>

> 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: damjan@bagra.net.mk
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  reply	other threads:[~2003-11-12  1:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-11 22:49 [LARTC] htb rate > 30mbit not working Svetlin Simeonov
2003-11-12  1:48 ` Damjan [this message]
2003-11-12 23:17 ` Jose Luis Domingo Lopez
2003-11-13 10:27 ` Svetlin Simeonov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-106860178121560@msgid-missing \
    --to=gdamjan@mail.net.mk \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox