Displaying 20 results from an estimated 7000 matches similar to: "Burst Rate?"
2004 Jan 27
3
tncg and bandwidth limiting
I''m trying to do some very simple rate-shaping on an interface. I want to
limit my 100baseT interface to 7 megs both ingress and egress of the
interface. I''ve been hacking my way through the documentation and some
examples and I''ve come up with the following configuration for tcng that
seems to do what I want.
I''m curious if some of the other experts out
2006 Jun 30
1
police rate doesn''t work ?
I would like to test police in ingress.
I use kernel 2.4.20.
I use this configuration:
iptables -t mangle -A PREROUTING -i eth0 -s 10.31.12.2 -d 10.31.11.2 -p udp --dport 1001 -j MARK --set-mark 1
iptables -t mangle -A PREROUTING -i eth0 -s 10.31.12.2 -d 10.31.11.2 -p udp --dport 1002 -j MARK --set-mark 2
iptables -t mangle -A PREROUTING -i eth0 -s 10.31.12.2 -d 10.31.11.2 -p udp --dport 1003 -j
2003 Jun 06
4
tc show error for ingress
Hi,
I am trying to do both ingress and egress bandwidth management on a bridge.
eth0 is the WAN interface. IPTraf shows that the following script is running
successfully and it limits bandwidth both ways to 256 KB
However when I want to see the statistics using tc - it only shows me stats
for htb class
and not for ingress class. The tc output is as follows:
tc -s -d class show dev eth0
class
2004 Sep 21
1
TCNG compilation/translation bug/question
Hi all,
The following ingress statement:
....
$host2 = SLB(cbs 1024kb, cir 2048kbps);
class(<>) if ip_dst == 81.175.84.2 && SLB_else_drop($host2);
....
is compiled by TCNG into the folling tc command:
...
tc filter add dev eth0 parent ffff:0 protocol all prio 1 u32 match u32 0x51af5402 0xffffffff at 16 classid ffff:0 police index 505 rate 256000bps burst 131072 mpu 0 action
2006 Feb 10
3
htb root don''t reach ceil rate?
Hello,
i have a htb setup where the root and (nearly) all child classes has a
ceil rate with max up from my adsl line. But the root class don''t reach
the ceil value but some childs are get a huge backlog.
My setup: (tc -d class show dev ppp0) [cleaned a bit]
********************************************************
class htb 1:1 root rate 576000bit ceil 576000bit burst 30Kb/8 cburst
2004 Dec 02
1
FW: differing rate and ceil values
Hello all, when running tc -s -d class show dev eth, the parent class rate
and ceil are different to the configuration?
his is the first time I have used HTB so I may have made some basic
mistakes.
Thanks in advance
Shaun
Output as follows:
class htb 1:1 root rate 760Mbit ceil 760Mbit burst 997641b/8 mpu 0b cburst
997641b/8 mpu 0b level 7
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
2005 Nov 02
0
TC not rate limiting for me
Hi,
I''ve have my IP and TC scripts working OK but my rate limiting
does not seem to be being appiled.
My available download speed is around 150kbps.
I''d like to limit this box and the machines it forwards for
to 10kbps each, a total of 20kbps. Thus leaving 130kbps unused.
The classes I''ve created are simple and the stats show they
are moving bytes OK, however; the
2007 Jul 03
4
Weird rate in HTB
Dear all,
First, sorry for my bad English ..
To night one of my client is the victim of UDP attack from internet. It''s tons
of UDP packets from internet with destination to port 80. But when I look at
class of that victim client, the actual class rate is over than configured
rate class.
Below is my screen capture. You can see at class 1:913 which have actual rate
105136bit while
2004 May 12
0
ingress policy filter for variable rate
Hi,
I have a question about policy filters. All I want is incoming traffic
being restricted to a specific rate. At the moment, I get way lower rates
than specified. So far, I did use a filter much like Wondershaper does:
tc filter add dev $DEV parent ffff: protocol ip prio 50 \
u32 match ip src 0.0.0.0/0 \
police rate ${DOWNLINK}kbit burst 10k drop flowid :1
2006 Apr 26
1
HTB - Rate errors
Hi,
I''m trying to get HTB working correctly on Centos4 (RHEL-based) with
kernel 2.6.9-34.EL. I have two gigabit network interfaces bridged
together and I have created the following:
tc qdisc add dev eth2 root handle 1: htb default 1 r2q 8000
tc class add dev eth2 parent 1: classid 1:1 htb rate 100Mbit burst 24k
cburst 24k
(I have been trying different parameters).
The network is
2010 Dec 13
2
Deploying libvirt with live migration
I have two physical servers: Virt1 and Virt2. I'm setting up live
migration with CentOS 5.5 between the two. I've done this by NFS
mounting /etc/libvirt and /var/lib/libvirt/images on both servers. This
is working well for me except for one thing.
I see the same list of VMs on each server (as expected), but each server
(Virt1 and Virt2) are able to start the same VM at the same time.
2007 Sep 19
1
major packet loss with htb
Hi,
got a 25/25Mbit connection which is quite stuffed. So I applied htb rules.
Uplink:
class htb 1:1 root rate 24500Kbit ceil 24500Kbit burst 4661b/8 mpu 0b
overhead 0b cburst 4661b/8 mpu 0b overhead 0b level 7
Sent 430600689269 bytes 730147320 pkt (dropped 0, overlimits 0 requeues 0)
rate 23057Kbit 5520pps backlog 0b 0p requeues 0
lended: 199673949 borrowed: 0 giants: 0
tokens: -964
2004 Jan 28
1
Problems with multipath routing.
Hi all, I have setup two multipath route tables on my system for doing
failover routing, What I want it''s that if GW at route1 of the MP is dead,
traffic goes by route2, for doing that I have created the multipath routes as
follows:
ip route add table mail.traffic proto static nexthop via ${GW1} dev eth1
weight 1 nexthop via ${GW2} dev eth1 weight 250
But it does not run as I
2004 Nov 18
5
burst question
This is one of my test classes:
class htb 1:10 parent 1:1 prio 0 quantum 2048 rate 160Kbit ceil 400Kbit
burst 1803b/8 mpu 0b cburst 2111b/8 mpu 0b level 0
Q1: where does "level 0" stand for?
Q2: where does this b/8 stand for?
Q3: this is on a i386 platform, so timer resolution should be 10mS.
According to the doc the minimal burst should be 10mS*160Kbit=1600. Why
is it 1803?
Q4: I
2007 Feb 25
4
Trafic control - simple config, need help
I am completely new to this.. I am trying to make simple traffic control..
I have read quite some manuals and posts that i found, but i don''t understand
much, i think..
My situation is: i have linux server which i am using for firewall for local
network.. also on same linux server i have torrentflux for downloading torrents..
What i want to do is to give priority to local clients(2-3
2006 Mar 08
1
negative token/ctokens
In this simple htb setup:
# tc -s -d class ls dev eth0
class htb 1:1 root rate 300000bit ceil 300000bit burst 1749b/8 mpu 0b overhead
0b cburst 1749b/8 mpu 0b overhead 0b level 7
Sent 13171835 bytes 13169 pkt (dropped 0, overlimits 0 requeues 0)
rate 45848bit 10pps backlog 0b 0p requeues 0
lended: 5272 borrowed: 0 giants: 0
tokens: -84429 ctokens: -84429
class htb 1:2 parent 1:1 prio 0
2007 Jun 18
1
Fwd: police burst is mandatory?
Hi.
I''m using the following filter from lartc "ultimate PPP" example:
tc filter add dev $DEV parent ffff: protocol ip prio 50 u32 match ip src \
0.0.0.0/0 police rate ${DOWNLINK}kbit burst 10k drop flowid :1
It works fine, but when I remove the "burst 10k", I receive the following
error:
"burst" requires "rate".
Illegal "police"
2007 Aug 01
4
tc shown rate larger than ceil (was "Weird rate in HTB")
An earlier exchange about someone seeing the rate larger than the
ceiling is posted below. Andy explained the reason for the "above
ceiling" rate in Daniel''s output . . . but I just saw an example that
doesn''t fit.
>> tc output >>
class htb 1:14 parent 1:1 leaf 14: prio 1 quantum 3072 rate 256000bit
ceil 282000bit burst 1820b/8 mpu 0b overhead 0b
2004 Jun 28
0
Multiple police rates
Hi all,
I''d like to have multiple polices in an interface with different src
address, like that:
tc qdisc add dev eth4 handle ffff: ingress
tc filter add dev eth4 parent ffff: protocol ip prio 5 u32 match ip src \
192.168.18.0/24 police rate 128kbit burst 10k drop flowid :1
tc filter add dev eth4 parent ffff: protocol ip prio 5 u32 match ip src \
192.168.36.0/24 police rate
2002 Dec 09
3
HTB problems
Hello,
I have HTB on IMQ device. My rate does not work as I configured. I
configured 1920kbit/s and I can download only about 290kbit/s (while it
should be the whole bandwidth).
My script:
/sbin/modprobe imq numdevs=1
/usr/local/sbin/tc qdisc del dev imq0 root 2> /dev/null > /dev/null
/usr/local/sbin/tc qdisc del dev imq0 ingress 2> /dev/null > /dev/null
/sbin/ifconfig imq0 down