Displaying 20 results from an estimated 3000 matches similar to: "Need help regarding TBF Token rate setting"
2005 Feb 02
4
Issue with using using tc api
Hi ,
I''m trying to call the tc_qdisc_modify function of tc in iproute2/tc. I could compile it with my stub program and got the executable. However, when i try to create an htb qdisc i get the following error : Unknown qdisc "htb", hence option "default" is unparsable
However, if i use the tc tool, it works fine.. When I tried to understand the problem, it appeared to
2005 Jan 18
3
Doubt regarding priority of classes with HTB
Hi,
I''m a bit confused with the priority of different classes with HTB. How it will be? Will the class with lowest no: have maximum priority?
Any help is most appreciated,
Thanks in advance,
Sanjeev
--
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.
Powered by
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
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 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
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
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/listinfo/lartc HOWTO: http://lartc.org/
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 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,
2003 Jun 21
3
pfifo scheduler
Hello ppl,
I''m playing with the pfifo scheduler, its simple, and i cannot understand
what''s wrong. So, i have test machine, with one interface eth0, and i want
to send no more than 3 packets/sec out of that interface, so i do:
tc qdisc add dev eth0 root pfifo limit 3
And i get pfifo scheduler on eth0 with limit of 3, but it sends as many
packets per second as it wants, without
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
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
2003 Sep 16
1
rate limited pfifo_fast?
Hi,
I have a cable modem with a bandwidth capped upload rate. I''d like to
prioritize packets going outbound according to the TOS header of the IP
field. I''ve read through the LARTC Howto several times, and I think I have
a good feel for the information it it. It also seems that what I''m trying
to do is pretty straight-forward and common. Unfortunately, the HOWTO
2002 Oct 31
4
Egress shaping over multiple interfaces?
Hello,
After reading the excellent HOWTO I got traffic shaping working nicely over
ethernet devices on a test setup. I can''t put this setup live though, because
our main firewall has three 2mbit hdlc interfaces instead of a single device.
We are using multipath routing using iproute2 nexthop at the moment, and that
works fine for firewalling. But now I have a need for shaping and
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
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
2003 Jul 13
1
slowing down traffic to a certain port
This is my first attempt at understanding lartc:
I want to throttle outgoing bandwidth fo a certain tcp port and leave
other traffic the way it was.
so I put a prio qdisc at the root of eth0 (dummy priomap since i want to use
filters to switch bands):
$ tc qdisc add dev eth0 root handle 1: prio bands 2 priomap 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
then attach a tbf qdisc at 1:2 :
$ tc qdisc add dev
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
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
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 that it can control short-term burst traffic, and it''s what I need to do.