LARTC
[Top] [All Lists]

RE: [LARTC] Problem with HTB and outgoing traffic

To: "mohican 542003" <thelastmohican54@gmail.com>, <lartc@mailman.ds9a.nl>
Subject: RE: [LARTC] Problem with HTB and outgoing traffic
From: "Flechsenhaar, Jon J" <Jon.J.Flechsenhaar@boeing.com>
Date: Wed, 21 Feb 2007 08:27:47 -0800
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
In-reply-to: <519f77360702210020s4408e2dw2d47ccee2f9ac04a@mail.gmail.com>
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>
References: <519f77360702210020s4408e2dw2d47ccee2f9ac04a@mail.gmail.com>
Sender: lartc-bounces@mailman.ds9a.nl
Thread-index: AcdVkT8hB3QBJ/50SbyHzY3ItX7GHgAQ+7FA
Thread-topic: [LARTC] Problem with HTB and outgoing traffic
If you let "burst" get calculated with default settings (don't specify the 6k) does it change anything?
 

Jon Flechsenhaar
Boeing WNW Team
Network Services
(714)-762-1231
202-E7

 


From: mohican 542003 [mailto:thelastmohican54@gmail.com]
Sent: Wednesday, February 21, 2007 12:21 AM
To: lartc@mailman.ds9a.nl
Subject: [LARTC] Problem with HTB and outgoing traffic

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>