similar to: simple tbf rate clamping issues

Displaying 20 results from an estimated 3000 matches similar to: "simple tbf rate clamping issues"

2002 Dec 19
1
linux bridging and htb.init / cbq.init
Hello, I''am successful using a linux (2.4.20) bridge and the cbq.init_v0.7 script for traffic shaping. But I can only use the queuing discipline tbf (LEAF=tbf). If I try use queuing discipline sfq or none then tc applies the rules but no shaping occurs. Is this problem a normal behavior when using bridging ? I tried to use htb.init (using patched tc binary). It accepts the rules but
2005 Apr 08
2
About sockets in "CLOSING" state
Hi, I have met the problem: when I use the shaping discipline tc qdisc add dev ppp0 parent 1:2 tbf latency 50ms burst 1450 rate 50kbit one of my application (namely, "aMule") starts leaving sockets in "CLOSING" state. These sockets accumulate and do not disappear. Eventually I have so many of these dead sockets that the kernel warns "Out of socket memory" in
2005 Oct 11
3
Inaccurate results without natting the traffic.
Hi folks. For quite a while, I tried to use linux (cbq and htb) to control bandwidth in order to replace a cisco equipment used to play this role on our network. After trying here and there, with a bunch of different distros, different versions, different compilations, ... the closest I could get was as follows: (using htb.init and cbq.init) Desired BW ==> Achieved BW 128k ==> 404.78
2002 May 21
5
ingress and egress
ingress can be used to control the incoming packet, such as: tc qdisc add dev eth0 handle ffff: ingress tc filter add dev eth0 parent ffff: protocol ip prio 5 u32 match ip src 172.16.1.11 police rate 10kbit burst 10k drop flowid :1 tc filter add dev eth0 parent ffff: protocol ip prio 5 u32 match ip src 172.16.1.22 police rate 10kbit burst 10k drop flowid :2 first ,I do not sure these method can
2002 Feb 03
1
simple traffic shaping problem
Hi All, I read the advanced networking howto and find a useful way to shape my adsl link. is says: "tc qdisc add dev ppp0 root tbf rate 220kbit latency 50ms burst 1500 [...] Change 220kbit to your uplinks *actual* speed, minus a few percent. If you have a really fast modem, raise ''burst'' a bit. " My adsl''s upload brandwidth is about 120 kbits/sec,
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
2007 Jul 30
17
tc n00b
Hi everyone, I''m new to tc but I need to use it to set up shaping on a new NAT box. In short: Each user must have their upload limited to 128kbit and downlink limited to 256kbit. Global bandwidth to be limited to 100Mbit Interactive packets to have higher priority 200+ users, so need to match packets fast So far I have managed to get the download limits working. However I need to
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:
2007 May 08
5
limit bandwidth per host question
EHLO tc gurus. New to traffic control. Unfortunately, the politicians here in Denmark have decided that a PC is the same as a television set - so anyone owning a PC and internet connection of over 255 kbit/s must pay DKR 2200/year = EUR 300 = USD 400 in television licence fees :-( This is a lot of money for poor students, so we want to offer the students the *option* of limiting their
2002 Dec 10
2
tbf : rate and effective speed (newbie)
Probably this is an old question, but i''m not able to find nothing about... So, i''ve just started to play with tc to limit the transfer speed to my hdsl connection. I''m using the tbf and the command # tc qdisc add dev eth0 root tbf rate 10kbit latency 50ms burst 1000 Then i''ve tried to transfer a big (20 Mbyte) file onto my lan, using ftp and the client
2013 Feb 04
2
Traffic shaping problem
Hi all, I tried last week to do traffic shaping on a production system, object of the exercise was simply to throttle the outgoing traffic. tc qdisc add dev eth4 root tbf rate 300mbit burst 300kb latency 50ms But the server became rather instable, crashing repeatedly without anything in the logs. Can anybody spot glaring mistakes in the tc command above, or tell me what I should have done
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
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.
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 Jan 22
2
network emulation
hi, I am really a newbie in linux traffic control.But i have task to implement a tool similar to the nistnet tool used for netwok emulation tests but which emulates a wireless environment. I was exploring the use of the traffic control subsystem for this task.In this regard i have a few questions i need to post in order to clarify my thoughts on how to do this.I am using tcng to classify
2001 Nov 18
7
Shaping incoming traffic?
I would like to differentiate incoming traffic streams to guarantee minimum bandwidth to some services. However, as per the Adv-Routing-HOWTO it appears that only outgoing traffic can be shaped. Is this correct or is there a way of shaping incoming traffic? The problem could possibly be overcome if there is a way of routing traffic through a virtual host. Any tips on how to go about that? --
2004 Oct 13
2
Resetting traffic history
I''m a tc newbie, and I think I am close to being able to use it to control one of the virtual web sites on our Gentoo Linux server. The site has it''s own IP address. I have a bit of a problem in that the way I originally configured tc, the busy site grabbed all the bandwidth, leaving none for the other (and more important) sites. Here is how I had configured it: tc
2003 Feb 05
1
cbq.init for one port on a subnet
Sub:[LARTC] cbq init for one port on a subnet Hello, We use cbq.init to limit bandwidth. It works great on a per-user basis. Now I''d like to limit traffic from a netblock to the Internet on port 6699. Network is 192.168.0.160 mask 255.255.255.224 eth0 is the gateway eth1 connects the netblock in question Is this the proper syntax; DEVICE=eth0,10Mbit,1Mbit RATE=100Kbit
2002 Dec 17
5
WonderShaper on LAN link kills to-host speed
I tried installing the WonderShaper on my internal link, mostly to get the SFQ installed. I set uplink and downlink to 100000 to match the link speed and changed the bandwidth on the cbq line to 100mbit. This killed transfer speed *to* the box, knocking it from 30-40 Mbps down to about 800 kbps. Commenting out just the ingress control restored the speed. What about the ingress policer would do
2003 Sep 16
1
rate limited pfifo_fast?
Hi, I have a cable modem with a bandwidth capped upload rate. I''d like to prioritize packets going outbound according to the TOS header of the IP field. I''ve read through the LARTC Howto several times, and I think I have a good feel for the information it it. It also seems that what I''m trying to do is pretty straight-forward and common. Unfortunately, the HOWTO