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 -- ( >- GNU/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/
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. > > TrevorWe have 50000 filters and still working. I don''t think there is a limit.> > -- > ( >- GNU/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/ >--- Catalin(ux) BOIE catab@deuroconsult.ro _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
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. > > > > > > > > > > > -- > > > > ( >- GNU/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/ > > > > > > > > > > --- > > > Catalin(ux) BOIE > > > catab@deuroconsult.ro > > > _______________________________________________ > > > LARTC mailing list / LARTC@mailman.ds9a.nl > > > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > > -- > > ( >- GNU/LINUX, It''s all about CHOICE -< ) > > /~\ __ twarren@redhat.com __ /~\ > > | \) / Pre Sales Consultant - Red Hat \ (/ | > > |_|_ \ 9820349221(M) | 22881326(O) / _|_| > > \___________________________________/ > > > > --- > Catalin(ux) BOIE > catab@deuroconsult.ro > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/-- ( >- 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/
HELP....!!!!!! 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. > > > > > > > > > > > -- > > > > ( >- GNU/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/ > > > > > > > > > > --- > > > Catalin(ux) BOIE > > > catab@deuroconsult.ro > > > _______________________________________________ > > > LARTC mailing list / LARTC@mailman.ds9a.nl > > > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > > -- > > ( >- GNU/LINUX, It''s all about CHOICE -< ) > > /~\ __ twarren@redhat.com __ /~\ > > | \) / Pre Sales Consultant - Red Hat \ (/ | > > |_|_ \ 9820349221(M) | 22881326(O) / _|_| > > \___________________________________/ > > > > --- > Catalin(ux) BOIEcatab@deuroconsult.ro -- ( >- 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/
> 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. > > > > > > > > -- > > > ( >- GNU/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/ > > > > > > > --- > > Catalin(ux) BOIE > > catab@deuroconsult.ro > > _______________________________________________ > > LARTC mailing list / LARTC@mailman.ds9a.nl > > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > -- > ( >- GNU/LINUX, It''s all about CHOICE -< ) > /~\ __ twarren@redhat.com __ /~\ > | \) / Pre Sales Consultant - Red Hat \ (/ | > |_|_ \ 9820349221(M) | 22881326(O) / _|_| > \___________________________________/ >--- Catalin(ux) BOIE catab@deuroconsult.ro _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
----- Original Message ----- From: "Trevor Warren" <trevorwarren@softhome.net> To: "Catalin BOIE" <util@deuroconsult.ro> Cc: "lartc" <lartc@mailman.ds9a.nl>; "Stef Coene" <stef.coene@docum.org> Sent: Τετάρτη, 25 Ιουνίου 2003 1:14 πμ Subject: Re: [LARTC] u32 clarification...limits on 2000>???> HELP....!!!!!!OK, OK! Send me your script again and I will try it... - Giannis _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hello All, I have 1.5Mbits Backbone connection with 16 public ip address. I like to provide share my connection with someother my friends how will have public ip addess. So i wanted to configre linux router with bandwidth controll for my friends connection. Actully i tried with single interface in linux and CBQ but it does not controll. I should do not use NAT as my friends are running web servers. Is it possible to configure in linux.or some links to configure this Advance thanks Joe _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hey Joe, One <possible> configuration is to configure your linux box as an ethernet bridge between your client machines and the public router |======| | PC 1 | |======|\ \ |======| \ |=======| |========| | PC 2 |---O------| LINUX |-------------| ROUTER | |======| / |=======| |========| / |======|/ | PC 3 | |======| and then make use of the "WRR" qdisc to control the traffic. There are obviously many other possibilities, but this is the method I am currently testing, so I thought I would make you aware of it''s existence. The link for more info is http://wipl-wrr.sourceforge.net/ Leigh> Hello All, > > I have 1.5Mbits Backbone connection with 16 public ip address. > > I like to provide share my connection with someother my friends how will > have public ip addess. > > So i wanted to configre linux router with bandwidth controll for my friends > connection. > > Actully i tried with single interface in linux and CBQ but it does not > controll. > > I should do not use NAT as my friends are running web servers. > > Is it possible to configure in linux.or some links to configure this > > Advance thanks > Joe > > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ >_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hello Leigh, Thanks, I will look into this configuration and i will get back to you tomorrow. Regards, Joe> Hey Joe, > > One <possible> configuration is to configure your linux box as an ethernetbridge> between your client machines and the public router > > |======| > | PC 1 | > |======|\ > \ > |======| \ |=======| |========| > | PC 2 |---O------| LINUX |-------------| ROUTER | > |======| / |=======| |========| > / > |======|/ > | PC 3 | > |======| > > and then make use of the "WRR" qdisc to control the traffic. > > There are obviously many other possibilities, but this is the method I amcurrently> testing, so I thought I would make you aware of it''s existence. > > The link for more info is http://wipl-wrr.sourceforge.net/ > > Leigh > > > > Hello All, > > > > I have 1.5Mbits Backbone connection with 16 public ip address. > > > > I like to provide share my connection with someother my friends how will > > have public ip addess. > > > > So i wanted to configre linux router with bandwidth controll for myfriends> > connection. > > > > Actully i tried with single interface in linux and CBQ but it does not > > controll. > > > > I should do not use NAT as my friends are running web servers. > > > > Is it possible to configure in linux.or some links to configure this > > > > Advance thanks > > Joe > > > > > > _______________________________________________ > > LARTC mailing list / LARTC@mailman.ds9a.nl > > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > > > >_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
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.
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. 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) / _|_| \___________________________________/ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
No, this is of cause incorrect. Just forgot to change it. Should be 192.168.0.0/16 Michael On Thursday 26 June 2003 03:27 am, you wrote:> /root/bin/tc filter add dev eth0 protocol ip parent 13:0 prio 5 u32 ht 800:: \ > match ip dst 66.114.0.0/16 hashkey mask 0x0000ff00 at 16 link 2: > /root/bin/tc filter add dev eth0 protocol ip parent 13:0 prio 5 u32 ht 800:: \ > match ip dst 66.114.0.0/16 hashkey mask 0x000000ff at 16 link 3: > #--- end of filters --- > > Is it correct ?( the hashkey seems to me it matches the 168 and X from 192.168.X.Y) > > Alex > 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. > > > > ------------------------------------------------------------------------ > > Name: qos.conf > > qos.conf Type: Perl Program (application/x-perl) > > Encoding: 7bit > >_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
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/