Displaying 20 results from an estimated 600 matches similar to: "tbf latency problems!"
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
2007 Feb 28
1
Data rate with HTB
Dear all,
I''m making a script to implement DiffServ policies with HTB. Here it is :
if test $1 = "help" -o $1 = "h" -o $# != 5
then
echo "usage: ds.sh <DEVICE> <DS_RATE> <EF_RATE> <AF_RATE> <BE_RATE>"
exit
fi
DEV=$1
DS_RATE=$2
EF_RATE=$3
AF_RATE=$4
BE_RATE=$5
sync
tc qdisc del root dev $DEV
tc qdisc add dev $DEV root handle
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
2006 Jun 02
1
IMQ + NAT
Hello,
I have
eth0 - internet
eth1..4 - local networks
on eth0 i do $IPTABLES -A POSTROUTING -t nat -o eth0 -j MASQUERADE
I want to balance out/in load for eth1..4 and localhost (mainly
squid). Nat makes impossible to do it on eth0, so I installed IMQ. I
need to get to on imq0 unnnated in/out traffic that I could make
priorities for protocols and networks. Do somthing like this:
prate=1Mbit
2007 Apr 26
1
HTB+SFQ
Hi folks,
I`ve a problem to use HTB and SFQ.
The first script, below, to show a simple configuration, does work
fine...!!!
But, in the second example, does not work, becouse i put more code to
clasify the traffic by protocol, http and ftp in this case.
Somebody can tell me the errors?
Thx, in advance.-
NOTICE: IMQ device is to asociate with ETH1 my external iface.
SCRIPT que funciona:
2005 Aug 16
1
Best way to access constants in application_helper.rb from views?
Hi,
I''m using the application_helper.rb file to create some useful functions
for generating links by name.
I understand that functions defined in this file are available to all
views, but what about constants defined in that module? Is there a
best practice approach for doing this other than accessing each constant
via ApplicationHelper::FOO?
Stu
2004 Feb 26
12
HFSC
hmm
HFSC ?
where can i find more informations and examples about the *linux* HFSC
?
http://trash.net/~kaber/hfsc/ does not help here
--
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
2005 Jan 26
10
Ssh flow does not go into correct class. Help!
I''m a new comer. I have problems using tc+htb. I run the following commands, and expect outgoing ssh flow goes into 1:11. But actually it goes into default 12. What''s wrong?
tc qdisc add dev eth0 root handle 1: htb default 12
tc class add dev eth0 parent 1: classid 1:1 htb rate 1000kbit ceil 2000kbit prio 1
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 100kbit ceil
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 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
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.
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 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
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/
2003 Nov 26
3
Fair queueing: SFQ vs TBF
Hello,
I have one 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
_______________________________________________
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 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
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