JP5938939B2 - Packet switching apparatus, packet switching method, and bandwidth control program - Google Patents
Packet switching apparatus, packet switching method, and bandwidth control program Download PDFInfo
- Publication number
- JP5938939B2 JP5938939B2 JP2012037926A JP2012037926A JP5938939B2 JP 5938939 B2 JP5938939 B2 JP 5938939B2 JP 2012037926 A JP2012037926 A JP 2012037926A JP 2012037926 A JP2012037926 A JP 2012037926A JP 5938939 B2 JP5938939 B2 JP 5938939B2
- Authority
- JP
- Japan
- Prior art keywords
- unit
- packet
- output
- input
- interface unit
- 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.)
- Active
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Description
本発明は、パケット交換装置、パケット交換方法及び帯域制御プログラムに関し、パケット交換方式と呼ばれる通信方式を利用した通信網で用いられるノード装置としてのパケット交換装置、パケット交換方法及び帯域制御プログラムに適用し得るものである。 The present invention relates to a packet switching device, a packet switching method, and a bandwidth control program, and is applied to a packet switching device, a packet switching method, and a bandwidth control program as a node device used in a communication network using a communication method called a packet switching method. To get.
例えば、LAN(Local Area Network)やインターネットなどのネットワークは、パケット交換方式と呼ばれる通信方式を利用した通信網である。これらのネットワークでは、ノード装置としてパケット交換機が使用される。 For example, a network such as a LAN (Local Area Network) or the Internet is a communication network using a communication method called a packet switching method. In these networks, a packet switch is used as a node device.
パケット交換方式は情報をパケットと呼ばれる単位に分割して送信する。このため、パケット単位での待ち合わせが可能となり、複数のユーザで回線を共有し、効率よく並列に転送することができる。また、パケット交換装置の記憶部に一旦パケットを蓄積して転送するので、様々な通信状況に対応できるインテリジェントなネットワークを構築することができる。 In the packet switching method, information is divided into units called packets and transmitted. This makes it possible to wait in units of packets, share a line among a plurality of users, and efficiently transfer in parallel. In addition, since packets are temporarily stored and transferred to the storage unit of the packet switching apparatus, an intelligent network that can cope with various communication situations can be constructed.
一方、近年、ネットワークを利用して提供されるサービスやアプリケーションの多様化に伴って、様々な通信品質を保証する必要性が高まってきている。通信品質には、データ廃棄率、伝搬遅延、伝搬遅延ゆらぎなどがある。たとえばリアルタイム性を必要とする音声/動画通信では、低廃棄率、低遅延および低ゆらぎの保証が要求される。一方、それほどリアルタイム性を必要としないデータ通信では低廃棄率の保証が要求される。 On the other hand, in recent years, with the diversification of services and applications provided using a network, there is an increasing need to guarantee various communication qualities. Communication quality includes data discard rate, propagation delay, propagation delay fluctuation, and the like. For example, in audio / video communication that requires real-time performance, a low discard rate, low delay, and low fluctuation are required. On the other hand, a low discard rate guarantee is required for data communications that do not require real-time performance.
サービスやアプリケーションの違いによって、それぞれの通信品質レベルを保証するために、サービスやアプリケーション毎に優先度を決め、その優先度に従って、パケットを出力する優先制御機能を有するパケット交換装置が高まってきている。 Due to differences in services and applications, packet switching apparatuses having a priority control function for determining a priority for each service or application and outputting a packet according to the priority are increasing in order to guarantee each communication quality level. .
また、通信事業者と利用者間で、通信サービスに対応する最低帯域を保証したり、最大制限帯域で利用可能な帯域を制限したりする帯域制御機能も必要となってきている。 In addition, a bandwidth control function for guaranteeing a minimum bandwidth corresponding to a communication service or limiting a usable bandwidth with a maximum restricted bandwidth is required between a communication carrier and a user.
そこで、このような優先制御機能や帯域制御機能を有するパケット交換装置が提案されている(例えば、特許文献1参照)。 Therefore, a packet switching apparatus having such a priority control function and a bandwidth control function has been proposed (for example, see Patent Document 1).
この特許文献1に開示されているパケット交換装置は、入力インタフェース、出力インタフェース及びパケット交換部を備えて構成されている。入力インタフェースは、受信したユーザパケットを優先度に従って、パケット交換部に転送する。パケット交換部は、入力インタフェースから受け取ったユーザパケットを、その宛先アドレスに基づいて、対応する出力インタフェースに送る。出力インタフェースは、ユーザパケットの優先度に応じたパケットキューと、それらのキューをグループ化したキューグループを有している。各キューグループには、通信サービス契約で定められた最低保証帯域が割り当てられていて、各キューグループからの読出し帯域を制御することにより、最低帯域の保証や、利用者間での余剰帯域の割り当ての公平性を実現している。また、キューグループからの読み出しの際に、キューグループ内の優先度に従って、読出し制御することにより、通信品質レベルが保証される。 The packet switching device disclosed in Patent Document 1 includes an input interface, an output interface, and a packet switching unit. The input interface transfers the received user packet to the packet switching unit according to the priority. The packet switching unit sends the user packet received from the input interface to the corresponding output interface based on the destination address. The output interface has a packet queue corresponding to the priority of user packets and a queue group in which these queues are grouped. Each queue group is allocated the minimum guaranteed bandwidth specified in the communication service contract. By controlling the read bandwidth from each queue group, the minimum bandwidth is guaranteed and the surplus bandwidth is allocated between users. Realization of fairness. Further, when reading from the queue group, the communication quality level is guaranteed by performing read control according to the priority in the queue group.
しかしながら、上述の特許文献1に開示されているパケット交換装置では、複数の入力インタフェースから1つの出力インタフェースにパケットを送るときに、各入力インタフェースからのパケットの合計が、パケット交換部と、出力インタフェースの間の伝送帯域を超過してしまうと、出力インタフェースにパケットが到着する前に、パケット廃棄が発生することになる。このため、帯域制御が不完全になり、最低帯域の保証や、各利用者間の公平性の維持が困難になる。 However, in the packet switching device disclosed in Patent Document 1 described above, when packets are sent from a plurality of input interfaces to one output interface, the total number of packets from each input interface is determined by the packet switching unit and the output interface. If the transmission bandwidth is exceeded, packet discard occurs before the packet arrives at the output interface. For this reason, bandwidth control becomes incomplete, and it becomes difficult to guarantee a minimum bandwidth and maintain fairness among users.
この課題を解決した発明として、特許文献2に開示されている交換装置がある。 As an invention that solves this problem, there is an exchange device disclosed in Patent Document 2.
この特許文献2に開示されているパケット交換装置は、出力インタフェースにおいて、各入力インタフェースから受け取る送信要求量に応じて送信許可量を算出し、入力インタフェースでは、送信許可量に応じて、送信を行う。出力インタフェースで帯域を管理されるので、入力インタフェースと出力インタフェースの間など、出力インタフェースが受け取るまでのパケットの廃棄がなくなり、各契約の最低帯域の保証や、各利用者間の公平性の維持が実現される。 The packet switching device disclosed in Patent Document 2 calculates a transmission permission amount according to a transmission request amount received from each input interface at an output interface, and performs transmission according to the transmission permission amount at an input interface. . Since the bandwidth is managed by the output interface, packets are not discarded until the output interface receives between the input interface and the output interface, etc., and the minimum bandwidth for each contract is guaranteed and fairness among users is maintained. Realized.
しかしながら、上述の特許文献2に開示されているパケット交換装置では、パケットキュー毎の送信要求量を入力インタフェースから出力インタフェースに送信し、出力インタフェースで各送信要求量と最低保証帯域などの情報から各パケットキューの送信許可量を計算し、そのパケットキュー毎の送信許可量を出力インタフェースから入力インタフェースへ送信する必要がある。そのため、パケットキューおよびキューグループが多くなると、入出力インタフェース間の送受信情報の増大、および出力インタフェースでの計算処理負荷の増大等の要因により、パケット交換装置の実現が困難になる。 However, in the packet switching device disclosed in Patent Document 2 described above, a transmission request amount for each packet queue is transmitted from the input interface to the output interface, and each transmission request amount and information such as the minimum guaranteed bandwidth are transmitted from the input interface. It is necessary to calculate the transmission permission amount of the packet queue and transmit the transmission permission amount for each packet queue from the output interface to the input interface. Therefore, when the number of packet queues and queue groups increases, it becomes difficult to realize a packet switching device due to factors such as an increase in transmission / reception information between input / output interfaces and an increase in calculation processing load on output interfaces.
本発明は、上記事情に対処すべくなされたもので、上記のような状況においても入出力インタフェース間の送受信情報量および計算処理負荷を低く抑え、各ユーザ契約の最低帯域保証や、各ユーザ契約間の公平性を実現するパケット交換装置、パケット交換方法及び帯域制御プログラムを提供しようとするものである。 The present invention has been made to cope with the above circumstances, and even in such a situation, the amount of information transmitted and received between the input and output interfaces and the calculation processing load are kept low, the minimum bandwidth guarantee for each user contract, and each user contract It is an object of the present invention to provide a packet switching device, a packet switching method, and a bandwidth control program that achieve fairness between the two.
かかる課題を解決するために、第1の本発明は、それぞれ入力インタフェース部及び出力インタフェース部を有する複数の入出力インタフェース手段と、入力インタフェース部に対応の入力バッファと、出力インタフェース部に対応の出力バッファと、入力インタフェース部から受信したパケットを、宛先に該当する出力インタフェース部に出力する交換部とを有するパケット交換手段とを備え、(A)各入力インタフェース部が、(A−1)入力されたパケットを蓄積する蓄積部と、(A−2)蓄積部に蓄積されているパケットを読み出してパケット交換手段に送信させる読出制御部と、(A−3)蓄積部の蓄積状態情報を含む帯域制御パケットを、パケット出力先である出力インタフェース部に与える第1の帯域制御パケット送信部とを有し、(B)各出力インタフェース部が、(B−1)当該出力インタフェース部に対応する出力バッファの状態を監視し、出力バッファの輻輳状態が検出されると、受信した帯域制御パケットに含まれる蓄積状態情報に基づいて、蓄積量が閾値超過となっている各蓄積部の送信帯域を用いて、当該出力インタフェース部を出力先とする入力インタフェース部単位の送信制限帯域を求める送信制限帯域演算部と、(B−2)送信制限帯域演算部により求められた各入力インタフェース部の送信制限帯域を含む帯域制御パケットを、対応する各入力インタフェース部に与える第2の帯域制御パケット送信部とを有し、各入力インタフェース部の読出制御部が、出力インタフェース部からの帯域制御パケットに含まれる送信制限帯域に基づいて、パケットの読み出し制御を行うことを特徴とするパケット交換装置である。 In order to solve this problem, the first aspect of the present invention provides a plurality of input / output interface means each having an input interface unit and an output interface unit, an input buffer corresponding to the input interface unit, and an output corresponding to the output interface unit. A packet switching unit having a buffer and a switching unit that outputs a packet received from the input interface unit to an output interface unit corresponding to the destination. (A) Each input interface unit is input (A-1). A storage unit that stores the received packet, (A-2) a read control unit that reads the packet stored in the storage unit and transmits the packet to the packet switching unit, and (A-3) a band that includes storage state information of the storage unit A first bandwidth control packet transmission unit that provides a control packet to an output interface unit that is a packet output destination; (B) Each output interface unit (B-1) monitors the state of the output buffer corresponding to the output interface unit, and if the output buffer congestion state is detected, it is included in the received bandwidth control packet. Based on the accumulation status information, a transmission limit band calculation unit that obtains a transmission limit band for each input interface unit whose output destination is the output interface unit, using the transmission band of each storage unit whose accumulation amount exceeds the threshold And (B-2) a second bandwidth control packet transmitter that provides the corresponding input interface unit with a bandwidth control packet including the transmission limited bandwidth of each input interface unit obtained by the transmission limited bandwidth calculator. Then, the read control unit of each input interface unit performs the pass based on the transmission limited band included in the band control packet from the output interface unit. It is a packet switching unit and performs Tsu bets read control.
第2の本発明は、それぞれ入力インタフェース部及び出力インタフェース部を有する複数の入出力インタフェース手段と、入力インタフェース部に対応の入力バッファと、出力インタフェース部に対応の出力バッファと、入力インタフェース部から受信したパケットを、宛先に該当する出力インタフェース部に出力する交換部とを有するパケット交換手段とを備えるパケット交換装置の入出力インタフェース手段の帯域制御プログラムにおいて、コンピュータを、(1)入力インタフェース部に入力されたパケットを蓄積する蓄積部、(2)蓄積部に蓄積されているパケットを読み出してパケット交換手段に送信させる読出制御部、(3)蓄積部におけるパケットの蓄積量が閾値超過であることを示す蓄積状態情報を含む帯域制御パケットを、パケット出力先である出力インタフェース部に与える第1の帯域制御パケット送信部、(4)出力インタフェース部に対応する出力バッファの状態を監視し、出力バッファの輻輳状態が検出されると、第1の帯域制御パケット送信部から受信した帯域制御パケットに含まれる入力インタフェース部における蓄積部の蓄積状態情報に基づいて、蓄積量が閾値超過となっている各蓄積部の送信帯域を用いて、出力インタフェース部を出力先とする入力インタフェース部単位の送信制限帯域を求める送信制限帯域演算部、(5)送信制限帯域演算部により求められた各入力インタフェース部の送信制限帯域を含む帯域制御パケットを、対応する各入力インタフェース部に与える第2の帯域制御パケット送信部として機能させ、読出制御部に、各出力インタフェース部側で求められた入力インタフェース部の送信制限帯域に基づいて、パケットの読み出し制御を行わせることを特徴とする帯域制御プログラムである。
According to a second aspect of the present invention, a plurality of input / output interface means each having an input interface unit and an output interface unit, an input buffer corresponding to the input interface unit, an output buffer corresponding to the output interface unit, and receiving from the input interface unit In the bandwidth control program of the input / output interface means of the packet switching device comprising the packet switching means having the switching part for outputting the packet to the output interface part corresponding to the destination, (1) the computer is input to the input interface part A storage unit that stores the received packets, (2) a read control unit that reads out the packets stored in the storage unit and transmits the packets to the packet switching means, and (3) that the amount of packets stored in the storage unit exceeds a threshold value. A bandwidth control packet that includes storage status information A first bandwidth control packet transmission unit to be provided to the output interface unit which is a packet output destination; and (4) the state of the output buffer corresponding to the output interface unit is monitored, and when the congestion state of the output buffer is detected, the first Based on the storage state information of the storage unit in the input interface unit included in the bandwidth control packet received from the bandwidth control packet transmission unit, the output interface unit uses the transmission band of each storage unit whose storage amount exceeds the threshold And (5) a bandwidth control packet including the transmission limit bandwidth of each input interface unit obtained by the transmission limit bandwidth calculation unit. It functions as a second bandwidth control packet transmission unit to be given to each input interface unit, and the read control unit Based on the transmission-limited band of the input interface unit obtained by the interface portion, a band control program characterized by causing the read control packet.
第3の本発明は、それぞれ入力インタフェース部及び出力インタフェース部を有する複数の入出力インタフェース手段と、入力インタフェース部に対応の入力バッファと、出力インタフェース部に対応の出力バッファと、入力インタフェース部から受信したパケットを、宛先に該当する出力インタフェース部に出力する交換部とを有するパケット交換手段とを備えるパケット交換装置の出力インタフェース部の帯域制御プログラムにおいて、コンピュータを、(1)当該出力インタフェース部に対応する出力バッファの状態を監視し、出力バッファの輻輳状態が検出されると、入力インタフェース部から受信した帯域制御パケットに含まれる入力インタフェース部における蓄積部の蓄積状態情報に基づいて、蓄積量が閾値超過となっている各蓄積部の送信帯域を用いて、当該出力インタフェース部を出力先とする入力インタフェース部単位の送信制限帯域を求める送信制限帯域演算部、(2)送信制限帯域演算部により求められた各入力インタフェース部の送信制限帯域を含む帯域制御パケットを、対応する各入力インタフェース部に与える第2の帯域制御パケット送信部として機能させることを特徴とする帯域制御プログラムである。 According to a third aspect of the present invention, a plurality of input / output interface means each having an input interface unit and an output interface unit, an input buffer corresponding to the input interface unit, an output buffer corresponding to the output interface unit, and receiving from the input interface unit In the bandwidth control program of the output interface unit of the packet switching device comprising a packet switching unit having a switching unit that outputs the packet to the output interface unit corresponding to the destination, the computer is: (1) corresponding to the output interface unit When the output buffer congestion state is detected, the accumulation amount is set to the threshold value based on the accumulation state information of the accumulation unit in the input interface unit included in the bandwidth control packet received from the input interface unit. Each excess A transmission limit band calculation unit for obtaining a transmission limit band for each input interface unit using the output band of the product unit as an output destination, and (2) each input interface unit obtained by the transmission limit band calculation unit A bandwidth control program that causes a bandwidth control packet including a limited transmission bandwidth to function as a second bandwidth control packet transmitter that is provided to each corresponding input interface unit.
第4の本発明は、それぞれ入力インタフェース部及び出力インタフェース部を有する複数の入出力インタフェース手段と、入力インタフェース部に対応の入力バッファと、出力インタフェース部に対応の出力バッファと、入力インタフェース部から受信したパケットを、宛先に該当する出力インタフェース部に出力する交換部とを有するパケット交換手段とを備えるパケット交換装置のパケット交換方法において、各入力インタフェース部が、入力されたパケットを蓄積部に蓄積し、読出制御部が、蓄積部に蓄積されているパケットを読み出してパケット交換手段に送信させる読出制御工程と、第1の帯域制御パケット送信部が、蓄積部の蓄積状態情報を含む帯域制御パケットを、パケット出力先である出力インタフェース部に与える第1の帯域制御パケット送信工程とを有し、各出力インタフェース部が、送信制限演算部が、当該出力インタフェース部に対応する出力バッファの状態を監視し、出力バッファの輻輳状態が検出されると、受信した帯域制御パケットに含まれる蓄積状態情報に基づいて、蓄積量が閾値超過となっている各蓄積部の送信帯域を用いて、当該出力インタフェース部を出力先とする入力インタフェース部単位の送信制限帯域を求める送信制限帯域演算工程と、第2の帯域制御パケット送信部が、送信制限帯域演算工程で求められた各入力インタフェース部の送信制限帯域を含む帯域制御パケットを、対応する各入力インタフェース部に与える第2の帯域制御パケット送信工程とを有し、各入力インタフェース部の読出制御部が、出力インタフェース部からの帯域制御パケットに含まれる送信制限帯域に基づいて、パケットの読み出し制御を行うことを特徴とするパケット交換方法である。 According to a fourth aspect of the present invention, a plurality of input / output interface means each having an input interface unit and an output interface unit, an input buffer corresponding to the input interface unit, an output buffer corresponding to the output interface unit, and receiving from the input interface unit In a packet switching method of a packet switching device comprising a packet switching means having a switching unit that outputs a packet to an output interface unit corresponding to a destination, each input interface unit stores the input packet in a storage unit The read control unit reads out the packet stored in the storage unit and transmits it to the packet switching means, and the first band control packet transmitter transmits the band control packet including the storage state information of the storage unit. , First given to the output interface unit which is the packet output destination Each of the output interface units, the transmission limit calculation unit monitors the status of the output buffer corresponding to the output interface unit, and received when the output buffer congestion status is detected. Based on the storage status information included in the bandwidth control packet, the transmission bandwidth of each input interface unit whose output destination is the output interface unit is set using the transmission band of each storage unit whose storage amount exceeds the threshold. The transmission limit band calculating step to be obtained and the second band control packet transmitting unit provide the corresponding input interface unit with a band control packet including the transmission limited band of each input interface unit obtained in the transmission limit band calculating step. A second bandwidth control packet transmission step, wherein a read control unit of each input interface unit is connected from the output interface unit. Based on the transmission-limited band included in the bandwidth control packet is a packet switching method and performing read control packet.
本発明によれば、入出力インタフェース間の送受信情報量および計算処理負荷を低く抑え、各ユーザ契約の最低帯域保証や、各ユーザ契約間の公平性を実現することができる。 According to the present invention, it is possible to reduce the amount of information transmitted and received between the input / output interfaces and the calculation processing load, and to realize the minimum bandwidth guarantee for each user contract and the fairness between the user contracts.
(A)実施形態
以下では、本発明のパケット交換装置、パケット交換方法及び帯域制御プログラムの実施形態について、図面を参照しながら詳細に説明する。
(A) Embodiments Hereinafter, embodiments of a packet switching device, a packet switching method, and a bandwidth control program according to the present invention will be described in detail with reference to the drawings.
(A−1)実施形態の構成
図1は、実施形態のパケット交換装置の構成を示す構成図である。図1において、この実施形態のパケット交換装置10は、複数の入出力インタフェース部1−1〜1−N(Nは正の整数)、パケット交換部3を少なくとも有して構成される。
(A-1) Configuration of Embodiment FIG. 1 is a configuration diagram illustrating a configuration of a packet switching apparatus according to an embodiment. In FIG. 1, the
また、各入出力インタフェース部1−1〜1−Nは、入力ポートから入力されたパケットをパケット交換部3に転送する入力インタフェース部100と、
パケット交換部3から受け取ったパケットを出力ポートに出力する出力インタフェース部200と、を有して構成される。
Each of the input / output interface units 1-1 to 1-N includes an
And an output interface unit 200 that outputs a packet received from the
パケット交換部3は、入力インタフェース部100からパケットが入力されると、パケットの宛先を解析し、その宛先に応じた出力インタフェース部200にパケットを与えるものである。
When a packet is input from the
図1では、入力インタフェース部100、出力インタフェース部200及びパケット交換部3の各機能をブロック図として示している。
In FIG. 1, each function of the
図1に示すように、入力インタフェース部100は、パケット受信部110、フロー識別部111、複数のキューグループQG0〜QGn、複数のキューグループ読出制御部(QG0〜QGn読出制御部)112−0〜112−n、読出制御部113、スレーブ側帯域制御部114、送信制御部115を少なくとも有して構成される。
As shown in FIG. 1, the
パケット受信部110は、入力ポートからの受信パケットを受け取り、フロー識別部111に与えるものである。
The
フロー識別部111は、パケット受信部110からの受信パケットのIPアドレス、ポート番号、優先識別情報(例えば優先識別子)、その他の情報に基づいてパケット種別を識別し、識別したパケット種別に該当するパケットキューに受信パケットを振り分けるものである。
The
キューグループQG0〜QGnは、グループ毎に複数のパケットキューを保持し、グループ毎にパケットを蓄積するものである。例えば、キューグループQG0〜QGnは、契約ユーザA、契約ユーザB、…等のように契約ユーザ毎に割り当てられ、またパケット優先度に応じて、異なるパケットキューにパケットを蓄積する。 The queue groups QG0 to QGn hold a plurality of packet queues for each group and accumulate packets for each group. For example, the queue groups QG0 to QGn are assigned to each contract user such as the contract user A, the contract user B,..., And accumulate packets in different packet queues according to the packet priority.
また、キューグループQG0〜QGnは、各パケットキューのデータ蓄積量をスレーブ側帯域制御部114に通知する。
In addition, the queue groups QG0 to QGn notify the slave side
なお、図1において、例えば、キューグループQG0が有するパケットキューについては、パケットキューQ01〜パケットキューQ0m(mは正の整数)等のように記載して説明する。 In FIG. 1, for example, the packet queues included in the queue group QG0 are described and described as packet queues Q01 to Q0m (m is a positive integer).
QG0読出制御部112−0〜112−nは、それぞれ対応するキューグループQG0〜QGnから読み出すパケットの読み出し順序を制御するものである。QG0読出制御部112−0〜112−nによる読み出し順序は、種々の方法を広く適用することができ、例えば、優先度の高いものから順に読み出したり、重み付けラウンドロビン等を用いてパケットを読み出したりする方法等を適用できる。また、QG0読出制御部112−0〜112−nは、読出制御部113の制御を受けて、パケットを読出制御部113に与える。
The QG0 read control units 112-0 to 112-n control the read order of packets read from the corresponding queue groups QG0 to QGn, respectively. Various methods can be widely applied to the reading order by the QG0 reading control units 112-0 to 112-n. For example, reading is performed in descending order of priority, or packets are read using weighted round robin or the like. It is possible to apply a method to Further, the QG0 read control units 112-0 to 112-n give the packet to the
読出制御部113は、各QG0読出制御部112−0〜112−nからの読み出し順序を制御するものである。読出制御部113は、スレーブ側帯域制御部114から、入力インタフェース部100毎の送信制限帯域を受け取り、この入力インタフェース部100毎の送信制限帯域に基づいて、各QG0読出制御部112−0〜112−nからパケットを読み出す。また、読出制御部113は、各QG0読出制御部112−0〜112−nから読み出したパケットを送信制御部115に与えるものである。
The
スレーブ側帯域制御部114は、読出制御部113が出力するパケット量の帯域制御を行うものである。
The slave side
図1に示すように、スレーブ側帯域制御部114は、閾値超過検出部11、RMsパケット送信部12、RMmパケット受信部13を有する。
As illustrated in FIG. 1, the slave-side
閾値超過検出部11は、各キューグループQG0〜QGnの各パケットキューに設定した閾値を有しており、各キューグループQG0〜QGnの各パケットキューのデータ蓄積量と、各パケットキューに設定された閾値とを比較し、キューグループQG0〜QGn毎の閾値超過状態を検出するものである。閾値超過検出部11は、キューグループQG0〜QGn毎の帯域制御情報をRMsパケット送信部12に与える。
The threshold
ここで、帯域制御情報とは、各キューグループの蓄積量が閾値を超えているか否かを示す情報であり、例えば閾値超過状態のときには「1」、そうでないときには「0」等の1ビットの情報等とすることができる。 Here, the bandwidth control information is information indicating whether or not the accumulated amount of each queue group exceeds a threshold. For example, when the threshold is exceeded, a 1-bit value such as “1” is set. It can be information etc.
RMsパケット送信部12は、閾値超過検出部11からのキューグループQG0〜QGn毎の閾値超過状態か否かを示す帯域制御情報を含むスレーブリソースマネジメントパケット(RMsパケット)を生成するものである。
The RMs
このRMsパケットは、入力インタフェース部100が、出力先とする出力インタフェース部との間で授受するものであり、上述したように、帯域制御情報が含まれている。
This RMs packet is exchanged between the
また、RMsパケット送信部12は、生成したRMsパケットを送信制御部115に与えるものである。
In addition, the RMs
RMmパケット受信部13は、出力インタフェース部200のマスター側帯域制御部212から送信されたマスターリソースマネジメントパケット(RMmパケット)を受信し、RMmパケットに含まれている入力インタフェース当たりの送信制限帯域を、読出制御部113に通知するものである。
The RMm
送信制御部115は、読出制御部113から出力されるユーザパケットと、スレーブ側帯域制御部114から出力されるRMsパケットと、マスター側帯域制御部212から出力されるRMmパケットとを多重してパケット交換部3に与えるものである。
The
図1に示すように、出力インタフェース部200は、受信制御部210、パケット振分部211、マスター側帯域制御部212、受信バッファ213、パケット送信部214を少なくとも有して構成される。
As shown in FIG. 1, the output interface unit 200 includes at least a
受信制御部210は、パケット交換部3から出力されるパケットを受信し、その受信したパケットをパケット振分部211に与えるものである。
The
パケット振分部211は、受信制御部210からパケットを受け取ると、ユーザパケット、RMmパケット、RMsパケットのいずれであるかを識別し、識別したパケット種類に応じて、パケットを振り分けて出力するものである。
Upon receiving a packet from the
つまり、パケット振分部211は、ユーザパケットを受信バッファ213に振り分け、RMsパケットをマスター側帯域制御部212に振り分け、RMmパケットを入力インタフェース部100のスレーブ側帯域制御部114に振り分ける。
That is, the
マスター側帯域制御部212は、複数の入出力インタフェース部1−1〜1−Nの各入力インタフェース部100からのRMsパケットを受信し、それらのRMsパケットに含まれている閾値超過状態か否かを示す帯域制御情報等に基づいて、各入力インタフェース部100の送信制限帯域を計算するものである。
The master-side
また、マスター側帯域制御部212は、計算した各入力インタフェース部100の送信制限帯域をRMmパケットにより各入力インタフェース部100のスレーブ側帯域制御部114に通知するものである。
The master side
図1に示すように、マスター側帯域制御部212は、RMsパケット受信部21、送信制限帯域演算部22、RMmパケット送信部23を有する。
As shown in FIG. 1, the master side
RMsパケット受信部21は、複数の入力インタフェース部100から出力されたRMsパケットを受信し、RMsパケットで通知された各キューグループの閾値超過状態か否かを示す帯域制御情報を、送信制限帯域演算部22に通知するものである。
The RMs
送信制限帯域演算部22は、RMsパケット受信部21とパケット交換部3の出力バッファ312とに接続しており、RMsパケット受信部21から通知された各キューグループの閾値超過状態、最低保証帯域、及び、パケット交換部3の出力バッファ輻輳状態に基づいて、各キューグループの送信帯域が公平にかつ最低保証帯域を満足するように送信制限帯域を計算するものである。
The transmission bandwidth
ここで、各キューグループの最低保証帯域については、例えば、送信制限帯域演算部22に予め設定されているようにしてもよいし、また例えば、入力インタフェース部100のRMsパケット送信部12がRMsパケットを生成する際に、RMsパケット送信部12が、各キューグループの最低保証帯域を、RMsパケットに載せるようにしてもよい。
Here, the minimum guaranteed bandwidth of each queue group may be set in advance in, for example, the transmission limited
RMmパケット送信部23は、送信制限帯域演算部22で得られた各入力インタフェース部100の送信制限帯域を、該当する入力インタフェース部100のスレーブ側帯域制御部114へ通知するRMmパケットを生成し、その生成したRMmパケットを、送信制御部115に与えるものである。
The RMm
受信バッファ213は、パケット振分部211からのユーザパケットを一時的に蓄積してパケット送信部214に出力するものである。
The
パケット送信部214は、受信バッファ213からのユーザケットを出力ポートに出力するものである。
The
図1に示すように、パケット交換部3は、複数の入力バッファ310、パケットスイッチ311、複数の出力バッファ312、フロー制御部314を少なくとも有して構成されるものである。
As shown in FIG. 1, the
入力バッファ310は、複数の入出力インタフェース部1−1〜1−Nの各入力インタフェース部100から出力されたパケットを一時的に蓄積してパケットスイッチ311に与えるものである。入力バッファ310は、複数の入力インタフェース部100毎に設けられている。
The
パケットスイッチ311は、入力バッファ310から出力されたパケットの宛先に基づいて中継すべき出力インタフェース部200を割り出し、その出力インタフェース部200に対応する出力バッファ312にパケットを与えるものである。
The
出力バッファ312は、パケットスイッチ311から出力されたパケットを一時的に蓄積して、対応する出力インタフェース部200にパケットを出力するものである。出力バッファ312は、複数の入出力インタフェース部1−1〜1−Nの出力インタフェース部200毎に設けられている。
The
また、出力バッファ312が輻輳状態となると、出力バッファ312は、対応する出力インタフェース部200の送信制限帯域演算部22に、当該出力バッファ312が輻輳状態となったことを通知することができる。
Further, when the
フロー制御部314は、入力バッファ310が輻輳状態となった場合に、パケットを廃棄しないように、各入力インタフェース部100に対してフロー制御するものである。
The
すなわち、フロー制御部314は、入力バッファ310の蓄積量を監視しており、例えばパケットの出力先がある出力インタフェース部200に集中し、出力バッファ312の輻輳状態が発生し、その出力バッファを宛先とする入力パケットが入力される入力バッファ310で輻輳が発生した場合には、輻輳が発生した入力バッファに対応する入力インタフェース部100に対してパケットの出力を停止させるものである。
That is, the
(A−2)実施形態の動作
次に、この実施形態のパケット交換装置10におけるパケット交換方法について、図面を参照しながら詳細に説明する。
(A-2) Operation of Embodiment Next, a packet switching method in the
図2は、この実施形態のパケット交換処理の動作を説明する説明図である。 FIG. 2 is an explanatory diagram for explaining the operation of the packet exchange processing of this embodiment.
図2では、2つの入出力インタフェース部1−1及び1−2の入力ポートに入力したパケットが、入出力インタフェース部1−3の出力ポートに出力する場合の動作を例示する。 FIG. 2 exemplifies an operation when a packet input to the input ports of the two input / output interface units 1-1 and 1-2 is output to the output port of the input / output interface unit 1-3.
また、説明を簡略化するために、図2は、各入出力インタフェース部1−1〜1−3の動作説明に必要な機能ブロックのみを図示する。 For simplification of explanation, FIG. 2 shows only functional blocks necessary for explanation of operations of the input / output interface units 1-1 to 1-3.
まず、図2において、入出力インタフェース部1−1は、契約ユーザAと契約ユーザBからのパケットが入力されるように設定されており、また入出力インタフェース部1−2は、契約ユーザCと契約ユーザDからのパケットが入力されるように設定されている。 First, in FIG. 2, the input / output interface unit 1-1 is set to receive packets from the contract user A and the contract user B, and the input / output interface unit 1-2 is connected to the contract user C. It is set so that a packet from the contract user D is input.
入出力インタフェース部1−1において、キューグループQG0は契約ユーザAに割り当てられて、キューグループQG1は契約ユーザBに割り当てられている。つまり、フロー識別部111は、契約ユーザAからのパケットフローをキューグループQG0に振り分けるように設定されており、又契約ユーザBからのパケットフローをキューグループQG1に振り分けるように設定されている。
In the input / output interface unit 1-1, the queue group QG0 is assigned to the contract user A, and the queue group QG1 is assigned to the contract user B. That is, the
さらに、キューグループQG0及びQG1は、パケットの優先度により、高優先パケットはQ01(HP:High Priority)に、低優先パケットはQ02(LP:Low Priority)に振り分けられるように設定されている。つまり、フロー識別部111は、受信パケットの情報に基づいて優先度を識別し、その優先度に応じたパケットキューにパケットを振り分けて蓄積させる。
Further, the queue groups QG0 and QG1 are set so that a high priority packet is assigned to Q01 (HP: High Priority) and a low priority packet is assigned to Q02 (LP: Low Priority) according to the priority of the packet. That is, the
なお、ここでは、説明便宜のために、パケット優先度を、高優先パケットと低優先パケットの2段階とする場合を例示するが、3段階以上であってもよい。 Here, for convenience of explanation, a case where the packet priority is set to two stages of a high priority packet and a low priority packet is illustrated, but three or more stages may be used.
また、入出力インタフェース部1−2においても同様に、キューグループQG0には契約ユーザCのフロー(パケットフロー)が、キューグループQG1には契約ユーザDのフローが識別して振り分けられるよう設定されている。また同様に、各キューグループQG0及びQG1において、パケットキューQ01には高優先パケットが振り分けられ、パケットキューQ02には低優先パケットが振り分けられるように設定されている。 Similarly, in the input / output interface unit 1-2, the queue group QG0 is set to identify and distribute the contract user C flow (packet flow) and the queue group QG1 to identify and distribute the contract user D flow. Yes. Similarly, in each queue group QG0 and QG1, it is set so that a high priority packet is distributed to the packet queue Q01 and a low priority packet is distributed to the packet queue Q02.
入出力インタフェース部1−1及び1−2では、閾値超過検出部11は、キューグループ単位にパケット蓄積量が閾値を超えているか否かを周期的に監視し、その監視結果をRMsパケット送信部12に与える。
In the input / output interface units 1-1 and 1-2, the threshold value
ここで、閾値超過検出部11による閾値超過検出方法は、種々の方法を適用することができる。例えば、キューグループに属する全てのキューのそれぞれに閾値を持たせ、いずれかのキューの蓄積量が閾値超過状態となったら、そのキューグループは閾値超過状態とする方法や、また例えば、全てのキューの合計蓄積量に対して閾値を設け、そのキューグループの全てのキューの合計蓄積量が閾値超過状態になったら、そのキューグループは閾値超過状態とする方法等がある。
Here, various methods can be applied to the threshold excess detection method by the threshold
RMsパケット送信部12は、閾値超過検出部11からの監視結果を含むRMsパケットを周期的に生成し、そのRMsパケットを送信制御部115に与える。
The RMs
このとき、RMsパケットの宛先は、入出力インタフェース部1−3の出力インタフェース部200とする。つまり、ユーザパケットの出力先がRMsパケットの宛先となる。 At this time, the destination of the RMs packet is the output interface unit 200 of the input / output interface unit 1-3. In other words, the output destination of the user packet is the destination of the RMs packet.
入出力インタフェース部1−1及び1−2からのRMsパケットは、パケット交換部3に与えられる。パケット交換部3において、RMsパケットは入力バッファ310に一時的に保持され、その後、RMsパケットはパケットスイッチ311によりスイッチングされ、出力先である入出力インタフェース部1−3に対応する出力バッファ312に一時的に蓄積される。
The RMs packets from the input / output interface units 1-1 and 1-2 are given to the
また、出力バッファ312に蓄積されているRMsパケットは、入出力インタフェース部1−3に出力される。入出力インタフェース部1−3において、RMsパケットは、パケット振分部211によりパケット種別が識別され、RMsパケット受信部21に振り分けられる。
The RMs packet stored in the
RMsパケット受信部21は、受信した各RMsパケットに含まれる情報に基づいて、各キューグループの閾値超過状態を送信制限帯域演算部22に通知する。
Based on the information included in each received RMs packet, the RMs
送信制限帯域演算部22は、周期的に、パケット交換部3の入出力インタフェース部1−3に対応する出力バッファ312の輻輳状態を読み出す。
The transmission bandwidth
そして、送信制限帯域演算部22は、出力バッファ輻輳状態と、通知された各キューグループの閾値超過状態及び最低保証帯域とに基づいて、入力インタフェース単位(入出力インタフェース部1−1及び1−2)の送信制限帯域を計算する。すなわち、入力インタフェース部100毎の送信制限帯域を、送信制限帯域演算部22は求める。
Based on the output buffer congestion state, the over-threshold state and the minimum guaranteed bandwidth of each queue group, the transmission limited
ここで、送信制限帯域演算部22による送信制限帯域を求める方法として、例えば、以下の方法を適用することができる。図3は、送信帯域演算部22における処理を示すフローチャートである。
Here, as a method for obtaining the transmission restricted band by the transmission restricted
まず、送信制限帯域演算部22は、パケット交換部3の対応する出力バッファ312の蓄積量に基づいて輻輳状態か否かを判断する(S101)。例えば、送信制限帯域演算部22は、出力バッファ312の蓄積量が、パケット交換部3−出力インタフェース部200間の物理帯域を超えている場合を輻輳状態と判断し、そうでない場合を非輻輳状態と判断する。
First, the transmission
そして、出力バッファ312が非輻輳状態の場合、送信制限帯域演算部22は、送信帯域を制限しない(S102)。すなわち、この場合、全ての送信制限帯域は、入力インタフェース部100−パケット交換部3間の物理帯域とする。
When the
一方、出力バッファ312が輻輳状態の場合、送信制限帯域演算部22は、入力インタフェース部100毎の送信制限帯域を、以下のような計算で算出する。
On the other hand, when the
送信制限帯域[i]=BW x Rmin[i]/ΣRmin[i]…(1)
ここで、iは入力インタフェース部100のインタフェース番号、BWは、パケット交換部3−出力インタフェース部200間の物理帯域、Rmin[i]は、入力インタフェース部#iのなかで、キューグループ閾値超過状態が超過状態となっているキューグループの最低保証帯域を合計した値、ΣRmin[i]はRmin[i]を全入力インタフェース部100分合計した値である。
Transmission limit band [i] = BW × Rmin [i] / ΣRmin [i] (1)
Here, i is the interface number of the
送信帯域演算部22により計算された送信制限帯域は、RMmパケット送信部23に与えられる。そして、RMmパケット送信部23は、各入力インタフェース部100の送信制限帯域を、該当する入力インタフェース100を宛先とするRMmパケットを生成する。これにより、各入力インタフェース部100宛のRMmパケットは、パケット交換部3を介して、対応する入出力インタフェース部1−1及び1−2の入力インタフェース部100に与えられる。
The transmission limit band calculated by the transmission
入出力インタフェース部1−1及び1−2において、RMmパケットは、パケット振分部211によりRMmパケット受信部13に振り分けられ、送信制限帯域が読出制御部113に与えられる。
In the input / output interface units 1-1 and 1-2, the RMm packet is distributed to the RMm
読出制御部113は、通知された送信制限帯域に基づいて、各キューグループからの送信帯域を制限する。
The
ここで、読出制御部113は、読出制御部113からの出力が、通知された送信制限帯域以下になるように出力帯域を制御する。また制限された出力帯域内での各キューグループからのパケット出力は、キューグループの最低保証帯域を重みとしたラウンドロビンにより制御する。
Here, the
QG読出制御部112−0及び112−1は、読出制御部113により割り当てられた帯域内で、優先度の高いキューから完全優先制御より各キューからパケットを読み出すようにする。
The QG read control units 112-0 and 112-1 read packets from each queue from the queue with a high priority by the complete priority control within the band allocated by the
以上のようにして、出力インタフェース部200の出力バッファ312が輻輳状態となる場合には、出力インタフェース部200側が、入力インタフェース部100毎に求めた送信制限帯域を各入力インタフェース部100に通知し、各入力インタフェース部100が、通知された送信制限帯域で送信帯域を抑制する。
As described above, when the
次に、具体的な例を用いて帯域制御を抑制する処理を説明する。 Next, processing for suppressing bandwidth control will be described using a specific example.
入力インタフェース部100−パケット交換部3間の物理帯域が10Gbps、パケット交換部3−出力インタフェース部200間の物理帯域(BW)が10Gbps、契約ユーザA,B,C,Dの最低保証帯域がそれぞれ、10Mbps,20Mbps,30Mbps,40Mbpsとする。
The physical bandwidth between the
契約ユーザA、B、C、Dの入力帯域の合計が10Gbps以下である場合、
パケット交換部3−出力インタフェース部200間の物理帯域(BW)を超えており、出力バッファ312は非輻輳状態となるので、各送信制限帯域は入力インタフェース部100−パケット交換部3間の物理帯域である10Gbpsとなり、各ユーザの入力はそのまま出力される。
When the total input bandwidth of contract users A, B, C, and D is 10 Gbps or less,
Since the physical bandwidth (BW) between the
契約ユーザA、B、C、Dの入力帯域がすべて5Gbpsとなった場合、入力帯域の合計が10Gbps以上となり、パケット交換部3−出力インタフェース部200間の物理帯域(BW)を超えるため出力バッファ312は輻輳状態となる。
When all the input bandwidths of the contract users A, B, C, and D are 5 Gbps, the total input bandwidth is 10 Gbps or more, which exceeds the physical bandwidth (BW) between the
このとき、入力インタフェース部100にフロー制御がかかり入力インタフェース部100からの出力が制限されるため、各キューグループは閾値超過状態となる。
At this time, since flow control is applied to the
ここで、入出力インタフェース部1−1の入力インタフェース部100のインタフェース番号i=0とし、入出力インタフェース部1−2の入力インタフェース部100のインタフェース番号i=1とする。
Here, it is assumed that the interface number i = 0 of the
そうすると、入出力インタフェース部1−1の契約ユーザA及びBの最低保証帯域より、Rmin[0]=10+20=30Mbpsとなる。 Then, Rmin [0] = 10 + 20 = 30 Mbps from the minimum guaranteed bandwidth of the contract users A and B of the input / output interface unit 1-1.
同様に、入出力インタフェース1−2の契約ユーザC及びDの最低保証帯域より、Rmin[1]=30+40=70Mbpsとなる。 Similarly, Rmin [1] = 30 + 40 = 70 Mbps from the minimum guaranteed bandwidth of the contract users C and D of the input / output interface 1-2.
従って、ΣRmin[i]=100Mbpsとなり、入力インタフェース部[0]の送信制限帯域[0]は、10Gbps x 30/100=3Gbps、入力インタフェース部[1]の送信制限帯域[1]は、10Gbps x 70/100=7Gbpsとなる。 Therefore, ΣRmin [i] = 100 Mbps, the transmission limited bandwidth [0] of the input interface unit [0] is 10 Gbps x 30/100 = 3 Gbps, and the transmission limited bandwidth [1] of the input interface unit [1] is 10 Gbps x 70/100 = 7 Gbps.
入力インタフェース部[0]の読出制御部113は、契約ユーザA、Bの最低保証帯域の重みで読出処理を実施する。つまり、読出制御部113は、送信制限帯域3Gbpsのうち、契約ユーザAからの出力帯域を3x10/(10+20)=1Gbps、契約ユーザBからの出力帯域を3x20/(10+20)=2Gbpsとする。
The
一方で、入力インタフェース部[1]の読出制御部113は、契約ユーザC、Dの最低保証帯域の重みで読出処理を実施する。つまり、読出制御部113は、送信制限帯域7Gbpsのうち、契約ユーザCからの出力帯域を7x30/(30+40)=3Gbps、契約ユーザDからの出力帯域を7x40/(30+40)=4Gbpsとする。
On the other hand, the
従って、契約ユーザA,B,C,Dの入力帯域がすべて5Gbpsとなった場合でも、契約ユーザA,B,C,Dの出力帯域は1Gbps,2Gbps,3Gbps,4Gbpsに制御され、最低保証帯域に従った公平な帯域制御が実現できる。 Therefore, even when the input bandwidths of contract users A, B, C, and D all become 5 Gbps, the output bandwidth of contract users A, B, C, and D is controlled to 1 Gbps, 2 Gbps, 3 Gbps, and 4 Gbps, and the minimum guaranteed bandwidth Fair bandwidth control can be realized.
また、契約ユーザCからの入力がなく、契約ユーザA,B,Dの入力帯域が5Gbps,5Gbps,10Gbpsとなった場合、出力バッファ312は輻輳状態となる。
Further, when there is no input from the contract user C and the input bandwidth of the contract users A, B, and D is 5 Gbps, 5 Gbps, and 10 Gbps, the
このとき、入力インタフェース部100にフロー制御がかかり入力インタフェース部100からの出力が制限されるため、契約ユーザA、B、Dのキューグループは閾値超過状態となるが、契約ユーザCは入力がないため閾値超過状態とはならない。
At this time, since flow control is applied to the
従って、Rmin[0]=10+20=30Mbps,Rmin[1]=40Mbps,ΣRmin[i]=70Mbpsとなる。 Therefore, Rmin [0] = 10 + 20 = 30 Mbps, Rmin [1] = 40 Mbps, and ΣRmin [i] = 70 Mbps.
入力インタフェース部[0]の送信制限帯域[0]は、10Gbps x 30/70=4.3Gbps、入力インタフェース部[1]の送信制限帯域[1]は、10Gbps x 40/70=5.7Gbpsとなる。 The transmission limited bandwidth [0] of the input interface unit [0] is 10 Gbps × 30/70 = 4.3 Gbps, and the transmission limited bandwidth [1] of the input interface unit [1] is 10 Gbps × 40/70 = 5.7 Gbps. Become.
入力インタフェース部[0]の読出制御部113は、契約ユーザA,Bの最低保証帯域の重みで読出処理を実施し、送信制限帯域4.3Gbpsのうち、契約ユーザAからの出力帯域は4.3x10/(10+20)=1.4Gbps、契約ユーザBからの出力帯域は4.3x20/(10+20)=2.9Gbpsとなる。
The
一方で、入力インタフェース部[1]の読出制御部113は、制限帯域5.7Gbpsすべて契約ユーザD分となる。つまり、契約ユーザDからの出力帯域は5.7Gbpsとなる。
On the other hand, the
従って、契約ユーザA,B,C,Dの入力帯域が、5Gbps,5Gbps,0Gbps,10Gbpsとなった場合でも、契約ユーザA,B,Dの出力帯域は、1.4Gbps,2.9Gbps,5.7Gbpsに制御され、最低保証帯域に従った公平な帯域制御が実現できる。 Therefore, even if the input bandwidths of the contract users A, B, C, and D are 5 Gbps, 5 Gbps, 0 Gbps, and 10 Gbps, the output bandwidths of the contract users A, B, and D are 1.4 Gbps, 2.9 Gbps, 5 .7 Gbps, and fair bandwidth control according to the minimum guaranteed bandwidth can be realized.
(A−3)実施形態の効果
以上のように、この実施形態によれば、出力インタフェース部側が、その出力インタフェース部から出力される全フローの送信帯域を管理し、出力バッファ輻輳状態のときに送信制限帯域を入力インタフェース部側に通知し、入力インタフェース部側が各フローの送信制限帯域に抑えて出力する動作となっているため、複数の入力インタフェース部からの複数のフローが1つの出力インタフェース部に集中して出力されるような場合でも、パケット交換部あるいは出力インタフェース部でのパケット廃棄を発生させることなく、帯域保証、契約ユーザ間の公平性を実現することが可能となる。
(A-3) Effect of Embodiment As described above, according to this embodiment, the output interface unit manages the transmission bandwidth of all flows output from the output interface unit, and is in an output buffer congestion state. Since the transmission interface is notified to the input interface unit side, and the input interface unit side operates so as to suppress the transmission limitation band of each flow and outputs, a plurality of flows from the plurality of input interface units are one output interface unit. Even in the case of being output in a concentrated manner, it is possible to realize bandwidth guarantee and fairness among contract users without causing packet discard in the packet switching unit or output interface unit.
また、この実施形態によれば、入力インタフェース部側が出力インタフェース部側へ通知する帯域制御用の情報は、各キューグループの閾値超過状態である。すなわち、例えば、「0」又は「1」の1ビットの閾値超過状態である。また出力インタフェース部側から入力インタフェース部側へ通知される帯域制御用の情報は各キューグループ個別の送信許可量ではなく、入力インタフェース部単位の送信制限帯域であるため、帯域制御用情報の伝送量を削減可能である。これは、帯域制御用情報をユーザパケットと同じインチャネルで転送する場合には非常に効果的である。また帯域制御用情報が少なくなるため、送信制限帯域演算の処理負荷が低減できるという効果がある。 Further, according to this embodiment, the bandwidth control information notified from the input interface unit side to the output interface unit side is a threshold excess state of each queue group. That is, for example, a 1-bit threshold excess state of “0” or “1”. The bandwidth control information notified from the output interface unit side to the input interface unit side is not the transmission permission amount for each queue group, but the transmission limited bandwidth for each input interface unit. Can be reduced. This is very effective when the bandwidth control information is transferred in the same in-channel as the user packet. Further, since the bandwidth control information is reduced, there is an effect that the processing load of the transmission limited bandwidth calculation can be reduced.
(B)他の実施形態
(B−1)上述した実施形態の動作では、入力インタフェース部が2つの場合を例示して説明したが、2つ以上の場合でも同様の効果が得られる。
(B) Other Embodiments (B-1) In the operation of the above-described embodiment, the case where there are two input interface units has been described as an example, but the same effect can be obtained even when there are two or more input interface units.
(B−2)また、入力インタフェース部が2つのキューグループを備え、又キューグループが2個のパケットキューを備える場合を例示したが、キューグループ数、パケットキュー数は、2以上の場合でも同様である。 (B-2) Moreover, although the case where the input interface unit includes two queue groups and the queue group includes two packet queues is illustrated, the same applies to the case where the number of queue groups and the number of packet queues are two or more. It is.
(B−3)また、上述した実施形態では、QG0読出制御部が、高優先、低優先の完全優先型により読み出しを行う場合を例示してせつめいしたが、これに限定されず、例えば、重み付けラウンドロビン(WRR)などの制御方式を用いた場合でも同様の効果が得られる。 (B-3) Further, in the above-described embodiment, the case where the QG0 read control unit performs reading by the high priority and the low priority full priority type is exemplified, but the present invention is not limited to this. For example, The same effect can be obtained even when a control method such as weighted round robin (WRR) is used.
(B−4)上述した実施形態では、帯域制御用情報(RMsパケット、RMmパケット)を、ユーザパケットと同じインチャネルで転送している例を示しているが、別途帯域制御用情報の転送ルートを設けて情報の転送を実施してもよい。 (B-4) In the above-described embodiment, an example in which the bandwidth control information (RMs packet, RMm packet) is transferred in the same in-channel as the user packet is shown. May be provided to transfer information.
(B−5)また上述した実施形態では、契約ユーザ間の公平性を、最低保証帯域をもとに実現しているが、各契約ユーザ均等な公平性、あるいはその他のパラメータを使用して公平性制御を実施してもよい。 (B-5) In the above-described embodiment, fairness among contract users is realized based on the minimum guaranteed bandwidth. However, fairness using fairness equal to each contract user or other parameters is used. Sex control may be implemented.
10…パケット交換装置、1−1〜1−N…入出力インタフェース部、
100…入力インタフェース部、
110…パケット受信部、111…フロー識別部、112−0〜112−n…キュー読出制御部、113…読出制御部、114…スレーブ側帯域制御部、115…送信制御部、11…閾値超過検出部、12…RMsパケット送信部、13…RMmパケット受信部、
200…出力インタフェース部、210…受信制御部、211…パケット振分部、212…マスター側帯域制御部、213…受信バッファ、214…パケット送信部、21…RMsパケット受信部、22…送信制限帯域演算部、23…RMmパケット送信部、
3…パケット交換部、310…入力バッファ、311…パケットスイッチ、312…出力バッファ。
10 ... packet switching device, 1-1 to 1-N ... input / output interface unit,
100: Input interface section,
DESCRIPTION OF
DESCRIPTION OF SYMBOLS 200 ... Output interface part, 210 ... Reception control part, 211 ... Packet distribution part, 212 ... Master side band control part, 213 ... Reception buffer, 214 ... Packet transmission part, 21 ... RMs packet reception part, 22 ... Transmission restriction band Calculation unit, 23... RMm packet transmission unit,
3 ... Packet switching unit, 310 ... Input buffer, 311 ... Packet switch, 312 ... Output buffer.
Claims (5)
上記入力インタフェース部に対応の入力バッファと、上記出力インタフェース部に対応の出力バッファと、上記入力インタフェース部から受信したパケットを、宛先に該当する上記出力インタフェース部に出力する交換部とを有するパケット交換手段と
を備え、
上記各入力インタフェース部が、
入力されたパケットを蓄積する蓄積部と、
上記蓄積部に蓄積されているパケットを読み出して上記パケット交換手段に送信させる読出制御部と、
上記蓄積部の蓄積状態情報を含む帯域制御パケットを、パケット出力先である上記出力インタフェース部に与える第1の帯域制御パケット送信部と
を有し、
上記各出力インタフェース部が、
当該出力インタフェース部に対応する上記出力バッファの状態を監視し、上記出力バッファの輻輳状態が検出されると、受信した上記帯域制御パケットに含まれる上記蓄積状態情報に基づいて、蓄積量が閾値超過となっている上記各蓄積部の送信帯域を用いて、当該出力インタフェース部を出力先とする上記入力インタフェース部単位の送信制限帯域を求める送信制限帯域演算部と、
上記送信制限帯域演算部により求められた上記各入力インタフェース部の送信制限帯域を含む帯域制御パケットを、対応する上記各入力インタフェース部に与える第2の帯域制御パケット送信部と
を有し、
上記各入力インタフェース部の上記読出制御部が、上記出力インタフェース部からの上記帯域制御パケットに含まれる上記送信制限帯域に基づいて、パケットの読み出し制御を行うことを特徴とするパケット交換装置。 A plurality of input / output interface means each having an input interface part and an output interface part;
Packet switching comprising: an input buffer corresponding to the input interface unit; an output buffer corresponding to the output interface unit; and a switching unit that outputs a packet received from the input interface unit to the output interface unit corresponding to a destination Means and
Each input interface section above
An accumulator that accumulates input packets;
A read control unit for reading the packet stored in the storage unit and transmitting the packet to the packet switching means;
A first bandwidth control packet transmission unit that provides a bandwidth control packet including the storage state information of the storage unit to the output interface unit that is a packet output destination;
Each output interface section above
The status of the output buffer corresponding to the output interface unit is monitored, and when the congestion state of the output buffer is detected, the accumulation amount exceeds the threshold based on the accumulation status information included in the received bandwidth control packet. Using the transmission bandwidth of each of the storage units, a transmission limited bandwidth calculation unit for obtaining a transmission limited bandwidth in units of the input interface unit with the output interface unit as an output destination,
A second bandwidth control packet transmitting unit that provides a bandwidth control packet including the transmission limited bandwidth of each of the input interface units obtained by the transmission limited bandwidth calculating unit to each of the corresponding input interface units,
The packet switching apparatus, wherein the read control unit of each input interface unit performs packet read control based on the transmission limited band included in the band control packet from the output interface unit.
上記入力インタフェース部に対応の入力バッファと、上記出力インタフェース部に対応の出力バッファと、上記入力インタフェース部から受信したパケットを、宛先に該当する上記出力インタフェース部に出力する交換部とを有するパケット交換手段と
を備えるパケット交換装置の上記入出力インタフェース手段の帯域制御プログラムにおいて、
コンピュータを、
上記入力インタフェース部に入力されたパケットを蓄積する蓄積部、
上記蓄積部に蓄積されているパケットを読み出して上記パケット交換手段に送信させる読出制御部、
上記蓄積部におけるパケットの蓄積量が閾値超過であるか否かを示す蓄積状態情報を含む帯域制御パケットを、パケット出力先である上記出力インタフェース部に与える第1の帯域制御パケット送信部、
上記出力インタフェース部に対応する上記出力バッファの状態を監視し、上記出力バッファの輻輳状態が検出されると、上記第1の帯域制御パケット送信部から受信した上記帯域制御パケットに含まれる上記入力インタフェース部における蓄積部の上記蓄積状態情報に基づいて、蓄積量が閾値超過となっている各蓄積部の送信帯域を用いて、上記出力インタフェース部を出力先とする上記入力インタフェース部単位の送信制限帯域を求める送信制限帯域演算部、
上記送信制限帯域演算部により求められた上記各入力インタフェース部の送信制限帯域を含む帯域制御パケットを、対応する上記各入力インタフェース部に与える第2の帯域制御パケット送信部、
として機能させ、
上記読出制御部に、上記各出力インタフェース部側で求められた入力インタフェース部の送信制限帯域に基づいて、パケットの読み出し制御を行わせることを特徴とする帯域制御プログラム。 A plurality of input / output interface means each having an input interface part and an output interface part;
Packet switching comprising: an input buffer corresponding to the input interface unit; an output buffer corresponding to the output interface unit; and a switching unit that outputs a packet received from the input interface unit to the output interface unit corresponding to a destination In the bandwidth control program of the input / output interface means of the packet switching device comprising:
Computer
A storage unit for storing packets input to the input interface unit;
A read control unit for reading packets stored in the storage unit and transmitting the packets to the packet switching means;
A first bandwidth control packet transmission unit that provides a bandwidth control packet including storage state information indicating whether or not the amount of packets stored in the storage unit exceeds a threshold value to the output interface unit that is a packet output destination;
The state of the output buffer corresponding to the output interface unit is monitored, and when the congestion state of the output buffer is detected, the input interface included in the band control packet received from the first band control packet transmission unit Based on the storage state information of the storage unit in the storage unit, the transmission bandwidth of each input interface unit with the output interface unit as an output destination using the transmission band of each storage unit whose storage amount exceeds the threshold A transmission bandwidth limit calculation unit for
A second bandwidth control packet transmitting unit that gives a bandwidth control packet including the transmission limited bandwidth of each of the input interface units determined by the transmission limited bandwidth calculating unit to each of the corresponding input interface units;
Function as
A bandwidth control program that causes the readout control unit to perform packet readout control based on the transmission limited bandwidth of the input interface unit obtained on each output interface unit side.
上記入力インタフェース部に対応の入力バッファと、上記出力インタフェース部に対応の出力バッファと、上記入力インタフェース部から受信したパケットを、宛先に該当する上記出力インタフェース部に出力する交換部とを有するパケット交換手段と
を備えるパケット交換装置の上記出力インタフェース部の帯域制御プログラムにおいて、
コンピュータを、
当該出力インタフェース部に対応する上記出力バッファの状態を監視し、上記出力バッファの輻輳状態が検出されると、上記入力インタフェース部から受信した帯域制御パケットに含まれる上記入力インタフェース部における蓄積部の蓄積状態情報に基づいて、蓄積量が閾値超過となっている各蓄積部の送信帯域を用いて、当該出力インタフェース部を出力先とする上記入力インタフェース部単位の送信制限帯域を求める送信制限帯域演算部、
上記送信制限帯域演算部により求められた上記各入力インタフェース部の送信制限帯域を含む帯域制御パケットを、対応する上記各入力インタフェース部に与える第2の帯域制御パケット送信部
として機能させることを特徴とする帯域制御プログラム。 A plurality of input / output interface means each having an input interface part and an output interface part;
Packet switching comprising: an input buffer corresponding to the input interface unit; an output buffer corresponding to the output interface unit; and a switching unit that outputs a packet received from the input interface unit to the output interface unit corresponding to a destination In the bandwidth control program for the output interface unit of the packet switching device comprising:
Computer
The status of the output buffer corresponding to the output interface unit is monitored, and when the congestion state of the output buffer is detected, accumulation of the accumulation unit in the input interface unit included in the bandwidth control packet received from the input interface unit Based on the status information, a transmission limit band calculation unit that obtains a transmission limit band for each input interface unit whose output destination is the output interface unit, using the transmission band of each storage unit whose accumulation amount exceeds the threshold ,
The bandwidth control packet including the transmission limited bandwidth of each of the input interface units obtained by the transmission limited bandwidth calculation unit is caused to function as a second bandwidth control packet transmitting unit to be given to each of the corresponding input interface units, Bandwidth control program.
上記入力インタフェース部に対応の入力バッファと、上記出力インタフェース部に対応の出力バッファと、上記入力インタフェース部から受信したパケットを、宛先に該当する上記出力インタフェース部に出力する交換部とを有するパケット交換手段と
を備えるパケット交換装置のパケット交換方法において、
上記各入力インタフェース部が、
入力されたパケットを蓄積部に蓄積し、
読出制御部が、上記蓄積部に蓄積されているパケットを読み出して上記パケット交換手段に送信させる読出制御工程と、
第1の帯域制御パケット送信部が、上記蓄積部の蓄積状態情報を含む帯域制御パケットを、パケット出力先である上記出力インタフェース部に与える第1の帯域制御パケット送信工程と
を有し、
上記各出力インタフェース部が、
送信制限演算部が、当該出力インタフェース部に対応する上記出力バッファの状態を監視し、上記出力バッファの輻輳状態が検出されると、受信した上記帯域制御パケットに含まれる上記蓄積状態情報に基づいて、蓄積量が閾値超過となっている上記各蓄積部の送信帯域を用いて、当該出力インタフェース部を出力先とする上記入力インタフェース部単位の送信制限帯域を求める送信制限帯域演算工程と、
第2の帯域制御パケット送信部が、上記送信制限帯域演算工程で求められた上記各入力インタフェース部の送信制限帯域を含む帯域制御パケットを、対応する上記各入力インタフェース部に与える第2の帯域制御パケット送信工程と
を有し、
上記各入力インタフェース部の上記読出制御部が、上記出力インタフェース部からの上記帯域制御パケットに含まれる上記送信制限帯域に基づいて、パケットの読み出し制御を行うことを特徴とするパケット交換方法。 A plurality of input / output interface means each having an input interface part and an output interface part;
Packet switching comprising: an input buffer corresponding to the input interface unit; an output buffer corresponding to the output interface unit; and a switching unit that outputs a packet received from the input interface unit to the output interface unit corresponding to a destination In a packet switching method of a packet switching device comprising:
Each input interface section above
Accumulate input packets in the accumulator
A read control step for reading the packet stored in the storage unit and transmitting the packet to the packet switching means;
A first bandwidth control packet transmitting unit that provides a bandwidth control packet including storage state information of the storage unit to the output interface unit that is a packet output destination;
Each output interface section above
A transmission limit calculation unit monitors the state of the output buffer corresponding to the output interface unit, and when a congestion state of the output buffer is detected, based on the accumulation state information included in the received bandwidth control packet. A transmission limit band calculating step for obtaining a transmission limit band for each input interface unit with the output interface unit as an output destination using the transmission band of each of the storage units in which the accumulation amount exceeds the threshold;
Second band control in which the second band control packet transmitting unit provides the corresponding input interface unit with a band control packet including the transmission limited band of each of the input interface units obtained in the transmission limited band calculating step. A packet transmission process,
The packet switching method, wherein the read control unit of each input interface unit performs packet read control based on the transmission limited band included in the band control packet from the output interface unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012037926A JP5938939B2 (en) | 2012-02-23 | 2012-02-23 | Packet switching apparatus, packet switching method, and bandwidth control program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012037926A JP5938939B2 (en) | 2012-02-23 | 2012-02-23 | Packet switching apparatus, packet switching method, and bandwidth control program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013175833A JP2013175833A (en) | 2013-09-05 |
JP5938939B2 true JP5938939B2 (en) | 2016-06-22 |
Family
ID=49268394
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012037926A Active JP5938939B2 (en) | 2012-02-23 | 2012-02-23 | Packet switching apparatus, packet switching method, and bandwidth control program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5938939B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6281347B2 (en) * | 2014-03-18 | 2018-02-21 | 沖電気工業株式会社 | Packet switching apparatus and packet switching method |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3075251B2 (en) * | 1998-03-05 | 2000-08-14 | 日本電気株式会社 | Virtual Path Bandwidth Distribution System in Asynchronous Transfer Mode Switching Network |
JP2007134779A (en) * | 2005-11-08 | 2007-05-31 | Nippon Telegr & Teleph Corp <Ntt> | Circuit and method for distributed bandwidth allocation |
JP2008098879A (en) * | 2006-10-11 | 2008-04-24 | Nec Access Technica Ltd | Band controller, control method and program for control |
JP5349242B2 (en) * | 2009-10-09 | 2013-11-20 | 株式会社オー・エフ・ネットワークス | Packet switching apparatus and packet switching method |
-
2012
- 2012-02-23 JP JP2012037926A patent/JP5938939B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2013175833A (en) | 2013-09-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2006333091A (en) | Packet transfer device and network system | |
EP2702731A1 (en) | Hierarchical profiled scheduling and shaping | |
US9439102B2 (en) | Transmitting apparatus, transmission method, and transmission system | |
JP2004266389A (en) | Method and circuit for controlling packet transfer | |
US20150058485A1 (en) | Flow scheduling device and method | |
Tschorsch et al. | Tor is unfair—And what to do about it | |
Dhaini et al. | Per-stream QoS and admission control in Ethernet passive optical networks (EPONs) | |
Kaur et al. | Core-stateless guaranteed throughput networks | |
JP5349242B2 (en) | Packet switching apparatus and packet switching method | |
JP5938939B2 (en) | Packet switching apparatus, packet switching method, and bandwidth control program | |
JP2008271611A (en) | Packet transfer device and network system | |
JP4589289B2 (en) | Packet transfer device | |
JP6281347B2 (en) | Packet switching apparatus and packet switching method | |
CN114679792A (en) | Service flow scheduling method, device and system | |
JP5697212B2 (en) | Downlink communication bandwidth allocation method | |
Alharbi et al. | SSA: simple scheduling algorithm for resilient packet ring networks | |
JP4536047B2 (en) | Admission control apparatus and method | |
JP6326727B2 (en) | Packet switching apparatus, packet switching method, and bandwidth control program | |
JP7193787B2 (en) | Communication system, bridge device, communication method, and program | |
Chen et al. | Improve the problem of insufficient bandwidth and path congestion in the cloud computing environment by using self-adjustment scheduler | |
US10091268B2 (en) | Hierarchal maximum information rate enforcement | |
Yang et al. | A deadline-aware rate control scheme resolving oversubscription in wireless data center networks | |
Pradishta et al. | Dynamic QoS-based optimized video transmission in WiMAX networks | |
Kazmierczak | Architectural Enhancements and Design Considerations For the Next Generation Resilient Ring | |
Carvalho et al. | PACE your network: Fair and controllable multi-tenant data center networks |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20141117 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A711 Effective date: 20141117 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20141117 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20150519 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150730 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150825 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20151023 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20151023 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20151201 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160226 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20160308 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160329 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160329 |
|
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: 20160419 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160502 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5938939 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |