From: =?iso-8859-2?Q?Pawe=B3_Staszewski?= Date: Tue, 31 Aug 2004 18:59:03 +0000 Subject: [LARTC] WRR problem and other things Message-Id: <002301c48f8c$984a0e00$1930090a@paol> MIME-Version: 1 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0020_01C48F9D.58F49D40" List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_0020_01C48F9D.58F49D40 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Hello=20 I have problem with wrr and more than 1300 classes when i try to add qdisc like: tc qdisc add dev imq1 parent 1:21 handle 1000: wrr dest ip 1512 0 then i have a message like: RTNETLINK answers: Cannot allocate memory And some other problem: When I do more than 2048 filters I have message like: Classes: tc class add dev imq1 parent 1:1 classid 1:9 htb rate 1024kbit ceil = 2048kbit .. tc class add dev imq1 parent 1:1 classid 1:10 htb rate 1024kbit ceil = 2048kbit ... ... ... tc class add dev imq1 parent 1:1 classid 1:2048 htb rate 1024kbit ceil = 2048kbit tc class add dev imq1 parent 1:1 classid 1:2049 htb rate 1024kbit ceil = 2048kbit tc class add dev imq1 parent 1:1 classid 1:2050 htb rate 1024kbit ceil = 2048kbit Filters: tc filter add dev imq1 parent 1:0 protocol ip prio 2 u32 match ip dst = 1.1.1.1 flowid 1:9 .. tc filter add dev imq1 parent 1:0 protocol ip prio 2 u32 match ip dst = 1.1.1.1 flowid 1:10 ... ... ... tc filter add dev imq1 parent 1:0 protocol ip prio 2 u32 match ip dst = 1.1.1.1 flowid 1:2048 RTNETLINK answers: File exist tc filter add dev imq1 parent 1:0 protocol ip prio 2 u32 match ip dst = 1.1.1.1 flowid 1:2049 RTNETLINK answers: File exist tc filter add dev imq1 parent 1:0 protocol ip prio 2 u32 match ip dst = 1.1.1.1 flowid 1:2050 RTNETLINK answers: File exist So classes are added corectly but filters not. WHY ....=20 Please help me Regards Pawe=B3 Staszewski ------=_NextPart_000_0020_01C48F9D.58F49D40 Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable
Hello
 
 
I have problem with wrr and more than = 1300=20 classes
when i try to add qdisc = like:
 
tc qdisc add dev imq1 parent 1:21 = handle 1000: wrr=20 dest ip 1512 0
 
then i have a message = like:
RTNETLINK answers: Cannot allocate=20 memory
 
And some other problem:
When I do more than 2048 filters I have = message=20 like:
 
 
Classes:
tc class add dev imq1 parent 1:1 = classid=20 1:9 htb rate 1024kbit ceil 2048kbit
..
tc class add dev imq1 parent 1:1 = classid=20 1:10 htb rate 1024kbit ceil 2048kbit
...
...
...
tc class add dev imq1 parent 1:1 = classid=20 1:2048 htb rate 1024kbit ceil 2048kbit
tc class add dev imq1 parent 1:1 classid 1:2049 htb rate = 1024kbit ceil=20 2048kbit
tc class add dev imq1 parent 1:1 classid 1:2050 htb rate = 1024kbit ceil=20 2048kbit
 
 
Filters:
tc filter add dev imq1 parent 1:0 protocol ip prio 2 u32 match ip=20 dst 1.1.1.1 flowid 1:9
..
tc filter add dev imq1 parent 1:0 protocol ip prio 2 u32 match ip=20 dst 1.1.1.1 flowid 1:10
...
...
...
tc filter add dev imq1 parent 1:0 protocol ip prio 2 u32 match ip=20 dst 1.1.1.1 flowid 1:2048
RTNETLINK answers: File = exist
tc filter add dev imq1 parent 1:0 = protocol ip prio=20 2 u32 match ip dst 1.1.1.1 flowid 1:2049
RTNETLINK answers: File = exist
tc filter add dev imq1 parent 1:0 = protocol ip prio=20 2 u32 match ip dst 1.1.1.1 flowid 1:2050
RTNETLINK answers: File exist
 
So classes are added corectly but filters not. WHY ....
 
Please help me
 
Regards
Pawe=B3 Staszewski
------=_NextPart_000_0020_01C48F9D.58F49D40-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/