From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Bob Puff@NLE" Date: Fri, 09 Feb 2007 02:31:27 +0000 Subject: Re: [LARTC] Need big buffer! Message-Id: <45CBDCFF.5080204@nleaudio.com> List-Id: References: <45CB610C.70905@nleaudio.com> In-Reply-To: <45CB610C.70905@nleaudio.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Bob Puff wrote: > >>If you know how to do the 300k limit then using that same method add >>a queue depth to handle the difference on that class. > > > How do I do that? (sorry, newbie to tc) > > Bob I've been trying to read up, and still not coming up with concrete info on queue sizes. Right now, my code for limiting to 300k is: tc qdisc add dev eth0 root handle 1: htb default 21 tc class add dev eth0 parent 1: classid 1:1 htb rate 300kbit tc class add dev eth0 parent 1:1 classid 1:20 htb prio 0 rate 100kbit tc class add dev eth0 parent 1:1 classid 1:21 htb prio 1 rate 100kbit ceil 300k ..with some matches for prioritizing other traffic into class 1:20. I assume there is something I need to add to the first line, but everything I've read about never mentions htb. Bob _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc