Questions tagged [traffic-shaping]

Traffic shaping is a technique to delay some or all datagrams to comply with desired traffic profile.

Traffic shaping is a network traffic management technique which delay some or all datagrams to bring them into compliance with a desired traffic profile. Traffic shaping is used to optimize or guarantee performance, improve latency, and/or increase usable bandwidth for some kinds of packets by delaying other kinds.

232 questions
2
votes
2 answers

Giving a priority of network traffic for one application over the other; in practice (windows)

Two applications perform network i/o concurrently. For instance, Firefox and Download Accelerator. The idea is to let serve the queue of packets of Firefox prior to serving those of Download Accelerator. (Well, almost all the time — allow a portion…
2
votes
1 answer

Traffic shaping with tc doesn't work for high delay and bandwidth

I'm using tc with kernel 2.6.38.8 for traffic shaping. Limit bandwidth works, adding delay works, but when shaping both bandwidth with delay, the achieved bandwidth is always much lower than the limit if the limit is >1.5 Mbps or so. Example: tc…
user308917
  • 21
  • 2
2
votes
1 answer

Is there an equivalent of LinuxIMQs in BSD?

Is there an equivalent of LinuxIMQs in BSD ? From linuximq.net: The imq device has two common usage cases: Ingress shaping: With linux only egress shaping is possible (except for the ingress queue which can only do rate limiting). IMQ enables you…
Tin
  • 21
  • 1
2
votes
2 answers

Automatic TCP connection slowering (shaping)

I'd like to automatically shape bandwidth-hungry TCP connections corresponding to the already transmitted data. A summary would be : "The first Mbit is transferred at full bandwidth, then it gradually drops to 1% of the bandwidth when it reaches…
Steve Schnepp
  • 2,222
  • 3
  • 21
  • 27
2
votes
3 answers

How to tell if a router traffic shapes?

I have a client in a managed office, and part of that service is the provision of internet, with static IPs for all desktops provided by the building, (I know it's a recipe to have all your data stolen, and you not even know!). They insist on saying…
Mister IT Guru
  • 1,158
  • 3
  • 15
  • 35
2
votes
3 answers

What tools are available to simulate certain network conditions on Ubuntu?

In order to test our deployment I want to simulate certain network events like connection losses, timeout, limited bandwidths etc. I already googled for this but haven't found something that really suited my needs. ipfw seems to be what I need but I…
Jan Deinhard
  • 2,363
  • 5
  • 26
  • 33
2
votes
1 answer

traffic shaping for certain (local) users

i'm using ubuntu 10.10 i've a local backup user called "backup". :) i would like to give this user just a bandwidth of 1Mbit. No matter which software wants to connect to the network. this solution limits: iptables -t mangle -A OUTPUT -p tcp -m…
JMW
  • 1,451
  • 4
  • 19
  • 27
2
votes
1 answer

How can I do traffic shaping in Linux by xen guests?

I want to be able to set up two xen guests like this: xen-create-image --hostname=xen1.example.com --size=10Gb --swap=512Mb --ip=192.168.0.101 --force --memory=256Mb --arch=i386 --debootstrap and xen-create-image --hostname=xen1.example.com…
user59572
2
votes
1 answer

Squid delay pools and multiple ACLs evaluation

I am testing squid 3.0 on a ubuntu amd64 box. I am facing a problem with the delay pool classes when I set the delay_access parameters with multiple ACLs. Have been going through the squid wiki and nothing conclusive. Perhaps someone or a squid guru…
2
votes
2 answers

How can I rate limit/packet shape/traffic shape on Solaris

I have an TCP server application running on a Nexenta NCP 3 box. I would like to limit how much outgoing bandwidth it can use. Is it possible in Solaris to rate limit an application like I can in Linux? I've seen mention of IPQoS and Crossbow, but…
Myers C
  • 131
  • 5
2
votes
3 answers

Shaping outbound Traffic to Control Download Speeds with Linux

I have a situation where a server makes lots of requests from big webservers all at the same time. Currently, I have not control over the amount of requests or the rate of the requests from the application that does this. The responses from these…
Kyle Brandt
  • 82,107
  • 71
  • 302
  • 444
2
votes
1 answer

Unable to set bandwidth limit on ingress wireless interface with netem and ifb

I am trying to limit the bandwidth on the ingress of a wireless interface using an IFB virtual interface. I followed the instructions here Summary of the steps: Bringing up ifb: sudo modprobe ifb numifbs=1 ip link set dev ifb0 up redirect ingress…
1
vote
1 answer

throttle outgoing linux network traffic under high latency

I want to slow my outgoing traffic when it encounters congestion, and measure "congestion" by packet response times. The intent is to avoid one NFS client starving all the other clients when performing large writes. I've read a good deal of…
bukzor
  • 243
  • 3
  • 9
1
vote
1 answer

Traffic control upload don't limit bandwidth

I'm making some rule to limit the bandwidth per ip connection on my VPN server. My command works for download but doesn't for upload, I don't know what I'm doing wrong here…
executable
  • 197
  • 3
  • 15
1
vote
1 answer

htb multiply root rate by 8

I am changing the queue discipline to HTB, creating a parent node, and 3 children which are the classes. sudo tc qdisc add dev em1 root handle 1: htb sudo tc qdisc add dev em1 parent 1: classid 1:1 htb rate 1000kbps ceil 1000kbps sudo tc class add…