From: Patrick McHardy Date: Fri, 31 Aug 2007 09:43:29 +0000 Subject: Re: [LARTC] Clock Source Kernel settings in 2.6.22 Message-Id: List-Id: References: <45E4FD623F464B30A0067FF269007B89@shadow> In-Reply-To: <45E4FD623F464B30A0067FF269007B89@shadow> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Wed, 29 Aug 2007, Mario Antonio Garcia wrote: > I wonder if somebody has got good results (accurate shaping) using 2.6.22? > > I am testing with 2.6.22.1, and I haven't been able to get accurate shaping. > For instance, I tried: > $TC qdisc add dev eth0 root handle 1: htb default 1 > $TC class add dev eth0 parent 1: classid 1:1 htb > rate 100000kbit ceil 100000kbit burst 24k cburst 24k > $TC class add dev eth0 parent 1:1 classid 1:10 htb > rate 20000kbit ceil 20000kbit burst 24k cburst 24k > > and class 1:10 shapes the traffic to 19900kbit instead of 20000kbit > (bandwidth tests made with ftp and iperf) That seems pretty close. What values do you get with older kernels? _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc