Displaying 20 results from an estimated 30000 matches similar to: "tc bandwidth utilization"
2004 Dec 03
3
HTB High CPU Utilization
Hi, i''m running a Bridge/iptables firewall, with no tc filters
configured CPU utilization barely reaches 1%, i had to rate limit one
particular server outgoing traffic and setup a HTB scheme like this
iptables -F PREROUTING -t mangle
iptables -A PREROUTING -t mangle -p tcp -s 99.99.99.99 -j MARK --set-mark 2
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 10: htb default
2003 Jun 15
3
how to emulate large IP routing table
Hi all
I am conducting the experiments comparing IP router forwarding delay and
MPLS LSR forwarding delay, it is obvious in theory MPLS in Core should be
faster than IP, but for small netork (only have several core routers),
result show it is not, this is why I want emulate a large IP routing table
in one core router.
can I do it and how ? right now I use static routing table (by using command
:
2003 Oct 16
5
tc filter problem with 2.4.22
Hi,
I have a problem with ''tc filter'' on a 2.4.22 kernel from Slackware 9.1
distribution.
The tc command binary is from htb3.6-020525.tgz
(http://luxik.cdi.cz/~devik/qos/htb)
I''m trying the following command sequence:
tc qdisc add dev eth0 root handle 1: htb default 1 r2q 1
tc class add dev eth0 parent 1: classid 1:1 htb rate 1200kbit ceil
1200kbit
tc class add dev
2004 Nov 18
6
Bandwidth throttling/limiting for all traffic
Hi,
I have a rather simple problem I have to solve, well I thought it would
be simple, I''ve run into a problem. I think I must be missing something
fundamental.
I am trying to build a Linux router that simply throttles everything
down to certain bandwidths. That is, no priority queuing ...etc, just
slow all traffic down to the specified rates, which are 64,128,256,512
kbit. We want
2003 Jan 10
4
Question on TC filter
Hi,
I want work out a GUI interface for htb and now here
comes to the part about adding and removing classes
and filters.
Here is an example script.
TC="tc"
DEV="dev eth1"
echo "Add root qdisc, default traffic go to 1:30"
$TC qdisc add $DEV root handle 1: htb default 30
echo "Divide the traffic into different classes and
levels"
# -------- level 1
2003 Jun 03
1
tc usage
Dear List,
I am a tc newbie, and I''ve been working through the LARTC HOWTO to try
to understand how qdiscs, classes, and filters fit together.
I was confused by the example in section 9.5.5.1 (see excerpt below). I
thought that classes were could only be attached to qdiscs (classful
ones). In the example, however, classes are being attached to other
classes. Can anybody explain to me
2002 May 08
5
how to clean "tc" configure
tc qdisc add dev eth0 root sfq perturb 10
I want to set perturb to 8
then i used this
tc qdisc add dev eth0 root sfq perturb 8
system give me the following message
RTNETLINK file exists
I delete the rule by this :"tc qdisc del dev eth0 root
sfq perturb 10"
please tell me how can i delete the rule by another
way
and where is "RTNETLINK file"
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
2007 Jan 17
1
restricting bandwidth using TC
Hello,
I am trying to get the TC command to work on our debian box to limit
traffic in and out to 12 Meg. The command I am using is:
tc qdisc add dev eth0 root tbf rate 12000kbit latency 25ms burst 1600
tc qdisc add dev eth1 root tbf rate 12000kbit latency 25ms burst 1600
The problem I am having is that the bandwidth exceeds the 12 Meg by
almost 5 Meg.
Any help is appreciated.
2006 Feb 23
1
1k: 1000 or 1024?
The docs[1][2] suggest it''s 1024, but tc says something else:
# tc qdisc add dev eth0 root tbf rate 1kbps latency 50ms burst 1500
# tc -s qdisc ls dev eth0
qdisc tbf 8009: rate 8000bit burst 1499b lat 48.8ms
^^^^^^^
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
If 1k were 1024, then I would have 8192bit above.
2007 Jun 19
4
Why does this script noet work (bandwidth, tc en u32)
Hi,
Can anyone point me out where the script below is wrong?
All I want is that host 172.31.1.1 can only use 10 megabit. If I run
this script on the in-between router nothing happens (the host uses
still the full 100 mbit, tested with iperf) , so i assume that something
must be wrong....
#!/bin/sh
# LAN1 NIC
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb
tc class add dev
2003 Apr 03
6
tc problem
Hello..
I have a linux box and I want to make priority on traffic generated by my
LAN''s computers..
I don''t have a guaranted bandwidth, so I wanna use sfq...
I want to make traffic to port 80 , 443 , 25 & 110 PRIORITY 1
Traffic src or dest 192.168.0.2 to make priority 2
And the rest to put it in proiority 3..
I did the following :
tc qdisc add dev eth0 root handle 1:
2004 Oct 25
1
tc philosophy, will this work?
Correct me if I''m wrong, I just want to help my friend who needs a tc solution
with fairness to hosts on a 512K/s DSL line, but few of them should be
restricted to 64K/s
I thought about htb + esfq (sfq with ip based fairness, not connection)
parent class with CEIL=500Kbit (no RULE? see *1) and attached esfq to this
parent class, now
child class with CEIL=64Kbit and RULE=10.0.0.1
2005 Mar 29
1
tc + bandwidth measurement
I want to implement a snmp-agent to measure the
bandwidth traffic per flow
in a linux router.
Is there any way to use tc in bash scripts in order to
measure the
bandwidth?
In my first thought, the agent would fire repeatedly
tc commands that would
return the rate /flow. Is that speculation correct?
Do you propose an alternative way to measure the
bandwith through an agent.
I found somewhere
2002 Dec 01
2
a question about tc filter
hi, all
i run the following scripts :
tc qdisc add dev eth0 handle ffff: ingress
tc filter add dev eth0 parent ffff: protocol ip \
pref 4 u32 match ip dst 10.0.0.1 flowid :1
my question is :
can i know how many packets are matched by
this filter?
if i can , what should i do to get this
counter value, then.
thanks :)
_________________________________________________________________
MSN
2003 Jan 15
1
Probelm with TC commands
Hello ,
I have installed Tc and have problems running basic tc commands for PRIO qdisc .
I tried
tc qdisc add dev eth0 handle 1 root prio
Result : Invalid argument
tc qdisc add dev eth0 root handle 1: prio
Result : Invalid argument
What could be the problem.?
Regards
Andre
---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits
2003 Feb 04
3
tc htb stats
I have an htb qdisc setup and it is shaping my traffic wonderfully but
I''ve just recently started taking a look at the output from the command
tc -s class ls dev eth?
Looking at the "rate" line I thought to myself..."cool I can use this to
graph throughput avg.es without having to worry about the "Sent bytes"
rolling over or being lost when the htb qdisc is
2002 Nov 22
2
TC HTB Traffic Shaping
Hi guys,
I''m new to TC HTB traffic shaping....
I installed it at my first try on my Bearing Leaf Router/Firewall
I use the tc -s class show dev eth? To see my output
All looks dandy and nice, but it''s figures, of which at current momment
looks like French to me,
I would like to see exactly what these figures looks like in a GRAPH
style...
I know I can use MRTG, I do have
2003 Jun 16
7
htb & bandwidth sharing
Hi everybody!
I''ve been trying with htb and tc filter. It seemed to work fine, but
after testing with ethloop I''ve realized that traffic is not being
distributed through the leaves as I thought. When sending packets to
1:10 and 1:11 at the same time, there''s no bandwidth sharing. There''s no
traffic through 1:11 until traffic through 1:10 has finished. Though
2004 Apr 07
1
tc command failed on 2.4.21 kernel
Hi,
Will TC work on 2.4.21 kernel without any patches? If it does, why tc command failed?
For example,
# tc qdisc show dev eth0
RTNETLINK answers: Invalid argument
Dump terminated
Thank you for your help!
Reed
---------------------------------
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway - Enter today