JP4364682B2 - Frame transfer device - Google Patents
Frame transfer device Download PDFInfo
- Publication number
- JP4364682B2 JP4364682B2 JP2004072938A JP2004072938A JP4364682B2 JP 4364682 B2 JP4364682 B2 JP 4364682B2 JP 2004072938 A JP2004072938 A JP 2004072938A JP 2004072938 A JP2004072938 A JP 2004072938A JP 4364682 B2 JP4364682 B2 JP 4364682B2
- Authority
- JP
- Japan
- Prior art keywords
- frame
- output
- congestion
- input
- transfer
- 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 - Fee Related
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Description
本発明は、ネットワーク上でフレームを転送するフレーム転送装置に関するものである。
The present invention relates to a frame transfer apparatus for transferring a frame on a network.
ネットワーク上でフレームを転送するフレーム転送装置は、一般的に、入力されたフレームをフレームの転送先に対応したポートに出力する際に、一旦入力フレームをキューに蓄積しておき、キューに蓄積されたフレームを転送する。その際に、フローの集中などによりキューに蓄積したフレームをすぐに転送することができないことがある。このような場合は、蓄積されたフレームの総フレーム長がキューの長さ制限を超えたことを検出すると、検出したキューにフレームが並ばないようにフレームを廃棄するといった輻輳制御を行っている。輻輳制御は、キューの長さの制限、すなわち、フレームを廃棄する条件によってその特徴が決定される。 In general, a frame transfer apparatus that transfers frames over a network temporarily stores input frames in a queue and stores them in a queue when outputting the input frames to a port corresponding to the frame transfer destination. Forward the frame. At that time, frames accumulated in the queue may not be transferred immediately due to flow concentration or the like. In such a case, when it is detected that the total frame length of the accumulated frames exceeds the queue length limit, congestion control is performed such that the frames are discarded so that the frames are not arranged in the detected queue. The feature of the congestion control is determined by the restriction on the queue length, that is, the condition for discarding the frame.
キューの長さの制限の最大値を大きく設定すればフレームの廃棄を抑制することができるが、複数のポートを有するフレーム転送装置において、キューの長さ制限の最大値とポートの積に匹敵するほど多くのフレームバッファを備えると、装置のコストが高くなってしまう。そのため、一般的には、キュー毎に対応したフレームバッファを備えるのではなく、装置内のすべてのキューで1つのフレームバッファを共有する共有バッファ構成とすることが多い。共有バッファ構成のフレーム転送装置では、キューの長さ制限は固定的に設定されて、ポートやキュー毎に公平にフレームバッファを使用したり、重み付けによってフレームバッファを使用したりする輻輳制御が行われる。 If the maximum queue length limit is set to a large value, frame discard can be suppressed. However, in a frame transfer apparatus having a plurality of ports, it is comparable to the product of the maximum queue length limit and the port. If so many frame buffers are provided, the cost of the apparatus increases. Therefore, in general, a frame buffer corresponding to each queue is not provided, but a common buffer configuration in which one frame buffer is shared by all the queues in the apparatus is often used. In a frame transfer device with a shared buffer configuration, the queue length limit is fixedly set, and congestion control is performed such that the frame buffer is used fairly for each port or queue, or the frame buffer is used by weighting. .
動的にキューの長さ制限を設定する従来技術として特許文献1がある。特許文献1に記載の従来技術では、IEEE802.3Xに基づくポーズフレームの受信により送信が停止している際に、送信バッファキューの容量をポートごとに動的に割り当てることで、未使用のバッファキューを当該ポートの送信バッファキューに割り当てて、パケットバッファの容量を見かけ上増やすようにしている。すなわち、未使用のバッファキューをポーズフレームの受信によってフロー制御を検出したポートのバッファキューとして使用することでのキューの長さの制限を大きく設定することを可能とし、フレームの廃棄を抑制するようにしている。 There is Patent Document 1 as a conventional technique for dynamically setting a queue length limit. In the prior art described in Patent Document 1, when transmission is stopped due to the reception of a pause frame based on IEEE802.3X, the capacity of the transmission buffer queue is dynamically allocated for each port, so that an unused buffer queue Is assigned to the transmission buffer queue of the port so that the capacity of the packet buffer is apparently increased. In other words, it is possible to set a large queue length limit by using an unused buffer queue as a buffer queue of a port that has detected flow control by receiving a pause frame, and to suppress frame discard. I have to.
しかしながら、上記従来技術では、設定した長さ制限に実際にフレームが溜まるまで輻輳制御を行うことができないため、多数のポートを有するフレーム転送装置の場合、任意のポートで輻輳が発生すると、この輻輳が発生したポートがフレームバッファを多く使用してしまい、他のポートに割り当てられるフレームバッファが少なくなってしまうという問題があった。 However, in the above prior art, congestion control cannot be performed until frames are actually accumulated within the set length limit. Therefore, in the case of a frame transfer apparatus having a large number of ports, if congestion occurs at an arbitrary port, this congestion There is a problem in that the port in which the occurrence of the error occurs uses a large amount of the frame buffer, and the number of frame buffers allocated to other ports decreases.
また、近年のインターネットの普及などにより、フレーム転送装置は、リアルタイム性よりはフレームの低損失性が要求されるファイル転送などのフローと、リアルタイム性が要求される音声や映像などのフローとを一緒に扱うようになっている。そのため、輻輳時にキューに溜まったフレームを輻輳が解除されてから出力するといった輻輳制御では、フレーム転送の遅延が大きくなってしまい、リアルタイム性が要求されるフローの転送には向いていないという問題があった。 In addition, due to the spread of the Internet in recent years, the frame transfer apparatus has a flow of file transfer that requires low loss of frames rather than real-time performance, and a flow of audio and video that requires real-time performance. To handle. For this reason, congestion control, such as outputting the frames accumulated in the queue at the time of congestion after the congestion is released, increases the delay of frame transfer, and is not suitable for transfer of flows that require real-time performance. there were.
後者の問題は、上記従来技術を応用して、フロー制御を検出したキューの長さ制限を提言とは逆に小さくすることで解決することが考えられる。しかしながら、この場合には、遅延を問題としないフローのフレームも廃棄してしまうため、リアルタイム性よりはフレームの低損失性が要求されるファイル転送などのフローの転送に向かなくなるという新たな問題が発生してしまう。 It is conceivable to solve the latter problem by applying the above-described conventional technique and reducing the limit on the length of the queue detecting the flow control, contrary to the proposal. However, in this case, since a frame of a flow that does not cause a delay is discarded, a new problem that it is not suitable for a flow transfer such as a file transfer that requires a low loss of the frame rather than a real-time property. Will occur.
この発明は上記に鑑みてなされたもので、輻輳が予測可能な場合には実際にキューに蓄積しているフレームがキューの長さ制限に達していなくてもフレーム廃棄制御を行うことにより、フレームバッファの使用量を抑制するフレーム転送装置を得ることを第1の目的とする。 The present invention has been made in view of the above. When congestion can be predicted, the frame discard control is performed even if the frame actually accumulated in the queue does not reach the queue length limit. It is a first object to obtain a frame transfer apparatus that suppresses the amount of buffer usage.
第2の目的は、輻輳を予測してフレーム廃棄を行うことで輻輳時にキューに蓄積しているフレーム数を抑制することで、輻輳解除時に出力するフレームの出力遅延を抑制するフレーム転送装置を得ることである。 The second object is to obtain a frame transfer device that suppresses output delay of a frame that is output when congestion is canceled by suppressing the number of frames accumulated in the queue at the time of congestion by predicting congestion and performing frame discarding. That is.
第3の目的は、輻輳が発生することが予測される場合でも、フロー種別によってフレームの廃棄を行うか否かを判定することで、輻輳制御中に転送遅延を問題としないフローにフレームバッファの使用量を多く割り当てるフレーム転送装置を得ることである。 The third purpose is to determine whether or not to discard a frame according to the flow type even when congestion is predicted, so that the frame buffer can be used for a flow that does not cause a transfer delay during congestion control. It is to obtain a frame transfer apparatus that allocates a large amount of usage.
上記目的を達成するため、この発明にかかるフレーム転送装置は、複数のポートによってネットワークに接続されて、入力されたフレームを転送するフレーム転送装置において、前記入力されたフレームの中からフレームの送信を所定の時間停止するフロー制御フレームを検出した場合には、このフロー制御フレームによって指定された送信停止時間の間フレームを出力することを停止するとともに、転送禁止通知を出力するポート処理部、を前記複数のポート毎に備え、前記入力されたフレームを解析してフロー種別と転送先ポートを選択して、選択したポートから前記転送禁止通知を受けていない場合には、前記入力されたフレームを決定したポートに出力するフレーム解析部、を備えることを特徴とする。 To achieve the above object, a frame transfer apparatus according to the present invention is a frame transfer apparatus that is connected to a network by a plurality of ports and transfers an input frame, and transmits a frame from the input frame. When a flow control frame that stops for a predetermined time is detected, the port processing unit that stops outputting a frame for a transmission stop time specified by the flow control frame and outputs a transfer prohibition notification, Prepare for each of a plurality of ports, analyze the input frame, select a flow type and a transfer destination port, and if the transfer prohibition notification is not received from the selected port, determine the input frame A frame analysis unit for outputting to the port.
この発明によれば、複数のポートに対応したポート処理部が、入力されたフレームの中からフレームの送信を所定の時間停止するフロー制御フレームを検出した場合には、このフロー制御フレームによって指定された送信停止時間の間に入力されたフレームを受け付けないようにしている。 According to the present invention, when a port processing unit corresponding to a plurality of ports detects a flow control frame that stops frame transmission for a predetermined time from the input frames, it is designated by the flow control frame. The frame input during the transmission stop time is not accepted.
この発明にかかるフレーム転送装置によれば、複数のポートに対応したポート処理部が、入力されたフレームの中からフレームの送信を所定の時間停止するフロー制御フレームを検出した場合には、このフロー制御フレームによって指定された送信停止時間の間に入力されたフレームを受け付けないようにしているので、送信停止時間の間のフレームを蓄積する必要がなくなり、フレームを格納するフレームバッファの使用量を抑制することができる。 According to the frame transfer apparatus of the present invention, when a port processing unit corresponding to a plurality of ports detects a flow control frame that stops frame transmission for a predetermined time from the input frames, Since frames input during the transmission stop time specified by the control frame are not accepted, it is no longer necessary to accumulate frames during the transmission stop time, reducing the amount of frame buffer used to store frames. can do.
以下に、この発明にかかるフレーム転送装置の実施の形態を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。 Embodiments of a frame transfer apparatus according to the present invention will be described below in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.
実施の形態1.
図1〜図5を用いてこの発明における実施の形態1を説明する。図1は、この発明における実施の形態1のフレーム転送装置の構成を示すブロック図である。この発明における実施の形態1のフレーム転送装置は、複数(この場合は2つ)のポート21,22と、ポート21,22に対応したポート処理部91,92と、フレームバッファ4と、フレーム解析部5とを備えている。なお、この発明における実施の形態1のフレーム転送装置は、IEEE802.3イーサネット(R)フレームを扱うフレーム転送装置であって、全二重通信を行うものとする。
Embodiment 1 FIG.
A first embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a block diagram showing the configuration of the frame transfer apparatus according to the first embodiment of the present invention. The frame transfer apparatus according to the first embodiment of the present invention includes a plurality (in this case, two) of
ポート21およびポート22は同じ機能を備えている。ポート21は、ネットワークから入力されるフレームを受信するとともに、受信したフレームを宛先ポートに対応してフレームをネットワークに送信する。
ポート処理部91およびポート処理部92は、同じ機能を備えており、ポート処理部91はポート21に対応した入出力制御を行い、ポート処理部92はポート22に対応した入出力制御を行う。
The
ポート処理部91は、フロー制御検出部31と、輻輳予測部71と、出力制御部81と、出力キュー61とを備えている。
The
フロー制御検出部31は、対応するポート21から入力されたフレームがイーサネット(登録商標)の全二重通信に用いられるIEEE802.3xポーズフレーム(以下、ポーズフレームとする)であるか否かを判定する。
The flow
ポーズフレームは、図2に示すように、フレームヘッダ11と、データ12と、フレームトレイラ13とで構成され、データ12内に、送信停止時間情報を含むポーズコマンド14を有している。IEEE802.3xでは、ポーズフレームを受信したフレーム転送装置は、ポーズコマンド14に含まれる送信停止時間情報に基づいて所定の時間送信を中止することが規定されている。フロー制御検出部31は、ポート21から入力されたフレームがポーズフレームであるか否かを判定して、受信したフレームがポーズフレームである場合には、送信停止時間とフロー制御受信とを輻輳予測部71に通知する。フロー制御検出部31は、ポート21から入力されたフレームがポーズフレームではない場合には、入力されたフレームをフレームバッファ4とフレーム解析部5とに出力する。
As shown in FIG. 2, the pause frame includes a
輻輳予測部71は、フロー制御検出部31から通知される送信停止時間とフロー制御受信とに基づいて、輻輳が発生するか否かを予測する。輻輳予測部71は、フロー制御受信が通知されて、かつ送信停止時間が「0」でない場合には、輻輳が発生すると予測して、ポート21へのフレームの出力を禁止することを出力制御部81に通知するとともに、フレーム転送装置内の計時機能によって送信停止時間の測定を開始する。輻輳予測部71は、フロー制御受信が通知されて、かつ送信停止時間が「0」の場合には、輻輳が発生する状態が回避されたと予測して、出力を許可することを出力制御部81に通知する。また、輻輳予測部71は、計時機能によって送信停止時間が経過したことが通知された場合にも、輻輳が発生する状態が回避されたと予測して、出力を許可することを出力制御部81に通知する。
The
出力制御部81は、輻輳予測部71から出力を禁止する通知を受けた場合、出力禁止通知を出力キュー61に出力するとともに、出力キュー61への転送禁止通知をフレーム解析部5に出力する。なお、転送禁止通知には、転送を禁止するフロー種別が含まれている。また、出力制御部81は、輻輳予測部71から出力を許可する通知を受けた場合、出力キュー61に出力許可通知を出力するとともに、出力キュー61への転送許可通知をフレーム解析部5に出力する。
When the
出力キュー61は、フレーム解析部5から入力されるアドレスを保持して、保持したアドレスに保持されているフレームをフレームバッファ4から読み出して、ポート21に出力する。また、出力キュー61は、ポーズフレームによって行われる予測輻輳制御とは異なる輻輳制御、たとえば、フレームの優先度によって出力キュー61に蓄積されているフレームが格納されているアドレスの数が予め定められた閾値を超えた場合(出力キュー61の長さの制限を超えた場合)には、優先度の低いフレームを廃棄するなどの一般的な輻輳制御の機能を備えている。
The
フロー制御検出部31とフロー制御検出部32、輻輳予測部71と輻輳予測部72、出力制御部81と出力制御部82、および出力キュー61と出力キュー62は、それぞれ同じ機能を備えているので、重複する説明は省略する。
Since the flow
フレームバッファ4は、ポート21,22から入力されたポーズフレームとは異なるフレームを格納するとともに、フレームを格納したアドレスをフレーム解析部5に通知する。
The frame buffer 4 stores a frame different from the pause frame input from the
フレーム解析部5は、フロー制御検出部31,32から入力されたフレームを解析して、出力制御部81,82から入力される転送禁止通知または転送許可通知に基づいて、フレームバッファ4に格納されているフレームを廃棄するか否かを決定する。具体的には、フレームが格納されているフレームバッファ4のアドレスを開放することでフレームを廃棄する。
The frame analysis unit 5 analyzes the frames input from the flow
つぎに、図3〜図5のフローチャートを参照して、この発明における実施の形態1のフレーム転送装置の動作を説明する。ポート21,22からフレームが入力されると、ポート21,22に対応したフロー制御検出部31,32は、入力されたフレームがポーズフレームであるか否かを判定する。具体的には、フロー制御検出部31,32は、ポート21,22から入力されたフレームのフレームヘッダ11とフレームトレイラ13とを解析して、ポーズフレームであるか否かを判定する。入力されたフレームがポーズフレームである場合(図3のステップS100,Yes)、フロー制御検出部31,32は、輻輳予測処理を実行する(図3のステップS110)。
Next, the operation of the frame transfer apparatus according to the first embodiment of the present invention will be described with reference to the flowcharts of FIGS. When a frame is input from the
ここで、ポート21からポーズフレームが入力された場合を例に挙げて、図4のフローチャートを参照して、フレーム転送装置における輻輳予測処理の動作を説明する。フロー制御検出部31は、ポート21から入力されたフレームがポーズフレームであると判定すると、ポーズフレーム内のポーズコマンド14に含まれる送信停止時間とフロー制御受信とを輻輳予測部71に通知する(図4のステップS200)。ポーズフレームは送信を一時停止するためのフレームであり、転送する必要のないフレームであるので、フロー制御検出部31は、ポーズフレームを廃棄する(図4のステップS210)。
Here, taking as an example a case where a pause frame is input from the
輻輳予測部71は、通知された送信停止時間とフロー制御受信とに基づいて輻輳が発生するか否かを予測する。具体的には、輻輳予測部71は、通知された送信停止時間が「0」であるか否かを判定する(図4のステップS220)。送信停止時間が「0」ではない場合、輻輳予測部71は、輻輳が発生すると予測して、ポート21へのフレームの出力を禁止することを出力制御部81に通知する(図4のステップS230)。また、輻輳予測部71は、フレーム転送装置内の計時機能によって送信停止時間の測定を開始する(図4のステップS240)。
The
出力制御部81は、出力禁止通知を出力キュー61に出力するとともに、転送禁止通知をフレーム解析部5に出力する(図4のステップS250)。
The
一方、送信停止時間が「0」である場合、輻輳予測部71は、輻輳が発生する状態が回避されたと予測して、ポート21へのフレームの出力を許可することを出力制御部81に通知する(図4のステップS260)。また、輻輳予測部71は、計時機能を停止して、送信停止時間の測定を終了する(図4のステップS270)。
On the other hand, when the transmission stop time is “0”, the
出力制御部81は、出力許可通知を出力キュー61に出力するとともに、転送許可通知をフレーム解析部5に出力する(図4のステップS280)。
The
なお、ここではポート21から入力されたフレームがポーズフレームである場合を例に挙げて輻輳予測処理の動作を説明したが、ポート22から入力されたフレームがポーズフレームである場合は、ポート22に対応するポート処理部92によって上述した図4のフローチャートに示した輻輳予測処理が行われる。
Here, the operation of the congestion prediction process has been described by taking the case where the frame input from the
図3に戻って、入力されたフレームがポーズフレームではない場合(図3のステップS100,No)、フロー制御検出部31,32は、送信処理を実行する(図3のステップS120)。
Returning to FIG. 3, when the input frame is not a pause frame (No in step S100 in FIG. 3), the
ポート21から入力されたフレームがポーズフレームではない場合を例に挙げて、図5のフローチャートを参照して、送信処理の動作を説明する。フロー制御検出部31は、ポート21から入力されたフレームがポーズフレームではないと判定すると、入力されたフレームをフレームバッファ4に格納するとともに、入力されたフレームをフレーム解析部5に出力する(図5のステップS300)。フレームバッファ4は、フレームを格納したアドレスをフレーム解析部5に通知する(図5のステップS310)。
Taking the case where the frame input from the
フレーム解析部5は、フロー制御検出部31から入力されたフレームのフレームヘッダ11およびフレームトレイラ13に基づいて入力されたフレームが正常であるか否かを判定する。入力されたフレームに異常があると判定した場合には、フレーム解析部5は、判定したフレームを格納しているフレームバッファ4のアドレスを開放して(別のフレームを格納可能としてフレームを廃棄する)、処理を終了する。
The frame analysis unit 5 determines whether the input frame is normal based on the
入力されたフレームが正常であると判定した場合には、フレームのフレームヘッダ11を解析して、フレームのフロー種別および宛先ポートを抽出する。フレーム解析部5は、抽出した宛先ポートからフレームを出力するべき出力キュー6を決定する(図5のステップS320)。フレーム解析部5は、たとえば、抽出した宛先ポートがポート21を示している場合にはポート21に対応する出力キュー61にフレームを出力することを決定し、抽出した宛先ポートがポート22を示している場合にはポート22に対応する出力キュー62にフレームを出力することを決定する。
When it is determined that the input frame is normal, the
フレーム解析部5は、抽出したフロー種別および決定した出力キューに基づいて予測輻輳制御の対象となるフレームであるか否かを判定して、フレームを廃棄するか否かを決定する(図5のステップS330)。具体的には、フレーム解析部5は、抽出したフロー種別が出力禁止通知に含まれているフロー種別であって、かつ決定した出力キューが出力を禁止されているか否かを判定する。抽出したフロー種別が出力禁止通知に含まれるフロー種別であって、かつ決定した出力キューが出力を禁止されている場合、すなわち、予測輻輳制御の対象となるフレームであると判定した場合、フレーム解析部5は、判定したフレームを格納しているフレームバッファ4のアドレスを開放して、処理を終了する(図5のステップS340)。たとえば、出力キュー61にフレームを出力することを決定した場合、フレーム解析部5は、出力キュー61へのフレームの転送が禁止されているか否かを判定する。出力キュー61へのフレームの転送が禁止されている場合には、フレーム種別に基づいて処理中のフレームが予測輻輳制御の対象となるフレームであるか否かを判定する。そして、予測輻輳制御の対象となるフレームである場合には、このフレームを格納しているフレームバッファ4のアドレスを開放する。また、出力キュー62にフレームを出力することを決定した場合には、出力キュー62へのフレームの転送が禁止されていて、かつ処理中のフレームが予測輻輳制御の対象となるフレームであると判定した場合、フレーム解析部5は、このフレームを格納しているフレームバッファ4のアドレスを開放する。
The frame analysis unit 5 determines whether or not to discard the frame based on the extracted flow type and the determined output queue, and determines whether or not to discard the frame (FIG. 5). Step S330). Specifically, the frame analysis unit 5 determines whether or not the extracted flow type is a flow type included in the output prohibition notification and the determined output queue is prohibited from outputting. If the extracted flow type is the flow type included in the output prohibition notification and the determined output queue is prohibited from output, that is, if it is determined that it is a frame subject to predictive congestion control, frame analysis The unit 5 releases the address of the frame buffer 4 storing the determined frame, and ends the processing (step S340 in FIG. 5). For example, when it is determined to output a frame to the
抽出したフロー種別が出力禁止通知に含まれるフロー種別ではない場合、または決定した出力キューが出力を許可されている場合、すなわち予測輻輳制御の対象外のフレームであると判定した場合、フレーム解析部5は、判定したフレームを格納しているフレームバッファ4のアドレスを決定した出力キューに通知する(図5のステップS350)。たとえば、出力キュー61にフレームを出力することを決定した場合には、出力キュー61へのフレームの転送が許可されているか、または出力キュー61へのフレームの転送は禁止されているが処理中のフレームが予測輻輳制御の対象外のフレームであると判断した場合に、フレーム解析部5は、フレームを格納しているフレームバッファ4のアドレスを出力キュー61に通知する。また、出力キュー62にフレームを出力することを決定した場合には、出力キュー62へのフレームの転送が許可されているか、または出力キュー62へのフレームの転送は禁止されているが処理中のフレームが予測輻輳制御の対象外のフレームであると判定した場合に、フレーム解析部5は、フレームを格納しているフレームバッファ4のアドレスを出力キュー62に通知する。出力キュー61は、予測輻輳制御とは異なる輻輳制御、たとえば、フレームの優先度によって出力キュー61に蓄積されているフレームが格納されているアドレスの数が予め定められた閾値を超えた場合(出力キュー61の長さの制限を超えた場合)には、優先度の低いフレームを廃棄するなどの一般的な輻輳制御が行われる。そのため、出力キュー61に蓄積されているアドレスが出力キュー61の長さの制限による輻輳制御が行われて、フレーム解析部5から通知されたアドレスのフレームが廃棄されることがある。
When the extracted flow type is not the flow type included in the output prohibition notification, or when the determined output queue is permitted to output, that is, when it is determined that the frame is not subject to the predicted congestion control, the frame analysis unit 5 notifies the determined output queue of the address of the frame buffer 4 storing the determined frame (step S350 in FIG. 5). For example, when it is determined to output a frame to the
出力キュー61は、入力されたアドレスに格納されているフレームを読み出して、読み出したフレームをポート21を介してネットワークに送信して、処理を終了する(図5のステップS360)。
The
このようにこの実施の形態1では、ポーズフレームを受信した場合には、指定された送信停止時間の間に入力されたフレームのうち、ポーズフレームを受信したポートから出力すべきフレームを廃棄するようにしているので、フレームバッファの使用量を抑制することができるとともに、輻輳解除時に出力するフレームの出力遅延を抑えることができる。 As described above, in the first embodiment, when a pause frame is received, a frame to be output from a port that has received the pause frame is discarded among frames input during the designated transmission stop time. Therefore, the amount of use of the frame buffer can be suppressed, and the output delay of the frame output when the congestion is released can be suppressed.
また、この実施の形態1では、フローを識別してフレームを廃棄するか否かを決定するようにしているので、遅延時間を問題としないフローにフレームバッファの使用量を多く割り当てることができる。 In the first embodiment, since the flow is identified and it is determined whether or not to discard the frame, it is possible to allocate a large amount of the frame buffer to a flow that does not cause a delay time.
実施の形態2.
図6および図7を用いて、この発明における実施の形態2を説明する。実施の形態1では、ポーズフレームによって予測輻輳制御を行った。この実施の形態2では、ポーズフレームを受信した時の出力キューに蓄積されているフレーム長の合計(滞留フレーム長)を考慮して、予測輻輳制御を行うものである。
Embodiment 2. FIG.
A second embodiment of the present invention will be described with reference to FIGS. In the first embodiment, predicted congestion control is performed using a pause frame. In the second embodiment, the predicted congestion control is performed in consideration of the total frame length (retained frame length) accumulated in the output queue when a pause frame is received.
図6は、この発明における実施の形態2のフレーム転送装置の構成を示すブロック図である。この発明における実施の形態2のフレーム転送装置は、図1に示した実施の形態1のフレーム転送装置の輻輳予測部71,72の代わりに輻輳予測部71a,72aを備え、出力キュー61,62の代わりに出力キュー61a,62aを備えている。図1に示した実施の形態1のフレーム転送装置と同じ機能を持つ構成部分には同一符号を付し、重複する説明は省略する。
FIG. 6 is a block diagram showing the configuration of the frame transfer apparatus according to the second embodiment of the present invention. The frame transfer apparatus according to the second embodiment of the present invention includes
出力キュー61aと出力キュー62aは、同じ機能を備えている。出力キュー61aは、実施の形態1の出力キュー61の機能に加えて、出力キュー61aに蓄積されている滞留フレーム長を輻輳予測部71aに通知する機能を備えている。
The
輻輳予測部71aと輻輳予測部72aは、同じ機能を備えている。輻輳予測部71aは、フロー制御検出部31から通知される送信停止時間およびフロー制御受信と、出力キュー61aから通知される滞留フレーム長とに基づいて、輻輳が発生するか否かを予測する。輻輳予測部71aは、フロー制御受信が通知されて、かつ送信停止時間が「0」でない場合であって、かつ出力キュー61aから通知された滞留フレーム長が予め定められた輻輳予測用閾値を超えている場合には、輻輳が発生すると予測して、ポート21へのフレームの出力を禁止することを出力制御部81に通知するとともに、フレーム転送装置内の計時機能によって送信停止時間の測定を開始する。輻輳予測部71aは、フロー制御受信が通知されて、かつ送信停止時間が「0」の場合には、輻輳が発生する状態が回避されたと予測して、出力を許可することを出力制御部81に通知する。また、輻輳予測部71aは、計時機能によって送信停止時間が経過したことが通知された場合にも、輻輳が発生する状態が回避されたと予測して、出力を許可することを出力制御部81に通知する。
The
つぎに、この発明における実施の形態2のフレーム転送装置の動作を説明する。なお、フロー制御検出部31,32が、それぞれポート21,22から入力されたフレームがポーズフレームであるか否かを判定して、送信処理を行うのか、予測輻輳処理を行うのかを決定する動作と、送信処理の動作については、図3および図5のフローチャートを参照して実施の形態1で説明した動作と同じ動作となるので、ここではその説明を省略する。
Next, the operation of the frame transfer apparatus according to the second embodiment of the present invention will be described. The flow
図7のフローチャートを参照して、この発明における実施の形態2のフレーム転送装置の予測輻輳処理の動作を説明する。なお、フロー制御検出部31,32がポーズフレーム内の送信停止時間とフロー制御受信とを輻輳予測部71a,72aに通知するとともにポーズフレームを廃棄するステップS400,S410と、輻輳予測部71a,72aが輻輳の発生を予測して出力を禁止することを出力制御部81,82に通知するとともに送信停止時間の計測を開始し、出力制御部81,82が出力禁止通知を出力キュー61a,62aに出力するとともに転送禁止通知をフレーム解析部5に出力するステップS440〜460と、輻輳予測部71a,72aが輻輳の発生が回避されたと判断して出力を許可することを出力制御部81,82に通知するとともに送信停止時間の計測を終了し、出力制御部81,82が出力許可通知を出力キュー61a,62aに出力するとともに転送許可通知をフレーム解析部5に出力するステップS470〜S490については、実施の形態1の動作と同じであるので、ここではその詳細な説明を省略する。
With reference to the flowchart of FIG. 7, the operation | movement of the prediction congestion process of the frame transfer apparatus of Embodiment 2 in this invention is demonstrated. It should be noted that the flow
フロー制御検出部31,32が入力されたポーズフレーム内の送信停止時間とフロー制御受信とを輻輳予測部71,72に通知し、ポーズフレームを廃棄する(ステップS400,S410)。
The flow
輻輳予測部71a,72aは、通知された送信停止時間とフロー制御受信とに基づいて輻輳が発生するか否かを予測する。具体的には、輻輳予測部71a,72aは、通知された送信停止時間が「0」であるか否かを判定する(ステップS420)。通知された送信停止時間が「0」ではない場合、輻輳予測部71a,72aは、出力キュー61a,62aから通知された滞留フレーム長と輻輳予測用閾値とを比較する(ステップS430)。比較の結果、出力キュー61aから通知された滞留フレーム長が輻輳予測用閾値を超えていた場合には、輻輳予測部71aは、出力キュー61aに輻輳が発生すると予測し、出力キュー62aから通知された滞留フレーム長が輻輳予測用閾値を超えていた場合には、輻輳予測部7は、出力キュー62aに輻輳が発生すると予測する。輻輳が発生すると予測すると、輻輳予測部71a,72aは、出力キュー61,62へのフレームの出力を禁止することを出力制御部81,82に通知するとともに送信停止時間の測定を開始し、出力制御部81,82は出力禁止通知を出力キュー61a,62aに出力するとともに転送禁止通知をフレーム解析部5に出力する(ステップS440〜S460)。
The
比較の結果、出力キュー61aから通知された滞留フレーム長が輻輳予測用閾値より小さい場合には、輻輳予測部71aは、出力キュー61aに余裕があり輻輳は発生しないと予測して処理を終了し、出力キュー62aから通知された滞留フレーム長が輻輳予測用閾値より小さい場合には、輻輳予測部72aは、出力キュー62aに余裕があり輻輳は発生しないと予測して処理を終了する。
As a result of the comparison, when the staying frame length notified from the
一方、送信停止時間が「0」である場合、輻輳予測部71a,72aは、輻輳が発生する状態が回避されたと予測して、出力を許可することを出力制御部81,82に通知するとともに送信停止時間の計測を終了し、出力制御部81,82が出力許可通知を出力キュー61a,62aに出力するとともに転送許可通知をフレーム解析部5に出力する(ステップS470〜S490)。
On the other hand, when the transmission stop time is “0”, the
このようにこの実施の形態2では、ポーズフレームを受信した場合には、その時点でのキューに蓄積されているフレーム長を考慮した上で、ポーズフレームを受信したポートから出力すべきフレームを廃棄するようにしているので、フレームバッファの使用量を抑制することができるとともに、輻輳解除時に出力するフレームの出力遅延を抑えることができる。 As described above, in the second embodiment, when a pause frame is received, the frame to be output from the port that received the pause frame is discarded in consideration of the frame length accumulated in the queue at that time. Thus, the amount of use of the frame buffer can be suppressed, and the output delay of the frame that is output when congestion is released can be suppressed.
また、この実施の形態2では、フローを識別してフレームを廃棄するか否かを決定するようにしているので、遅延時間を問題としないフローにフレームバッファの使用量を多く割り当てることができる。 In the second embodiment, since the flow is identified and whether or not to discard the frame is determined, a large amount of the frame buffer can be allocated to a flow that does not cause a delay time.
なお、この実施の形態2では、輻輳予測部71aと輻輳予測部72aとで、同じ輻輳予測用閾値を用いて説明したが、輻輳予測部71a,72aとで異なる値の輻輳予測用閾値を用いるようにしてもよい。
In the second embodiment, the
実施の形態3.
図8を用いて、この発明における実施の形態3を説明する。実施の形態2では、ポーズフレームを受信した時の出力キューに蓄積されているフレーム長の合計(滞留フレーム長)を考慮して、予測輻輳制御を行うようにした。この実施の形態3では、ポーズフレームを受信した時の出力キューの入力レートおよび送信停止時間に基づいて到着予測フレーム長を算出して、この到着予測フレーム長を考慮して予測輻輳制御を行うものである。
Embodiment 3 FIG.
A third embodiment of the present invention will be described with reference to FIG. In the second embodiment, the predicted congestion control is performed in consideration of the sum of the frame lengths accumulated in the output queue (pause frame length) when a pause frame is received. In the third embodiment, the predicted arrival frame length is calculated based on the input rate of the output queue when the pause frame is received and the transmission stop time , and the predicted congestion control is performed in consideration of the predicted arrival frame length. It is.
図8は、この発明における実施の形態3のフレーム転送装置の構成を示すブロック図である。この発明における実施の形態3のフレーム転送装置は、図1に示した実施の形態1のフレーム転送装置の輻輳予測部71,72の代わりに輻輳予測部71b,72bを備え、出力制御部81,82の代わりに出力制御部81a,82aを備えるとともに、ポート21に出力するフレームが格納されているフレームバッファ4のアドレスを蓄積する複数(この場合は2つ)の出力キュー611,612と、ポート22に出力するフレームが格納されているフレームバッファ4のアドレスを蓄積する複数(この場合は2つ)の出力キュー621,622とを備えている。図1に示した実施の形態1のフレーム転送装置と同じ機能を持つ構成部分には同一符号を付し、重複する説明は省略する。
FIG. 8 is a block diagram showing the configuration of the frame transfer apparatus according to the third embodiment of the present invention. The frame transfer apparatus according to the third embodiment of the present invention includes
出力キュー611,612は、ポート21に出力するフレームが格納されているフレームバッファ4のアドレスを蓄積する。そして、フレームバッファ4に格納されているフレームの中から、蓄積したアドレスに格納されているフレームを読み出して、読み出したフレームをポート21に出力する。なお、同時刻においては出力キュー611と出力キュー612のどちらか一方がポート21にフレームを出力する。また、出力キュー611,612は、それぞれに一定時間内に蓄積しているアドレス内のフレーム長から入力レートを計測するとともに、滞留フレーム長を算出して、計測した入力レートおよび算出滞留フレーム長を輻輳予測部71bに通知する。また、出力キュー611,612は、それぞれ予測輻輳制御を受け付けるか否かを設定することができる。
The
出力キュー621,622は、ポート22に出力するフレームが格納されているフレームバッファ4のアドレスを蓄積する。そして、フレームバッファ4に格納されているフレームの中から、蓄積したアドレスに格納されているフレームを読み出して、読み出したフレームをポート22に出力する。なお、同時刻においては出力キュー621と出力キュー622のどちらか一方がポート22にフレームを出力する。また、出力キュー621,622は、それぞれに一定時間内に蓄積しているアドレス内のフレーム長から入力レートを計測するとともに、滞留フレーム長を算出して、計測した入力レートおよび算出滞留フレーム長を輻輳予測部71bに通知する。また、出力キュー621,622は、それぞれ予測輻輳制御を受け付けるか否かを設定することができる。
The
出力制御部81aは、出力キュー611,612のスケジューリングを行い、輻輳予測部71bから出力を禁止する通知を受けた場合、出力禁止通知を出力キュー611,612に出力する。また、出力制御部81aは、輻輳予測部71bから出力を許可する通知を受けた場合、出力キュー611,612に出力許可通知を出力する。
The
出力制御部82aは、出力キュー621,622のスケジューリングを行い、輻輳予測部72bから出力を禁止する通知を受けた場合、出力禁止通知を出力キュー621,622に出力する。また、出力制御部82aは、輻輳予測部72bから出力を許可する通知を受けた場合、出力キュー621,622に出力許可通知を出力する。
The
輻輳予測部71bと輻輳予測部72bは同じ機能を備えている。輻輳予測部71bは、フロー制御検出部31から通知される送信停止時間およびフロー制御受信と、出力キュー611,612からそれぞれ通知される滞留フレーム長および入力レートとに基づいて、輻輳が発生するか否かを予測する。
The
輻輳予測部71bは、フロー制御受信通知が通知されて、かつ送信停止時間が「0」でない場合、出力キュー611,612から通知されたそれぞれの入力レート、およびフロー制御検出部31から通知された送信停止時間に基づいて到着予想フレーム長を算出する。到着予想フレーム長は、
到着予想フレーム長 = 入力レート × 送信停止時間 ・・・ (式1)
によって算出される。
Estimated arrival frame length = Input rate × Transmission stop time (Equation 1)
Is calculated by
輻輳予測部71bは、(式1)を用いて出力キュー611,612のそれぞれの到着予想フレーム長を算出して、算出した到着予想フレーム長が予め定められた輻輳予測用閾値を超えている場合には、輻輳が発生すると予測して、到着予想フレーム長が輻輳予測用閾値を超えた出力キュー611,612からポート21へのフレームの出力を禁止することを出力制御部81aに通知するとともに、フレーム転送装置内の計時機能によって送信停止時間の計測を開始する。
The
輻輳予測部71bは、フロー制御受信が通知されて、かつ送信停止時間が「0」の場合、または、出力キュー611,612から一定時間ごとに通知される入力レート、およびフロー制御検出部31から通知された送信停止時間に基づいて(式1)によって算出した到着予想フレーム長が予め定められた予測輻輳解除用閾値よりも小さくなった場合には、輻輳が発生する状態が回避されたと予測して、出力キュー611,612からポート21へのフレームの出力を許可することを出力制御部81aに通知する。
When the flow control reception is notified and the transmission stop time is “0”, or the
また、輻輳予測部71bは、計時機能によって送信停止時間が経過したことが通知された場合にも、輻輳が発生する状態が回避されたと予測して、出力キュー611,612からポート21へのフレームの出力を許可することを出力制御部81aに通知する。
Further, the
なお、予測輻輳解除用閾値は、予測輻輳用閾値と同じ値であっても、異なる値であってもよいが、輻輳予測と輻輳解除とが頻繁に発生することを抑制するためには、予測輻輳解除用閾値の値を予測輻輳用閾値よりも小さい値に設定することが好ましい。 Note that the predicted congestion release threshold value may be the same value as the predicted congestion threshold value or a different value. However, in order to suppress frequent occurrence of congestion prediction and congestion release, the prediction congestion release threshold value It is preferable to set the congestion release threshold value to a value smaller than the predicted congestion threshold value.
フレーム解析部5は、フロー制御検出部31,32から入力されたフレームを解析して、フレームの宛先ポートに対応する出力キュー611,612,621,622にフレームを出力する機能のみを備え、フレームの廃棄処理は行わない。
The frame analysis unit 5 has a function of analyzing the frames input from the flow
つぎに、この発明における実施の形態3のフレーム転送装置の動作を説明する。なお、この発明における実施の形態3のフレーム転送装置の輻輳予測処理の動作は、図7のフローチャートで説明した実施の形態2のフレーム転送装置の輻輳予測処理の動作と、輻輳が発生したか否か予測判定、および輻輳の発生が回避されたかの判定が異なるだけであるので、判定に関する動作のみを説明する。なお、出力キュー611,621には予測輻輳制御を受け付けることが設定されており、一定時間毎に入力レートおよび滞留フレーム長を輻輳予測部71b,72bに通知しており、出力キュー612,622には予測輻輳制御を受け付けないことが設定されているものとする。
Next, the operation of the frame transfer apparatus according to the third embodiment of the present invention will be described. The operation of the congestion prediction process of the frame transfer apparatus according to the third embodiment of the present invention is the same as the operation of the congestion prediction process of the frame transfer apparatus according to the second embodiment described with reference to the flowchart of FIG. Since only the prediction determination and the determination of whether or not congestion has been avoided are different, only the operation related to the determination will be described. The
ポーズフレームが入力されてフロー制御検出部3からフロー制御受信と送信停止時間の通知を受けると、輻輳予測部71b,72bは、それぞれ輻輳が発生するか否かを予測する。
When a pause frame is input and notification of flow control reception and transmission stop time is received from the flow control detection unit 3, the
通知された送信停止時間が「0」ではない場合、輻輳予測部71b,72bは、出力キュー611,621から通知された入力レートおよびフロー制御検出部31,32から通知された送信停止時間に基づいて(式1)によって滞留予想フレーム長を算出する。算出した滞留予想フレーム長が輻輳予測用閾値を超えている場合、輻輳予測部71b,72bは、出力キュー611,621からポート21,22へのフレームの出力を禁止することを出力制御部81a,82aに通知するとともに、フレーム転送装置内の計時機能によって送信停止時間の計測を開始する。出力制御部81a,82aは、出力禁止通知を出力キュー611,621に出力するとともに、出力キュー611,621への転送禁止通知をフレーム解析部5に出力する。
When the notified transmission stop time is not “0”, the
算出した滞留予想フレーム長が輻輳予測用閾値よりも小さい場合、輻輳予測部71b,72bは、輻輳は発生しないと予測して、処理を終了する。
When the calculated expected staying frame length is smaller than the congestion prediction threshold, the
通知された送信停止時間が「0」の場合、輻輳予測部71b,72bは、輻輳が発生する状態は回避されたと予測して、出力キュー611,621からポート21,22へのフレームの出力を許可することを出力制御部81a,82aに通知するとともに送信停止時間の計測を終了する。出力制御部81a,82aは、出力許可通知を出力キュー611,621に出力するとともに出力キュー611,621への転送許可通知をフレーム解析部5に出力する。
When the notified transmission stop time is “0”, the
一方、輻輳予測部71b,72bには、一定時間ごとに出力キュー611,621から入力レートおよび滞留フレーム長が通知されている。輻輳予測部71b,72bは、出力キュー611,621へのフレームの出力を禁止している場合、入力レートおよび滞留フレーム長が通知される毎に、(式1)を用いて滞留予想フレーム長を算出する。そして、算出した滞留予想フレーム長が輻輳予測解除用閾値より小さくなった場合、輻輳予測部71b,72bは、輻輳が発生する状態は回避されたと予測して、出力キュー611,621からポート21,22へのフレームの出力を許可することを出力制御部81a,82aに通知するとともに送信停止時間の計測を終了する。出力制御部81a,82aは、出力許可通知を出力キュー611,621に出力するとともに出力キュー611,621への転送許可通知をフレーム解析部5に出力する。
On the other hand, the
つぎに、この発明における実施の形態3のフレーム転送装置の送信処理の動作を説明する。フロー制御検出部31は、ポート21から入力されたフレームがポーズフレームではないと判定すると、入力されたフレームをフレームバッファ4に格納するとともに、入力されたフレームをフレーム解析部5に出力する。フレームバッファ4は、フレームを格納したアドレスをフレーム解析部5に通知する。
Next, the transmission processing operation of the frame transfer apparatus according to the third embodiment of the present invention will be described. When the flow
フレーム解析部5は、フレームの宛先ポートからフレームを出力する出力キューを決定して、決定した出力キューにフレームを出力する。 The frame analysis unit 5 determines an output queue for outputting a frame from the destination port of the frame, and outputs the frame to the determined output queue.
フレーム解析部5からフレームを格納したフレームバッファ4のアドレスが入力されると、出力キュー611,612,621,622は、出力禁止通知を受けているのか出力許可通知を受けているのかを判定して、入力されたアドレスを開放してフレームを廃棄するか否かを決定する。出力キュー611,621は、輻輳予測制御を受け付ける設定がなされている。出力禁止通知を受けている場合、出力キュー611,612は、入力されたアドレスを開放してフレームを廃棄するとともに、入力されたアドレスを蓄積せずに廃棄する。出力許可通知を受けている場合、出力キュー611,612は、入力されたアドレスを蓄積し、出力制御部81a,82aの指示によって蓄積したアドレスに格納されているフレームを読み出して、読み出したフレームをポート21,22を介してネットワークに送信する。出力許可通知を受けている場合、出力キュー611,612は、輻輳予測制御とは異なる輻輳制御によって制御される。
When the address of the frame buffer 4 that stores the frame is input from the frame analysis unit 5, the
一方、出力キュー612,622は、輻輳予測制御を受け付けない設定がなされているので、輻輳予測制御とは異なる輻輳制御によって制御され、出力制御部81a,82aの指示によって蓄積したアドレスに格納されているフレームを読み出して、読み出したフレームをポート21,22を介してネットワークに送信する。
On the other hand, since the
このようにこの実施の形態3では、ポーズフレームを受信した場合に、送信停止時間内に入力される滞留予測フレーム長を算出して、この算出した滞留予測フレーム長を考慮して、指定された送信停止時間の間に入力されたフレームのうち、ポーズフレームを受信したポートから出力すべきフレームを廃棄するようにしているので、フレームバッファの使用量を抑制することができるとともに、輻輳解除時に出力するフレームの出力遅延を抑えることができる。 As described above, in the third embodiment, when the pause frame is received, the stay prediction frame length that is input within the transmission stop time is calculated, and is specified in consideration of the calculated stay prediction frame length. Of the frames that were input during the transmission stop time, the frame that should be output from the port that received the pause frame is discarded, so the amount of frame buffer used can be suppressed and output when congestion is released Output delay of frames to be performed can be suppressed.
また、この実施の形態3では、フローを識別してフレームを廃棄するか否かを決定するようにしているので、遅延時間を問題としないフローにフレームバッファの使用量を多く割り当てることができる。 In the third embodiment, since the flow is identified and whether or not to discard the frame is determined, a large amount of the frame buffer can be allocated to a flow that does not cause a delay time.
以上のように、この発明にかかるフレーム転送装置は、複数のポートを備えてリアルタイムを要求されるフレームと低損失性を要求されるフレームとの転送に有効であり、特に、ポーズフレームによって出力が制御されるプロトコルによるフレームの転送に適している。 As described above, the frame transfer apparatus according to the present invention is effective in transferring a frame that has a plurality of ports and requires real time and a frame that requires low loss. Suitable for forwarding frames with controlled protocols.
4 フレームバッファ
5 フレーム解析部
11 フレームヘッダ
12 データ
13 フレームトレイラ
14 ポーズコマンド
21,22 ポート
31,32 フロー制御検出部
61,61a,62,62a,611,612,621,622 出力キュー
71,71a,71b,72,72a,72b 輻輳予測部
81,81a,82,82a 出力制御部
91,92 ポート処理部
4 Frame buffer 5
Claims (4)
前記入力されたフレームの中からフレームの送信を所定の時間停止するフロー制御フレームを検出した場合には、このフロー制御フレームによって指定された送信停止時間の間フレームを出力することを停止するとともに、転送禁止通知を出力するポート処理部、
を前記複数のポート毎に備え、
前記入力されたフレームを解析してフロー種別と転送先ポートを選択して、選択したポートから前記転送禁止通知を受けていない場合には、前記入力されたフレームを決定したポートに出力するフレーム解析部と、
前記入力されたフレームを保持するフレームバッファと、
をさらに備え、
前記ポート処理部は、
前記入力されたフレームの中から前記フロー制御フレームを検出するフロー制御検出部と、
前記フロー制御検出部によって検出されたフロー制御フレーム内の送信停止時間の間前記転送禁止通知および出力禁止通知を出力する輻輳予測部と、
前記フレームバッファに保持されているフレームが格納されているアドレスを蓄積し、前記出力禁止通知を受けていない場合に、前記フレームバッファに保持されているフレームから、順次蓄積しているアドレスが示すフレームを読み出し、この読み出したフレームを出力する出力キューと、
を備え、
前記出力キューは、
一定時間ごとに入力レートを計測し、当該入力レートを前記輻輳予測部に通知し、
前記輻輳予測部は、
前記出力キューが計測した入力レートと前記送信停止時間との乗算によって滞留予測フレーム長を算出し、この算出した滞留予測フレーム長が輻輳予測用閾値を超えている場合に、前記転送禁止通知および前記出力禁止通知を出力することを特徴とするフレーム転送装置。 In a frame transfer device that is connected to a network by a plurality of ports and transfers an input frame,
When a flow control frame that stops frame transmission for a predetermined time is detected from among the input frames, it stops outputting the frame for the transmission stop time specified by this flow control frame, and Port processing unit that outputs a transfer prohibition notification,
For each of the plurality of ports,
Frame analysis that analyzes the input frame, selects a flow type and a transfer destination port, and outputs the input frame to the determined port when the transfer prohibition notification is not received from the selected port And
A frame buffer for holding the input frame;
Further comprising
The port processing unit
A flow control detection unit for detecting the flow control frame from the input frames;
A congestion prediction unit that outputs the transfer prohibition notification and the output prohibition notification during a transmission stop time in the flow control frame detected by the flow control detection unit;
The address stored in the frame buffer is stored and the frame indicated by the sequentially stored address from the frame stored in the frame buffer when the output prohibition notification is not received. Output queue to output this read frame,
With
The output queue is
Measure the input rate at regular intervals, notify the congestion prediction unit of the input rate,
The congestion prediction unit
The stay prediction frame length is calculated by multiplying the input rate measured by the output queue and the transmission stop time, and when the calculated stay prediction frame length exceeds a congestion prediction threshold, the transfer prohibition notification and the A frame transfer apparatus that outputs an output prohibition notice.
前記転送禁止通知および前記出力禁止通知を出力した後に、前記滞留予測フレーム長を算出して、この算出した滞留予測フレーム長が輻輳予測解除用閾値よりも小さい場合には、前記転送禁止通知および前記出力禁止通知を解除することを特徴とする請求項1に記載のフレーム転送装置。 The congestion prediction unit
After outputting the transfer prohibition notification and the output prohibition notification, the stay prediction frame length is calculated, and when the calculated stay prediction frame length is smaller than a congestion prediction release threshold, the transfer prohibition notification and the The frame transfer apparatus according to claim 1 , wherein the output prohibition notification is canceled.
外部からの設定によって、前記出力禁止通知を受け付けるか否かを決定することを特徴とする請求項1また2に記載のフレーム転送装置。 The output queue is
3. The frame transfer apparatus according to claim 1, wherein whether or not to accept the output prohibition notification is determined based on an external setting.
前記送信停止時間を経過した場合には、前記出力禁止通知および前記転送禁止通知を解除することを特徴とする請求項1、2または3に記載のフレーム転送装置。 The congestion prediction unit
Wherein when the elapsed transmission stop time, frame transfer apparatus according to claim 1, 2 or 3, characterized in that to release the output prohibition notification and the transfer prohibition notification.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004072938A JP4364682B2 (en) | 2004-03-15 | 2004-03-15 | Frame transfer device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004072938A JP4364682B2 (en) | 2004-03-15 | 2004-03-15 | Frame transfer device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2005260839A JP2005260839A (en) | 2005-09-22 |
| JP4364682B2 true JP4364682B2 (en) | 2009-11-18 |
Family
ID=35086108
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2004072938A Expired - Fee Related JP4364682B2 (en) | 2004-03-15 | 2004-03-15 | Frame transfer device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4364682B2 (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4606984B2 (en) * | 2005-09-29 | 2011-01-05 | 三菱電機株式会社 | Flow control method and relay device |
| JP2007194732A (en) * | 2006-01-17 | 2007-08-02 | Fujitsu Access Ltd | Optical network unit and optical line terminal with traffic control function |
| JP6362564B2 (en) * | 2015-04-08 | 2018-07-25 | 三菱電機株式会社 | Communication apparatus and buffer control method |
| US12170602B2 (en) | 2021-04-23 | 2024-12-17 | Clockwork Systems, Inc. | Clock-synchronized edge-based data flow priority assignment |
| JP7710620B2 (en) * | 2022-03-15 | 2025-07-18 | クロックワーク システムズ インコーポレイテッド | Deploying Shadow Buffers in Clock-Synchronized Edge-Based Network Functions |
-
2004
- 2004-03-15 JP JP2004072938A patent/JP4364682B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2005260839A (en) | 2005-09-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8553538B2 (en) | Packet relay device and congestion control method | |
| JP5895202B2 (en) | Repeater, repeater control method, and computer program | |
| JP5146548B2 (en) | Packet buffer device and packet discarding method | |
| JP5538257B2 (en) | Bandwidth monitoring device and packet relay device | |
| JP5283638B2 (en) | Packet relay device | |
| JP2006121667A (en) | Packet reception control apparatus and packet reception control method | |
| US7035216B2 (en) | Congestion control unit | |
| CN104219106B (en) | Terminal and the network state measurement system and method for utilizing the terminal | |
| US9008109B2 (en) | Buffer management of relay device | |
| JP4364682B2 (en) | Frame transfer device | |
| CN112737940A (en) | Data transmission method and device | |
| JP3649661B2 (en) | Packet scheduling method and packet scheduling apparatus | |
| US7533109B2 (en) | Item queue management | |
| US8612647B2 (en) | Priority aware queue | |
| JP5571826B1 (en) | Packet transfer processing apparatus and method | |
| JPH1013472A (en) | Delay-exceeded-discard processing system in network connection device having bridging function | |
| JP2003069637A (en) | Packet transfer congestion avoidance method and method | |
| JP4630231B2 (en) | Packet processing system, packet processing method, and program | |
| JP4019027B2 (en) | Packet transfer apparatus and method | |
| JP2001326687A (en) | Packet processing device and packet switching network | |
| JP2002354025A (en) | Packet transfer control device | |
| JP4835934B2 (en) | High speed processing apparatus, high speed processing method, and program | |
| JP4609823B2 (en) | Data relay method and apparatus | |
| Moorthy | Prioritising Interactive Flows in Data Center Networks With Central Control | |
| JP2007134936A (en) | DMA controller and semiconductor integrated circuit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070215 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20081225 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090113 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090312 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20090818 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090819 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120828 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |