JP2967767B2 - Scheduling method in ATM switch - Google Patents

Scheduling method in ATM switch

Info

Publication number
JP2967767B2
JP2967767B2 JP9227193A JP22719397A JP2967767B2 JP 2967767 B2 JP2967767 B2 JP 2967767B2 JP 9227193 A JP9227193 A JP 9227193A JP 22719397 A JP22719397 A JP 22719397A JP 2967767 B2 JP2967767 B2 JP 2967767B2
Authority
JP
Japan
Prior art keywords
output
priority
queue
class
cell
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP9227193A
Other languages
Japanese (ja)
Other versions
JPH1168770A (en
Inventor
真輝 深野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP9227193A priority Critical patent/JP2967767B2/en
Publication of JPH1168770A publication Critical patent/JPH1168770A/en
Application granted granted Critical
Publication of JP2967767B2 publication Critical patent/JP2967767B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ATMスイッチに
おけるスケジューリング制御方式に関し、より詳細に
は、様々なトラヒックに対応するためにスイッチ前段或
いは後段に配備されたバッファ部をトラヒッククラス
別、出方路別に分割し、トラヒック制御するようなAT
Mスイッチにおいて、各トラヒッククラスの帯域を保証
するためのスケジューリング制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a scheduling control method in an ATM switch, and more particularly, to a buffer unit provided at a preceding stage or a subsequent stage of a switch in order to cope with various traffics. AT that separates and controls traffic
The present invention relates to a scheduling control method for guaranteeing a bandwidth of each traffic class in an M switch.

【0002】[0002]

【従来の技術】従来のWRR(Weighted Round Rob
in)方式によるスケジューリング制御方式の一例を、図
4及び図5を参照して以下に説明する。
2. Description of the Related Art Conventional WRR (Weighted Round Rob)
An example of the scheduling control method by the in) method will be described below with reference to FIGS.

【0003】図4は、3つのトラヒッククラス(クラス
1〜クラス3)を独立したキューに収容した場合の、A
TMスイッチ前段或いは後段に配備された入力バッファ
部又は出力バッファ部におけるWRRスケジューリング
方式の例を模式的に示す説明図である。図4において、
21〜23は各トラヒッククラス毎のキュー、24はW
RRスケジューラである。キュー21〜23には、バッ
ファ部に入力されたセルのうち、該当するトラヒックク
ラスのセルが蓄積される。
FIG. 4 shows a case where three traffic classes (class 1 to class 3) are accommodated in independent queues.
FIG. 9 is an explanatory diagram schematically showing an example of a WRR scheduling method in an input buffer unit or an output buffer unit provided in a stage before or after a TM switch. In FIG.
21 to 23 are queues for each traffic class, 24 is W
An RR scheduler. The queues 21 to 23 accumulate cells of the corresponding traffic class among the cells input to the buffer unit.

【0004】WRRスケジューラ24は、各キュー毎の
ウエイトを設定するカウンタと、複数トラヒッククラス
の中から回転優先で選択を行い出力セルを決定するRR
(ラウンドロビン:回転優先)回路から構成されてい
る。
A WRR scheduler 24 has a counter for setting a weight for each queue, and an RR for selecting an output cell by selecting a traffic class from a plurality of traffic classes with priority given to rotation.
(Round robin: rotation priority) circuit.

【0005】WRRスケジューラ24の動作を図5に示
したフローチャートに従って説明する。
The operation of the WRR scheduler 24 will be described with reference to the flowchart shown in FIG.

【0006】スタート後、ステップS1において、各キ
ュー毎に配備するウエイト設定用のカウンタをリセット
し、カウンタに初期値をロードする。この初期値は、ソ
フトインタフェースによって変更可能である。ここで各
カウンタの値をWi、各キューに蓄積されたセルの数を
Qiとする。また、f(i)=Wi・Qiとする。
After the start, in step S1, a wait setting counter provided for each queue is reset, and the counter is loaded with an initial value. This initial value can be changed by the software interface. Here, the value of each counter is Wi, and the number of cells stored in each queue is Qi. Also, f (i) = Wi · Qi.

【0007】次に、ステップS2において、Σf(i)
≠0か否かを判定する。つまり、各キューの蓄積セル数
Qiが0か、又は各キューに対応するカウンタの値が0
でないかを監視する。ステップS2の判定処理におい
て、全てのトラヒッククラスについて、f(i)=0で
ある場合には、ステップS1へ戻る。一方、いずれかの
クラスで、f(i)≠0である場合にはステップS3へ
と進む。
Next, in step S2, Δf (i)
It is determined whether or not ≠ 0. That is, the number of stored cells Qi in each queue is 0, or the value of the counter corresponding to each queue is 0
Monitor for In the determination processing in step S2, if f (i) = 0 for all traffic classes, the process returns to step S1. On the other hand, if f (i) ≠ 0 in any of the classes, the process proceeds to step S3.

【0008】ステップS3では、f(i)≠0のクラス
の中から出力を許可するクラスの選択を行う。キューに
セルが蓄積していても(Qi≠0)、カウンタの値が0
(Wi=0)であるクラスは、このステップにおけるク
ラス選択から除外される。選択方法としては、全てのク
ラスで同一の優先度を持つよう、回転優先方式で行う。
そして選択されたクラスのキューからセルを出力する。
In step S3, a class whose output is permitted is selected from the classes of f (i) ≠ 0. Even if cells are accumulated in the queue (Qi ≠ 0), the value of the counter is 0
Classes with (Wi = 0) are excluded from class selection in this step. As a selection method, a rotation priority method is used so that all classes have the same priority.
Then, the cell is output from the queue of the selected class.

【0009】次に、ステップS4では、ステップS3に
おいて選択したクラスのウエイトカウンタの値Wiを1
減らす。その後ステップS2に戻り、Σf(i)≠0の
判定によって、ステップS3〜S4のステップを繰り返
し、Σf(i)=0になると、ステップS1に戻り、ウ
エイトカウンタをリセットする。
Next, in step S4, the value Wi of the weight counter of the class selected in step S3 is set to 1
cut back. Thereafter, returning to step S2, the steps S3 to S4 are repeated according to the determination of Σf (i) ≠ 0. When Σf (i) = 0, the process returns to step S1 to reset the weight counter.

【0010】各クラスのキューからセルが1つ出力され
る度に、ウエイトカウンタの値を1つ減らし、ウエイト
カウンタの値が0になると、そのクラスからのセルの出
力を停止する。全てのクラスにおいて、ウエイトカウン
タあるいはキューのセル蓄積数が0になると、全てのウ
エイトカウンタは初期値にリセットされる。従って、全
てクラスに十分な入力セルが与えられている場合、各々
のクラスから与えられたウエイトの割合に従ってセルが
出力される。
Each time one cell is output from the queue of each class, the value of the weight counter is reduced by one, and when the value of the weight counter becomes 0, the output of cells from that class is stopped. In all classes, when the number of accumulated cells in the wait counter or queue becomes 0, all the wait counters are reset to their initial values. Therefore, when sufficient input cells are given to all classes, cells are output according to the weight ratio given from each class.

【0011】ウエイトと帯域との関係は、例えば全ての
ウエイトの合計を10、セル出力の全帯域をCとする
と、ウエイト1=C/10の帯域に相当する。
The relation between the weight and the band is equivalent to the band of weight 1 = C / 10, where the total of all the weights is 10, and the entire band of the cell output is C.

【0012】以上の処理フローに従った結果、図4に示
す例では、図示した順でセルが出力される。
As a result of following the above processing flow, in the example shown in FIG. 4, cells are output in the order shown.

【0013】この方式では、複数トラヒッククラスに対
し、ウエイトを割当て、その比に従って各クラスの帯域
を保証することが可能である。
In this method, it is possible to allocate weights to a plurality of traffic classes and guarantee the bandwidth of each class according to the ratio.

【0014】[0014]

【発明が解決しようとする課題】しかしながら、このよ
うな従来のWRR方式によるスケジューリング制御方式
においては、収容するトラヒッククラスが多い場合、あ
るクラスのセルを出力した後は最悪全てのクラスを1回
ずつ出力した後でないと、再びこのクラスのセルを出力
することはできない。
However, in such a conventional scheduling control method based on the WRR system, when a large number of traffic classes are accommodated, after outputting a certain class of cells, all the worst classes are output once. Only after output, can cells of this class be output again.

【0015】図6は、従来のスケジューリング制御方式
での動作例を示す。図6は、クラス数6、各クラスのウ
エイト1とした場合の例であり、クラス6のセルが到着
してから出力されるまでに最悪5セル時間待たされるこ
とになること示している。
FIG. 6 shows an operation example of the conventional scheduling control method. FIG. 6 shows an example in which the number of classes is 6, and the weight of each class is 1, and it is shown that a cell of class 6 has to wait for 5 cells at worst from arrival to output.

【0016】このように、従来のWRR方式によるスケ
ジューリング制御方式では、遅延特性が重要で実時間性
を必要とするトラヒックを扱う場合に、このトラヒック
の遅延特性を劣化させる恐れがある。特に、CBR(C
onstant Bit Rate)トラヒックのようなCDV(Cel
l Delay Variation:セル遅延変動)特性の保証が要
求されるトラヒックに対して大きな影響を及ぼす。
As described above, in the conventional scheduling control method based on the WRR system, when handling traffic that requires a real-time property because the delay characteristic is important, the delay characteristic of the traffic may be deteriorated. In particular, CBR (C
CDV (Cel) like onstant Bit Rate traffic
l Delay Variation (cell delay variation) has a significant effect on traffic for which a guarantee of characteristics is required.

【0017】したがって本発明は、上述したような従来
技術の問題点に鑑みてなされたものであって、その目的
は、実時間性が必要とされるトラヒッククラスの遅延特
性を劣化させることなく帯域の保証を行うスケジューリ
ング制御方式を提供することにある。
Accordingly, the present invention has been made in view of the above-mentioned problems of the prior art, and has as its object to reduce the bandwidth without deteriorating the delay characteristics of a traffic class requiring real-time performance. It is another object of the present invention to provide a scheduling control method that guarantees the above.

【0018】[0018]

【課題を解決するための手段】前記目的を達成するた
め、本発明におけるスケジューリング制御方式は、各ク
ラスのウエイトとキューの蓄積数から出力セルの選択を
行う出力セル選択部において、予め設定される各クラス
のプライオリティを参照し、プライオリティが高いクラ
スを優先して選択する、ことを特徴とする。
In order to achieve the above object, the scheduling control method according to the present invention is set in advance in an output cell selection unit for selecting an output cell from the weight of each class and the number of stored queues. The priority of each class is referred to, and a class having a higher priority is preferentially selected.

【0019】本発明は、好ましくは、スイッチ本体と、
前記スイッチの複数の入力ポートおよび出力ポートのそ
れぞれに配備され、セルを蓄積する入力バッファ部およ
び出力バッファ部と、を含むATMスイッチにおける、
前記入力バッファ部および出力バッファ部におけるスケ
ジューリング方式において、前記入力バッファ部および
前記出力バッファ部に、出方路毎、セルのトラヒック種
類毎に、バッファを論理的に分割したキューと、前記各
キューに対応するウエイトカウンタと、を備え、前記ウ
エイトカウンタが0でないクラスのキューが複数有る場
合、優先度が高いクラスのキューの中から回転優先方式
により、出力を許可するキューを決定し、前記ウエイト
カウンタが0でないクラスの中に優先度が高いクラスの
キューが無い場合には、優先度が低いクラスのキューの
中から回転優先方式により、出力を許可するキューを決
定し、セルを読み出す、ことを特徴とする。
The present invention preferably provides a switch body,
An ATM switch provided at each of a plurality of input ports and output ports of the switch and including an input buffer unit and an output buffer unit for accumulating cells;
In the scheduling method in the input buffer unit and the output buffer unit, in the input buffer unit and the output buffer unit, for each outgoing path, for each type of cell traffic, a queue logically divided buffers, A corresponding weight counter, and when there are a plurality of queues of a class in which the weight counter is not 0, a queue whose output is permitted is determined by a rotation priority method from among the queues of the class having a higher priority, and the weight counter is determined. If there is no high-priority class queue among the non-zero classes, a queue for which output is permitted is determined from the low-priority class queues by a rotation priority method, and cells are read out. Features.

【0020】[0020]

【発明の実施の形態】本発明の好ましい実施の形態を以
下に説明する。本発明は、その好ましい実施の形態にお
いて、入力セルをトラヒッククラス別に蓄積するキュー
と、各キューに対する出力の比を設定するウエイトカウ
ンタと、キューのセル蓄積状況とウエイトカウンタの値
と各クラスのプライオリティを監視し、セル出力選択を
行う出力セル選択部と、キューのセル蓄積状況とウエイ
トカウンタの値を監視し、リセット条件時に各ウエイト
カウンタにリセット指示を出力するリセット制御部を備
え、出力セル選択部は、キュー長が0でなく、かつ、ウ
エイトカウンタの値が0でないクラスの中からプライオ
リティが高優先に設定されているクラスから優先的に出
力許可を与え、高優先のクラスのキュー長が0、或いは
ウエイトカウンタが0になった後、プライオリティが低
優先のクラスからの出力を許可を与える。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below. In a preferred embodiment of the present invention, a queue for storing input cells for each traffic class, a weight counter for setting an output ratio for each queue, a cell storage status of the queue, a value of the weight counter, and a priority of each class are set. And a reset control unit that monitors the cell accumulation state of the queue and the value of the wait counter, and outputs a reset instruction to each wait counter when a reset condition occurs. The unit gives priority to the class whose priority is set to high priority among the classes whose queue length is not 0 and the value of the weight counter is not 0, and the queue length of the high priority class is 0, or after the wait counter reaches 0, allow output from the class with the lower priority. Obtain.

【0021】上記のように構成されてなる本発明の実施
の形態によれば、スイッチの前段或いは後段に配備され
たバッファ部をトラヒッククラス別、出方路別に分割
し、トラヒック制御するようなATMスイッチにおい
て、バッファ部に入力されるセルのうち、実時間性が要
求されるようなトラヒッククラスに対してはプライオリ
ティを高優先に設定することにより、他のクラスの出力
を待たずに即座に出力が可能となり、遅延特性の劣化を
防ぐことができる。
According to the embodiment of the present invention configured as described above, the ATM section which divides the buffer section provided before or after the switch for each traffic class and for each outgoing path and performs traffic control. In the switch, among the cells input to the buffer unit, for the traffic class that requires real-time performance, the priority is set to high priority, so that the output is immediately performed without waiting for the output of another class Is possible, and deterioration of the delay characteristic can be prevented.

【0022】[0022]

【実施例】上記した本発明の実施の形態を更に詳細に説
明すべく、本発明の実施例について図面を参照して以下
に説明する。図1に、本発明の一実施例に係るWRRス
ケジューリング制御方式が行われるATMスイッチの入
力、又は出力バッファ部の構成の一例を示す。
DESCRIPTION OF THE PREFERRED EMBODIMENTS In order to explain the above-mentioned embodiment of the present invention in more detail, an embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows an example of a configuration of an input or output buffer unit of an ATM switch in which a WRR scheduling control method according to an embodiment of the present invention is performed.

【0023】図1を参照すると、本発明の一実施例にお
いて、セル入力部1には、ATMセルとそのセルのトラ
ヒッククラス、あるいは出方路を示す識別子がセルの先
頭に付加されて入力される。
Referring to FIG. 1, in one embodiment of the present invention, an ATM cell and an identifier indicating a traffic class of the cell or an outgoing route are added to the head of the cell and input to the cell input section 1. You.

【0024】キュー選択部2は、セル入力部1よりセル
を受信すると、セルの先頭に付加されたトラヒッククラ
ス、あるいは出方路情報を識別して、複数のトラヒック
クラス別、あるいは出方路別に配備される複数のキュー
31〜3nのうち、どのキューに書き込むかを選択し、
セルは選択されたキューに蓄積される。なお、図1で
は、説明を簡単にするために、トラヒッククラス数を
n、出方路を1とした場合の例を示している。
When receiving a cell from the cell input unit 1, the queue selecting unit 2 identifies the traffic class or the outgoing route information added to the head of the cell, and classifies the traffic class or outgoing route into a plurality of traffic classes or outgoing routes. Select which queue to write from among a plurality of deployed queues 31 to 3n,
Cells are stored in the selected queue. FIG. 1 shows an example in which the number of traffic classes is n and the number of outgoing routes is 1, for simplicity of explanation.

【0025】セルが蓄積されているキューは、出力セル
選択部5からの出力許可信号9を受けると、キュー内に
蓄積されたセルのうち、最も早く書き込まれたセルを1
つ読み出す。
Upon receiving the output permission signal 9 from the output cell selection unit 5, the queue in which the cells are stored is replaced by one of the cells stored in the queue that has been written first.
Read out.

【0026】キューから読み出されたセルは、セル出力
部7へ到達し、不図示のスイッチ部、又は回路対応部へ
出力される。
The cell read from the queue reaches the cell output unit 7 and is output to a switch unit (not shown) or a circuit corresponding unit.

【0027】次に、本発明の一実施例における、WRR
スケジューリング制御方式の構成について更に説明す
る。
Next, in one embodiment of the present invention, WRR
The configuration of the scheduling control method will be further described.

【0028】ウエイトカウンタ41〜4nは、各々のキ
ューに対応して配備され、各トラヒッククラスに要求さ
れている帯域に相当するウエイトが予め設定される。ウ
エイトの設定は、ソフトインタフェースによって行わ
れ、変更可能である。また、ウエイトカウンタ41〜4
nは、リセット制御部6からのリセット指示信号12を
受信すると、上記ソフトインタフェースによって予め設
定された値を初期値としてカウンタにロードする。
The weight counters 41 to 4n are provided corresponding to the respective queues, and the weight corresponding to the band required for each traffic class is set in advance. The setting of the weight is performed by a software interface and can be changed. Also, weight counters 41 to 4
When n receives the reset instruction signal 12 from the reset control unit 6, n loads a value preset by the software interface into the counter as an initial value.

【0029】リセット制御部6は、各キューのセル蓄積
数を示すキュー長通知信号10と、各ウエイトカウンタ
の値を示すカウンタ値通知信号8を監視し、全てのトラ
ヒッククラスにおいて、キュー長Qiとカウンタ値Wi
の積が0、すなわちQi・Wi=0になると、全てのウ
エイトカウンタ41〜4nに対し、リセット指示信号1
2を送出する。
The reset control unit 6 monitors the queue length notification signal 10 indicating the number of cells stored in each queue and the counter value notification signal 8 indicating the value of each weight counter, and determines the queue length Qi for all traffic classes. Counter value Wi
Is zero, that is, when Qi · Wi = 0, the reset instruction signal 1 is sent to all the weight counters 41 to 4n.
Send out 2.

【0030】出力セル選択部5は、各キューのセル蓄積
数を示すキュー長通知信号10と、各ウエイトカウンタ
の値を示すカウンタ値通知信号8と、各トラヒッククラ
スのプライオリティ情報を監視し、回転優先制御によ
り、1セル時間に1回出力キューの選択を行い、選択し
たキューに対し出力許可信号9を送信する。
The output cell selector 5 monitors a queue length notification signal 10 indicating the number of cells stored in each queue, a counter value notification signal 8 indicating the value of each weight counter, and priority information of each traffic class. By the priority control, the output queue is selected once per one cell time, and the output permission signal 9 is transmitted to the selected queue.

【0031】出力セル選択部5の出力セル選択方法につ
いて以下に詳しく説明する。
The output cell selection method of the output cell selection section 5 will be described in detail below.

【0032】キュー長Qiとカウンタ値Wiの積が0で
ない、すなわちQi・Wi≠0のクラスが存在する場
合、それらのクラスのうち、プライオリティが高優先に
設定されているクラスがあれば、当該クラスの中から回
転優先制御により、出力を許可するキューを選択する。
If the product of the queue length Qi and the counter value Wi is not 0, that is, if there is a class of Qi · Wi ≠ 0, if there is a class of which priority is set to high priority, the class is A queue for which output is permitted is selected from the classes by the rotation priority control.

【0033】また、Qi・Wi≠0のクラスの中にプラ
イオリティが高優先に設定されたクラスがない場合、プ
ライオリティが低優先のクラスの中から回転優先制御に
より、出力を許可するキューを選択する。
If there is no class in which the priority is set to high priority among the classes of Qi · Wi ≠ 0, a queue for which output is permitted is selected from the classes having low priority by rotation priority control. .

【0034】そして、Qi・Wi≠0のクラスが存在し
ない場合には、どのキューに対しても出力を許可しな
い。
If no class of Qi · Wi ≠ 0 exists, output is not permitted to any queue.

【0035】次に、本発明の一実施例における一連のW
RRスケジューリング動作について図2のフローチャー
トを参照して説明する。
Next, a series of W in one embodiment of the present invention will be described.
The RR scheduling operation will be described with reference to the flowchart in FIG.

【0036】スタート後、ステップS1で、各キュー毎
に配備するウエイト設定用のカウンタをリセットし、カ
ウンタに初期値をロードする。
After the start, in step S1, a counter for setting a weight provided for each queue is reset, and an initial value is loaded into the counter.

【0037】次にステップS2でΣf(i)≠0か否か
を判定する。つまり、各キューのキュー長Qiが0か、
又は各キューに対応するカウンタの値が0でないかを監
視する。ステップS2で、全てのトラヒッククラスにつ
いてf(i)=0である場合にはステップS1に戻る。
一方、いずれかのクラスでf(i)≠0である場合には
ステップS3へと進む。
Next, in step S2, it is determined whether or not Σf (i) ≠ 0. That is, the queue length Qi of each queue is 0,
Alternatively, it monitors whether the value of the counter corresponding to each queue is not zero. In step S2, if f (i) = 0 for all traffic classes, the process returns to step S1.
On the other hand, if f (i) ≠ 0 in any of the classes, the process proceeds to step S3.

【0038】ステップS3では、f(i)≠0のクラス
の中に、Pi=1、すなわちプライオリティが高優先で
あるクラスの有無を判定する。Pi=1のクラスが有る
場合はステップS4へ、無い場合にはステップS5へと
移る。
In step S3, it is determined whether Pi = 1, that is, a class having a high priority is present in the classes of f (i) ≠ 0. If there is a class of Pi = 1, the process proceeds to step S4, and if not, the process proceeds to step S5.

【0039】ステップS4では、f(i)≠0、Pi=
1のクラスの中から回転優先制御により、出力を許可す
るキューを決定する。
In step S4, f (i) ≠ 0, Pi =
A queue for which output is permitted is determined by rotation priority control from one class.

【0040】ステップS5では、f(i)≠0、Pi=
0、すなわちプライオリティが低優先のクラスの中から
回転優先制御により、出力を許可するキューを決定す
る。
In step S5, f (i) ≠ 0, Pi =
0, that is, a queue whose output is permitted is determined by the rotation priority control from among the classes of low priority.

【0041】ステップS4、S5で決定されたキュー
は、セルを1つ読み出すことができる。
From the queue determined in steps S4 and S5, one cell can be read.

【0042】次にステップS6では、ステップS4、又
はステップS5のフローにおいて決定されたキューに対
応するウエイトカウンタの値Wiを1減らす。
Next, in step S6, the value Wi of the weight counter corresponding to the queue determined in the flow of step S4 or step S5 is decremented by one.

【0043】その後、ステップS2に戻り、Σf(i)
≠0の判定によってステップS3〜S6を繰り返し、Σ
f(i)=0になると、ステップS1に戻り、ウエイト
カウンタをリセットする。
Thereafter, the flow returns to step S2, where Δf (i)
Steps S3 to S6 are repeated according to the determination of ≠ 0, and Σ
When f (i) = 0, the process returns to step S1 to reset the weight counter.

【0044】このようにして、各キューからは、ウエイ
トカウンタに設定されたウエイトの比に従ってセルが出
力され、さらに、遅延特性が要求されるトラヒッククラ
スに対しては、プライオリティを高優先に設定すること
により、他のクラスのセル出力に待たされることなくセ
ルを出力することができる。
In this manner, cells are output from each queue in accordance with the weight ratio set in the weight counter, and the priority is set to high priority for a traffic class requiring delay characteristics. As a result, cells can be output without waiting for cell output of another class.

【0045】図3は、本発明の一実施例のWRRスケジ
ューリング制御方式の動作の一例を模式的に示す図であ
り、従来方式の動作の例を示した図6と比較するための
図である。
FIG. 3 is a diagram schematically showing an example of the operation of the WRR scheduling control system according to one embodiment of the present invention, and is a diagram for comparison with FIG. 6 showing an example of the operation of the conventional system. .

【0046】図3では、クラス数6、各クラスのウエイ
ト1、クラス6のみプライオリティを高優先とした場合
の例であり、クラス6のセルが到着すると、即座にクラ
ス6のセルが出力されることを示している。
FIG. 3 shows an example in which the number of classes is 6, the weight 1 of each class, and the priority of only class 6 is given high priority. When a cell of class 6 arrives, a cell of class 6 is output immediately. It is shown that.

【0047】[0047]

【発明の効果】以上説明したように、本発明のWRRス
ケジューリング制御方式によれば、遅延特性が要求され
るようなトラヒッククラスに優先度を与え、回転優先制
御により出力キューを選択する際に、高優先のクラスか
ら優先して選択することにより、他の優先度が低いクラ
スのセルが出力されるのを待つことなく、セルを出力す
ることが可能となる。このため、本発明によれば、収容
するトラヒッククラス数が増加しても、実時間性が要求
されるトラヒッククラスの遅延特性の劣化を減少させる
ことができ、CDV特性への影響を防ぐことができると
いう効果を奏する。
As described above, according to the WRR scheduling control method of the present invention, when a priority is given to a traffic class requiring delay characteristics, and an output queue is selected by rotation priority control, By preferentially selecting from the higher priority classes, it is possible to output cells without waiting for cells of other lower priority classes to be output. Therefore, according to the present invention, even if the number of traffic classes to be accommodated increases, it is possible to reduce the deterioration of the delay characteristic of the traffic class requiring real-time performance, and to prevent the influence on the CDV characteristic. It has the effect of being able to.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明のスケジューリング制御方式の一実施例
の構成を示す図である。
FIG. 1 is a diagram showing a configuration of an embodiment of a scheduling control method according to the present invention.

【図2】本発明のスケジューリング制御方式の一実施例
の処理フローを示す流れ図である。
FIG. 2 is a flowchart showing a processing flow of an embodiment of the scheduling control method of the present invention.

【図3】本発明のスケジューリング制御方式の一実施例
によるセル出力動作を模式的に示す図である。
FIG. 3 is a diagram schematically illustrating a cell output operation according to an embodiment of the scheduling control method of the present invention.

【図4】従来のスケジューリング制御方式を模式的に示
す説明図である。
FIG. 4 is an explanatory diagram schematically showing a conventional scheduling control method.

【図5】従来のスケジューリング制御方式の処理フロー
を示す流れ図である。
FIG. 5 is a flowchart showing a processing flow of a conventional scheduling control method.

【図6】従来のスケジューリング制御方式によるセル出
力動作を模式的の示す図である。
FIG. 6 is a diagram schematically illustrating a cell output operation according to a conventional scheduling control method.

【符号の説明】[Explanation of symbols]

1 セル入力部 2 キュー選択部 3 1〜3n キュー 4 1〜4n ウエイトカウンタ 5 出力セル選択部 6 リセット制御回路 7 セル出力部 8 カウンタ値通知信号 9 出力許可信号 10 エムプティ信号 12 リセット指示信号 21、22、23 キュー 24 WRRスケジューラ DESCRIPTION OF SYMBOLS 1 Cell input part 2 Queue selection part 3 1-3n Queue 4 1-4n Weight counter 5 Output cell selection part 6 Reset control circuit 7 Cell output part 8 Counter value notification signal 9 Output enable signal 10 Empty signal 12 Reset instruction signal 21 22, 23 queue 24 WRR scheduler

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】スイッチ本体と、前記スイッチの複数の入
力ポートおよび出力ポートのそれぞれに配備され、セル
を蓄積する入力バッファ部および出力バッファ部と、を
含むATMスイッチにおける、前記入力バッファ部およ
び出力バッファ部におけるスケジューリング方式におい
て、 前記入力バッファ部および前記出力バッファ部に、出方
路毎、セルのトラヒック種類毎に、バッファを論理的に
分割したキューと、前記各キューに対応するウエイトカ
ウンタと、を備え、各クラスのウエイトカウンタの値とバッファ量をもとに
出力セルの選択を行うWRR(Weighted Round Robi
n;重み付けラウンドロビン)制御において、WRRの
対象となるクラス間にプライオリティ(優先度)を設
、 前記ウエイトカウンタが0でないクラスのキューが複数
有る場合、優先度が高いクラスのキューの中から回転優
先方式により、出力を許可するキューを決定し、 前記ウエイトカウンタが0でないクラスの中に優先度が
高いクラスのキューが無い場合には、優先度が低いクラ
スのキューの中から回転優先方式により、出力を許可す
るキューを決定し、セルを読み出す、ことを特徴とする
ATMスイッチにおけるスケジューリング方式。
1. An ATM switch, comprising: a switch main body; and an input buffer unit and an output buffer unit provided in each of a plurality of input ports and output ports of the switch and accumulating cells. In the scheduling method in the buffer unit, the input buffer unit and the output buffer unit, for each output path, for each type of traffic of the cell, a queue that logically divided the buffer, a weight counter corresponding to each queue, Based on the weight counter value and buffer amount of each class.
WRR (Weighted Round Robi) for selecting output cells
n; weighted round robin) control,
Priority (priority) is set between target classes.
In the case where there are a plurality of queues of a class whose weight counter is not 0, a queue for which output is permitted is determined by a rotation priority method from among the queues of the class with a higher priority, and the queue whose weight counter is not 0 is selected. If there is no high-priority class queue, an ATM switch that determines a queue for which output is permitted from among low-priority class queues by a rotation priority method and reads out cells is characterized by scheduling. method.
【請求項2】スイッチ本体と、前記スイッチの複数の入
力ポートおよび出力ポートのそれぞれに配備され、セル
を蓄積する入力バッファ部および出力バッファ部と、を
含むATMスイッチにおいて、 入力セルをトラヒッククラス別、あるいは出方路別に蓄
積する複数のキューと、 前記各キューに対する出力の比を設定するウエイトカウ
ンタと、を備え、各クラスのウエイトカウンタの値とバッファ量をもとに
出力セルの選択を行うWRR(Weighted Round Robi
n;重み付けラウンドロビン)制御において、WRRの
対象となるクラス間にプライオリティ(優先度)を設
、 各クラスのウエイトとキューの蓄積数から出力セルの選
択を行う出力セル選択部が、予め設定される各クラスの
プライオリティ(優先度)を参照し、プライオリティが
高いクラスを優先して選択する、ことを特徴とするAT
Mスイッチにおけるスケジューリング方式。
2. An ATM switch including a switch body, and an input buffer unit and an output buffer unit provided at each of a plurality of input ports and output ports of the switch and accumulating cells, wherein input cells are classified by traffic class. Or a plurality of queues to be accumulated for each departure route, and a weight counter for setting a ratio of the output to each of the queues , based on the value of the weight counter of each class and the buffer amount.
WRR (Weighted Round Robi) for selecting output cells
n; weighted round robin) control,
Priority (priority) is set between target classes.
The output cell selection unit that selects an output cell based on the weight of each class and the number of accumulated queues refers to a preset priority (priority) of each class and preferentially selects a class with a higher priority. AT characterized by the following
Scheduling method in M switch.
【請求項3】スイッチ本体と、前記スイッチの複数の入
力ポートおよび出力ポートのそれぞれに配備され、セル
を蓄積する入力バッファ部および出力バッファ部と、を
含むATMスイッチにおいて、 複数のトラヒッククラス別、あるいは出力方路別に配備
される複数のキューと、 前記各キューに対する出力の比を設定するウエイトカウ
ンタと、を備え、 各々のトラヒッククラスには、低優先、又は高優先のプ
ライオリティを設定し、実時間性が要求されるトラヒッ
ククラスについては、高優先のプライオリティを与え、
出力セル選択部は、各クラスのウエイトカウンタの値
と、キューのキュー長の積が0でないクラスのうち、プ
ライオリティが高優先に設定されているクラスが存在す
る場合には、その中から回転優先方式で出力を許可する
キューを決定し、 プライオリティが高優先に設定されているクラスが存在
しない場合には、プライオリティが低優先に設定されて
いるクラスの中から回転優先方式で出力を許可するキュ
ーを決定することにより、ATMスイッチにおけるWR
Rスケジューリング制御を行うことを特徴とするATM
スイッチにおけるスケジューリング方式。
3. An ATM switch comprising: a switch body; and an input buffer unit and an output buffer unit provided at each of a plurality of input ports and output ports of the switch and accumulating cells. Alternatively, it comprises a plurality of queues provided for each output route, and a weight counter for setting an output ratio for each of the queues. Each traffic class is set with a low-priority or high-priority priority, and For traffic classes that require time, give high priority
If the product of the weight counter value of each class and the queue length of the queue is not 0 and there is a class whose priority is set to high priority, the output cell selection unit selects the rotation priority from among those classes. Determines the queue for which output is permitted by the method, and if there is no class with high priority, the queue for which output is permitted in the rotation priority method from among the classes with low priority WR in the ATM switch
ATM characterized by performing R scheduling control
Scheduling method in the switch.
【請求項4】ATMセルを入力するセル入力部と、 複数のトラヒッククラス別、あるいは出方路別に配備さ
れる複数のキューと、 前記各キューに対応するウエイトカウンタと、 キュー選択部と、 出力セル選択部と、を備え、各クラスのウエイトカウンタの値とバッファ量をもとに
出力セルの選択を行う WRR(Weighted Round Robi
n;重み付けラウンドロビン)制御において、WRRの
対象となるクラス間にプライオリティ(優先度)を設
、 前記キュー選択部は、前記セル入力部よりセルを受信す
ると、該セルに付加されたトラヒッククラス、あるいは
出方路情報を識別して、複数のトラヒッククラス別、あ
るいは出方路別に配備される前記複数キューのうちいず
れのキューに書き込むかを選択し、前記セルは選択され
たキューに蓄積され、 前記出力セル選択部は、各キューのセル蓄積数を示すキ
ュー長通知信号と、各ウエイトカウンタの値を示すカウ
ンタ値通知信号と、各トラヒッククラスのプライオリテ
ィ情報を監視し、回転優先制御により、1セル時間に1
回出力キューの選択を行い、選択したキューに対し出力
許可信号を送信し、 前記出力セル選択部からの出力許可信号を受けたキュー
からセルを読み出す、ことを特徴とするATMスイッチ
におけるスケジューリング方式。
4. A cell input unit for inputting an ATM cell; a plurality of queues provided for each of a plurality of traffic classes or for each outgoing route; a weight counter corresponding to each of the queues; a queue selection unit; And a cell selector , based on the value of the weight counter and the buffer amount of each class.
WRR (Weighted Round Robi) for selecting output cells
n; weighted round robin) control,
Priority (priority) is set between target classes.
Only, the queue selection section receives the cell from the cell input part, the added traffic class to the cell or to identify the output path information, are deployed by the plurality of traffic classes, or by outgoing line The cell is stored in the selected queue, and the output cell selection unit includes a queue length notification signal indicating the number of cells stored in each queue, The counter value notification signal indicating the value of the counter and the priority information of each traffic class are monitored.
A scheduling method in an ATM switch, comprising selecting an output queue, transmitting an output permission signal to the selected queue, and reading cells from the queue receiving the output permission signal from the output cell selection unit.
JP9227193A 1997-08-08 1997-08-08 Scheduling method in ATM switch Expired - Lifetime JP2967767B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9227193A JP2967767B2 (en) 1997-08-08 1997-08-08 Scheduling method in ATM switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9227193A JP2967767B2 (en) 1997-08-08 1997-08-08 Scheduling method in ATM switch

Publications (2)

Publication Number Publication Date
JPH1168770A JPH1168770A (en) 1999-03-09
JP2967767B2 true JP2967767B2 (en) 1999-10-25

Family

ID=16856959

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9227193A Expired - Lifetime JP2967767B2 (en) 1997-08-08 1997-08-08 Scheduling method in ATM switch

Country Status (1)

Country Link
JP (1) JP2967767B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7227860B2 (en) 2000-03-01 2007-06-05 Nec Corporation Packet switch and method of scheduling the same

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8073695B1 (en) 1992-12-09 2011-12-06 Adrea, LLC Electronic book with voice emulation features
US7865567B1 (en) * 1993-12-02 2011-01-04 Discovery Patent Holdings, Llc Virtual on-demand electronic book
US9053640B1 (en) 1993-12-02 2015-06-09 Adrea, LLC Interactive electronic book
JP3439373B2 (en) 1999-05-12 2003-08-25 日本電気通信システム株式会社 Competitive priority control circuit
JP3683133B2 (en) 1999-08-17 2005-08-17 日本電気株式会社 Packet scheduling device
JP2003528367A (en) * 1999-10-27 2003-09-24 ディスカバリー・コミニュケーションズ・インコーポレーテッド A method for virtual on-demand e-books
KR100327162B1 (en) * 1999-11-24 2002-03-13 서평원 Cell Scheduling Method According To Weighted Priority In ATM Switch
KR100600325B1 (en) * 1999-12-27 2006-07-14 주식회사 케이티 Event handling system and method in high speed ATM networks
US7142514B2 (en) * 2000-09-29 2006-11-28 Zarlink Semiconductor V.N. Inc. Bandwidth sharing using emulated weighted fair queuing
KR100436365B1 (en) * 2001-06-23 2004-06-18 삼성전자주식회사 ATM-based delay adaptive scheduling apparatus according to traffic types and method thereof
KR100447058B1 (en) * 2001-09-18 2004-09-04 유티스타콤코리아 유한회사 Method of Two-Phased Weighted Fair Queueing for Improving CDV and CLP in ATM Network
KR100441883B1 (en) * 2002-04-04 2004-07-27 한국전자통신연구원 Apparatus and method for Ingress control of packet switch system
JP5407491B2 (en) * 2009-03-31 2014-02-05 日本電気株式会社 Arbitration circuit, overflow control method, and overflow control program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
信学ソサエティ96−B−726

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7227860B2 (en) 2000-03-01 2007-06-05 Nec Corporation Packet switch and method of scheduling the same

Also Published As

Publication number Publication date
JPH1168770A (en) 1999-03-09

Similar Documents

Publication Publication Date Title
US6654343B1 (en) Method and system for switch fabric flow control
US7619969B2 (en) Hardware self-sorting scheduling queue
US5757771A (en) Queue management to serve variable and constant bit rate traffic at multiple quality of service levels in a ATM switch
AU752188B2 (en) System and method for scheduling message transmission and processing in a digital data network
JP2967767B2 (en) Scheduling method in ATM switch
US5774453A (en) Input/output buffer type ATM switch
US6973032B1 (en) Selective backpressure control for multistage switches
US6144636A (en) Packet switch and congestion notification method
EP0858717B1 (en) Improvements in or relating to an atm switch
EP0706298A2 (en) Dynamic queue length thresholds in a shared memory ATM switch
JP3115546B2 (en) Method for optimally transmitting ATM cells
JP2959540B2 (en) Node device
US8073006B2 (en) ATM cell conversion circuit and ATM cell conversion method
JP2001053807A (en) Packet scheduling device
KR19990087972A (en) Rate guarantees through buffer management
JP2882384B2 (en) Traffic shaping device
JPH10224376A (en) Path designation switch for digital signal two-way transmission
EP0858716B1 (en) Improvements in or relating to an atm switch
JP2003533107A (en) Method and apparatus for managing packet queues in a switch
AU2001248993A1 (en) A method and an arrangement for managing packet queues in switches
JP2000332793A (en) Atm cell buffer system and congestion control method therefor
US7680045B2 (en) Packet switching device with a feedback method of the arbiter
JP3461110B2 (en) Band shared circuit
JP3209891B2 (en) ATM cell temporary storage
US6697327B1 (en) ATM switching system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990721