From: Andy Furniss Date: Thu, 14 Dec 2006 20:32:12 +0000 Subject: Re: [LARTC] hfsc rule command problem Message-Id: <4581B4CC.2010904@andyfurniss.entadsl.com> List-Id: References: <20061214163837.7668.qmail@web35507.mail.mud.yahoo.com> In-Reply-To: <20061214163837.7668.qmail@web35507.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Thossapron Apinyapanha wrote: > tc class add dev eth2 parent 1: classid 1:1 hfsc sc m2 10000kbit=20 If it's really 10mbit eth, 10mbit rate is too high. > tc class add dev eth2 parent 1:11 classid 1:199 hfsc rt m1 3500kbit d 10s= m2 500kbit ls m2 3500kbit ul m2 3500kbit > tc qdisc add dev eth2 handle 199: parent 1:199 sfq sfq is really for bulk, with the added complication that it won't quite=20 be right on an hfsc rt class - if backlogged hfsc rt de/re queues to get=20 the next packet length, but sfq (as I read it) doesn't reset the "turn=20 pointer" when it requeues. Probably OK if you really need it I suppose -=20 but then rt classes should probably not get backlogged (excepting bursts=20 maybe) > Real time class guarantee rate: 3500kbit max rate: 10000kb= it =20 > VoIP guarantee rate: 200kbit max rate: 3= 500kbit > MMS guarantee rate: 1300kbit max rate: 350= 0kbit > Telnet guarantee rate: 1500kbit max rate: 350= 0kbit=20 > Default guarantee rate: 500kbit max rate: 350= 0kbit They are not going to be rt as such once over their guaranteed rates. > 2. Is it true about HFSC can=92t manage traffic load more than 1Mbi= t ?? The problem is I think, your use of default - If you don't use it hfsc=20 will drop unclassified traffic, htb will let it through unshaped, so it=20 is in someways needed more on hfsc (though you can filter non ip). You could use it but not send any ip traffic to it, or you could=20 explicitly filter arp (& other non ip) to a dedicated rt class with=20 enough bandwidth. Delaying/dropping arp is not something you should do... Andy. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc