LARTC
[Top] [All Lists]

[LARTC] Problem with HTB and outgoing traffic

To: lartc@mailman.ds9a.nl
Subject: [LARTC] Problem with HTB and outgoing traffic
From: "mohican 542003" <thelastmohican54@gmail.com>
Date: Wed, 21 Feb 2007 09:20:31 +0100
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=WuZoSoLlXYVWkLh57mXPVWHRc6exsuSbcD7aEAJxE/5wzqXO2xvfOqsGFHaUKjs9aYmO6D4YtXJvvO65f0iL0Uw1w+nCsEyvjLNBDtA/JlRqUR26tU3+wy5i5A0YfSpwgoTNPj+9HCtFxUzm6qUvkc+OaHEtNzBLWD6cdwTEkKI=
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
Sender: lartc-bounces@mailman.ds9a.nl
Hello,

I'm using a script with tc, to limit my outgoing traffic :
tc qdisc add dev eth0 root handle 1: htb
tc class add dev eth0 parent 1: classid 1:1 htb rate 500kbit burst 6k
tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip dst 172.28.54.9 flowid 1:1

I want to test bandwidth with iperf to see if limitation is correct.
Sometimes, I get correct measure for certain rates, but i often get measure that do not correspond to rate.
For example, if rate is 500kbit, measure is 2000kbit/s...

Can someone help me ?

Thanks,
Olivier




_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
<Prev in Thread] Current Thread [Next in Thread>