From mboxrd@z Thu Jan 1 00:00:00 1970 From: EGAL Vincent Date: Tue, 10 Dec 2002 13:57:15 +0000 Subject: Re: [LARTC] questions on CBQ Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Stef Coene wrote: >On Monday 09 December 2002 18:11, James Ma wrote: > > >>Hi, All, >> >>When I use CBQ, what should I put for "avpkt"? I saw all the examples using >>1000, but if I have a lot of voice packets which are very small, will >>"avpkt 1000" cause any problem? >> >> >I'm not sure, but avpkt is used in internal calculations so if you have a lot >of small packets, a smaller value would be better. > avpkt is one of the parameters used to evaluate the maxidle parameter for a cbq class. maxidle can be seen as the maximum credit that a class can reach when being underlimit for a period of time So the higher maxidle is, the more packets in burst the class may send when switching from underlimit to overlimit. > > > >>Another thing is, does CBQ support >>"default" as HTB does (ex: tc qdisc add dev eth0 root handle 1: htb default >>12)? How can I put "all other traffic" into certain class? >> >> >Cbq has no default class. You can use a u32 filter with src 0/0 as the last >filter statement. > >Stef > > > -- Vincent EGAL Email : egal@ipanematech.com _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/