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.

learn more… | top users | synonyms

1
vote
1answer
12 views

How to discriminate between SSH and SCP for QoS in OpenWRT (and other systems)?

I regularly upload large amounts of data using SCP through my DSL upstream connection, which is limited to 1kbit/s. While I really want interactive SSH sessions to have highest priority, simply ...
0
votes
0answers
15 views

Delaying packets with libnetfilter_queue

From my Raspberry Pi configured as an access point, I set the following rules: sudo iptables -I FORWARD -p tcp --sport 25 -j NFQUEUE --queue-num 0 sudo iptables -I FORWARD -p tcp --sport 80 -j ...
3
votes
0answers
85 views

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. +-----+ ...
4
votes
1answer
47 views

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 gotta configure QoS to give access ...
1
vote
0answers
40 views

No “rwnd” option to “ip route” for managing the receive window?

Context: I'm doing some self-guided studying on TCP Window shaping. The scenario I'm trying to control for are clients which will be pulling down large amounts of data in addition to their normal ...
1
vote
0answers
15 views

Fair traffic classification using TC

I want to apply a qdisc I developed on myself (quite similar to netem. Think netem.) to several IP-addresses using the filter classifier. No problem this far, I could do so using the prio qdisc or HTB ...
2
votes
1answer
171 views

QoS with TC qdiscs: is it possible to have ALL outbound connections have x speed limit per unique IP?

I'm trying to setup QoS in my VPS so that I can have any new outbound connection to a unique IP gets limited x speed. For instance: have 5 public IP's requesting data from my VPS. When the VPS ...
0
votes
0answers
33 views

How to delete filter (classifier) in Netlink (libnl route)

According to the API, in order to delete a filter I must provide the following attributes : (others are optional) ifindex priority protocol handle The problem with filters (unlike other TC ...
3
votes
0answers
281 views

How can I properly QoS streaming services on OpenWRT

I'm going to start by explaining my naivete, I'm not sure, if netflix via a web browser uses the same protocol (http?) as netflix via a smart tv, for example. I'm using OpenWRT 14.07 currently, and am ...
6
votes
1answer
147 views

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 ...
5
votes
1answer
432 views

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. Basically, I have 13 machines in the network, and this ...
0
votes
0answers
275 views

Simple QoS configuration with PRIO Qdisc is not working

Im using Ubuntu 12.10 OS and i want to prioritize ICMP traffic over any other traffic in the egress queue of eth0 interface (as it is my default route to internet). By default this is the qdisc ...
0
votes
1answer
43 views

How can I make my command more susceptible to system slowdowns so as to use it as a visual QoS widget on my desktop?

I had some system slowdown event1 after mistakenly using a command so I thought I could use a desktop "widget" to visually show quality of service or at least show when QoS was degraded and get some ...
6
votes
1answer
2k views

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 ? ...
4
votes
2answers
1k views

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 ...
1
vote
1answer
54 views

Having several qdisc for each device, which is the first to process?

I have read about queuing disciplines here http://lartc.org/. Having this traffic shaping policy: .... qdisc pfifo_fast 0: dev ppp0 root bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1 qdisc ...
1
vote
0answers
119 views

Failing to apply tc filter

I've run the example at ifb both con Centos and on Fedora tc filter add dev eth0 parent 1: protocol ip prio 10 u32 match ip src 192.168.200.200/32 flowid 1:2 action police rate 10kbit burst 90k ...
2
votes
2answers
3k views

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 ...
2
votes
1answer
434 views

About hfsc parameters

I'm trying to use hfsc, so I've read the HFSC Scheduling with Linux I understand some concepts but shame on me, I don't understand how the values are calculated, for example: The concept of the ...
2
votes
0answers
413 views

How to setup QoS on router (prioritize VOIP and web browsing over downloading)?

I've got Asus WL500GP-v2 router with renewed Oleg's firmware installed (http://code.google.com/p/wl500g/ , the stable version). I would like to setup some Quality of Service to ensure all users are ...
4
votes
3answers
3k views

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 ...
3
votes
1answer
441 views

Why don't the following commands work to limit traffic to port 21 using tc?

In my quest to find a way to limit outgoing bandwidth for a running instance of bitcoind, I came across this guide that explains how to rate limit traffic to a particular destination IP: tc qdisc add ...
5
votes
2answers
1k views

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. ...
22
votes
6answers
44k views

How to limit network bandwidth?

Problem: We are hosting an application on remote server. We need to test it with a limited network bandwidth (for users with bad Internet access). Question: Can I limit my internet bandwidth (in ...
7
votes
1answer
1k views

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 ...
5
votes
2answers
5k views

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 ...
1
vote
1answer
974 views

Control bandwidth with iptables

How can I control bandwidth in RHEL 5 using iptables?
7
votes
1answer
1k views

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 ...
3
votes
1answer
3k views

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 ...