Displaying 20 results from an estimated 8000 matches similar to: "restricting bandwidth using TC"
2006 Mar 31
2
__Very__ Low Bandwidth
I am using the script below to simulate a very low bandwidth connection.
I found that I could turn the bandwidth knob down to about 4kbit, but
below that I didn''t get any traffic through. I''ve had a look at this
generally, but couldn''t find an answer. It doesn''t even seem like the
first reply packet gets through. I have tried it with much bigger
buffers,
2002 Aug 30
1
TBF to limit bandwidth, Should I change #define HZ?
Dear friends,
thanks for the last advices about TBF.
After reading the tbf.pdf document I got a better insight of the problems I
had trying to limit the bandwith on my testbed with a high resolution.
The question I have now is:
Would I get an immediatly better resolution result if I change the #define
HZ to 1000 for my Linux box? I have a Pentium Celeron 700 MHz, and I would
like to see the tbf
2007 Aug 22
6
simple tbf rate clamping issues
Hello,
I was attempting to throttle egress traffic to a specific rate using a
tbf. As a starting point I used an example from the LARTC howto, which
goes:
tc qdisc add dev eth1 root tbf rate 220kbit latency 50ms burst 1540
I then attempt a large fetch from another machine via wget (~40 megs)
and the rate was clamped down to about 12Kbytes/s. As this seemed too
much, I gradually increased
2007 Feb 28
1
Xen and tc problems
Hi,
I am trying to shape traffic to two VMs hosted in Xen. There seems to be
very little information regarding this. I found this web page
http://www.ioncannon.net/system-administration/57/limiting-bandwidth-usa
ge-on-xen-linux-setup/ and followed the instructions. But, the real
bandwidth experienced from clients always seems to exceed the set rate.
Part of the problem may be because of the way
2005 Nov 06
1
tc qdisc replace failing
Hi,
Having issues getting a replace command working correctly. The error reported
is "RTNETLINK answers: Invalid argument" which isn''t descriptive or helpful.
The command i''m running is:
tc qdisc replace dev ppp0 parent 8001:D handle D: tbf rate 5Kbit burst 5kb
latency 70ms
The idea being to replace an sfq with handle D and hopefully limit a certain
user in my
2005 Jul 22
2
tc filter matching anything
Hey,
I have a problem adding a filter matching anything, here is my setup:
###############
tc qdisc add dev eth0 handle 1: root prio
tc qdisc add dev eth0 parent 1:1 handle 10: pfifo
tc qdisc add dev eth0 parent 1:2 handle 20: tbf latency 50ms rate \
128kbit burst 256kbit
tc filter add dev eth0 protocol ip parent 1:0 prio 1 handle 666 fw \
flowid 1:2
tc filter add dev eth0 protocol ip parent
2004 Jan 27
3
tncg and bandwidth limiting
I''m trying to do some very simple rate-shaping on an interface. I want to
limit my 100baseT interface to 7 megs both ingress and egress of the
interface. I''ve been hacking my way through the documentation and some
examples and I''ve come up with the following configuration for tcng that
seems to do what I want.
I''m curious if some of the other experts out
2007 Aug 11
1
tc and multiple ip on a device
Hi,
i''m sort of testing a configuration and things are not working sa i
planned.
i have the following network diagram: PC1 to 7 cnneced on the same
ethernet hub.
PC1 PC2 PC 3 PC4 PC5 PC6 on network 192.168.5.0
PC6 and PC7 on network 192.168.1.0
so PC6 work as a router. in addition, PC6 is connected to both
network on the same device eth0.
now on PC6, put a tbf on dev eth0 root
2006 Mar 28
2
prio, kernel 2.6: patch?
hi to all,
I''m studying traffic shaping using kernel 2.6.8 (debian sarge).
well, I have this problem: priority doesn''t work.
I try with:
- qdisc prio:
tc qdisc add dev eth1 root handle 12: prio bands 3
tc qdisc add dev eth1 parent 12:1 handle 13: tbf rate 10Mbit buffer
1600 limit 3000
2004 Jun 08
1
Oops on tc-graph.pl of all things
It only makes a few calls to `tc`:
rebecca:~# grep TC /home/jasonb/src/tc-graph.pl
$BIN_TC="/sbin/tc";
my @qdisc=`$BIN_TC -d qdisc show dev $DEV`;
my @class=`$BIN_TC -d class show dev $DEV`;
@filter=`$BIN_TC -d filter show dev $DEV parent $parent`;
But something ultimately Oopses:
rebecca:~# uname -a
Linux rebecca 2.6.6 #1 Thu May 20 17:21:44 EDT 2004 i686 GNU/Linux
2004 Jul 01
3
Using Token Bucket Filter to simulate a low bandwidth radio link
Hello,
I am attempting to use the LARTC traffic control to simulate a radio link that
has variable bandwidth and availability. The basic bandwidth could be as low
as 500 bits/sec but will generally be about 4000 bits/sec. If the simulated
radio link is unavailable (zero bandwidth) then packets should be queued
until a link is re-established.
i.e. Initial bandwidth is 5000bits/sec
then to 0
2005 Nov 10
6
throtling bandwidth
Hi,
My branch office as got a 256Kbps b/w from their service provider at a
very very high rate per Mb. They don''t require 256Kbps at all but the
ISP does not offer anything low. Can we restrict the bandwith to say
64Kbps nothing fancy? How do I go about it?
With warm regards,
-Payal
2005 Apr 06
3
tbf latency problems!
Hi i have found a problem related with tbf and the
latency that the tbf calculates.. I have used the
following parameters for burst and limit
burst 100Kbit limit 500Kbit lat81.8ms
burst 6Kbit limit 6Kbit lat 0us
burst 200Kbit limit 100Kbit lat 4294.9s
As u can see in the 3rd column the latency for 100Kbit
burst and 500Kbit limit is 81.8ms but for 200Kbit and
limit 100Kbit is 4294.9s!!! How
2007 May 10
6
PRIO and TBF is much better than HTB??
Hello mailing list,
i stand bevor a mystery and cannot explain it J. I want to do shaping and
prioritization and I have done these following configurations and
simulations. I can“t explain, that the combination of PRIO and TBF is much
better than the HTB (with the prio parameter) alone or in combination with
the SFQ.
Here are my example configurations: 2 Traffic Classes http (80 = 0x50) and
2004 Jun 25
1
TBF maximum bucket size
I''m trying to fill a token bucket with enough tokens to burst several gigs
of data. However, it doesn''t seem to get any higher than ~3.9GB:
>tc qdisc add dev eth0 root tbf rate 1440kbit latency 50ms \
burst 16000000000
>tc qdisc show dev eth0
qdisc tbf 800b: rate 1440Kbit burst 3908420240b lat 2197.8s
A smaller attempt of ~1.6 gigs works just fine:
>tc qdisc
2003 Dec 08
1
tc troubles with pfifo_fast qdisc on 2.4.23 kernel
Hi!
I was updated kernel from 2.4.22 to 2.4.23
and now tc tools can''t correctly determine default (pfifo_fast) qdisc on interface:
# tc/tc qdisc ls dev ppp0
qdisc pfifo_fast 0: [Unknown qdisc, optlen=20]
but, if I assign f.e. cbq qdisc for some device all show correctly:
# tc/tc qdisc ls dev ppp1
qdisc tbf 8009: rate 32Kbit burst 10Kb lat 1.5s
qdisc cbq 66: rate 10Mbit
2002 Dec 31
3
[tcng] More complex example?
Hi
I''m completely stuck with the tcng language - I assume there must be
some way to arrange queues hierachically like
eth1
|
TBF
|
PRIO
/ \
class class
but my attempt (below) produces a "inferno.tc:8: qdisc "tbf" has no
classes near "prio"" when run through tcc.
dev eth1 {
egress {
tbf (rate 128kbps, burst 64kb,
2005 May 05
1
TC breaking Virtual network connection
Good afternoon,
I am a newbie to lartc. I have read the HOWTO. I set up a CBQ traffic control using the following commands, and it caused my VNC connection to break frequently.
=======================================================================
**CBQ: cbq-1280.My_shaper
/sbin/tc qdisc del dev lo root
/sbin/tc qdisc add dev lo root handle 1 cbq bandwidth 20Mbps avpkt 1000 cell 8
/sbin/tc
2003 Apr 04
1
iproute question
Hello all,
My company is sharing it''s internet access with a neighbor and the neighbor
in question was eating our bandwidth (both in upload and download) most of
the time. I finally set up a linux router to limit the incoming/outgoing
bandwidth to his network by adding a tbf on eth0 interface and eth1 interface
of the router (neighbor is behind eth1 and we are in-between him and the
2005 Aug 02
2
internet traffic from tbf
Hi have set the following tbf
tc qdisc add dev eth0 root tbf rate 0.5mbit \
burst 5kb latency 70ms peakrate 1mbit \
minburst 1540
I want to add a filter so the ip traffic pass from
it.. plz help me
__________________________________
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html