From: Trevor Warren <trevorwarren@softhome.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] u32 clarification...limits on 2000>???
Date: Sun, 29 Jun 2003 17:44:54 +0000 [thread overview]
Message-ID: <marc-lartc-105695217605317@msgid-missing> (raw)
In-Reply-To: <marc-lartc-105653681710295@msgid-missing>
Hello Michael,
Lemme again thank you for your helpful insight. You have mentioned that
use of tc and iproute from source hasn't given you any issues.
I am gonna following the same instead of using RH packaged tools. Will
let you know the outcome.
Stef....you have any idea about this issue with RH tools???
Trevor
On Fri, 2003-06-27 at 21:01, Michael Ulitskiy wrote:
> On Thursday 26 June 2003 03:22 am, you wrote:
> > Thanks a ton for the same Michael. I am downloading tc from source and
> > will have the same compiled. Am actually using tc as distributed by
> > Martin of HTB fame.
> >
> > So you saying...probably the tc binary distributed by it could be and
> > issue???. Anyway, i will have the same tried out and let you know.
>
> Honestly, I don't know. I'm using iproute2-2.4.7-now-ss020116-try.tar.gz and
> htb3.6-020525.tgz patch and it seems to work fine.
> It's already in production and looks good so far.
>
> Michael
>
> > Trevor
> >
> >
> > On Thu, 2003-06-26 at 01:48, Michael Ulitskiy wrote:
> > > Hi,
> > >
> > > This is the script I'm using to create tc configuration to shape
> > > currently about 8000 ips separately so that each ip has guaranteed
> > > bandwith and cannot exceed it. The script can be used to
> > > shape up to class B. The configuration is using double hashing
> > > for filtering rules. I haven't used it in production yet, but it shows
> > > pretty good result on a testbed.
> > > To test it further I've created configuration to shape range
> > > 192.168.1.0-192.168.254.0 (almost class B), i.e.about 65000 classes
> > > and about 65000 filters. It takes very long time to apply on my
> > > rather slow (P166mmx) test machine, but it doesn't throw a word
> > > of complaint.
> > >
> > > Creating configuration:
> > > root@test:~/perl/qos# time ./qos.conf
> > >
> > > real 0m42.733s
> > > user 0m40.950s
> > > sys 0m0.490s
> > >
> > > It creates file rc.qos. Applying configuration:
> > > root@test:~/perl/qos# time . ./rc.qos
> > >
> > > real 125m48.033s
> > > user 28m40.660s
> > > sys 95m59.420s
> > >
> > > root@radtest:~/perl/qos# tc qdisc ls | wc -l
> > > 64520
> > > root@radtest:~/perl/qos# tc filter ls dev eth0 parent 13:0 | wc -l
> > > 129042
> > > (2 output lines for a filter).
> > >
> > > So the answer to your question most likely is no. There's no limit.
> > > Hint: I've experienced something like that when I tried to use precompiled
> > > binary (actually I compiled it myself but on different machine).
> > > The errors were gone after I recompiled tc from the same sources
> > > on the machine where it's being used. Could be some libraries
> > > incompatibilities or changes made to some header files.
> > > So look at the script if you're interested.
> > >
> > > Michael
> > >
> > > p.s. I'm not sure that larts list manager will allow attachment through.
> > > If it doesn't and you want the script - email me.
> > >
> > >
> > > On Tuesday 24 June 2003 06:13 pm, Trevor Warren wrote:
> > > > Hello,
> > > >
> > > > If this isn't a limit of U32 filters then whats wrong with the way i
> > > > have set things up???. The issue has to be somewhere right.
> > > >
> > > > Also, i do appreciate you not wanting to give me your config. But at
> > > > least give me a couple of lines of your U32 filter usage such that i can
> > > > make 5000> filters using it and test. Only passing your u32 filter
> > > > config.....if its your equivalent to IP then its fine with me...:)
> > > >
> > > > I will have the test script mailed across to all. I am in DESPERATE
> > > > need for help on this part......:(
> > > >
> > > > Trevor
> > > >
> > > >
> > > > On Wed, 2003-06-25 at 12:55, Catalin BOIE wrote:
> > > > > > Hello,
> > > > > Hello!
> > > > >
> > > > > > I do understand that limits on u32 filters > 2000 have never been
> > > > > > encountered. Run this script which is base on htb and lemme know. You
> > > > > > will need 2.4.20 > and tc compiled for htb.
> > > > >
> > > > > It gives me a lot of "RTNETLINK answers: File exists".
> > > > > This doesn't seems to be a limit.
> > > > >
> > > > > > Can you please send me your config and lemme compare the same against
> > > > > > mine.
> > > > > I have main in a database. I cannot give it to you, but trust me that are
> > > > > 50000 filters.
> > > > >
> > > > > Try to use hashes to reduce the kernel pressure.
> > > > >
> > > > > >
> > > > > > Trevor
> > > > > >
> > > > > >
> > > > > > On Tue, 2003-06-24 at 15:49, Catalin BOIE wrote:
> > > > > > > On Tue, 24 Jun 2003, Trevor Warren wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > Can some one please confirm which would be the best place to clarify
> > > > > > > > these U32 issues and 2048 U32 filter limitations as i had posted in my
> > > > > > > > previous mail.
> > > > > > > >
> > > > > > > > Trevor
> > > > > > >
> > > > > > > We have 50000 filters and still working.
> > > > > > > I don't think there is a limit.
> > --
> > ( >- LINUX, It's all about CHOICE -< )
> > /~\ __ twarren@redhat.com __ /~\
> > | \) / Pre Sales Consultant - Red Hat \ (/ |
> > |_|_ \ 9820349221(M) | 22881326(O) / _|_|
> > \___________________________________/
> >
> >
--
( >- LINUX, It's all about CHOICE -< )
/~\ __ twarren@redhat.com __ /~\
| \) / Pre Sales Consultant - Red Hat \ (/ |
|_|_ \ 9820349221(M) | 22881326(O) / _|_|
\___________________________________/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
prev parent reply other threads:[~2003-06-29 17:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-24 22:25 [LARTC] u32 clarification...limits on 2000>??? Trevor Warren
2003-06-24 22:26 ` Trevor Warren
2003-06-25 7:25 ` Catalin BOIE
2003-06-25 11:17 ` Giannis Stoilis
2003-06-25 20:18 ` Michael Ulitskiy
2003-06-26 7:34 ` Trevor Warren
2003-06-26 13:40 ` Michael Ulitskiy
2003-06-29 17:44 ` Trevor Warren [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=marc-lartc-105695217605317@msgid-missing \
--to=trevorwarren@softhome.net \
--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.