Skip to contentSkip to conversation

maximum class

LARTC tino 3 participants 5 messages Sep 2, 2006 – Sep 5, 2006

lore
Share & tools
lore
#1 lore raw
Quoted 4 lines · tino

Hi,
currently I'm using 48 class with htb & very stable
Is there any maximum number of class I can create in a single linux box ? I need 500 or even 1000 class for campuss network.

Up to 0xffff. Per device per qdisc.

(Every classid you are using is in hex, too: i.e. "classid 1:48" is 1:[0x0048] actually)

Am I right, by the way?-)
Is the

	max_number = number_of_qdiscs_at_device *
			number_of_classes_at_qdisc = 0xffff * 0xffff ?

Or there is some DEFINE'd limitation (in kernel's header files, let's say)?

Quoted 4 lines

Any help appreciated

thanks & regards
Tino

Signature · 10 lines
  _,-=._              /|_/|
  `-.}   `=._,.-=-._.,  @ @._,
     `._ _,-.   )      _,.-'
        `    G.m-"^m`m'        Dmytro O. Redchuk


_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
author
#2 lore raw
In reply to tino

ffff equal to 65535 class
Yes, I need to know if there was any limitation or how to set in maximum desired in singel linux box

Any user experience with 1000 class or above ?
regards,
Tino

----- Original Message -----
From: "Dmytro O. Redchuk" <[email protected]>
To: "tino" <[email protected]>
Cc: <[email protected]>
Sent: Monday, September 04, 2006 2:20 PM
Subject: Re: [LARTC] maximum class

Quoted 18 lines · tino
Quoted 5 lines

Hi,
currently I'm using 48 class with htb & very stable
Is there any maximum number of class I can create in a single linux box ?
I need 500 or even 1000 class for campuss network.

Up to 0xffff. Per device per qdisc.

(Every classid you are using is in hex, too: i.e. "classid 1:48" is 1:[0x0048] actually)

Am I right, by the way?-)
Is the
max_number = number_of_qdiscs_at_device *
number_of_classes_at_qdisc = 0xffff * 0xffff ?

Quoted 15 lines

Or there is some DEFINE'd limitation (in kernel's header files, let's say)?

Quoted 4 lines

Any help appreciated

thanks & regards
Tino

Signature · 4 lines
 _,-=._              /|_/|
 `-.}   `=._,.-=-._.,  @ @._,
    `._ _,-.   )      _,.-'
       `    G.m-"^m`m'        Dmytro O. Redchuk

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#3 lore raw
In reply to tino

Hi

Quoted 1 line

Any user experience with 1000 class or above ?

I've got 6634 classess on one host. Everything works the way it should.

regards,

Signature · 9 lines
Marek Kierdelewicz
Kierownik Dzia?u Systemów Sieciowych, KoBa
Manager of Network Systems Department, KoBa
tel. (85) 7406466; fax. (85) 7406467
e-mail: [email protected]
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
author
#4 lore raw
In reply to tino

Hi,Marek Kierdelewicz

with 6634 class you have, could you share to us about your current box cpu load, memory utilization, cbq or htb

If it was reasonable low usage, I will start to build perl script to write large class.

many thanks,
Tino

Date: Mon, 4 Sep 2006 11:40:13 +0200
From: Marek Kierdelewicz <[email protected]>
Subject: Re: [LARTC] maximum class
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-2

Hi

Quoted 1 line

Any user experience with 1000 class or above ?

I've got 6634 classess on one host. Everything works the way it should.

regards,

Signature · 11 lines
Marek Kierdelewicz
Kierownik Dzia?u Systemow Sieciowych, KoBa
Manager of Network Systems Department, KoBa
tel. (85) 7406466; fax. (85) 7406467
e-mail: [email protected]
----- Original Message ----- 
From: "Dmytro O. Redchuk" <[email protected]>
To: "tino" <[email protected]>
Cc: <[email protected]>
Sent: Monday, September 04, 2006 2:20 PM
Subject: Re: [LARTC] maximum class
Quoted 18 lines · tino
Quoted 5 lines

Hi,
currently I'm using 48 class with htb & very stable
Is there any maximum number of class I can create in a single linux box ?
I need 500 or even 1000 class for campuss network.

Up to 0xffff. Per device per qdisc.

(Every classid you are using is in hex, too: i.e. "classid 1:48" is 1:[0x0048] actually)

Am I right, by the way?-)
Is the
max_number = number_of_qdiscs_at_device *
number_of_classes_at_qdisc = 0xffff * 0xffff ?

Quoted 15 lines

Or there is some DEFINE'd limitation (in kernel's header files, let's say)?

Quoted 4 lines

Any help appreciated

thanks & regards
Tino

Signature · 4 lines
 _,-=._              /|_/|
 `-.}   `=._,.-=-._.,  @ @._,
    `._ _,-.   )      _,.-'
       `    G.m-"^m`m'        Dmytro O. Redchuk

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc