Re: maximum class

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux