JP3623420B2 - Traffic control method - Google Patents

Traffic control method Download PDF

Info

Publication number
JP3623420B2
JP3623420B2 JP2000002469A JP2000002469A JP3623420B2 JP 3623420 B2 JP3623420 B2 JP 3623420B2 JP 2000002469 A JP2000002469 A JP 2000002469A JP 2000002469 A JP2000002469 A JP 2000002469A JP 3623420 B2 JP3623420 B2 JP 3623420B2
Authority
JP
Japan
Prior art keywords
class
queue
service
priority
wfq
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
Application number
JP2000002469A
Other languages
Japanese (ja)
Other versions
JP2001197110A (en
Inventor
昌宏 宮坂
隆典 岩井
之治 金山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2000002469A priority Critical patent/JP3623420B2/en
Publication of JP2001197110A publication Critical patent/JP2001197110A/en
Application granted granted Critical
Publication of JP3623420B2 publication Critical patent/JP3623420B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、IPネットワークを構成するルータのインターフェースで実施されるDiffserv(Differentiated Service)型のサービスにおいて、クラス別の品質保証を行うためのトラヒック制御方法に関するものである。
【0002】
【従来の技術】
通信業者がIPネットワークにおいてシンプルに付加価値サービスを提供する手段としてDiffservが提案されている。Diffservは、IPヘッダーに埋め込まれた情報によって各ルータが優先制御を行ってIP品質保証サービスを提供する方法である。その品質保証サービス要求を保証する重要なメカニズムの一つとしてスケジューリング法が挙げられる。スケジューリング法は、大きくギャランティー型及びベストエフォート型に分けられる。ギャランティー型は、帯域保証、低遅延及び低ジッターを利点とし、ベストエフォート型は、公平性及び帯域利用率を利点としている。これらの利点は相反する特性を実現しようとするものであるため、一方の利点を強調すると他方にとっては欠点となるという性質を持つ。
【0003】
従来のルータにおいては、サービス品質を保証するようなスケジューリング法が実装されているルータでも、一つのルータに対して一つのスケジューリング法又はインターフェース毎に一つのスケジューリング法を目的に合わせて選択することになっている。代表的なスケジューリング法はWFQ(Weighted Fair Queuing) であり、これは、公平性及び帯域利用率に関して非常に優れており、同時に低遅延を実現するスケジューリング法として、現在多くの高性能ルータに実装されている。
【0004】
このWFQは、到着したIPパケットに対してビット毎のラウンドロビンによってサービスを終了するまでの時間をタグ付けし、そのタグの最小のパケットから読出しを行う。しかしながら、保証される遅延及びジッターは設定する帯域によってのみ指定され、また、ギャランティー型トラヒックもベストエフォート型トラヒックと同様の計算によってタグ付けされるためベストエフォート型トラヒックからの影響を避けられない。従って、従来のルータのように、一つのスケジューリング法によってDiffserv型サービスを全て提供することは困難であるという問題がある。
【0005】
Diffservでは、契約帯域を保証し仮想専用線を実現するEF(Expedited Forwarding)サービス、及び最低帯域保証付きベストエフォートサービスを行うAF(Assured Forwarding)サービスの二つのサービスが規定されている。しかしながら、スケジューリング法等に関しては規定されておらず、これらのサービスを実現する方法が課題となっている。以下に、このDiffserv型サービスを、現在多くの高性能ルータに実装されているWFQによって行う場合について説明する。
【0006】
WFQは、それぞれのキューから無限小のデータを公平に読出すGPS(Generalized Processor Sharing) サーバをビット毎に実行するようにモデル化し、到着したパケットはそのGPSによるサービス終了時刻によってソートされ、読出される。また、キューにパケットが存在する際には常に読出しを行うので、公平性及び帯域利用率に関して非常に優れている。また、WFQは、コネクション毎の帯域を保証しており、複数段のWFQスケジューラを介してエンド間を接続した場合の遅延は以下のように示される(A.K.Perekh, R.G.Gallager, ”A Generalized Processor Sharing Approach to Flow Control in Integrated Service Networks−The Multiple Node Case”, IEEE/ACM transactions on Networking, pp.137−150,Apr.1994 参照)。
【0007】
いま、k番目のスケジューラがリンクレートr(k) のリンクで接続されている場合、φを重み付けとすると、リーキーバケットパラメータ(σ,ρ)で制限されたソースiがそのスケジューラで受けるサービスレートg(i,k) は、次式で表される。
【数1】

Figure 0003623420
【0008】
ここでは、最小のサービスレートg(i) はρより大きいとする。また、コネクションの中で最大のパケット長をPmax(i)とし、他のコネクションの影響はないとすると、エンド間での遅延D(i) は次式で制限される。
【数2】
Figure 0003623420
従って、エンド間での遅延は適切なg(i) を割当てることによって制限することができ、ギャランティー型としても用いることができる。
【0009】
AFのみのサービスをWFQで行うには、それぞれのサービスクラスに対応する最低帯域分の重み付けを行えばよく、クラス間の公平性又は帯域利用率を考えても適用できると考えられる。しかしながら、同時にギャランティークラスであるEFクラスのサービスを行う場合は、EFクラスの品質を保つことが難しい。WFQでも式2に示したように到着するトラヒックをリーキーバケット等で制限すれば、エンド間での最大遅延を抑え、ジッターを抑えることができる。しかし、式2から、その最大遅延は配分するレートによって左右され、低遅延及び低ジッターを実現するにはより多くの帯域を必要とし、ネットワーク設計上問題がある。また、他のトラヒックの影響も全くないことはなく、空き帯域をアクティブなコネクションで共用するため、コネクション数によって式1のレートの変化率が影響を受ける。即ち、AFトラヒックの混み具合によってEFトラヒックに影響が出るという問題がある。
【0010】
これらの上述の問題は他のスケジューリング法を用いる場合でも同様に生起する問題であり、ギャランティー型(EF型)サービスとベストエフォート型(AF型)サービスとを同時に実現することは難しい。
【0011】
【発明が解決しようとする課題】
本発明の目的は、Diffserv型サービスを実現する場合の上述の問題を解決し、簡易な構成でギャランティー型サービスとベストエフォート型サービスとを同時に実現することができるトラヒック制御方法を提供することにある。
【0012】
【課題を解決するための手段】
本発明のトラヒック制御方法は、上記の目的を達成するため、IPネットワークを構成するルータのインターフェースで、到着したIPパケットのIPヘッダーを参照し、IPパケットを、ギャランティーサービスクラス、最低帯域保証クラス及びベストエフォートサービスクラスへのクラス分けを行い、クラス毎のレギュレータを用いてIPトラヒックをクラス毎に設定されたキューに振り分け、ギャランティーサービス用キューはPQ方式の最優先キューとして設定し、最低帯域保証用キューはWFQ方式によって読出しWFQフローの全レートを制限してPQ方式のいずれかの優先キューに入力し、ベストエフォートサービス用キューはPQ方式の非優先キューに設定しPQ方式により出力リンクへ送ることを特徴とする。
【0013】
本発明のトラヒック制御方法においては、WFQの実装に、アクティブなキューではその時点でのビット毎のラウンドロビンがサービスを終了するラウンド数をタグ付けし、アクティブでないキューではそのキューにおける直前のパケットのサービス終了時刻をタグ付けするSFQ(Start−Time Fair queuing)(P.Goyal,H.Vin,H.Chen, ”Start−Time Fair Queuing : A Scheduling Algorithm for Integrated Services Packet Switching Networks”, Proceedings of ACM SIGCOMM ’96,Aug.1996 参照) を用い、WFQ全体の読出しレートを自由に設定することを可能にした上で、PQ方式のいずれかの優先キューに入れて出力リンクから読出すようにしてもよい。
【0014】
また、クラス分けの際にBEクラスに設定したトラヒックは、PQにおいて非優先クラスに設定し、PQの各優先クラスに対応するレギュレータのパラメータの全リンクレートをPQ全体の出力の帯域より小さく設定し、残りの帯域に対しても優先度別に読出すようにしてもよい。
【0015】
このような本発明によれば、PQ方式は最優先キューのパケットを到着し次第読出すので、到着レート以上に読出しレートを設定することにより低遅延及び低ジッターを実現することができる。スケジューリング全体としては、AFクラスのWFQ方式とEFクラスのPQ方式とを完全に独立させることにより、EFクラスに対するAFクラスの影響を防ぐ。これらのスケジューリングの前段には、クラス分け機構、及びそれぞれのサービスクラスのプロファイルに基づくトークンバケットレギュレータを設けており、トークンバケットパラメータ(トークンレート、バケットサイズ、リンクレート)により特徴付けられたトラヒックがスケジューラに送られるため、EFクラス及びAFクラスそれぞれにおいて品質を保証することができ、Diffserv型サービスを全て実現することができる。
【0016】
【発明の実施の形態】
次に図面を用いて本発明の実施例を説明する。本発明の方法を実施する場合、既知のルータ構成を用いて実施することができる。図1はこのようなルータの例の機能ブロック図である(Y.Bernet et al., ”A Conceptual Model for Diffserv Router”, Draft−ietf−diffserv−model−00.txt,June 1999参照) 。このルータは二つのインターフェースA及びBを有するルータであり、エッジルータとして用いる場合は、入力側モジュールにおいて契約に応じてシェーピングを行う。また、コアルータとして用いる場合は、入力側モジュールを省略することができる。本発明によりDiffserv型サービスを実現するためには、出力側モジュールで図2に示すトラヒック制御を行う。
【0017】
図2は、本発明によるトラヒック制御方法を説明するための図である。到着したIPパケットに対して、クラス分け機構11が、IPヘッダーのDiffservコードポイント、ソース/デスティネーションアドレス、ソース/デスティネーションポート、IPプロトコル番号等を識別し、フロー毎に識別子を決定し、EFクラスA、AFクラスB〜E、BEクラスF及び不適合パケットXにクラス分けし、それぞれのプロファイルに従ってクラスA〜Fについて設定されたトークンバケットレギュレータ12a〜12nにIPパケットを送る。非適合であるクラスXのパケットは直ちに破棄される。
【0018】
トークンバケットレギュレータ12a〜12nは、例えばバケットサイズ、トークンレート及びリンクレートの三つのパラメータでトラヒックを制限する。図3に示すように、到着したパケットは、トークンがある場合はそのトークンサイズだけ送出され、トークンがない場合は破棄される。バケットの中のトークンはトークンレートで溜まり、最大値はバケットサイズで制限されている。例えばLバイトのフローが到着した時は、バケットの中にL個のトークンがある場合に送出が許可される。即ち、トークンレートに相当する平均レートを超えてバケットサイズまでのバーストが許可され、リンクレートによって、その大きさが制限される。
【0019】
図2の場合、EFクラスのパケットAはPQ方式の最優先キュー14aに送られ、AFクラスのパケットB〜EはWFQのキュー13a〜13nに送られ、BEクラスのパケットFはPQ方式の非優先キュー15に送られる。
【0020】
WFQは、アクティブなキューに対してそれぞれのキューのデータを無限に細かく分割して理想的に公平なスケジューリングを行うGPSサーバを、パケット単位でのスケジューリングに近似したものである。WFQは、GPSサーバをビット毎のラウンドロビンでモデル化し、そのラウンドロビンでのサービス時間を基にしてサービス終了時刻を決定し、それにより、パケットをソートし順次読出す。
【0021】
即ち、或る時刻tにおいて、コネクションiに到着したk番目のパケットのパケットサイズをP(i,k,t) 、ラウンドナンバーをR(t) 、サービスを終了する時刻であるフィニッシュナンバーをF(i,k,t) 、i番目のコネクションに対する重み付けをφ(i) とすると、WFQサーバは、次式によりF(i,k,t) を決定し、F(i,k,t) の小さいパケットからサービスを行う。
【数3】
Figure 0003623420
【0022】
このようなアクティブなコネクションのみの計算を行うため、帯域を公平に配分でき、なお且つ利用可能な帯域を最大限活用することができる。しかしながら、R(t) の計算はパケットの到着及び送出毎に計算しなければならず、その実装は非常に困難であるため、この実施例では、このR(t) の計算にSFQの方法を用いる。即ち、パケットがアクティブではないキューに到着した際には、その時点でのラウンドナンバーをスタートナンバー(S(i,k,t))とし、パケットがアクティブなキューに到着した際には、その直前のパケットのフィニッシュナンバーをスタートナンバーとし、次式によりフィニッシュナンバーF(i,k,t) を決定する。
【数4】
Figure 0003623420
【0023】
このようにすることにより、WFQの問題点とされるコネクションの繰り返し削除を防ぐことができる。パケットはこのフィニッシュナンバーF(i,k,t) によりソートされ、それぞれのキューに送られる。WFQ全体のフローは、スタティックに全体のフローのレートに制限を与えて、PQのいずれかの優先キューに送る。
【0024】
PQはそれぞれのコネクションがサービスする優先順位に相当し、例えばn個の優先レベルがある場合、或る番号の優先レベルに対してそれより高い優先度の番号の優先レベルに属するパケットは常に優先的に送出される。即ち、優先レベルkのパケットは、k+1,k+2,...,nの番号の優先レベルにサービス待ちのパケットがない場合のみサービスされる。優先キュー14(図2)は、EFフロー及びAFフロー即ちWFQフローを集合し、優先レベルに従って読出す。
【0025】
このような構成を有するトラヒック制御方法を用いるモジュールをルータのインターフェースに装備することにより、Diffserv型サービスを全て実現することができる。以下に、EFクラス、AFクラス及びBEクラスについて具体的に説明する。
【0026】
EFクラスのトラヒックは、上述のように、低遅延及び低ジッターを実現するものであり、本発明では、トークンバケットレギュレータ及びPQによって実現される。クラス分け機構でEFクラスに識別されるフローのトークンバケットパラメータは、バケットサイズ=0、トークンレート=リンクレートである。契約帯域をリンクレートに設定することにより契約違反トラヒックを排除することができる。このEFクラスのトラヒックはWFQのフィニッシュナンバーの計算を行わず、処理のオーバーヘッドを減らすことができる。EFクラスのトラヒックは直接PQの最優先キュー14aに送られ、このPQでは、入力レートを常に出力レートより小さく設計することにより、キューイング遅延及びジッターを最小にすることができる。また、このように完全にキューを分けることにより、このEFクラスのキューサイズを削減することができる。
【0027】
AFクラス即ち最低帯域保証クラスのトラヒックは、限られた帯域を有効に活用し且つ帯域を保証されるものであり、本発明では、トークンバケット及びWFQによって実現される。クラス分け機構11で四つのAFクラスB〜Eに識別されたフローは、それぞれのクラスのプロファイルに応じてトークンバケットパラメータを設定される。WFQの重み付けはトークンレートによる重み付けであり、フィニッシュナンバーの計算を行うことによりクラス間での公平性を確保し、且つAFクラスに与えられた帯域を有効に利用する。このWFQ全体の読出しレートを制限し、PQのいずれかの優先キュー14に入力することにより、出力帯域をPQ及びWFQ双方で共用すると共に、EFクラスのトラヒックに対するAFクラスのトラヒックの影響を防ぐことができる。
【0028】
クラス分け機構11でBEクラスに設定したトラヒックは、PQにおいて優先キュー14以外の非優先レベル15に設定する。PQでは、低優先のトラヒックは高優先のトラヒックの影響を受け、その優先レベルに応じて遅延及びジッターを受ける。本発明では、EFクラス及びAFクラスのトークンバケットパラメータのリンクレートをPQの全出力の帯域より小さく設定するため、残りの帯域に対して、BEクラス内においてもPQの優先レベルによる差別化サービスを提供することができる。
【0029】
【発明の効果】
以上説明したように、本発明によれば、Diffserv型サービスの契約帯域を保証し低遅延及び低ジッターを実現するクラスであるEFクラスと、最低帯域保証付きのベストエフォートクラスであるAFクラスとのサービスを同時に実現することができる。即ち、EFクラスサービスにはPQを行うことにより低遅延及び低ジッターを実現し、AFクラスサービスにはWFQを用いることによりEFクラスに対する影響を防ぎ、また、AFクラス間での公平性及び帯域利用率を高め、配分された帯域を最大限活用することができる。BEクラスでは帯域保証なしの優先度別サービスを実現することができる。本発明はWFQをベースとした簡易な構成であり、実装を容易なものとしているため、現在多くの高性能ルータに実装されているWFQを本発明の実行に適するように改良することにより、簡単にDiffserv型サービスの全てを提供できるようにすることができる。
【図面の簡単な説明】
【図1】Diffservルータの例の機能ブロック図である。
【図2】本発明によるトラヒック制御方法を説明するための図である。
【図3】トークンバケットレギュレータの動作を説明するための図である。
【符号の説明】
11 クラス分け機構
12 トークンバケットレギュレータ
13 キュー
14 優先キュー
14a 最優先キュー
15 非優先キュー[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a traffic control method for performing quality assurance for each class in a Diffserv (Differentiated Service) type service implemented at an interface of a router constituting an IP network.
[0002]
[Prior art]
Diffserv has been proposed as a means for a carrier to simply provide a value-added service in an IP network. Diffserv is a method in which each router performs priority control based on information embedded in an IP header and provides an IP quality assurance service. One of the important mechanisms for guaranteeing the quality assurance service request is a scheduling method. Scheduling methods can be broadly divided into guarantee type and best effort type. The guarantee type has advantages of bandwidth guarantee, low delay and low jitter, and the best effort type has advantages of fairness and bandwidth utilization. Since these advantages are intended to realize contradictory characteristics, emphasizing one advantage has the property of becoming a disadvantage for the other.
[0003]
In a conventional router, even a router that implements a scheduling method that guarantees the quality of service, one scheduling method for one router or one scheduling method for each interface is selected according to the purpose. It has become. A typical scheduling method is WFQ (Weighted Fair Queuing), which is very good in terms of fairness and bandwidth utilization. At the same time, it is implemented in many high-performance routers as a scheduling method that realizes low delay. ing.
[0004]
The WFQ tags the time until the service is terminated by round robin for each bit of the arrived IP packet, and reads from the smallest packet of the tag. However, the guaranteed delay and jitter are specified only by the band to be set, and the guarantee traffic is tagged by the same calculation as the best effort traffic, so the influence from the best effort traffic cannot be avoided. Therefore, there is a problem that it is difficult to provide all the Diffserv type services by one scheduling method as in the conventional router.
[0005]
In Diffserv, two services are defined: an EF (Expanded Forwarding) service that guarantees a contract bandwidth and realizes a virtual private line, and an AF (Assured Forwarding) service that performs a best effort service with a minimum bandwidth guarantee. However, the scheduling method and the like are not defined, and a method for realizing these services is a problem. Hereinafter, a case where this Diffserv type service is performed by WFQ currently installed in many high-performance routers will be described.
[0006]
WFQ models GPS (Generalized Processor Sharing) servers that read infinitesimal data fairly from each queue to be executed bit by bit, and arrived packets are sorted and read according to their GPS end-of-service times. The In addition, since a packet is always read when a packet exists in the queue, it is very excellent in terms of fairness and bandwidth utilization. The WFQ guarantees the bandwidth for each connection, and the delay when the ends are connected via a multi-stage WFQ scheduler is shown as follows (AK Perekh, RG Gallager). , "A Generalized Processor Sharing Approach to Flow Control in Integrated Service Networks-The Multiple Node Case", IEEE / ACM Transactionp.
[0007]
If the k-th scheduler is connected by a link rate r (k) link, assuming that φ is a weight, the service rate g received by the scheduler for the source i limited by the leaky bucket parameter (σ, ρ). (I, k) is expressed by the following equation.
[Expression 1]
Figure 0003623420
[0008]
Here, it is assumed that the minimum service rate g (i) is larger than ρ. Further, assuming that the maximum packet length in the connection is Pmax (i) and there is no influence of other connections, the delay D (i) between the ends is limited by the following equation.
[Expression 2]
Figure 0003623420
Therefore, the delay between the ends can be limited by assigning an appropriate g (i), and can also be used as a guarantee type.
[0009]
In order to perform AF-only service with WFQ, weighting for the minimum bandwidth corresponding to each service class may be performed, and it can be applied even considering fairness between classes or bandwidth utilization. However, it is difficult to maintain the quality of the EF class when providing the service of the EF class which is a guarantee class at the same time. Even in WFQ, if the traffic that arrives is limited by a leaky bucket or the like as shown in Equation 2, the maximum delay between ends can be suppressed and jitter can be suppressed. However, from Equation 2, the maximum delay depends on the allocated rate, and more bandwidth is required to realize low delay and low jitter, which is problematic in network design. In addition, there is no influence of other traffic, and the free bandwidth is shared by active connections. Therefore, the rate of rate change of Equation 1 is affected by the number of connections. That is, there is a problem that the EF traffic is affected by the congestion of the AF traffic.
[0010]
These above-mentioned problems occur similarly even when other scheduling methods are used, and it is difficult to simultaneously realize a guarantee type (EF type) service and a best effort type (AF type) service.
[0011]
[Problems to be solved by the invention]
An object of the present invention is to provide a traffic control method capable of solving the above-described problems when realizing a Diffserv type service and simultaneously realizing a guarantee type service and a best effort type service with a simple configuration. is there.
[0012]
[Means for Solving the Problems]
In order to achieve the above object, the traffic control method of the present invention refers to the IP header of the arrived IP packet at the interface of the router constituting the IP network, and determines the IP packet as a guarantee service class and a minimum bandwidth guarantee class. And classifying into best-effort service classes, assigning IP traffic to a queue set for each class using a regulator for each class, setting the guarantee service queue as the highest priority queue of the PQ method, The guarantee queue limits the total rate of the read WFQ flow by the WFQ method and inputs it to one of the priority queues of the PQ method, and the best effort service queue is set to the non-priority queue of the PQ method and goes to the output link by the PQ method It is characterized by sending.
[0013]
In the traffic control method of the present invention, the WFQ implementation is tagged with the number of rounds at which the current round robin per bit ends the service in the active queue, and the previous packet in the queue in the inactive queue. SF--Start-Time Fair queuing: A-Scheduled Algorithm-Singed-Wed-Singe-Wet --------------------------- '96, Aug. 1996) can be used to freely set the reading rate of the entire WFQ. On you, it may be read out from one of the priority queue to put the output link of the PQ system.
[0014]
In addition, the traffic set in the BE class at the time of classification is set as a non-priority class in the PQ, and the total link rate of the regulator parameters corresponding to each priority class of the PQ is set smaller than the output bandwidth of the entire PQ. The remaining bands may be read according to priority.
[0015]
According to the present invention as described above, the PQ method reads the packet in the highest priority queue as soon as it arrives, so that it is possible to realize low delay and low jitter by setting the read rate higher than the arrival rate. As the entire scheduling, the AF class WFQ method and the EF class PQ method are completely independent, thereby preventing the influence of the AF class on the EF class. In front of these scheduling, a classifying mechanism and a token bucket regulator based on the profile of each service class are provided, and traffic characterized by token bucket parameters (token rate, bucket size, link rate) is the scheduler. Therefore, the quality can be guaranteed in each of the EF class and the AF class, and all Diffserv type services can be realized.
[0016]
DETAILED DESCRIPTION OF THE INVENTION
Next, embodiments of the present invention will be described with reference to the drawings. When implementing the method of the present invention, it can be implemented using known router configurations. 1 is a functional block diagram of an example of such a router (see Y. Bernet et al., “A Conceptual Model for Diffserv Router”, Draft-ietf-diffserv-model-00.txt, June 1999). This router is a router having two interfaces A and B. When used as an edge router, the input module performs shaping according to a contract. Further, when used as a core router, the input side module can be omitted. In order to realize the Diffserv type service according to the present invention, the traffic control shown in FIG. 2 is performed by the output side module.
[0017]
FIG. 2 is a diagram for explaining a traffic control method according to the present invention. For the arrived IP packet, the classification mechanism 11 identifies the Diffserv code point, source / destination address, source / destination port, IP protocol number, etc. of the IP header, determines the identifier for each flow, and EF The packet is classified into class A, AF class B to E, BE class F, and nonconforming packet X, and IP packets are sent to token bucket regulators 12a to 12n set for classes A to F according to the respective profiles. Non-conforming class X packets are immediately discarded.
[0018]
The token bucket regulators 12a to 12n limit traffic with three parameters, for example, bucket size, token rate, and link rate. As shown in FIG. 3, the arrived packet is transmitted by the token size when there is a token, and is discarded when there is no token. The tokens in the bucket accumulate at the token rate, and the maximum value is limited by the bucket size. For example, when an L-byte flow arrives, transmission is permitted when there are L tokens in the bucket. That is, bursts exceeding the average rate corresponding to the token rate up to the bucket size are permitted, and the size is limited by the link rate.
[0019]
In the case of FIG. 2, the EF class packet A is sent to the PQ system highest priority queue 14a, the AF class packets B to E are sent to the WFQ queues 13a to 13n, and the BE class packet F is sent to the non-PQ system. It is sent to the priority queue 15.
[0020]
WFQ is an approximation of a GPS server that performs ideal fair scheduling by dividing infinitely finely the data of each queue with respect to an active queue, and that approximates scheduling on a packet basis. The WFQ models the GPS server with a bit-by-bit round robin and determines a service end time based on the service time in the round robin, thereby sorting and sequentially reading the packets.
[0021]
That is, at a certain time t, the packet size of the k-th packet arriving at the connection i is P (i, k, t), the round number is R (t), and the finish number, which is the time to end the service, is F ( i, k, t), where the weight for the i-th connection is φ (i), the WFQ server determines F (i, k, t) by the following equation, and F (i, k, t) is small Service from packet.
[Equation 3]
Figure 0003623420
[0022]
Since only such active connections are calculated, the bandwidth can be allocated fairly, and the available bandwidth can be utilized to the maximum extent. However, since the calculation of R (t) must be calculated for each arrival and transmission of a packet and its implementation is very difficult, in this embodiment, the SFQ method is used for the calculation of R (t). Use. That is, when a packet arrives at an inactive queue, the round number at that time is set as the start number (S (i, k, t)), and when a packet arrives at an active queue, immediately before that And the finish number F (i, k, t) is determined by the following equation.
[Expression 4]
Figure 0003623420
[0023]
By doing so, it is possible to prevent repeated deletion of connections, which is a problem of WFQ. The packets are sorted by this finish number F (i, k, t) and sent to the respective queues. The entire WFQ flow is statically limited to the overall flow rate and sent to one of the priority queues of the PQ.
[0024]
The PQ corresponds to the priority that each connection serves. For example, when there are n priority levels, a packet belonging to a priority level with a higher priority number is always prioritized with respect to a certain priority level. Is sent out. That is, packets of priority level k are k + 1, k + 2,. . . , N is serviced only when there is no packet waiting for service at the priority level. The priority queue 14 (FIG. 2) collects EF flows and AF flows, that is, WFQ flows, and reads them according to the priority level.
[0025]
By equipping the router interface with a module using the traffic control method having such a configuration, all Diffserv type services can be realized. The EF class, AF class, and BE class will be specifically described below.
[0026]
As described above, the EF class traffic realizes a low delay and a low jitter. In the present invention, the traffic is realized by a token bucket regulator and a PQ. The token bucket parameters of the flow identified as the EF class by the classification mechanism are bucket size = 0 and token rate = link rate. By setting the contract bandwidth to the link rate, it is possible to eliminate the traffic that violates the contract. This EF class traffic does not calculate the WFQ finish number, and can reduce processing overhead. The EF class traffic is sent directly to the PQ's highest priority queue 14a, where queuing delay and jitter can be minimized by designing the input rate to be always less than the output rate. In addition, by completely dividing the queue in this way, the queue size of the EF class can be reduced.
[0027]
The traffic of the AF class, that is, the minimum bandwidth guarantee class, effectively utilizes a limited bandwidth and guarantees the bandwidth, and is realized by a token bucket and WFQ in the present invention. For the flows identified as the four AF classes B to E by the classification mechanism 11, token bucket parameters are set according to the profiles of the respective classes. The weighting of the WFQ is weighting based on the token rate, and the fairness among the classes is ensured by calculating the finish number, and the bandwidth given to the AF class is effectively used. By limiting the read rate of the entire WFQ and inputting it to one of the priority queues 14 of the PQ, the output bandwidth is shared by both the PQ and the WFQ, and the influence of the AF class traffic on the EF class traffic is prevented. Can do.
[0028]
The traffic set to the BE class by the classification mechanism 11 is set to a non-priority level 15 other than the priority queue 14 in the PQ. In PQ, low priority traffic is affected by high priority traffic and is subject to delay and jitter depending on the priority level. In the present invention, since the link rate of the token bucket parameter of the EF class and the AF class is set to be smaller than the band of all the PQ output powers, the differentiated service based on the priority level of the PQ is also provided in the BE class with respect to the remaining bands. Can be provided.
[0029]
【The invention's effect】
As described above, according to the present invention, the EF class that guarantees the contract bandwidth of the Diffserv type service and realizes low delay and low jitter, and the AF class that is the best effort class with the minimum bandwidth guarantee, Services can be realized simultaneously. In other words, low delay and low jitter are realized by performing PQ for the EF class service, and influence on the EF class is prevented by using WFQ for the AF class service, and fairness and bandwidth utilization between AF classes are also achieved. Increases rate and maximizes allocated bandwidth. In the BE class, it is possible to realize a priority-based service without bandwidth guarantee. Since the present invention has a simple configuration based on WFQ and is easy to implement, the present invention is simplified by improving the WFQ currently mounted on many high-performance routers so as to be suitable for execution of the present invention. It is possible to provide all of the Diffserv type services.
[Brief description of the drawings]
FIG. 1 is a functional block diagram of an example of a Diffserv router.
FIG. 2 is a diagram for explaining a traffic control method according to the present invention;
FIG. 3 is a diagram for explaining the operation of the token bucket regulator.
[Explanation of symbols]
11 Classification mechanism 12 Token bucket regulator 13 Queue 14 Priority queue 14a Highest priority queue 15 Non-priority queue

Claims (3)

IPネットワークを構成するルータのインターフェースで、到着したIPパケットのIPヘッダーを参照し、IPトラヒックを、ギャランティーサービスクラス、最低帯域保証クラス及びベストエフォートサービスクラスへのクラス分けを行い、クラス毎のレギュレータを用いてIPトラヒックをクラス毎に設定されたキューに振り分け、ギャランティーサービス用キューはPQ方式の最優先キューとして設定し、最低帯域保証用キューはWFQ方式によって読出しWFQフローの全レートを制限してPQ方式のいずれかの優先キューに入力し、ベストエフォートサービス用キューはPQ方式の非優先キューに設定しPQ方式により出力リンクへ送ることを特徴とするトラヒック制御方法。By referring to the IP header of the arriving IP packet at the interface of the router that constitutes the IP network, the IP traffic is classified into a guarantee service class, a minimum bandwidth guarantee class, and a best effort service class, and a regulator for each class. The IP traffic is distributed to the queue set for each class using, the guarantee service queue is set as the highest priority queue of the PQ method, and the minimum bandwidth guarantee queue is limited by the WFQ method to limit the total rate of read WFQ flows. A traffic control method, wherein the best effort service queue is set to a non-priority queue of the PQ method and is sent to the output link by the PQ method. WFQの実装には、アクティブなキューではその時点でのビット毎のラウンドロビンがサービスを終了するラウンド数をタグ付けし、アクティブでないキューではそのキューにおける直前のパケットのサービス終了時刻をタグ付けするSFQを用い、WFQ全体の読出しレートを自由に設定することを可能にした上で、PQ方式のいずれかの優先キューに入れて出力リンクから読出すことを特徴とする請求項1に記載のトラヒック制御方法。For WFQ implementations, the active queue tags the number of rounds at which the current round robin per bit ends the service, and the inactive queue tags the service end time of the previous packet in that queue. 2. The traffic control according to claim 1, wherein the read rate of the entire WFQ can be set freely using the, and is read from the output link in one of the priority queues of the PQ method. Method. クラス分けの際にBEクラスに設定したトラヒックは、PQにおいて非優先クラスに設定し、PQの各優先クラスに対応するレギュレータのパラメータの全リンクレートをPQ全体の出力の帯域より小さく設定し、残りの帯域に対しても優先度別に読出すことを特徴とする請求項1に記載のトラヒック制御方法。The traffic set in the BE class at the time of classification is set as a non-priority class in the PQ, the entire link rate of the regulator parameters corresponding to each priority class of the PQ is set smaller than the output bandwidth of the entire PQ, and the remaining 2. The traffic control method according to claim 1, wherein the bandwidth is also read according to priority.
JP2000002469A 2000-01-11 2000-01-11 Traffic control method Expired - Fee Related JP3623420B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000002469A JP3623420B2 (en) 2000-01-11 2000-01-11 Traffic control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000002469A JP3623420B2 (en) 2000-01-11 2000-01-11 Traffic control method

Publications (2)

Publication Number Publication Date
JP2001197110A JP2001197110A (en) 2001-07-19
JP3623420B2 true JP3623420B2 (en) 2005-02-23

Family

ID=18531573

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000002469A Expired - Fee Related JP3623420B2 (en) 2000-01-11 2000-01-11 Traffic control method

Country Status (1)

Country Link
JP (1) JP3623420B2 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4917716B2 (en) * 2001-07-31 2012-04-18 株式会社日立製作所 Bandwidth monitoring device
US7421273B2 (en) * 2002-11-13 2008-09-02 Agere Systems Inc. Managing priority queues and escalation in wireless communication systems
JP4027955B2 (en) 2003-06-03 2007-12-26 富士通株式会社 Flow control device
KR100545793B1 (en) * 2003-12-18 2006-01-24 한국전자통신연구원 Scheduling Method and Device in Dynamic Multichannel Environment
CN1910881B (en) 2004-10-29 2010-09-29 日本电信电话株式会社 Packet communication network and packet communication method
CN100393069C (en) 2004-12-29 2008-06-04 中兴通讯股份有限公司 Method of differentiating multiple services for anti IP data stream in multicast to impact communication system
US7529224B2 (en) 2005-04-18 2009-05-05 International Business Machines Corporation Scheduler, network processor, and methods for weighted best effort scheduling
JP3961000B2 (en) 2005-05-26 2007-08-15 株式会社日立コミュニケーションテクノロジー Packet transfer apparatus and network system
JP4207940B2 (en) 2005-08-31 2009-01-14 ヤマハ株式会社 Communication device
JP5382329B2 (en) * 2009-06-25 2014-01-08 横河電機株式会社 Communication control device and communication control method
JP2011083028A (en) * 2010-12-16 2011-04-21 Kddi Corp Traffic control device, traffic control method and computer program
US9450881B2 (en) * 2013-07-09 2016-09-20 Intel Corporation Method and system for traffic metering to limit a received packet rate
CN108174239A (en) * 2017-12-04 2018-06-15 中国联合网络通信集团有限公司 A kind of video transmission method and equipment

Also Published As

Publication number Publication date
JP2001197110A (en) 2001-07-19

Similar Documents

Publication Publication Date Title
Semeria Supporting differentiated service classes: queue scheduling disciplines
JP4619584B2 (en) Method for scheduling packets at a router in a packet switched network
US6377546B1 (en) Rate guarantees through buffer management
JP3623420B2 (en) Traffic control method
Homg et al. An adaptive approach to weighted fair queue with QoS enhanced on IP network
US20090245246A1 (en) Systems and methods for improving packet scheduling accuracy
CN107835133B (en) Stream priority control method based on multi-attribute decision
JP2002232467A (en) Measurement-based admission control utilizing effective envelopes and service curves
JP3830937B2 (en) Packet scheduling system and method for high-speed packet networks
Zukerman et al. A protocol for eraser node implementation within the DQDB framework
WO2002091757A1 (en) A scheduling method of realizing the quality of service of router in integrated service
Astuti Packet handling
Rashid et al. Traffic intensity based efficient packet schedualing
Asaduzzaman et al. The Eight Class of Service Model-An Improvement over the Five Classes of Service
Tong et al. Quantum varying deficit round robin scheduling over priority queues
EP1797682B1 (en) Quality of service (qos) class reordering
Kulhari et al. Traffic shaping at differentiated services enabled edge router using adaptive packet allocation to router input queue
Victoria et al. Efficient bandwidth allocation for packet scheduling
Yen et al. Sliding weighted fair queueing scheme for real-time applications
Mohanty et al. On fair scheduling in heterogeneous link aggregated services
Fu A study on differentiated service queuing scheme with an overflow buffer allocation within a UMTS core network
JP4391346B2 (en) COMMUNICATION CONTROL METHOD, COMMUNICATION CONTROL DEVICE, CONTROL PROGRAM, AND RECORDING MEDIUM
Joung et al. Effect of flow aggregation on the maximum end-to-end delay
Hua et al. Scheduling scheme with fairness and adaptation in the joint allocation of heterogeneous resources
Hassan et al. Implementation of QoS onto virtual bus network

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040727

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: 20041116

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041124

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071203

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081203

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091203

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101203

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees