From: Andy Furniss <andy.furniss@dsl.pipex.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] How many (htb) tc classes and qdiscs are too many?
Date: Fri, 03 Jun 2005 15:10:45 +0000 [thread overview]
Message-ID: <42A072F5.1030805@dsl.pipex.com> (raw)
In-Reply-To: <000501c567bf$792fd700$650fa8c0@hotsitespencer>
Konrad wrote:
> We have an error talking to the kernel
> loops: 684 filters: 4788 classes: 2052
>
> What's wrong?
> I need more filters :/
>
> I have 2.6.11.11 kernel with new iproute2, u32 match mark support and
> IMQ (AB)...
>
> Everyone can make theoretically 0xffff (65535) classes and qdiscs on one
> device. And I think this is true, but I can't add more filters then
> 4775! :(
>
> ---
> v=1; cnt=0;
> tc qdisc add dev imq0 root handle 1:0 htb
>
> while : [ $v -le 11000 ]; do
Loops for ever with the colon after while for me.
> qu0=`printf "%x\n" $v`
>
> qu1=`printf "%x\n" $v`
So qu0 = qu1 which makes
>
> tc filter add dev imq0 protocol ip parent 1:$qu0 pref 5 u32 match ip dst
> 192.168.0.5 flowid 1:$qu1
illogical.
Andy.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next prev parent reply other threads:[~2005-06-03 15:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-02 22:07 [LARTC] How many (htb) tc classes and qdiscs are too many? Spencer
2005-06-03 2:55 ` threaded
2005-06-03 6:37 ` Szymon Miotk
2005-06-03 10:43 ` Konrad
2005-06-03 10:52 ` Paweł Staszewski
2005-06-03 13:57 ` gypsy
2005-06-03 14:19 ` Konrad
2005-06-03 15:10 ` Andy Furniss [this message]
2005-06-03 17:39 ` Konrad
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=42A072F5.1030805@dsl.pipex.com \
--to=andy.furniss@dsl.pipex.com \
--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.