From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin A. Brown" Date: Wed, 12 Mar 2003 17:52:55 +0000 Subject: Re: [LARTC] Classless Queues in series... 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 Ben, : I need (or would at lest live very much :) to use two Classless Queues : in series. : : I can't see in the HOWTO how this is done, but guess at something like: : : tc qdisc add dev eth0 root handle 1: sfq (etc) : tc qdisk add dev eth0 parent 1: tbf (etc) : : Am I on the right lines here? A classless queueing discipline cannot contain another queueing discipline. A classful queueing discipline can contain classes and leaf queueing disciplines. In other words: - a classless queueing discipline is by definition, a terminal qdisc - a classful queueing discipline can be terminal or - can contain a class, which can be terminal or - can contain another queueing discipline Does that help? : I also have a small problem with TBF... From the HOWTO sec 9.2.2, it is : surgested that a value for the 'burst' should be: : : "For 10mbit/s on Intel, you need at least 10kbyte buffer if you want to : reach your configured rate!" : : Therefore: burst => rate * (8 / 1000) : : However, I find using this I get stall on ftp and other common : protocols, when they get above the throttle rate, with low bandwidths : (eg, 64kbit/sec). -- Or I completelly fail to understand the above : statement... : : Does any person have a better method for calculating a good value for : 'buffer' ? I'm afraid I can't help you on this question. -Martin -- Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/