search for: tbf

Displaying 20 results from an estimated 197 matches for "tbf".

Did you mean: tbd
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...
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 ssh (22 = 0x16), and in my example, I want to prioritize the http-Traffic: HTB: the results of the simulation ist here: HTB cu...
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 gr...
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 add dev eth0 root tbf rate 1440kbit latency 50ms \ burst 160000000 >tc qdisc show qdisc tbf...
2005 Jan 11
3
Need help regarding TBF Token rate setting
Hi, I would like to know how to specify the token rate when a tbf qdic is created using tc tool.. Will it be a default value when tbf qdisc is created? This could be a silly question.... im quite new to all these stuff.. but im really interested.. any help will be most appreciated... thanks in advance, sanjeev -- ______________________________________________...
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.mai...
2005 Feb 16
5
Compiling sch_tbf.c in user space
...m different hosts through one single token bucket filter as we are trying to model a wireless scenario with many hosts communicating and sharing the same bandwidth.So the idea we came up with was to route packets from different hosts to user space using Netfilter and then send them through a common tbf implemented in user space in order to model a simple bandwidth shaping scenario. Routing packets to user space has been easy using the Netfitler hooks and libipq. My problem now is that i need to implement a tbf in user space.I was thinking if its possible to modify the sch_tbf.c code to make it wo...
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, limit 64kb, mtu 1510B) { prio (bands 2) {...
2001 Feb 02
2
TBF settings
I presently use TBF with this syntax: tc qdisc add dev eth0 parent 1:100 tbf buffer=15000/8 LIMIT=30000 MTU=1500 parent class is a cbq with rate=128Kbit when I want to add PEAK, I get always RTNETLINK error: Invalid argument. Maybe be I don''t understand this parameter. What I know about it, it''s t...
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...
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. _________________________________________...
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...
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 qdisc add dev ppp0 parent 2:3 handle 30: sfq perturb 20 # ICMP so we can see PRIO working...
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 un...
2002 Oct 28
1
Deleting ingress tbf
Quick question: How do I delete an ingress tbf? [root@atlas root]# tc qdisc qdisc tbf ffff: dev eth0 rate 50Kbit burst 2999b lat 1us [root@atlas root]# tc qdisc del dev eth0 ingress RTNETLINK answers: Invalid argument _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listi...
2005 Oct 11
3
Inaccurate results without natting the traffic.
Hi folks. For quite a while, I tried to use linux (cbq and htb) to control bandwidth in order to replace a cisco equipment used to play this role on our network. After trying here and there, with a bunch of different distros, different versions, different compilations, ... the closest I could get was as follows: (using htb.init and cbq.init) Desired BW ==> Achieved BW 128k ==> 404.78
2005 Apr 27
3
Internal Qdisc
Hell I''m new to Qdisc programming and I was wondering, what is the difference between using an internal Qdisc (like e.g. TBF does) vs. not using internal Qdisc (like e.g. SFQ does)? Can someone give me a quick rundown of pro and cons? with regards R.harper _________________________________________________________________ Undgå pop-ups med MSN Toolbar - http://toolbar.msn.dk hent den gratis!
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 where backlog suddenly goes down to zero packets....
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 (ncftp) is saying that the average transfer speed is 39.71 kB ( around 400 kbit). What i''m missing ? Th...
2003 Nov 26
3
Fair queueing: SFQ vs TBF
...Q. What is better when using as leaf in one leaf with several hosts (like subnet) to splice traffic equaly to user number? Like 2 users = 256/2, 3 = 256/3 and so on. WRR was pretty good for this job, but it''s only for 2.4.21 kernels and mine''s 2.4.22. So what is better: SFQ or TBF? -- Artūras Šlajus _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/