Displaying 20 results from an estimated 3000 matches similar to: "Question about TBF burst parameter"
2005 Nov 14
1
Using TBF to throttle a PC to 5kbps
Hi Everyone,
This is a simple question but I don''t understand why the below tbf is not
working as expected by throttling traffic to 5kbps
If I throttle a PC''s traffic using the below when traffic exceeds 5kbps
packets start getting dropped (as they should) but all traffic gets dropped.
not just the bit over 5kbps.
TC="tc add dev ppp0"
$TC parent 8001:2 handle 2:
2006 Feb 20
0
calculating burst for TBF
I''m using tc from iproute-2.6.15 with a 2.6.12 kernel.
I was testing the effects of the burst parameter in a tbf qdisc.
Basically, I was testing this statement from the tc-tbf(8) manpage:
"If your buffer is too small, packets may be dropped because more tokens arrive
per timer tick than fit in your bucket. The minimum buffer size can be
calculated by dividing the rate by HZ."
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
2002 Feb 03
1
simple traffic shaping problem
Hi All,
I read the advanced networking howto and find a useful way to shape my
adsl link.
is says:
"tc qdisc add dev ppp0 root tbf rate 220kbit latency 50ms burst 1500
[...]
Change 220kbit to your uplinks *actual* speed, minus a few percent. If
you have a really fast modem, raise ''burst'' a bit. "
My adsl''s upload brandwidth is about 120 kbits/sec,
2005 Jul 20
1
TBF + burst
I am using tbf to do rate limitation. i set the rate,
burst and latency parameters for tbf. but when i start
passing data i notice that there is an initial burst
and then the rate goes down to the configured level.
is this because tbf starts with a full bucket?
thanks.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection
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
2004 Jun 21
1
tbf token help
Hi all!
I just started to experiment with bandwidth management using tbf.
I have the folowing problems with token understanding:
1) What unit is token? Is "1 token = 1 byte" ?
If this is so, then with rate=0.5mbit and HZ=100 the bucket gets filled
with 0,64kb (655 tokens) every 10ms?
2) How much tokens are used for one packet (1500)?
3) And token unrelated question. Does
2002 Dec 10
2
tbf : rate and effective speed (newbie)
Probably this is an old question, but i''m not able to find nothing about...
So, i''ve just started to play with tc to limit the transfer speed to my
hdsl connection. I''m using the tbf and the command
# tc qdisc add dev eth0 root tbf rate 10kbit latency 50ms burst 1000
Then i''ve tried to transfer a big (20 Mbyte) file onto my lan, using ftp
and the client
2004 May 04
3
shape outgoing/upload traffic PER-IP.
does anyone know a way to shape outgoing/upload traffic per ip?
I have a network and i want to limit the upload with 100kbit per user. Ex:
192.168.1.20 ----> 1024kbit-DOWN / 100kbit-UP
192.168.1.21 ----> 1024kbit-DOWN / 100kbit-UP
and so on.......
Ive tried CBQ and HTB, but couldnt get is right. the only thing that I did in upload bases was:
"tc qdisc add dev ppp0 root tbf rate
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
2007 Nov 19
1
Changing TBF rate on the fly results in drops?
Hi everybody, it is my first message here. I tried to browse
throughout older posts but I found no immediate answer.
I need to change rate of a tbf queue while ip packets are already
enqueued by it. If I go:
tc qdisc replace|change|link dev eth0 root tbf rate 180kbit burst 1540
limit 15400
as results all enqueued packets seems to disappear. I can see that from a:
tc -s qdisc ls dev eth0
2005 Jul 13
6
tbf initial burst
I am using tbf to do bandwidth limitation. i found that when i start passing traffic there is a burst and then the rate goes down to what is configured. is this a known issue or do i need to change some parameters?
thanks.
---------------------------------
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
_______________________________________________
LARTC mailing list
2005 Dec 04
6
tbf and prio blocking some flows entirely
I thought I had this all worked out, but it seems not. The following tc
configuration:
tc qdisc del dev ppp0 root 2> /dev/null > /dev/null
tc qdisc add dev ppp0 root handle 1: tbf rate 120kbit burst 1200 limit 1
tc qdisc add dev ppp0 parent 1:1 handle 2: prio bands 3
tc qdisc add dev ppp0 parent 2:1 handle 10: sfq perturb 20
tc qdisc add dev ppp0 parent 2:2 handle 20: sfq perturb 20
tc
2002 Jan 20
2
basic question about token bucket filter
Hi there,
I just started playing around with prioritizing traffic. However I do have
some questions left :P
I am using the following setup:
tc qdisc add dev ppp0 root handle 1: prio
tc qdisc add dev ppp0 parent 1:1 handle 10: sfq
tc qdisc add dev ppp0 parent 1:2 handle 20: tbf rate 61kbit latency 50ms burst 1540
tc qdisc add dev ppp0 parent 1:3 handle 30: sfq
I use the mangle table of iptables
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
2004 Oct 20
0
up and down shaping based on IP
Hello, i have a server (486sx and 16ram). It gives me this error :
NETDEVICE WATCHDOG eth1 : ...timeout.
I checked in many places for solutions. Even wrote to this mailinglist.
But lately i recived information, that too much upload
may mix my adsl modem up. So..... my question is how should my script
look while the situation is :
eth0 - connected to adsl modem and thus to internet
eth1 -
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
2004 Apr 15
0
Uplink limit possibilities
Hi guys!
Im new there, and i havent found yet stories about uplink bandwith limits, and i would like to limit my Exim''s speed, coz its eating my ADSL''s whole uplink.
Til now i used the
#:~ tc qdisc add dev ppp0 root tbf rate 50kbit latency 50ms burst 1540
command, buts its limiting the whole link:/
I checked the documents on that link:
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
2005 Oct 26
0
Help regarding TBF and CBQ
Hello
Please give advice in selecting suitable QoS Solution for our device. It
contains one WAN port and a LAN port(4 port switch). The WAN will be
connected to an ADSL modem(so we don`t know the bandwidth in advance for the
WAN and depends on the ADSL connection taken). We need to give highest
priority to the Voice and control the WAN bandwidth to 2Mbps. I tried with
the TBF by giving 500kbps