JP3622145B2 - IP priority control method - Google Patents

IP priority control method Download PDF

Info

Publication number
JP3622145B2
JP3622145B2 JP2000166102A JP2000166102A JP3622145B2 JP 3622145 B2 JP3622145 B2 JP 3622145B2 JP 2000166102 A JP2000166102 A JP 2000166102A JP 2000166102 A JP2000166102 A JP 2000166102A JP 3622145 B2 JP3622145 B2 JP 3622145B2
Authority
JP
Japan
Prior art keywords
packet
bandwidth
transmission rate
header
written
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
JP2000166102A
Other languages
Japanese (ja)
Other versions
JP2001345849A (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 JP2000166102A priority Critical patent/JP3622145B2/en
Publication of JP2001345849A publication Critical patent/JP2001345849A/en
Application granted granted Critical
Publication of JP3622145B2 publication Critical patent/JP3622145B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、プロトコルの第3層にIP(Internet Protocol)を用いる場合に利用するための、IPレイヤで優先制御を行うIP優先制御方法に関する。
【0002】
【従来の技術】
IPレイヤで優先制御を行う方法として、コアステートレス・ネットワークが提案されている(例えば、Ion Stoica et al.,Core−Stateless Fair Queuing:Achieving Approximately Fair Bandwidth Allocations in High Speed Networks,”SIGCOMM98,1998.参照)。
【0003】
コアステートレス・ネットワークでは、公平な帯域割当を実現するために、エッジルータではフロー毎の情報を管理するが、コアルータでは管理しない。このコアステートレス・ネットワーク用のキューイング法では、エッジルータで到着レートが測定され、それらの値がIPパケットのヘッダに書き込まれる。
【0004】
コアステートレス・ネットワークは、エッジルータとコアルータから構成される。そこで必要とされるシステム構成を、図1および図2に示す。図1は、従来の一般的なルータの基本構成を示すものであり、図1中、Aはルーティング部、B,Cはそれぞれ、図2(a),(b)に示す機能に対応する。
【0005】
すなわち、図2(a)は、従来のコアステートレス・ネットワークにおいて、IPパケットがエッジルータに到着したときの処理に必要な機能、図2(b)は、従来のコアステートレス・ネットワークにおいて、IPパケットをバッファに入力するかどうかを決定するときに必要な機能を示している。
【0006】
エッジルータでは、図2(a)に示すように、IPパケットが到着する毎に、ユーザ識別部1が、そのIPパケットがどのユーザから送信されたものであるかを識別する。そして、レート情報書き込み部2において、そのIPパケットを送出しているユーザの送信レートを測定し、測定した送信レートの値をIPパケットのヘッダに書き込む。
【0007】
また、エッジルータおよびコアルータでは、図2(b)に示すように、ヘッダ読み取り部3において、ヘッダに書き込まれた上記送信レートの値を読み取る。そして、その情報を基にして、選択的パケット廃棄部4において、そのIPパケットをバッファ5に入力するか否かの決定を行う。
【0008】
コアステートレス・ネットワークにおいては、エッジルータでは、上述のように、ユーザ毎の送信レートを測定するために、ユーザ毎の情報を管理する必要がある。しかし、コアルータでは、IPパケットのヘッダに付与されている情報を利用するのみであるため、フロー毎の情報を管理する必要が生じない。その結果、スケーラビリティに優れているという特徴がある。
【0009】
また、TSW(Time Sliding Window)と呼ばれる、ユーザの現在の送信レートが、ネットワークと契約した帯域を越えているか否かの判定を行う技術が提案されている(例えば、D.Clark et al,Explicit Allocation of Best−Effort Packet Delivery Service,”IEEE/ACM transaction on networking vol.6 no.4,August,1998参照)。
【0010】
TSWでは、図3に示すように、3つのパラメータ、Win_length,Avg_rate,T_frontが使われる(初期値については、図3I参照)。後述するように、これら3つのパラメータのうちいくつかは、IPパケットが到着する毎に、その値が更新される(図3T参照)。そして、Avg_rateが、ネットワークと契約したレート以上ならば、確率 P=(Avg_rate−契約したレート)/ Avg_rateで、ユーザがネットワークと契約した帯域を越えていると書き込まれる。それ以外の場合には、そのIPパケットのヘッダには、ネットワークと契約した帯域を越えていないと書き込まれる。
【0011】
【発明が解決しようとする課題】
しかし、上述したコアステートレス・ネットワークにおいて、ユーザの現在の送信レートが、ネットワークと契約した帯域を越えているか否かの判定を行い、これを、IPパケットの処理に反映させる技術と組み合わせるという発想は、従来は示されていなかった。
【0012】
本発明の目的は、従来の技術における上述のような問題を解消し、コアステートレス・ネットワークにおいて、ユーザの現在の送信レートが、ネットワークと契約した帯域を越えているか否かの判定を行う技術を組み合わせることにより、ネットワークがユーザに対して、最低限、契約した帯域に等しいレートを保証するサービスを、スケーラビリティを有しながら提供することが可能な、IP優先制御方法を実現することである。
【0013】
【課題を解決するための手段】
上記目的を達成するため、本発明に係るIP優先制御方法は、エッジルータにIPパケットが到着する毎に、そのIPパケットを送出しているユーザの送信レートを測定し、測定した送信レートをそのIPパケットのヘッダに書き込み、エッジルータおよびコアルータで、上記IPパケットのヘッダに書き込まれた送信レートを基にして、選択的にパケット廃棄を行うようにしたコアステートレス・ネットワークにおけるIP優先制御方法であって、エッジルータで、ユーザの現在の送信レートが、ネットワークと契約した帯域を越えているか否かの判定を行うことを特徴とする。
【0014】
また、本発明に係るIP優先制御方法は、上記判定において、ユーザの現在の送信レートが、ネットワークと契約した帯域を超えていると判定された場合に、ある確率で、契約帯域を越えているという情報と、ユーザの現在の送信レートから契約した帯域を減算した値とをIPパケットのヘッダに書き込むことを特徴とする。
【0015】
また、本発明に係るIP優先制御方法は、上記判定において、上記現在の送信レートの情報をヘッダに書き込まれたIPパケットに対してのみ、その値を基にして、選択的にパケット廃棄を行うことを特徴とする。
【0016】
なお、本発明に係るIP優先制御方法においては、上記判定において、ユーザの現在の送信レートが、ネットワークと契約した帯域を超えていないと判定された場合に、その旨を示す情報を、上記IPパケットのヘッダに書き込むことを特徴とする。
【0017】
従来の技術との差異は、以下の通りである。
本発明に係るIP優先制御方法では、コアステートレス・ネットワークにおいて、エッジルータで、ユーザが現在送信しているレートがネットワークと契約した帯域を越えているか否かの判定を行う。しかし、従来のコアステートレス・ネットワークでは、そのような判定は行っていなかった。
【0018】
また、本発明に係るIP優先制御方法では、現在の送信しているレートが契約した帯域を越えていたかの情報を、IPパケットのヘッダに対して書き込む。しかし、従来のコアステートレス・ネットワークでは、そのような情報をIPパケットのヘッダに対して書き込んではいなかった。
【0019】
さらに、本発明に係るIP優先制御方法では、判定を行った結果、契約帯域を超えていると判断したときにある確率で、IPパケットのヘッダにレート情報を書き込む。しかし、従来のコアステートレス・ネットワークでは、すべてのIPパケットのヘッダに対して送信レート情報を書き込んでいた。
【0020】
また、本発明に係るIP優先制御方法では、IPパケットのヘッダを読み取る場合に、現在の送信に用いている送信レートが、契約した帯域を越えているか否かの情報とレート情報を読み取る。しかし、従来のコアステートレス・ネットワークでは、レート情報のみを読み取っていた。
ことを特徴とする。
【0021】
本発明に係るIP優先制御方法の特徴は、コアステートレス・ネットワークにおいて、エッジルータで、ユーザが現在送信しているレートが、ネットワークと契約した帯域を越えているか否かの判定を行い、その結果ネットワークと契約した帯域を越えていると判断したときのみ、IPパケットのヘッダにレート情報を書き込むことである。
【0022】
【発明の実施の形態】
以下、本発明の実施の形態を、図面に示す好適実施例に基づいて、詳細に説明する。
【0023】
図4および図5に、実施例のシステム構成を示す。ここで、図4および図5は、それぞれ、従来技術を示した、図2(a),(b)に対応するものであり、また、図6は、具体例におけるIPパケットの状態を示す図である。
【0024】
すなわち、図4は、本発明に係るIP優先制御方法において、IPパケットがエッジルータに到着したときに必要となる処理機能を示すものであり、図4において、ユーザ識別部1は、到着したIPパケットがどのユーザから送出されたものであるかを判断する。契約帯域判定部6は、このユーザの現在の送信レートが、ユーザがネットワークと契約した帯域を超えているか否かの判定を行う。
【0025】
そして、図4において、契約帯域判定部6は、上記判定の結果をレート情報書き込み部2に送信する。レート情報書き込み部2は、受取った判定結果から、このIPパケットのヘッダに対して、以下のような情報を書き込む。
【0026】
例えば、ユーザの送信レートが、ユーザがネットワークと契約した帯域を越えていると判断されたならば、ある確率P(図3に示したTSWを用いている場合には、P=(Avg_rate−契約したレート)/ Avg_rateとなる)で、ヘッダに対して、値「1」と現在の送信レート値から契約した帯域を減算した値(図3に示したTSWを用いている場合には(Avg_rate−契約した帯域)である)を書き込む。
【0027】
それ以外の場合は、すべてヘッダに対して、値「0」のみを書き込む。ここで値「1」はユーザの送信レートが、ユーザがネットワークと契約した帯域を越えているということを意味し、値「0」は、ユーザの送信レートが、ユーザがネットワークと契約した帯域を越えていないということを意味する。
【0028】
また、図5は、本発明に係るIP優先制御方法において、IPパケットをバッファに入力するかどうかを決定するときに必要となる処理機能を示すものであり、図5において、ヘッダ読み取り部3は、図4のレート情報書き込み部2でヘッダに書き込まれている情報を読み取る。
【0029】
ここで、ヘッダに値「0」が書き込まれていると読み取ったならば、そのIPパケットは選択的パケット廃棄部4を通らず、そのままバッファに入力されるようにする。ヘッダに値「1」が書き込まれていると読み取ったならば、ヘッダに書き込まれているレート情報の値を選択的パケット廃棄部4に送信する。
【0030】
選択的パケット廃棄部4は、受取った送信レート値から、そのIPパケットを選択的に廃棄するか否かを判定する。選択的パケット廃棄を行うと判定したならば、そのIPパケットは、その時点で廃棄するようにする。選択的パケット廃棄を行わないと判定したならば、そのIPパケットは、そのままバッファ5に入力するようにする。
【0031】
図6に示した例では、IPパケットサイズが0.5Mビットの2つのIPパケットが、それぞれ時刻1.0秒と1.2秒にエッジルータに到着している。ここでは、ユーザとネットワークの契約帯域は、1M(bit/s)で、エッジルータは、契約帯域判定部5とレート情報書き込み部2に、TSWを使っているものとして、説明を続ける。また、ここで、TSWのパラメータの初期値は、図3Iに示したように、それぞれ、Win_lengh=1(秒)、Avg_rate=1M(bit/s))、T_front=0(秒)であるとする。
【0032】
上述のように設定されているシステムに、1番目のIPパケットが到着したとき、契約帯域判定部6において、TSWのパラメータが更新される。その結果、Avg_rate=0.75M(bit/s)、T_front=1(秒)となる。
この詳細は、以下の通りである。
Byte_in_TSW=1M(bit/s)×1(秒)=1M(bit)
New_Bytes=1M(bit)+0.5M(bit)=1.5M(bit)
Avg_rate=1.5M(bit)/(1.0−0+1)(秒)=0.75M(bit/s)
T_front=1(秒)
【0033】
ここでは、算出されたAvg_rate(=0.75M(bit/s))は、ユーザとネットワークの契約帯域である1M(bit/s)より小さい値となるので、契約帯域判定部6は、現在のユーザの送信レートは契約帯域以下であると判断し、その結果を、レート情報書き込み部2に送信する。
レート情報書き込み部2は、契約帯域判定部6から、現在のユーザの送信レートは契約帯域以下という情報を受取ったので、1番目のIPパケットのヘッダに値「0」を書き込む。
【0034】
この1番目のIPパケットがバッファ5に入力されるか否か判定されるとき、まず、ヘッダ読み取り部3が、ヘッダに書かれている情報を読み取る。ここでは、1番目のIPパケットには、値「0」が書き込まれているので、選択的パケット廃棄部4を通らず、そのままバッファに入力されるようにする。
【0035】
2番目のIPパケットが到着したとき、契約帯域判定部5において、TSWのパラメータが更新される。その結果、Avg_rate=1.04M(bit/s)、T_front=1.2(秒)となる。
この詳細は、以下の通りである。
Byte_in_TSW=0.75M(bit/s)×1(秒)=0.75M(bit)
New_Bytes=0.75M(bit)+0.5M(bit)=1.25M(bit)
Avg_rate=1.25M(bit)/(1.2−1.0+1)(秒)=1.04M(bit/s)
T_front=1.2(秒)
【0036】
ここでは、算出されたAvg_rateは、ユーザとネットワークの契約帯域である1M(bit/s)より大きいので、現在のユーザの送信レートは、契約帯域以上であると判断し、その結果をレート情報書き込み部2に送信する。レート情報書き込み部2は、契約帯域以上という情報を受取ったので、ある確率Pで、レート情報を書き込むと判断する。
【0037】
ここでは、レート情報を書き込むと判断したものとして、説明を続ける。
レート情報書き込み部2は、2番目のIPパケットのヘッダに値「1」と、現在の送信レートから契約帯域を減算した値(1.04M−1.0M)=0.04M(bit/s)を書き込む。2番目のIPパケットがバッファに入力されるか否か判定するときには、まず、ヘッダ読み取り部3が、ヘッダに書き込まれている情報を読み取る。
【0038】
2番目のIPパケットには、値「1」が書き込まれているので、ヘッダ読み取り部3は、ヘッダに書き込まれているレート情報の値を、選択的パケット廃棄部4に送信する。選択的パケット廃棄部4は、受取った送信レート値から、そのIPパケットを選択的に廃棄するか否かを判定するが、ここでは廃棄すると判定したものとし、2番目のIPパケットは、この時点で廃棄される。つまり、2番目のIPパケットはバッファ5に入力されない。
【0039】
ここで、上述の確率について説明しておく。前記の確率Pは、図6中の契約帯域判定部6が、あるユーザの現在の送信レートが、このユーザがネットワークと契約した帯域を超えているか否かの判定を行う際に用いられるものである。
この確率Pは、TSWでは、前述のように、Avg_rate>契約したレートであれば、P=(Avg_rate−契約したレート)/ Avg_rate と示され、0<P<1である。
【0040】
また、図5中の選択的パケット廃棄部4が、ヘッダ読み取り部3から、IPパケットのヘッダ部に値「1」が書き込まれて送られてきたIPパケットを、廃棄するか否か判定する際に用いる確率Bは、ターゲットキュー長/現在のキュー長をパラメータmとした場合、下記のように定義できる。
【数1】

Figure 0003622145
【0041】
ここで、m>1とは、現在のキュー長がターゲットキュー長より小さいことを意味する。一方、m≦1とは、現在のキュー長がターゲットキュー長以上であることを意味する。mが1より小さいときには、mが1より大きいときより、IPパケットを積極的に廃棄する。Lはパケットラベルの値、αは後述するアルゴリズムにより計算される公平なレート値である。なお、αの初期値は、リンク帯域であり、kは定数である(図7を参照)。
【0042】
mが1より大きく、Lがmαとαの間にあるとき、Lの値が大きくなると、廃棄確率は高くなる。Lの値がmαに近いIPパケットは高い確率で廃棄されるので、輻輳に反応するフローのレートは普通mα以下であり、安定化することが期待される。従って、レートがmαを超えているフローは、輻輳に反応しないフローとみなすことができる。Lの値がmαのIPパケットは必ず廃棄される。
【0043】
上述の、確率的なパケット廃棄アルゴリズムにより、廃棄しないと決定されたIPパケットは、ルータは、バッファに空きがある限り、そのIPパケットをバッファに入力する。図8に、上述の、確率的なパケット廃棄アルゴリズムのコードを示す。
【0044】
図9に、前述の、公平なレート値αを計算するアルゴリズムを示す。
ルータは、バッファに入力すると判定されたIPパケットを、確率Paで選択し、そのIPパケットのラベルの値を読む。そのようなパケットの数がNaになったならば、それらの値の平均値が、公平なレート値αとなる。
【0045】
以下に、上述のIP優先制御方法のコンピュータシミュレーション結果を簡単に説明する。
図10に、10フローの2ノードモデルを示す。輻輳は、ルータ1とルータ2の間のリンクで起こる。ルータ1がボトルネック地点である。各リンクの伝送遅延は5m秒に設定した。
【0046】
最初のシミュレーションでは、すべてのフローをReno TCPとした。Reno TCPは、スロースタートと輻輳アボイダンスに加えて、ファーストリトランスミットとファーストリカバリを有している。理想的な帯域割当値と測定された帯域割当値を図11に示す。理想的な帯域割当値と測定された帯域割当値は、ほとんど同じである。これにより、本発明に係るIP優先制御方法の有効性が確認された。
【0047】
2番目のシミュレーションでは、シミュレーションの開始時点では、図12に示したテーブル1の値を最低帯域の値とした。しかし、30秒後に、すべての最低帯域の値を1M(bit/s)にした。図13は、0秒から30秒の理想的な帯域割当値と測定された帯域割当値を示す。図14は、30秒から60秒の理想的な帯域割当値と測定された帯域割当値を示す。両方の場合とも、理想的な帯域割当値と測定された帯域割当値は、ほとんど同じである。これにより、本発明に係るIP優先制御方法の有効性が確認された。
【0048】
この他にも、異なる伝送遅延の環境での性能評価なども行った結果、ここでも本発明に係るIP優先制御方法の有効性が確認された。
【0049】
なお、上記実施例は本発明の一例を示すものであり、本発明はこれに限定されるべきものではない。
【0050】
【発明の効果】
以上、詳細に説明したように、本発明によれば、コアステートレス・ネットワークが持つ、スケーラビリティに優れているという特徴を有しながら、各ユーザに対して、ネットワークと契約した帯域を最低限保証することが可能なサービスを実現できるという顕著な効果を奏するものである。
【図面の簡単な説明】
【図1】従来の一般的なルータの基本構成を示す図である。
【図2】(a)は従来のコアステートレス・ネットワークにおいて、IPパケットがエッジルータに到着したときに必要となる機能、(b)は従来のコアステートレス・ネットワークにおいて、IPパケットをバッファに入力するか否かを判定するときに必要となる機能の構成図である。
【図3】TSWのアルゴリズムを説明する図である。
【図4】実施例における、IPパケットがエッジルータに到着したときに、必要となる機能の構成図である。
【図5】実施例における、IPパケットをバッファに入力するか否かを判定するときに、必要となる機能の構成図である。
【図6】具体例におけるIPパケットの説明図である。
【図7】Lの値と確率Bの関係を例示する図である。
【図8】確率的なパケット廃棄アルゴリズムのコードを示す図である。
【図9】公平なレート値αを計算するアルゴリズムを示す図である。
【図10】シミュレーションに用いた10フローの2ノードモデルを示す図である。
【図11】シミュレーション結果である、理想的な帯域割当値と測定された帯域割当値を示す図(その1)である。
【図12】シミュレーションに用いたテーブルを示す図である。
【図13】シミュレーション結果である、理想的な帯域割当値と測定された帯域割当値を示す図(その2)である。
【図14】シミュレーション結果である、理想的な帯域割当値と測定された帯域割当値を示す図(その3)である。
【符号の説明】
1 ユーザ識別部
2 レート情報書き込み部
3 ヘッダ読み取り部
4 選択的パケット廃棄部
5 バッファ
6 契約帯域判定部[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an IP priority control method for performing priority control in an IP layer, which is used when IP (Internet Protocol) is used for the third layer of a protocol.
[0002]
[Prior art]
A core stateless network has been proposed as a method for performing priority control in the IP layer (see, for example, Ion Stoica et al., Core-Stateless Fair Queuing: Achieving Appropriate Fair Bandwidth Allocation 98 in High EMS 98). ).
[0003]
In the core stateless network, in order to realize fair bandwidth allocation, the edge router manages information for each flow, but the core router does not. In the queuing method for the core stateless network, the arrival rate is measured by the edge router, and those values are written in the header of the IP packet.
[0004]
The core stateless network is composed of edge routers and core routers. FIG. 1 and FIG. 2 show the system configuration required therefor. FIG. 1 shows a basic configuration of a conventional general router. In FIG. 1, A corresponds to the routing unit, and B and C correspond to the functions shown in FIGS. 2 (a) and 2 (b), respectively.
[0005]
2A shows functions necessary for processing when an IP packet arrives at an edge router in a conventional core stateless network. FIG. 2B shows an IP packet in the conventional core stateless network. Indicates the functionality required when deciding whether to enter into the buffer.
[0006]
In the edge router, as shown in FIG. 2A, each time an IP packet arrives, the user identification unit 1 identifies from which user the IP packet is transmitted. The rate information writing unit 2 measures the transmission rate of the user sending the IP packet, and writes the measured transmission rate value in the header of the IP packet.
[0007]
Further, in the edge router and the core router, as shown in FIG. 2B, the header reading unit 3 reads the transmission rate value written in the header. Based on the information, the selective packet discard unit 4 determines whether or not to input the IP packet to the buffer 5.
[0008]
In the core stateless network, the edge router needs to manage information for each user in order to measure the transmission rate for each user as described above. However, since the core router only uses information attached to the header of the IP packet, there is no need to manage information for each flow. As a result, it is characterized by excellent scalability.
[0009]
In addition, a technique called TSW (Time Sliding Window) for determining whether or not the current transmission rate of the user exceeds the bandwidth contracted with the network has been proposed (for example, D. Clark et al, Explicit). Allocation of Best-Effort Packet Delivery Service, "IEEE / ACM transaction on networking vol. 6 no. 4, August, 1998).
[0010]
In TSW, as shown in FIG. 3, three parameters, Win_length, Avg_rate, and T_front are used (refer to FIG. 3I for initial values). As will be described later, some of these three parameters are updated each time an IP packet arrives (see FIG. 3T). If Avg_rate is equal to or higher than the rate contracted with the network, the probability P = (Avg_rate−contracted rate) / Avg_rate is written that the user has exceeded the bandwidth contracted with the network. In other cases, the IP packet header is written as not exceeding the bandwidth contracted with the network.
[0011]
[Problems to be solved by the invention]
However, in the above-described core stateless network, the idea of determining whether or not the current transmission rate of the user exceeds the bandwidth contracted with the network and combining this with the technology of reflecting the IP packet processing is Previously, it was not shown.
[0012]
An object of the present invention is to solve the above-mentioned problems in the prior art and to determine whether or not the current transmission rate of the user exceeds the bandwidth contracted with the network in the core stateless network. By combining, it is possible to realize an IP priority control method in which a network can provide a service that guarantees at least a rate equal to a contracted bandwidth to a user while having scalability.
[0013]
[Means for Solving the Problems]
In order to achieve the above object, the IP priority control method according to the present invention measures the transmission rate of the user sending the IP packet every time the IP packet arrives at the edge router, and determines the measured transmission rate. This is an IP priority control method in a core stateless network in which the packet is selectively discarded by the edge router and the core router based on the transmission rate written in the header of the IP packet. Thus, the edge router determines whether or not the current transmission rate of the user exceeds the bandwidth contracted with the network.
[0014]
The IP priority control method according to the present invention exceeds the contracted bandwidth with a certain probability when it is determined in the above determination that the current transmission rate of the user exceeds the bandwidth contracted with the network. And a value obtained by subtracting the contracted bandwidth from the current transmission rate of the user is written in the header of the IP packet.
[0015]
In the IP priority control method according to the present invention, in the determination, only the IP packet in which the current transmission rate information is written in the header is selectively discarded based on the value. It is characterized by that.
[0016]
In the IP priority control method according to the present invention, when it is determined in the above determination that the current transmission rate of the user does not exceed the bandwidth contracted with the network, the information indicating that fact is stored in the IP priority control method. It is characterized by writing in the header of the packet.
[0017]
Differences from the prior art are as follows.
In the IP priority control method according to the present invention, in the core stateless network, the edge router determines whether the rate currently transmitted by the user exceeds the bandwidth contracted with the network. However, such a determination has not been made in the conventional core stateless network.
[0018]
In the IP priority control method according to the present invention, information indicating whether the current transmission rate exceeds the contracted bandwidth is written in the header of the IP packet. However, in the conventional core stateless network, such information is not written in the header of the IP packet.
[0019]
Furthermore, in the IP priority control method according to the present invention, the rate information is written in the header of the IP packet with a certain probability when it is determined that the contracted bandwidth is exceeded as a result of the determination. However, in the conventional core stateless network, transmission rate information is written in the headers of all IP packets.
[0020]
In the IP priority control method according to the present invention, when the header of the IP packet is read, information indicating whether or not the transmission rate used for the current transmission exceeds the contracted bandwidth and the rate information are read. However, conventional core stateless networks only read rate information.
It is characterized by that.
[0021]
The IP priority control method according to the present invention is characterized in that, in a core stateless network, the edge router determines whether or not the rate currently transmitted by the user exceeds the bandwidth contracted with the network. Only when it is determined that the bandwidth contracted with the network is exceeded, the rate information is written in the header of the IP packet.
[0022]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail based on preferred examples shown in the drawings.
[0023]
4 and 5 show a system configuration of the embodiment. Here, FIGS. 4 and 5 correspond to FIGS. 2A and 2B, respectively, showing the prior art, and FIG. 6 is a diagram showing the state of the IP packet in a specific example. It is.
[0024]
That is, FIG. 4 shows processing functions required when an IP packet arrives at the edge router in the IP priority control method according to the present invention. In FIG. Determine from which user the packet was sent. The contracted bandwidth determination unit 6 determines whether or not the current transmission rate of the user exceeds the bandwidth that the user has contracted with the network.
[0025]
In FIG. 4, the contracted bandwidth determination unit 6 transmits the result of the determination to the rate information writing unit 2. The rate information writing unit 2 writes the following information in the header of this IP packet from the received determination result.
[0026]
For example, if it is determined that the user's transmission rate exceeds the bandwidth that the user has contracted with the network, a certain probability P (P = (Avg_rate−contract if the TSW shown in FIG. 3 is used). ) / Avg_rate), a value obtained by subtracting the contracted bandwidth from the value “1” and the current transmission rate value for the header (when using the TSW shown in FIG. 3 (Avg_rate− The contracted bandwidth)).
[0027]
In all other cases, only the value “0” is written in the header. Here, the value “1” means that the transmission rate of the user exceeds the bandwidth that the user contracts with the network, and the value “0” indicates that the transmission rate of the user indicates the bandwidth that the user contracts with the network. It means not exceeding.
[0028]
FIG. 5 shows a processing function required when determining whether or not to input an IP packet to the buffer in the IP priority control method according to the present invention. In FIG. The information written in the header is read by the rate information writing unit 2 in FIG.
[0029]
Here, if it is read that the value “0” is written in the header, the IP packet does not pass through the selective packet discard unit 4 and is input to the buffer as it is. If it is read that the value “1” is written in the header, the value of the rate information written in the header is transmitted to the selective packet discard unit 4.
[0030]
The selective packet discard unit 4 determines whether to selectively discard the IP packet from the received transmission rate value. If it is determined that selective packet discard is to be performed, the IP packet is discarded at that time. If it is determined that the selective packet discard is not performed, the IP packet is input to the buffer 5 as it is.
[0031]
In the example shown in FIG. 6, two IP packets having an IP packet size of 0.5 Mbit arrive at the edge router at time 1.0 seconds and 1.2 seconds, respectively. Here, the description will be continued assuming that the contract bandwidth of the user and the network is 1 M (bit / s), and the edge router uses TSW for the contract bandwidth determination unit 5 and the rate information writing unit 2. Here, the initial values of the TSW parameters are Win_length = 1 (second), Avg_rate = 1 M (bit / s)), and T_front = 0 (second), respectively, as shown in FIG. 3I. .
[0032]
When the first IP packet arrives at the system set as described above, the contract bandwidth determination unit 6 updates the TSW parameter. As a result, Avg_rate = 0.75M (bit / s) and T_front = 1 (second).
The details are as follows.
Byte_in_TSW = 1M (bit / s) × 1 (seconds) = 1 M (bit)
New_Bytes = 1M (bit) + 0.5M (bit) = 1.5M (bit)
Avg_rate = 1.5M (bit) / (1.0-0 + 1) (seconds) = 0.75M (bit / s)
T_front = 1 (second)
[0033]
Here, the calculated Avg_rate (= 0.75M (bit / s)) is smaller than 1M (bit / s), which is the contracted bandwidth between the user and the network, so the contracted bandwidth determination unit 6 It is determined that the user transmission rate is equal to or less than the contracted bandwidth, and the result is transmitted to the rate information writing unit 2.
The rate information writing unit 2 receives the information that the current user transmission rate is equal to or lower than the contracted bandwidth from the contracted bandwidth determining unit 6 and writes the value “0” in the header of the first IP packet.
[0034]
When it is determined whether or not this first IP packet is input to the buffer 5, first, the header reading unit 3 reads information written in the header. Here, since the value “0” is written in the first IP packet, the value is input to the buffer as it is without passing through the selective packet discard unit 4.
[0035]
When the second IP packet arrives, the contract bandwidth determination unit 5 updates the TSW parameter. As a result, Avg_rate = 1.04M (bit / s) and T_front = 1.2 (seconds).
The details are as follows.
Byte_in_TSW = 0.75M (bit / s) × 1 (second) = 0.75M (bit)
New_Bytes = 0.75M (bit) + 0.5M (bit) = 1.25M (bit)
Avg_rate = 1.25M (bit) / (1.2−1.0 + 1) (seconds) = 1.04M (bit / s)
T_front = 1.2 (seconds)
[0036]
Here, since the calculated Avg_rate is larger than 1M (bit / s) which is the contract bandwidth of the user and the network, it is determined that the current user transmission rate is equal to or greater than the contract bandwidth, and the result is written as rate information. Send to part 2. Since the rate information writing unit 2 has received information that the contract bandwidth is exceeded, it is determined that the rate information is written with a certain probability P.
[0037]
Here, the description will be continued assuming that it is determined to write rate information.
The rate information writing unit 2 has a value “1” in the header of the second IP packet and a value obtained by subtracting the contract bandwidth from the current transmission rate (1.04M−1.0M) = 0.04M (bit / s) Write. When determining whether or not the second IP packet is input to the buffer, first, the header reading unit 3 reads information written in the header.
[0038]
Since the value “1” is written in the second IP packet, the header reading unit 3 transmits the value of the rate information written in the header to the selective packet discarding unit 4. The selective packet discard unit 4 determines whether or not to selectively discard the IP packet from the received transmission rate value. Here, it is determined that the IP packet is to be discarded. Discarded. That is, the second IP packet is not input to the buffer 5.
[0039]
Here, the above-mentioned probability will be described. The probability P is used when the contracted bandwidth determination unit 6 in FIG. 6 determines whether or not the current transmission rate of a certain user exceeds the bandwidth contracted by the user with the network. is there.
As described above, in the TSW, this probability P is expressed as P = (Avg_rate−contracted rate) / Avg_rate if Avg_rate> contracted rate, and 0 <P <1.
[0040]
When the selective packet discard unit 4 in FIG. 5 determines whether or not to discard the IP packet sent from the header reading unit 3 with the value “1” written in the header of the IP packet. The probability B used in the above can be defined as follows, where target queue length / current queue length is parameter m.
[Expression 1]
Figure 0003622145
[0041]
Here, m> 1 means that the current queue length is smaller than the target queue length. On the other hand, m ≦ 1 means that the current queue length is greater than or equal to the target queue length. When m is smaller than 1, the IP packet is more actively discarded than when m is larger than 1. L is the value of the packet label, and α is a fair rate value calculated by an algorithm described later. Note that the initial value of α is a link band, and k is a constant (see FIG. 7).
[0042]
When m is greater than 1 and L is between mα and α, the discard probability increases as the value of L increases. Since IP packets whose L value is close to mα are discarded with a high probability, the flow rate that reacts to congestion is usually less than or equal to mα and is expected to stabilize. Therefore, a flow whose rate exceeds mα can be regarded as a flow that does not react to congestion. An IP packet with an L value of mα is always discarded.
[0043]
The IP packet determined not to be discarded by the above-described stochastic packet discard algorithm, the router inputs the IP packet to the buffer as long as there is an empty buffer. FIG. 8 shows the code of the above-described stochastic packet discard algorithm.
[0044]
FIG. 9 shows an algorithm for calculating the fair rate value α described above.
The router selects an IP packet determined to be input to the buffer with a probability Pa, and reads the label value of the IP packet. If the number of such packets becomes Na, the average value of these values becomes a fair rate value α.
[0045]
The computer simulation result of the above IP priority control method will be briefly described below.
FIG. 10 shows a two-node model of 10 flows. Congestion occurs on the link between router 1 and router 2. Router 1 is the bottleneck point. The transmission delay of each link was set to 5 milliseconds.
[0046]
In the first simulation, all flows were set to Reno TCP. Reno TCP has fast retransmit and fast recovery in addition to slow start and congestion avoidance. The ideal bandwidth allocation value and the measured bandwidth allocation value are shown in FIG. The ideal bandwidth allocation value and the measured bandwidth allocation value are almost the same. Thereby, the effectiveness of the IP priority control method according to the present invention was confirmed.
[0047]
In the second simulation, the value of Table 1 shown in FIG. 12 is set to the lowest bandwidth value at the start of the simulation. However, after 30 seconds, all the minimum bandwidth values were set to 1M (bit / s). FIG. 13 shows ideal bandwidth allocation values from 0 to 30 seconds and measured bandwidth allocation values. FIG. 14 shows an ideal bandwidth allocation value from 30 seconds to 60 seconds and a measured bandwidth allocation value. In both cases, the ideal bandwidth allocation value and the measured bandwidth allocation value are almost the same. Thereby, the effectiveness of the IP priority control method according to the present invention was confirmed.
[0048]
In addition, as a result of performance evaluation under different transmission delay environments, the effectiveness of the IP priority control method according to the present invention was confirmed here.
[0049]
In addition, the said Example shows an example of this invention and this invention should not be limited to this.
[0050]
【The invention's effect】
As described above in detail, according to the present invention, the bandwidth contracted with the network is guaranteed to each user at a minimum while having the feature of the core stateless network having excellent scalability. It is possible to achieve a remarkable effect that a service that can be performed is realized.
[Brief description of the drawings]
FIG. 1 is a diagram showing a basic configuration of a conventional general router.
2A is a function required when an IP packet arrives at an edge router in a conventional core stateless network, and FIG. 2B is an input of the IP packet to a buffer in the conventional core stateless network. It is a block diagram of the function required when determining whether or not.
FIG. 3 is a diagram illustrating a TSW algorithm.
FIG. 4 is a configuration diagram of functions required when an IP packet arrives at an edge router in the embodiment.
FIG. 5 is a configuration diagram of functions required when determining whether or not to input an IP packet to a buffer in the embodiment.
FIG. 6 is an explanatory diagram of an IP packet in a specific example.
7 is a diagram illustrating the relationship between the value of L and the probability B. FIG.
FIG. 8 is a diagram illustrating a code of a probabilistic packet discard algorithm.
FIG. 9 is a diagram showing an algorithm for calculating a fair rate value α.
FIG. 10 is a diagram illustrating a two-node model of 10 flows used for simulation.
FIG. 11 is a diagram (part 1) illustrating an ideal bandwidth allocation value and a measured bandwidth allocation value, which are simulation results.
FIG. 12 shows a table used for simulation.
FIG. 13 is a diagram (part 2) illustrating an ideal bandwidth allocation value and a measured bandwidth allocation value, which are simulation results;
FIG. 14 is a diagram (part 3) illustrating an ideal bandwidth allocation value and a measured bandwidth allocation value, which are simulation results;
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 User identification part 2 Rate information writing part 3 Header reading part 4 Selective packet discard part 5 Buffer 6 Contract bandwidth determination part

Claims (3)

エッジルータにIPパケットが到着する毎に、そのIPパケットを送出しているユーザの送信レートを測定し、測定した送信レートをそのIPパケットのヘッダに書き込み、エッジルータおよびコアルータで、上記IPパケットのヘッダに書き込まれた送信レートを基にして、選択的にパケット廃棄を行うようにしたコアステートレス・ネットワークにおけるIP優先制御方法であって、
エッジルータで、ユーザの現在の送信レートが、ネットワークと契約した帯域を越えているか否かの判定を行い、
該判定において、ユーザの現在の送信レートが、ネットワークと契約した帯域を超えていると判定された場合に、ある確率で、契約帯域を越えているという情報と、ユーザの現在の送信レートから契約した帯域を減算した値とをIPパケットのヘッダに書き込むことを特徴とするIP優先制御方法。
Each time an IP packet arrives at the edge router, the transmission rate of the user sending the IP packet is measured, and the measured transmission rate is written in the header of the IP packet. An IP priority control method in a core stateless network that selectively discards packets based on a transmission rate written in a header,
At the edge router, the current transmission rate of the user, have rows determines whether exceeds the bandwidth contracted with a network,
In this determination, when it is determined that the current transmission rate of the user exceeds the bandwidth contracted with the network, the contract is determined based on the information that the contracted bandwidth is exceeded with a certain probability and the current transmission rate of the user. An IP priority control method, wherein a value obtained by subtracting the bandwidth thus written is written in a header of an IP packet .
請求項1に記載のIP優先制御方法であって、
上記現在の送信レートの情報をヘッダに書き込まれたIPパケットに対してのみ、その値を基にして、選択的にパケット廃棄を行うことを特徴とするIP優先制御方法。
The IP priority control method according to claim 1,
An IP priority control method, wherein packet discarding is selectively performed based only on an IP packet in which information on the current transmission rate is written in a header.
請求項1に記載のIP優先制御方法であって、
上記判定において、ユーザの現在の送信レートが、ネットワークと契約した帯域を超えていないと判定された場合に、その旨を示す情報を、上記IPパケットのヘッダに書き込むことを特徴とするIP優先制御方法。
The IP priority control method according to claim 1,
In the above determination, when it is determined that the current transmission rate of the user does not exceed the bandwidth contracted with the network, information indicating that is written in the header of the IP packet. Method.
JP2000166102A 2000-06-02 2000-06-02 IP priority control method Expired - Fee Related JP3622145B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000166102A JP3622145B2 (en) 2000-06-02 2000-06-02 IP priority control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000166102A JP3622145B2 (en) 2000-06-02 2000-06-02 IP priority control method

Publications (2)

Publication Number Publication Date
JP2001345849A JP2001345849A (en) 2001-12-14
JP3622145B2 true JP3622145B2 (en) 2005-02-23

Family

ID=18669475

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000166102A Expired - Fee Related JP3622145B2 (en) 2000-06-02 2000-06-02 IP priority control method

Country Status (1)

Country Link
JP (1) JP3622145B2 (en)

Also Published As

Publication number Publication date
JP2001345849A (en) 2001-12-14

Similar Documents

Publication Publication Date Title
Stoica et al. Core-stateless fair queueing: a scalable architecture to approximate fair bandwidth allocations in high-speed networks
JP4436981B2 (en) ECN-based method for managing congestion in a hybrid IP-ATM network
JP4080911B2 (en) Bandwidth monitoring device
US6958998B2 (en) Traffic management in packet-based networks
CN109120544B (en) Transmission control method based on host end flow scheduling in data center network
Kumar et al. Beyond best effort: Router architectures for the differentiated services of tomorrow's internet
CN112866127B (en) Method and device for controlling flow in packet network
US6907042B1 (en) Packet processing device
JP2005295581A (en) Method for improving performance of tcp connection
WO2008124980A1 (en) An internet flow control method based on the token
JP2002111742A (en) Method for marking packet of data transmission flow and marker device performing this method
US7652988B2 (en) Hardware-based rate control for bursty traffic
Bagal et al. Comparative study of RED, ECN and TCP Rate Control
JP3622145B2 (en) IP priority control method
JP4838739B2 (en) Router buffer management method and router using the management method
CN114979011A (en) Congestion control method applied to park network
JP2003258881A (en) Adaptive quality control system
KR100674329B1 (en) Method for Congestion Control of the Router in TCP/IP
JPH11252097A (en) Device and method for sending packet
JP3789338B2 (en) Fair bandwidth calculation method, router, routing method, routing program and recording medium in IP network
Lin et al. Scalable fair random early detection
Lizambri et al. TCP throughput and buffer management
JP2005268979A (en) Convergence control method based on one-way delay time, system, device and method for communication program, and recording medium
AlWehaibi et al. Accommodations of QoS DiffServ over IP and MPLS networks
Yamagaki et al. Dual metrics fair queueing: improving fairness and file transfer time

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040301

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040629

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040826

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

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7426

Effective date: 20041029

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041111

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

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

Free format text: PAYMENT UNTIL: 20101203

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20111203

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees