From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Furniss Date: Tue, 18 Apr 2006 11:25:06 +0000 Subject: Re: [LARTC] htb overrate with 2.6.16 Message-Id: <4444CC92.4090901@dsl.pipex.com> List-Id: References: <1145095091.18168.26.camel@indigo.declera.com> In-Reply-To: <1145095091.18168.26.camel@indigo.declera.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Yanko Kaneti wrote: >>>One more thing I just thought - sfq sets its quantum from the dev mtu. > > > Riiight. I should have tried without the sfq earlier. Without it this > works as expected without explicit mtu setting for the htb class. And no > giants. > > # tc qdisc add dev eth0 root handle 1: htb > # tc class add dev eth0 parent 1: classid 1:2 htb rate 2Mbit > # tc filter add dev eth0 protocol ip parent 1:0 prio 1 handle 50 fw flowid 1:2 I wouldn't have expected that to make any difference to the giants. Looking again at your stats - Sent 189796883 bytes 20626 pkt (dropped 0, overlimits 0 requeues 0) rate 3484Kbit 45pps backlog 0b 0p requeues 0 lended: 20627 borrowed: 0 giants: 30926 tokens: -9768 ctokens: -9768 The giants count is higher than the packet count so now I am really confused. Andy. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc