From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peteris Krumins Date: Sat, 01 Nov 2003 20:32:32 +0000 Subject: [LARTC] (simplified) Rate precision Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hello gentleman, i wrote a few days ago but did not receive any answers. I simplified the problem and even wrote a quick example which demonstrates the innacurate rate precision: tc qdisc del dev eth0 root >/dev/null 2>&1 tc qdisc add dev eth0 root handle 1: htb tc class add dev eth0 parent 1: classid 1:101 htb rate 2048kbit tc qdisc add dev eth0 parent 1:101 handle 101: sfq perturb 10 tc filter add dev eth0 protocol ip parent 1: prio 5 handle 101 fw flowid 1:101 iptables -A PREROUTING -t mangle --src -j MARK --set-mark 101 The example above should shape the speed to 2mbit (2048kbit) but unfortunately the real speed is only 1920kbit.. Tthe only solution I have found is to add the missing rate. Linux 2.4.20 vanilla. Any comments? P.Krumins _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/