Re: Clock Source Kernel settings in 2.6.22
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
I used to get an average of 18900kbit. My hope was that these new patches would bring better accuracy.Notice the 24 cburst. I am just trying to compensate the inaccuracy this way. If I remove the cburst, obviously the shape rate I get goes down.
Perhaps I am missing something. I am just a novice trying to get exact bandwidth shaping. I have tested all the clock source types with no good results.
Regards, Mario Antonio----- Original Message ----- From: "Patrick McHardy" <kaber@xxxxxxxxx>
To: "Mario Antonio Garcia" <dino@xxxxxxxxxxxxx> Cc: <lartc@xxxxxxxxxxxxxxx> Sent: Friday, August 31, 2007 5:43 AM Subject: Re: Clock Source Kernel settings in 2.6.22
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 22.214.171.124, 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 24kand 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@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc