From: Simon Lodal <simonl@parknet.dk>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] how to setup massive traffic shaping? (2 class B nets)
Date: Wed, 20 Sep 2006 21:30:39 +0000 [thread overview]
Message-ID: <200609202330.39190.simonl@parknet.dk> (raw)
In-Reply-To: <a460eff50609190442o46c1ef9ye4a911e33c97e4cf@mail.gmail.com>
If you use HTB, you need to compile it with HTB_HSIZE set to at least 256 (in
sch_htb.c). Else your CPU will be fully loaded with even a few kpps traffic.
The problem is how HTB stores the classes, not very efficient when there are
thousands of them. I do not know if other qdiscs have the same problem.
I am working on a better patch for that, but it is not ready yet.
Regards,
Simon
On Tuesday 19 September 2006 13:42, Тимур Сафин wrote:
> Hello
> I have 2 class-B networks (172.22.0.0/16 and 172.23.0.0/16, over 130k
> of ip's) and need to setup
> traffic tbf shapers with 64kb/s for each ip from 172.22.0.0/16 and
> 128kb/s for each ip from 172.23.0.0/16
> just read lartc and don't understand how to use u32 for decreasing
> number of rules and hashing
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
prev parent reply other threads:[~2006-09-20 21:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-19 11:42 [LARTC] how to setup massive traffic shaping? (2 class B nets) Тимур Сафин
2006-09-20 7:57 ` Alexandru Dragoi
2006-09-20 8:09 ` Alexandru Dragoi
2006-09-20 12:03 ` Alexandru Dragoi
2006-09-20 12:52 ` Тимур Сафин
2006-09-20 21:30 ` Simon Lodal [this message]
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=200609202330.39190.simonl@parknet.dk \
--to=simonl@parknet.dk \
--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 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.