Displaying 20 results from an estimated 2000 matches similar to: "Help regarding TBF and CBQ"
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.
2002 Dec 19
1
linux bridging and htb.init / cbq.init
Hello,
I''am successful using a linux (2.4.20) bridge and the cbq.init_v0.7
script for traffic shaping. But I can only use the queuing discipline
tbf (LEAF=tbf). If I try use queuing discipline sfq or none then tc
applies the rules but no shaping occurs.
Is this problem a normal behavior when using bridging ?
I tried to use htb.init (using patched tc binary). It accepts
the rules but
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 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
2005 Mar 17
0
cbq + gred doesn''t drop packets
Hi i have configured my server with cbq and gred. The
problem is that the cbq doesnt drop packets. The cbq
is configured at a rate of 500Kbit
"qdisc cbq 4: rate 500000bit (bounded,isolated) prio
no-transmit
Sent 100103048 bytes 73933 pkts (dropped 0,
overlimits 0)
borrowed 0 overactions 0 avgidle 24000 undertime 0
"
The traffic that being generated is more than 5Mbit
with the
2003 Apr 23
1
cbq.init
About the cbq.init. Four machines which traffic to limit in same LAN.
Is the samething if I put limiting rules to four different files or all to
the same file? Like:
DEVICE=eth0,10Mbit,1Mbit
RATE=64Kbit
WEIGHT=6Kbit
PRIO=5
RULE=192.168.0.5
RULE=192.168.0.6
RULE=192.168.0.7
RULE=192.168.0.8
OR four equal files with different IPs, Ids and no PARENT rule?
What style of ID numbering you use if
2007 Apr 11
0
Re: AW: tc (CBQ) and UDP packets
Pablo Fernandes Yahoo wrote:
> Hi Andy and All,
>
> Thank you so much for your explain. I really apreciated it. I was thiking
> about this UDP question and bandwidth shaping... i saw the same udp
> connections pass through the shaping of the cable modem and CBQ in a linux
> box.
As I said I''ve not used CBQ - The LARTC section does say it is hard to
configure and may
2004 Oct 11
0
cbq.init - Some strange behavior / small question
Hi,
I''ve a small question about the cbq.init script.
For a gateway I want to shape connections from special
IP addresses to limit their bandwith.
In my test environment I''ve too machines. One testclient
with the IP 192.168.1.19. On my "shaper" (192.168.1.251) runs
cbq.init with following config file:
orthanc:/etc/sysconfig/cbq# cat cbq-4.ws-019
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 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 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
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:
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
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
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
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."
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/
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
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