0
votes
0answers
57 views

Traffic Shaping Script Not Working

I wrote a script trying to use HTB algorithm to limit the throughput of specific ports, below is the script: tc qdisc add dev eth0 root handle 1: htb tc class add dev eth0 parent 1: classid 1:1 ...
0
votes
0answers
30 views

Queuing disciplines are per-interface, what qos is handle with interfaces using same device?

I have read about queuing disciplines here http://lartc.org/. I understand that for instance band 0 of pfifo policy is prioritized over band 2 within same qdisc, but what happen when i have ppp0 and ...
0
votes
0answers
48 views

Traffic shaping prioritizing some WAN interfaces using prio qdisc

Im configuring my router to give preference to some WAN interfaces. I have read about queuing disciplines here http://lartc.org/. I understand how PRIO discipline can prioritize traffic depending on ...
1
vote
0answers
27 views

Is It Possible to Attach multiple Ports to a TC Filter?

I need to limit the bandwidth/rate by ports, and as a server there would be thousands of ports. Due to the limit of tc filter, I wonder if it is possible for multiple discreate ports to share a same ...
1
vote
1answer
41 views

How Many Filters Can We Have — LINUX QOS

I am doing Qos on Linux server using TC. According to the grammar of tc tool, the handle of a filter must be between 800::001 and 800::FFF. And because 0XFFF equals 4095 in decimal, so we can only ...
0
votes
0answers
39 views

What Is the Smallest Burst Value for HTB Algorithm (QOS)

Regarding the HTB algorithm, I want to know what is the smallest burst value in an HTB shaping rule such as "tc class add dev eth0 parent 1:1 classid 1:10 htb rate 5mbit burst 15k". Is it MTU?
1
vote
0answers
56 views

Why Parent Class In a TC Rules Tree Not Working

The parent class in my TC rules script doesn't work as it garanteed! Can somebody tell me what is wrong with my script? Here are some details about my question: From the chapter "9.5.4.4. Sample ...
0
votes
1answer
132 views

Why This TC Script Not Working

Our application has three classes of traffic, and every type of traffic involves three ports. We want to limit the traffic by port number via TC, so I made a simple TC script to have the test, however ...
3
votes
2answers
314 views

Linux qos: tc DRR qdisc does not work

There is tc queue discipline DRR(Dificite Round Robin) . It has same capabilities, as HTB, but instead of using buckets, filled with tokens, it just assignes every queue some Dificit Counter. On ...
0
votes
1answer
100 views

What do these two QOS script statements mean

I am studying the QOS utility of Linux -- TC -- recently, and today I encountered below two statments from a bandwidth-limit script on Linux: tc filter add dev eth0 parent 1: prio 1 protocol ip ...
1
vote
1answer
191 views

Can TC limit bandwidth by the Qos field of IP header

We are developing a client/server applications. There are three types of network data in our server app: Realtime data such as those of Video/audio, Critical Data such as those of Database data and ...
0
votes
1answer
82 views

Open the Linux QOS Service dynamically

We are developing a C++ application on Fedora (of kernel 2.6.9). This application will use the Linux TC utility to limit the bandwidth of specific applications by scanning their ports and setting ...
3
votes
2answers
129 views

Can TC (Linux Qos Utility) limit bandwidth usage of target applications?

We have many applications running on the same server machine which is inside a network of servers. We want limit the bandwidth of our applications to specific value. So here are some choices: ...
1
vote
0answers
113 views

htb with an inner gred how to setup filter to reach DPs

I want to create a qos htb class and within this class there is a gred queue. how do I add a working filter for each red queue in the gred queue? what i tried was: DEV=lo SOMEGREDETTINGS="limit ...
5
votes
2answers
587 views

nginx clobbering sftp traffic during peak times - is tc the answer?

This is probably a continuation of my previous (unanswered) question because the underlying cause is probably the same. I have a Linux server with nginx and sshd running on it. It's on a shared ...
0
votes
1answer
128 views

HTB qdisc child of another HTB qdisc drawbacks

In the HTB documentation can be read: Note: HTB as child of another HTB is NOT the same as class under another class within the same HTB. It is because when class in HTB can send it will send ...
2
votes
1answer
621 views

Traffic shaping: tc filter attached to an HTB class?

Can I attach a tc filter to an HTB class rather than to an HTB qdisc? For example: tc class add dev $IF_LAN parent 1:100 classid 1:180 htb rate 19kbit ceil 2000kbit prio 4 where: 1:100 -> Is ...
4
votes
1answer
491 views

Traffic shaping: tc filter catch all filter

How Can I configure a "catch all" filter with tc filter? I tested with the following code but it gave me the error: "Unknown filter "1:100", hence option "protocol" is unparsable": tc filter add ...
3
votes
5answers
619 views

QoS configuration for a medium ISP

What is the best Linux-based QoS platform to implement a configuration where all 256Kbps DSL clients (all belong to the same IP range) get a guaranteed speed of 200Kbps with single QoS rule?
2
votes
3answers
2k views

Making iptables recognize youtube streams and large files

I use Ubuntu server 10.04 with the stock kernel as a NAT router. I use iptables and tc to do port based traffic prioritization. It is working fine. I have given http higher priority. So my network ...
0
votes
1answer
542 views

Rsync over NFS with QoS: How to view real transfer speed?

We have a bandwidth limit between a Linux server and a NAS, created using 'tc' with an IP filter. When writing to an NFS mount of the NAS, rsync claims a very high transfer speed for each file and ...
2
votes
3answers
2k views

QOS on ubuntu server

I want to run the following script on ubuntu server. eth1 is NAT interface, and eth2 is the WAN interface which has a static public ip: TCA="tc class add dev eth2" TFA="tc filter add dev eth2" ...
0
votes
3answers
2k views

How do I use the `tc` command to give the 1st queue priority?

Lets say I have 3 queues (# indicates data): Q1: (in)[ ###](out) Q2: (in)[ #####](out) Q3: (in)[ #############](out) Lets say I put all my ICMP packets in Q1 and all the ...