similar to: How dynamic is tc or my own tc-script?

Displaying 20 results from an estimated 7000 matches similar to: "How dynamic is tc or my own tc-script?"

2007 Feb 28
1
Xen and tc problems
Hi, I am trying to shape traffic to two VMs hosted in Xen. There seems to be very little information regarding this. I found this web page http://www.ioncannon.net/system-administration/57/limiting-bandwidth-usa ge-on-xen-linux-setup/ and followed the instructions. But, the real bandwidth experienced from clients always seems to exceed the set rate. Part of the problem may be because of the way
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.
2005 Nov 06
1
tc qdisc replace failing
Hi, Having issues getting a replace command working correctly. The error reported is "RTNETLINK answers: Invalid argument" which isn''t descriptive or helpful. The command i''m running is: tc qdisc replace dev ppp0 parent 8001:D handle D: tbf rate 5Kbit burst 5kb latency 70ms The idea being to replace an sfq with handle D and hopefully limit a certain user in my
2005 Jul 22
2
tc filter matching anything
Hey, I have a problem adding a filter matching anything, here is my setup: ############### tc qdisc add dev eth0 handle 1: root prio tc qdisc add dev eth0 parent 1:1 handle 10: pfifo tc qdisc add dev eth0 parent 1:2 handle 20: tbf latency 50ms rate \ 128kbit burst 256kbit tc filter add dev eth0 protocol ip parent 1:0 prio 1 handle 666 fw \ flowid 1:2 tc filter add dev eth0 protocol ip parent
2005 Jun 10
3
Lamer needs help for basic tc setup
Hi fellows, i''m just a newbie to use the cool tc and played around the last 2 weeks. I''m quite confident - in theory - what''s possible and the basic difference between the queuing disciplines. We''re using a Fedora Core 3 box as Gateway (iptables,tc,iproute2 with NAT). Clients are coming in via eth1 and outgouing traffic (2Mbit/s SDSL) through eth0. So we
2007 Aug 11
1
tc and multiple ip on a device
Hi, i''m sort of testing a configuration and things are not working sa i planned. i have the following network diagram: PC1 to 7 cnneced on the same ethernet hub. PC1 PC2 PC 3 PC4 PC5 PC6 on network 192.168.5.0 PC6 and PC7 on network 192.168.1.0 so PC6 work as a router. in addition, PC6 is connected to both network on the same device eth0. now on PC6, put a tbf on dev eth0 root
2003 Nov 10
0
tc, tbf and accuracy
Hi all, I''ve tried to look for this info in previous messages but had no luck. I''ve a 2.4.20 kernel on an Intel arch., all TC is configured and it seems to work. Anyway, I''ve had some troubles in configuring TBF via tc: 1. when I configure burst or minburst to be, say, 1500b, when I peek the configuration with "tc -s qdisc" the answer is that
2004 May 22
6
MARK causes high CPU usage / using tc in conjunction with MASQ
Using below configuration multiplied by 3000+ nodes to control bandwidth causes very high kernel cpu usage (99.5%) narrowed it down to the mangle table. Any ideas to do this more efficiently would be appreciated. The mangle table entry (indicated by ***) is sucking all the cpu. I am running RH7.3 kernel 2.4.18-3 and iptables 1.2.5 This setup has worked well for more than 1000 devices but as the
2005 Jul 04
0
Problem with routing decisions, and multihop
Hi! I have many problems getting this thing to work. There''s a host with two network interfaces, where there are two routers to Internet in two separated networks. The host uses multihop routing for deciding to which router send the packets... but the routing decision is wrong made. Some packets with source address of one NIC, go to other network. I have a host with three NICs in it:
2003 Dec 08
1
tc troubles with pfifo_fast qdisc on 2.4.23 kernel
Hi! I was updated kernel from 2.4.22 to 2.4.23 and now tc tools can''t correctly determine default (pfifo_fast) qdisc on interface: # tc/tc qdisc ls dev ppp0 qdisc pfifo_fast 0: [Unknown qdisc, optlen=20] but, if I assign f.e. cbq qdisc for some device all show correctly: # tc/tc qdisc ls dev ppp1 qdisc tbf 8009: rate 32Kbit burst 10Kb lat 1.5s qdisc cbq 66: rate 10Mbit
2005 Jul 06
0
About routing, nat, the FORWARD chain, and a bit of Julian''s patches
Hi! I''m still trying to solve the problem, about which I already posted in these lists... I''ve been trying to understand where packet routing and NAT is being done. The schemes are quite clear, when it''s about the _first_ packet of a NAT connection (when it enters the NAT table). But it isn''t that clear about the packets NAT''ed by the connection
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
2004 Dec 28
1
Newb question: tc shedulers on 2 interfaces
Hi all! I''m new to this list, and hope for some clarity in this matter: I have a home-gateway with linux-2.6.9 and iproute2 (ver:2.6.9). My following tc syntaxes. # eth0 internet scheduleing are: tc qdisc add dev eth0 root handle 1: htb default 20 tc class add dev eth0 parent 1: classid 1:1 htb rate 512kbit burst 6k tc class add dev eth0 parent 1:1 classid 1:10 htb rate 512kbit burst
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
2007 Jan 31
1
tc act ipt errors
Hi all, I''m having a hell of a time getting tc and IFBs to co-operate. I''ve copied the following from http://linux-net.osdl.org/index.php/IFB: -- export TC="/sbin/tc" $TC qdisc add dev ifb0 root handle 1: prio $TC qdisc add dev ifb0 parent 1:1 handle 10: sfq $TC qdisc add dev ifb0 parent 1:2 handle 20: tbf rate 20kbit buffer 1600 limit 3000 $TC qdisc add dev ifb0
2004 Jun 08
1
Oops on tc-graph.pl of all things
It only makes a few calls to `tc`: rebecca:~# grep TC /home/jasonb/src/tc-graph.pl $BIN_TC="/sbin/tc"; my @qdisc=`$BIN_TC -d qdisc show dev $DEV`; my @class=`$BIN_TC -d class show dev $DEV`; @filter=`$BIN_TC -d filter show dev $DEV parent $parent`; But something ultimately Oopses: rebecca:~# uname -a Linux rebecca 2.6.6 #1 Thu May 20 17:21:44 EDT 2004 i686 GNU/Linux
2004 Sep 20
0
Shaper & prio qdisc
Hello. Sorry for my poor english =) I have following config for traffic prioritization: tc qdisc add dev eth0 root handle 1: prio tc qdisc add dev eth0 parent 1:1 handle 10: tbf rate 7000kbit buffer 1600 latency 2msec tc qdisc add dev eth0 parent 1:2 handle 20: sfq tc qdisc add dev eth0 parent 1:3 handle 30: tbf rate 3000kbit buffer 1600 latency 50msec tc qdisc add dev eth1 root
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 Feb 09
1
Multihop route - TCP connection losses?
Hi! In our students'' hostel we have 6 DSL lines (dialups to different providers); we have set up a linux box (currently running 2.6.11-rc2-mm2, but the problem described hereafter also applies to previous 2.6-series kernels) with help from http://lartc.org/howto/lartc.rpdb.multiple-links.html#AEN298 Our Setup looks like this: 10.0.0.0/8 10.70.255.1 +----------+ +-----------+ |
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