Quality of Service with tc
Hi,
Can the SFQ queue be used to divide bandwidth not only per connections but also per computer? e.g. if two computers download something each computer gets half of the bandwidth. I'm trying to do my own script based on wondershaper and would want to divide the bandwidth between all devices so that one device can't saturate the uplink. |
I've made a QoS script based on wondershaper however it doesn't quite work as expected. As see in the code bellow the class 1:10 doesn't have anything assigned to it and the default class is 1:40. The problem is that some (or even many) packages still end up in the 1:10 class. I think I must be doing something wrong. What can I do to fix it, improve or otherwise make it work?
Currently I'm on a ADSL link soon to become a cable link. Code:
#!/bin/bash |
The r2q or the root qdisc is "10" by default - which is good for minimal rates of 120kbit
For slower links a lower value such as "1" is better or the results will not be as expected - its simply not accurate enough. Took this from the htb documentation. You use in almost all queues less than 100kbit |
All times are GMT -5. The time now is 02:30 PM. |