From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Lodal Date: Wed, 20 Sep 2006 21:30:39 +0000 Subject: Re: [LARTC] how to setup massive traffic shaping? (2 class B nets) Message-Id: <200609202330.39190.simonl@parknet.dk> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: lartc@vger.kernel.org If you use HTB, you need to compile it with HTB_HSIZE set to at least 256 (in sch_htb.c). Else your CPU will be fully loaded with even a few kpps traffic. The problem is how HTB stores the classes, not very efficient when there are thousands of them. I do not know if other qdiscs have the same problem. I am working on a better patch for that, but it is not ready yet. Regards, Simon On Tuesday 19 September 2006 13:42, Тимур Сафин wrote: > Hello > I have 2 class-B networks (172.22.0.0/16 and 172.23.0.0/16, over 130k > of ip's) and need to setup > traffic tbf shapers with 64kb/s for each ip from 172.22.0.0/16 and > 128kb/s for each ip from 172.23.0.0/16 > just read lartc and don't understand how to use u32 for decreasing > number of rules and hashing > _______________________________________________ > LARTC mailing list > LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc