mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-25 04:01:45 +02:00
More explainations in the Simple TC doc
This commit is contained in:
parent
7b73323301
commit
228eeabb7d
@ -76,22 +76,23 @@
|
|||||||
nothing.</para>
|
nothing.</para>
|
||||||
|
|
||||||
<para>Shorewall's Simple Traffic Shaping configures the prio
|
<para>Shorewall's Simple Traffic Shaping configures the prio
|
||||||
qdisc(rx-prio(8)) on the designated interface then adds an sfq (tc-sfq
|
qdisc(rx-prio(8)) on the designated interface then adds a
|
||||||
(8)) qdisc to each of the classes that are implicitly created for the prio
|
<firstterm>Stochastic Fair Queuing</firstterm> sfq (tc-sfq (8)) qdisc to
|
||||||
qdisc. The sfq qdisc ensures fairness among packets queued in each of the
|
each of the classes that are implicitly created for the prio qdisc. The
|
||||||
classes such that each <firstterm>flow</firstterm> (session) gets its turn
|
sfq qdisc ensures fairness among packets queued in each of the classes
|
||||||
to send packets. The definition of flows can be altered to include all
|
such that each <firstterm>flow</firstterm> (session) gets its turn to send
|
||||||
traffic being sent <emphasis>by</emphasis> a given IP address (normally
|
packets. The definition of flows can be altered to include all traffic
|
||||||
defined for an external interface) or all traffic being sent
|
being sent <emphasis>by</emphasis> a given IP address (normally defined
|
||||||
|
for an external interface) or all traffic being sent
|
||||||
<emphasis>to</emphasis> a given IP address (internal interface).</para>
|
<emphasis>to</emphasis> a given IP address (internal interface).</para>
|
||||||
|
|
||||||
<para>Finally, Simple Traffic Shaping allows you to set a limit on the
|
<para>Finally, Simple Traffic Shaping allows you to set a limit on the
|
||||||
total bandwidth allowed out of an interface by inserting a Token Bucket
|
total bandwidth allowed out of an interface. It does this by inserting a
|
||||||
Filter (tbf) qdisc before the prio qdisc. Note that this can have the
|
Token Bucket Filter (tbf) qdisc ahead of the prio qdisc. Note that this
|
||||||
effect of defeating the priority queuing provided by the prio qdisc but
|
can have the effect of defeating the priority queuing provided by the prio
|
||||||
seems to provide a benefit when the actual link output temporarily drops
|
qdisc but seems to provide a benefit when the actual link output
|
||||||
below the limit imposed by tbf or when tbf allows a burst of traffic to be
|
temporarily drops below the limit imposed by tbf or when tbf allows a
|
||||||
released.</para>
|
burst of traffic to be released.</para>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
@ -124,8 +125,8 @@ eth0 External</programlisting>
|
|||||||
|
|
||||||
<para><emphasis role="bold">Update</emphasis>: Beginning with Shorewall
|
<para><emphasis role="bold">Update</emphasis>: Beginning with Shorewall
|
||||||
4.4.7, Shorewall can determine that some environments, such as RHEL5 and
|
4.4.7, Shorewall can determine that some environments, such as RHEL5 and
|
||||||
derivatives, are incapable of using the TYPE parameter and simply
|
derivatives, are incapable of using the TYPE parameter and simply ignore
|
||||||
ignores it.</para>
|
it.</para>
|
||||||
</note>
|
</note>
|
||||||
|
|
||||||
<para>With this simple configuration, packets to be sent through interface
|
<para>With this simple configuration, packets to be sent through interface
|
||||||
|
Loading…
x
Reference in New Issue
Block a user