From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Dmytro O. Redchuk" Date: Mon, 04 Sep 2006 07:20:13 +0000 Subject: Re: [LARTC] maximum class Message-Id: <20060904072013.GA28517@ldc.net> List-Id: References: <00c001c6ce8f$b3d5b450$7a0989ca@bmsby010128> In-Reply-To: <00c001c6ce8f$b3d5b450$7a0989ca@bmsby010128> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Sat, Sep 02, 2006 at 07:59:55PM +0700, tino wrote: > 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)? > Any help appreciated > > thanks & regards > Tino -- _,-=._ /|_/| `-.} `=._,.-=-._., @ @._, `._ _,-. ) _,.-' ` G.m-"^m`m' Dmytro O. Redchuk _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc