Questions tagged [qos]

QoS (Quality of Service) is the idea that transmission rates, error rates, and other characteristics can be measured, improved, and, to some extent, guaranteed in advance.

46 questions
109
votes
6 answers

How to limit network bandwidth?

We are hosting an application on remote server. We need to test it with a limited network bandwidth (for users with bad Internet access). Can I limit my internet bandwidth? For instance: 128 KB per second. This question focuses on system-wide or…
Kiril Kirilov
  • 1,227
  • 3
  • 11
  • 9
16
votes
2 answers

Bucket size in tbf

I've read many times about Linux's token bucket filter (tbf) and still I don't fully understand how I should calculate the burst and latency parameters, shame on me :( I suppose that a reasonable latency is around 50 ms. OK, but what value should…
sebelk
  • 4,209
  • 10
  • 35
  • 54
10
votes
3 answers

Setting traffic class on return packets

I have a network topology: Server <-> router1 <-> router2 <-> router3 <-> edgeRouter <-> "internet" All routers are linux based, and support iptables. The server sets traffic classes with iptables (--set class X:Y), and routers do some "routing"…
Juzer
  • 101
  • 1
  • 3
7
votes
1 answer

Shaping outgoing traffic with iptables

On my laptop, when I run any downloads, torrents, etc, browsing is crippled. I read somewhere that you could configure your iptables powered router to prioritize certain network traffic. Could I do the same on my pc for all network traffic? I would…
Stefan
  • 24,830
  • 40
  • 98
  • 126
7
votes
1 answer

Transfer large files without hogging the bandwidth (is there a BITS equivalent for Linux?)

Is an implementation of Microsoft's Background Intelligent Transfer Service (BITS) available for Linux systems? I'm looking at my options for transferring large files to a remote Linux server over the internet and I don't want it eat all of my…
tomp83
  • 73
  • 6
7
votes
1 answer

How to change speed limit of running trickle instance

I started a program throttled using trickle as trickle -d 10 -u 5 program. Now I want to change change the throttling speed to -d 50 -u 40. How can I change it without closing the program ? tricklectl sounds well but I can't use it. In the manual…
totti
  • 1,464
  • 14
  • 15
6
votes
1 answer

Can't get tc to limit network traffic

Based on this section of the Linux Advanced Routing & Traffic Control HOWTO, I can't get tc to limit the network speed in my computer. The router is a Motorola SurfBoard modem with a few routing capabilities and firewall. The machine I want to limit…
admirabilis
  • 4,642
  • 9
  • 41
  • 57
5
votes
4 answers

how to get network QoS statistics in linux kernel?

Is there a way to get the bandwidth, delay, jitter collision, error rate and loss rate of a certain link through the interface on a local machine? let's say my machine is connected to a network via two interfaces, one wireless and the other…
Varda Elentári
  • 173
  • 1
  • 3
  • 9
5
votes
2 answers

Which set of commands will limit the outgoing data rate to X kbps for traffic to or from port Y?

I have a Raspberry Pi, and I'd like to have bitcoind running on it. This consumes a lot of my outgoing bandwidth at times, so I'd like to make sure it never uses more than 20 KB/s for Bitcoin data. The Bitcoin protocol uses port 8333 for…
runeks
  • 364
  • 3
  • 12
5
votes
1 answer

How to configure QoS per IP basis?

We have say 4 users in a private network connected to the Internet trough a Linux router with a public IP address that is doing network address translation (NAT). I have to configure QoS to give access to the users to Internet but with throttled…
Neel
  • 499
  • 1
  • 5
  • 15
5
votes
2 answers

How to limit P2P/torrent traffic on an OpenWrt 10.03 router?

We have a WRT160NL router with OpenWRT 10.03, and a 60-70 Mbit connection (from ISP, don't ask why). This router can do 30-35 Mbit on ethernet(i mean cable)..ok! There are ~7 PC's using this Wireless router, 6 through wifi (wep, because of the…
LanceBaynes
  • 39,295
  • 97
  • 250
  • 349
4
votes
2 answers

tc show output explanation

I've found useful run watch along tc, for example: [root@router ~]# watch -dc tc -p -s -d qdisc show dev eth0 Every 2,0s: tc -p -s -d qdisc show dev eth0 Sat Oct 19 21:22:26 2013 qdisc prio 1:…
sebelk
  • 4,209
  • 10
  • 35
  • 54
4
votes
1 answer

Get list of qdiscs and filters that are supported by tc tool

Depending on how it was compiled and on its version number, tc tool does not always handle the same list of queueing disciplines, filters, policing actions and so on. I am looking for a way to get a list of those different elements. I tried tc -V of…
Qeole
  • 684
  • 8
  • 12
4
votes
1 answer

Default mark for packets using iptables

I am trying to set up a QOS script on my Tomato-enabled WRT54G router. The script does the basics of what I need (make sure that a particular machine on my network has lower priority than anything else), but I am not satisfied with the fact that I…
Xavier Nodet
  • 233
  • 2
  • 7
4
votes
1 answer

Is it possible to throttle upload bandwidth per `IP` basis using `tc`, `htb` and `iptables` ? (Download limitation not required)

Problem I've searched internet like anything but couldn't find much about limiting upload. The solutions given are not limiting IP basis like this one but LAN as a whole. +-----+ +--------+ | S | | User A |---+ W | +--------+ | …
Adi
  • 93
  • 2
  • 9
1
2 3 4