similar to: Using Token Bucket Filter to simulate a low bandwidth radio link

Displaying 20 results from an estimated 2000 matches similar to: "Using Token Bucket Filter to simulate a low bandwidth radio link"

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
2003 Nov 10
0
tc, tbf and accuracy
Hi all, I''ve tried to look for this info in previous messages but had no luck. I''ve a 2.4.20 kernel on an Intel arch., all TC is configured and it seems to work. Anyway, I''ve had some troubles in configuring TBF via tc: 1. when I configure burst or minburst to be, say, 1500b, when I peek the configuration with "tc -s qdisc" the answer is that
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
2003 Nov 14
1
rate vs peakrate - TBF.
Hi, Can you please explain to me the difference between rate and peakrate, in conjucture to TBF. IMHO, rate : controls the no. of pkts flowing through the pipe, and peakrate : controls the no. of tokens flowing through the bucket. A funtion(?) of peakrate and mtu is rate. If this is true, why do I need to specify both peakrate and rate? Regards, suraj. __________________________________ Do
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,
2007 Jan 16
8
egress bandwidth not limited / limited extremely inaccurately
I''m just-so-fresh to the list, so hello everyone. I''m having a realy hard time with setting up very simple bandwidth management. What I am trying to do is setup a 10Mbit interface to send at only 1920kbit to most of the network (to make sure it hardly ever tops 2mbit). I did succeed with the ingress traffic... With egress however, I get very odd results at different speeds. With
2004 Mar 18
6
[PATCH] packet delay scheduler
Okay, here is a very simple QOS scheduler that delays packets for 2.6. It is good for testing, and might be useful for people who want to put some class of traffic into a "penalty box". Alexey''s tc command is really easy to extend to new disciplines. There is a version which knows about this scheduler at: http://developer.osdl.org/shemminger/tcp/iproute2-delay.tar.bz2 The
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
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
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
2007 May 08
3
Token Bucket Filter and Dropping
I am trying to create my own Token Bucket Filter. However, I have a problem with packet dropping. Scenario : I got two streams 20KB/s each. I got one bucket with rate 20KB/s I put both streams into this bucket. When buffer is full packets need to be dropped. The problem is that only every other packet needs to be dropped in this scenario. Streams are the same so queue looks like that : S1 |
2004 Jul 01
20
[PATCH 2.6] update to network emulation QOS scheduler
This patch updates the network emulation packet scheduler. * name changed from delay to netem since it does more than just delay * Catalin''s merged code to do packet reordering * uses a socket queue''s directly rather than layering on qdisc(fifo) because this is used in performance tests. * adds placeholder in API for future enhancements (rate and duplicate).
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 -- ______________________________________________ Check out the latest SMS
2004 May 04
4
Wrapping prio in tbf
The manual says (about prio): > Because it doesn''t actually shape, the same warning as for SFQ holds: > either use it only if your physical link is really full or wrap it > inside a classful qdisc that does shape. The latter holds for almost all > cable modems and DSL devices. I want to wrap prio inside of tbf. Here''s why: I have a server on a DSL line, which has
2004 Jun 17
2
[PATCH] (1/4) delay scheduler enqueue always succeeds.
If underlying fifo enqueue fails, return the status not 0. Same patch should apply to both 2.6 and 2.4 Signed-off-by: Stephen Hemminger <shemminger@osdl.org> diff -Nru a/net/sched/sch_delay.c b/net/sched/sch_delay.c --- a/net/sched/sch_delay.c 2004-06-17 15:13:15 -07:00 +++ b/net/sched/sch_delay.c 2004-06-17 15:13:15 -07:00 @@ -69,7 +69,7 @@ sch->stats.bytes += skb->len;
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,
2007 Jun 25
5
RED to use ECN (or work at all?)
Dear Community, sorry for the somewhat dumb question. Maybe someone has any pointer to how to setup the RED queue to mark pakets with ECN. In particular what are appropriate parameter settings for limit, min, max, etc. All my trials end up with either "RTNETLINK answers: Invalid argument", although the command line (at least for me) looks fine in regard to what is said on the
2004 Jun 17
2
[PATCH] (3/4) delay scheduler race with device stopped
The delay scheduler dequeue routine has some code cut&pasted from the TBF scheduler that caused a race with E1000 when ring got full. It looks like net schedulers should never be calling netif_queue_stopped because the queue may get unstopped by interrrupt or receive soft irq (NAPI) which races with the dequeue in the transmit scheduler. Also, if requeuing the packet fails, it is probably
2006 Apr 05
7
Tocken Bucket with priority?
Hi. I''m trying to get a traffic shaper like this: ------ VoIP pkts --> | |_| ------ \ | ---O -> ------ / Data pkts --> | ------ In this shaper voip packets are in a different queue than any other kind of packet. I want a data packet to be
2017 Oct 29
2
Incorrect characters in Chinese font
On 10/29/2017 03:49 PM, Frank Cox wrote: > On Sun, 29 Oct 2017 15:03:49 -0400 > H wrote: > >> I had three characters I was not able to translate and after much >> hair-pulling realized to my surprise that they may be incorrectly drawn in >> Centos 7. > My first guess would be a faulty characters in whatever font you're using. > > Compare it with a working