From bedf1a10ed75faf41353c72ebc37123ee6d8559f Mon Sep 17 00:00:00 2001 From: teastep Date: Sat, 22 Mar 2008 15:57:05 +0000 Subject: [PATCH] Add info about the output of 'shorewall show tc' -- take 2 git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8335 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- docs/traffic_shaping.xml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/traffic_shaping.xml b/docs/traffic_shaping.xml index 20ce4dfe5..c7afb97d2 100644 --- a/docs/traffic_shaping.xml +++ b/docs/traffic_shaping.xml @@ -1390,7 +1390,7 @@ filter parent 1: protocol ip pref 10 u32 fh 800:flowid 1:110 (rule hit 2066 success 0) match 00100000/00100000 at 0 (success 0 ) <========= Minimize-delay jumps to class 1:110 + role="bold"> goes to class 1:110 =============== Jump to Table 1 if the matches are met ================== @@ -1492,7 +1492,8 @@ qdisc sfq 130: parent 1:130 limit 128p quantum 1514b flows 128/1024 perturb 10se Note the rate and ceiling calculated from 'full' -class htb 1:110 parent 1:1 leaf 110: prio 1 quantum 4800 rate 192000bit ceil 384000bit burst 1695b/8 mpu 0b overhead 0b cburst 1791b/8 mpu 0b overhead 0b level 0 +class htb 1:110 parent 1:1 leaf 110: prio 1 quantum 4800 rate 192000bit ceil 384000bit burst 1695b/8 mpu 0b overhead 0b cburst 1791b/8 mpu 0b overhead 0b level 0 Sent 613372519 bytes 2870225 pkt (dropped 0, overlimits 0 requeues 0) rate 195672bit 28pps backlog 0b 0p requeues 0 <=========== Note the current rate of traffic. There is no queuing (no packet backlog) @@ -1501,8 +1502,9 @@ class htb 1:110 parent 1:1 leaf 110: prio 1 quantum 4800 r ============== The root class ============ -class htb 1:1 root rate 384000bit ceil 384000bit burst 1791b/8 mpu 0b overhead 0b cburst 1791b/8 mpu 0b overhead 0b level 7 - Sent 2133276316 bytes 4484785 pkt (dropped 0, overlimits 0 requeues 0) +class htb 1:1 root rate 384000bit ceil 384000bit burst 1791b/8 mpu 0b overhead 0b cburst 1791b/8 mpu 0b overhead 0b level 7 + Sent 2133276316 bytes 4484785 pkt (dropped 0, overlimits 0 requeues 0) <==== Total output traffic since last 'restart' rate 363240bit 45pps backlog 0b 0p requeues 0 lended: 1081936 borrowed: 0 giants: 0 tokens: -52226 ctokens: -52226