From 228eeabb7d04e6bfc0e5bd6c2fa610a75d991975 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sun, 23 Jan 2011 08:36:45 -0800 Subject: [PATCH] More explainations in the Simple TC doc --- docs/simple_traffic_shaping.xml | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/docs/simple_traffic_shaping.xml b/docs/simple_traffic_shaping.xml index 7fe523482..9829831c9 100644 --- a/docs/simple_traffic_shaping.xml +++ b/docs/simple_traffic_shaping.xml @@ -76,22 +76,23 @@ nothing. Shorewall's Simple Traffic Shaping configures the prio - qdisc(rx-prio(8)) on the designated interface then adds an sfq (tc-sfq - (8)) qdisc to each of the classes that are implicitly created for the prio - qdisc. The sfq qdisc ensures fairness among packets queued in each of the - classes such that each flow (session) gets its turn - to send packets. The definition of flows can be altered to include all - traffic being sent by a given IP address (normally - defined for an external interface) or all traffic being sent + qdisc(rx-prio(8)) on the designated interface then adds a + Stochastic Fair Queuing sfq (tc-sfq (8)) qdisc to + each of the classes that are implicitly created for the prio qdisc. The + sfq qdisc ensures fairness among packets queued in each of the classes + such that each flow (session) gets its turn to send + packets. The definition of flows can be altered to include all traffic + being sent by a given IP address (normally defined + for an external interface) or all traffic being sent to a given IP address (internal interface). Finally, Simple Traffic Shaping allows you to set a limit on the - total bandwidth allowed out of an interface by inserting a Token Bucket - Filter (tbf) qdisc before the prio qdisc. Note that this can have the - effect of defeating the priority queuing provided by the prio qdisc but - seems to provide a benefit when the actual link output temporarily drops - below the limit imposed by tbf or when tbf allows a burst of traffic to be - released. + total bandwidth allowed out of an interface. It does this by inserting a + Token Bucket Filter (tbf) qdisc ahead of the prio qdisc. Note that this + can have the effect of defeating the priority queuing provided by the prio + qdisc but seems to provide a benefit when the actual link output + temporarily drops below the limit imposed by tbf or when tbf allows a + burst of traffic to be released.
@@ -124,8 +125,8 @@ eth0 External Update: Beginning with Shorewall 4.4.7, Shorewall can determine that some environments, such as RHEL5 and - derivatives, are incapable of using the TYPE parameter and simply - ignores it. + derivatives, are incapable of using the TYPE parameter and simply ignore + it. With this simple configuration, packets to be sent through interface