Displaying 20 results from an estimated 100000 matches similar to: "about TC rate estimator"
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
2003 Mar 25
1
tc filter isn''t work !
-> Hi!
->
-> I''ve a Linux Box that I want to apply a filter
-> in order to limit FTP salient traffic from my
-> linux box to internet.
->
-> I''ve a:
-> Red Hat 7.2
-> Kernel 2.4.20 (with HTB built in!)
-> iptables 1.2.7a
->
-> Also, I get "tc" binnary package from HTB home page.
->
-> I have a script in
2005 Mar 12
0
What are the proper values for rate/ceil in tc ?
Hello!
I am using shapping whith htb. My question is what are the propper values I can use in rate/ceil. I use htb.init for quick building of my classes/rules and have 2 groups of clients with 2 different bandwidth assignemet :
A. 16--->48kbps
B. 16---->128Kbps
It seems to work everything OK, but can I use lower values for rate like 8Kbps ? What about using 32-->96Kbps? I let htb to
2004 Nov 22
0
Testing if tc works as configured and shaping rtp traffic
Hi,
I have implemented qos at my gateway, mostly for speeding up dns and
[video,voice] chat traffic and to slow down p2p traffic. It seems every
thing is working properly, as by browsing speed has been improved. But I
want to test it by sending various traffic and to see through which
qdisc the traffic flows, so that i can be certain that it is working
the way I want it to work.
The rules
2007 Feb 01
0
tc filter Questions
I''m attempting to set up a hierarchy of tc qdiscs with filters, but the
filters don''t seem to be working correctly. I''m running iptables 1.3.5
with iproute 2.6.16.20060323 on a Gentoo 2.6.18 kernel. The system
takes all my tc setup, but does not filter packets as I am expecting it
to based on my ruleset.
My tc qdiscs and classes are added correctly and report as
2004 Nov 30
1
"tc class htb"''s and "tc filter police"''s rate
Hi,
What is the difference between the rate values you specify
in "tc class ... htb ... rate ..." and in "tc filter ...
police ... rate ..."?
Thanks in advance.
Best regards.
--
Value your freedom, or you will lose it, teaches history.
``Don''t bother us with politics,'''' respond those who don''t
want to learn.
-- Richard M. Stallman
2002 Nov 18
0
help! tc filter dose not work..
-------------- eth0------eth1 eth0------------
|211.241.219.xx | --- | ROUTER | --- |192.168.1.4 |
--------------- --------- ------------
when i send traffic from ROUTER to 211.241.219.xx or
192.168.1.4(masquraded),
the filter works fine...
In ROUTER, tc filter policy is like this:
tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dport 80 0xffff
2003 Jul 14
2
Difference between tc reported rate and IPTraf Rate
I am using HTB+IMQ on an Ethernet bridge and tc for statistics reporting.
I am finding that tc reported rate is about 5-10% less than that reported by IPTraf for the same traffic.
Has anyone observed this before? Which is more accurate?
Rajesh
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
2005 Nov 25
1
Difference between snmp traffic rate, and rate from tc
Hello,
I use rrdtool to graph the traffic in the different classes on an
interface, eth1. Basically, I use the output from
tc -s qdisc ls dev eth1
my tc script (which is only for testing the graphing) looks like this:
/sbin/tc qdisc add dev eth1 root handle 1: htb default 20 r2q 1
/sbin/tc class add dev eth1 parent 1: classid 1:1 htb rate 200kbit burst 15k
/sbin/tc class add dev eth1 parent
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 Feb 12
0
tc statistics
Hi Gang,
I''m still experiencing some bandwidth starvation with my script (below), so I
decided to look at the statistics by using:
tc -s qdisc show dev eth0 (where eth0 is the interface I''m trying to
rate-limit outbound packets)
I get, for example:
qdisc sfq 21: quantum 1514b perturb 10sec
Sent 133527926 bytes 413260 pkts (dropped 0, overlimits 0)
qdisc sfq 20: quantum
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
2004 Nov 16
2
tc rules for Internet Radio
I am currently using the ultimate-tc script from
http://lartc.org/howto/lartc.cookbook.ultimate-tc.html
and I want to make sure that internet radio packets (mp3 streaming audio)
will always get through no matter what. I have added some iptables commands
like this:
iptables -A OUTPUT -t mangle -p tcp --dport 8000 -j TOS --set-tos
Minimize-Delay
iptables -A OUTPUT -t mangle -p tcp --sport 8000 -j
2004 Jan 13
2
Bridge + leased line + tc
Hi,
I can''t get traffic shaping working.
This is my situation:
-------- ------
Net1 ----- |router| -------------------- | TC | ----------- Net2
-------- leased line ------
eth1 eth0
We use the leased line for normal traffic but also for synchronisation
between 2 servers. The leased line is 2mbit. The synchronisation
2006 May 09
3
tc del class not working
When I start my script:
* - Creating classes on br1 for upload control ...
* - tc class add dev br1 parent 2:0 classid 2:46 hfsc ls m1
576.0Kbit d 2000ms m2 192.0Kbit ul m2 384Kbit ...
[ ok ]
* - tc class add dev br1 parent 2:46 classid 2:47 hfsc sc umax
1500b dmax 30ms rate 80Kbit . [ ok ]
* - tc class add dev br1 parent 2:46 classid 2:48 hfsc ls m2
152.0Kbit ul m2 152.0Kbit
2005 Jul 20
5
Transfer rate above the desired (tc+htb)
Hi folks.
I started to play with tc+htb last week, and I must confess that this
thing is really driving me nuts.
All we want to do is control bw, with no borrowing.
In order to get the feeling on this subject, I have setup the
following test bed.
---A---B---C---
On B: eth0 connecting A and eth1 connecting C.
The script.
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb
2007 Apr 09
3
tc (CBQ) and UDP packets
2002 Nov 06
1
help, strange question about tcp and udp traffic control?
Hi ;
+--------+ +-----------+ +--------+
| server |---------- | linux box |---------------------| Client |
+--------+ +-----------+ +--------+
MY script:
tc-htb3 qdisc del dev eth1 root
ipchains -F
tc-htb3 qdisc add dev eth1 root handle 10: htb default 20 r2q 40
tc-htb3 class add dev eth1 parent 10: classid 10:1 htb
2005 May 13
0
New shaping program - ist-shaper
Hi al..
I just write program that helps to configure tc with HTB and iptables CLASS
extension.
Its written in perl and uses Apache like config files.
Program can be found on http://sourceforge.net/projects/ist-shaper/ or
http://www.ingwar.eu.org/ist-shaper/
In few days will be new version with time aware rules.
The simply config file looks like this.