Congestive Discard Threshold
2007年3月4日 CCIEQoS
WFQについて
congestive discard threshold ってことばが出てきた。
充血破棄閾値???
なんのことやらと思いちょっと調べてみたら、
router_A(config-if)#fair-queue ?
Congestive Discard Threshold
とある。
あぁ、輻輳閾値のことね。
と納得。
英語のテキストだと、こんなのばっかり。
因みに、Congestive Discard Threshold のデフォルトは64
で2の累乗じゃないとならない。
テキストには、
CDT must set to a power of 2
とある。
2の力?って最初思って辞書を引く。
また、WFQは、ルータ自身で発生したオーバヘッドトラフィックの為の
隠しキューが8個(2^3)ある。
(意味不明)
従って、次に指定できるのは2^4で16
これが、16〜4096といわれる所以かな。
==============================
router_A(config-if)#fair-queue
router_A(config-if)#^Z
router_A#sh int serial 0
01:19:48: %SYS-5-CONFIG_I: Configured from console by console
router_A#sh int serial 0
Serial0 is administratively down, line protocol is down
Hardware is HD64570
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation HDLC, loopback not set
Keepalive set (10 sec)
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/0/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 1158 kilobits/sec
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 packets output, 0 bytes, 0 underruns
0 output errors, 0 collisions, 3 interface resets
0 output buffer failures, 0 output buffers swapped out
0 carrier transitions
DCD=down DSR=down DTR=down RTS=down CTS=down
==============================
router_A(config-if)#fair-queue
router_A(config-if)#^Z
router_A#sh queueing
Current fair queue configuration:
Interface Discard Dynamic Reserved Link Priority
threshold queues queues queues queues
Serial0 3 256 0 8 1
Serial1 64 256 0 8 1
Current DLCI priority queue configuration:
Current priority queue configuration:
Current custom queue configuration:
Current random-detect configuration:
Current per-SID queue configuration:
上の2つのコマンド結果は同じものを表してるんだよな。。。
多分。
WFQについて
congestive discard threshold ってことばが出てきた。
充血破棄閾値???
なんのことやらと思いちょっと調べてみたら、
router_A(config-if)#fair-queue ?
Congestive Discard Threshold
とある。
あぁ、輻輳閾値のことね。
と納得。
英語のテキストだと、こんなのばっかり。
因みに、Congestive Discard Threshold のデフォルトは64
で2の累乗じゃないとならない。
テキストには、
CDT must set to a power of 2
とある。
2の力?って最初思って辞書を引く。
また、WFQは、ルータ自身で発生したオーバヘッドトラフィックの為の
隠しキューが8個(2^3)ある。
(意味不明)
従って、次に指定できるのは2^4で16
これが、16〜4096といわれる所以かな。
==============================
router_A(config-if)#fair-queue
router_A(config-if)#^Z
router_A#sh int serial 0
01:19:48: %SYS-5-CONFIG_I: Configured from console by console
router_A#sh int serial 0
Serial0 is administratively down, line protocol is down
Hardware is HD64570
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation HDLC, loopback not set
Keepalive set (10 sec)
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/0/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 1158 kilobits/sec
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 packets output, 0 bytes, 0 underruns
0 output errors, 0 collisions, 3 interface resets
0 output buffer failures, 0 output buffers swapped out
0 carrier transitions
DCD=down DSR=down DTR=down RTS=down CTS=down
==============================
router_A(config-if)#fair-queue
router_A(config-if)#^Z
router_A#sh queueing
Current fair queue configuration:
Interface Discard Dynamic Reserved Link Priority
threshold queues queues queues queues
Serial0 3 256 0 8 1
Serial1 64 256 0 8 1
Current DLCI priority queue configuration:
Current priority queue configuration:
Current custom queue configuration:
Current random-detect configuration:
Current per-SID queue configuration:
上の2つのコマンド結果は同じものを表してるんだよな。。。
多分。
コメント