JP6716511B2 - Network performance evaluation method and network performance evaluation apparatus - Google Patents
Network performance evaluation method and network performance evaluation apparatus Download PDFInfo
- Publication number
- JP6716511B2 JP6716511B2 JP2017151201A JP2017151201A JP6716511B2 JP 6716511 B2 JP6716511 B2 JP 6716511B2 JP 2017151201 A JP2017151201 A JP 2017151201A JP 2017151201 A JP2017151201 A JP 2017151201A JP 6716511 B2 JP6716511 B2 JP 6716511B2
- Authority
- JP
- Japan
- Prior art keywords
- state
- network
- queue
- network state
- bound
- 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 disclosure relates to numerical simulation for network performance evaluation.
ネットワーク状態の定常分布を高精度に推定するために、パーフェクトシミュレーションと呼ばれる技術が存在する(例えば、非特許文献1を参照。)。まず、パーフェクトシミュレーションについて説明する。 There is a technique called perfect simulation in order to estimate the stationary distribution of the network state with high accuracy (for example, see Non-Patent Document 1). First, the perfect simulation will be described.
[1]ネットワークモデル
ここでは、図1のようにN個のキューを直列につないだネットワークを考える(図1ではN=2)。フローは一本のみとし、送信元の送出レートをr0とする。キューj∈{1,・・・,N}の転送レートをrj、最大キュー長をQj、パケット数(キュー長)をqjとする。
[1] Network Model Here, consider a network in which N queues are connected in series as shown in FIG. 1 (N=2 in FIG. 1). There is only one flow, and the transmission rate of the transmission source is r 0 . Let r j be the transfer rate of the queue jε{1,..., N}, the maximum queue length be Q j , and the number of packets (queue length) be q j .
このネットワークの状態sは、キュー長の組合せ(ベクトル)によって
s=(q1,q2,・・・,qN)
と表される。便宜上、送信元のindexを0で表し、宛先をN+1で表す。送信元のキューには常にパケットがあると考え、q0=∞とする。また、宛先の最大キュー長は無限大とし、QN+1=∞とする。
状態sにおけるキューjのキュー長を、
s.qj
のように表すこととする。
The state s of this network is s=(q 1 , q 2 ,..., q N ) depending on the combination (vector) of queue lengths.
It is expressed as For convenience, the source index is represented by 0 and the destination is represented by N+1. It is assumed that there is always a packet in the queue of the transmission source, and q 0 =∞. Further, the maximum queue length of the destination is infinite, and Q N+1 =∞.
The queue length of queue j in state s,
s. q j
Will be expressed as.
キューjからキューj+1へのイベントをEj→j+1と表記する。イベントEj→j+1が発生すると、そのときのキューの状態によって次ステップのキュー長は以下のように変化する。
A.キューjに移動させるパケットが存在しない場合
A. If there is no packet to move to queue j
図2は状態遷移を説明する例である。図2の例ではN=2である。図2において符号21−0〜21−8が各状態sであり、それぞれの状態がs=(q1,q2)で表されている。例えば、符号21−0は状態s=(0,0)でキュー1にもキュー2にもパケットが存在しないことを意味する。
FIG. 2 is an example for explaining the state transition. In the example of FIG. 2, N=2. In FIG. 2, reference numerals 21-0 to 21-8 represent states s, and the states are represented by s=(q1, q2). For example, the code 21-0 means that there is no packet in the
図2において実線はイベントE0→1(送信元からキュー1へ1つのパケットを転送する)、点線はイベントE1→2(キュー1からキュー2へ1つのパケットを転送する)、破線はイベントE2→3(キュー2から宛先へ1つのパケットを転送する)である。例えば、遷移(i)は、s=(0,0)の状態においてイベントE0→1で送信元からキュー1へパケットが転送されるときの状態遷移である。遷移(ii)は、s=(1,0)の状態においてイベントE1→2でキュー1からキュー2へパケットが転送されるときの状態遷移である。遷移(iii)は、s=(0,1)の状態においてイベントE2→3でキュー2から宛先へパケットが転送されるときの状態遷移である(イベント終了後各キューは空となる。)。また、キューが最大キュー長のときは、数Cのように当該キューへのパケット転送のイベントが発生しても状態は変わらない。
In FIG. 2, the solid line is the event E 0→1 (transfers one packet from the transmission source to the queue 1), the dotted line is the event E 1→2 (transfers one packet from the
ここで、イベントの発生確率について定義する。イベントEj→j+1の発生確率pj→j+1は次式で表される。
[2]パーフェクトシミュレーション
システムが取り得る状態の集合をSとする。状態遷移は既知であり、既約(irreducible)かつ非周期的(aperiodic)であるとする。パーフェクトシミュレーションでは、すべての状態から並行してシミュレーションを開始する状況を想定する。また、いずれの状態から開始した場合でも、各ステップで同じ乱数を用いる。ステップiでの状態をsi、次の遷移を決めるために用いる乱数をρi∈[0,1]とし、状態遷移関数T:S×[0,1]→Sを次のように定義する。
同じ乱数を用いることから、一度、同じ状態に合流したシミュレーション系列は、その後、まったく同じ状態系列をたどることになる。ステップが進むごとに到達可能な状態が減るため、ステップiで到達可能な状態の集合を
Si=Ti(S)={Ti(s):s∈S}
とすると、次式が成り立つ。
Then, the following equation holds.
また、図3のように、任意の状態から開始したシミュレーション系列は、いずれひとつの状態に「合体」する。
この状況では、各シミュレーションが無限の過去に開始され、一つの状態に合体したと考えることができる。なぜなら、0番目のステップを「全状態」から開始することで、どのようなシミュレーション系列も包含するからである。無限の過去からのシミュレーションだと考えれば、ステップ数の有限性に起因する統計的な偏りを排除できる。なお、合体後の系列であれば、どの状態をサンプルしてもよい。 In this situation, each simulation can be considered to have started in the infinite past and merged into one state. This is because any simulation sequence is included by starting the 0th step from "all states". If we consider it as an infinite simulation from the past, we can eliminate the statistical bias due to the finite number of steps. It should be noted that any state may be sampled as long as it is a sequence after being combined.
以上のように、パーフェクトシミュレーションとは、統計的な偏りなしに、一つのサンプルを得る方法である。通常は、乱数列を変えて何度もシミュレーションを実行し、いくつものサンプルを得る。そして、定常分布確率などを計算する。 As described above, the perfect simulation is a method of obtaining one sample without statistical bias. Usually, the random number sequence is changed and the simulation is repeated many times to obtain several samples. Then, the stationary distribution probability and the like are calculated.
ネットワークが取り得る状態は非常に多いため、全状態からシミュレーションを行うのは非効率である。非特許文献1などにより、図1のネットワークモデルでは、以下の最大状態(数5;全てのキューが満状態)と最小状態(数6;全てのキューが空状態)からのシミュレーション系列のみを考慮すれば十分であることが示されている。
なぜなら、他の状態からのシミュレーション系列は、ステップ0における最大状態からのシミュレーション系列と最小状態からのシミュレーション系列に挟まれた領域から外れないため、上下界より先に合体してしまうからである。図3で説明すると他の状態(中間状態)の系列3X(白丸)は、上界の系列39(黒丸)と下界の系列31(黒四角)に挟まれた領域内でのみ状態遷移を行い、上界の系列39と下界の系列31より先に合体する。なお、数5と数6から開始するシミュレーション系列を上界それぞれ下界と呼んでいる。
This is because the simulation series from other states does not deviate from the region between the simulation series from the maximum state and the simulation series from the minimum state in
図4は、上下界系列のみを追跡することで効率化したパーフェクトシミュレーションを説明するフローチャートである。ステップS11でステップi=0(初期)の最大状態と最小状態をシミュレートする。ステップS12で同じ状態遷移関数Tを用いて遷移先の状態をシミュレートする。その結果、最大状態と最小状態が一致するか否かを判断する(ステップS13)。最大状態と最小状態が一致していなければステップS12とS13を繰り返す。最大状態と最小状態が一致すれば、一致した状態をネットワーク状態の正常分布とする(ステップS14)。 FIG. 4 is a flowchart for explaining a perfect simulation that is made efficient by tracking only the upper and lower bound sequences. In step S11, the maximum state and the minimum state of step i=0 (initial) are simulated. In step S12, the transition destination state is simulated using the same state transition function T. As a result, it is determined whether the maximum state and the minimum state match (step S13). If the maximum state and the minimum state do not match, steps S12 and S13 are repeated. If the maximum state and the minimum state match, the matched state is set as the normal distribution of network states (step S14).
[3]送出レート変更における課題
ここで、シミュレーション対象のネットワークがECN(Explicit Congestion Notification;非特許文献2、3を参照。)をサポートしている場合を考える。ECNは、ルータなどの通信機器から送信元へ送出レート抑制を指示することで、ネットワークの輻輳を事前に回避する技術である。
[3] Problem in Changing Transmission Rate Here, consider a case where a network to be simulated supports ECN (Explicit Congestion Notification; see
ECNにより次のように送出レート変更をするとする。あるキューm(0<m≦N)の状態がqm≧θ(0<θ≦Qm)であれば、送信元の送出レートr0をr∧ 0(0<r∧ 0<r0)に変更する。なお、キューmから送信元への通知遅延は無視し、qmの状態が送出レートに瞬時に反映されると仮定する。 It is assumed that the transmission rate is changed by the ECN as follows. If the state of a certain queue m (0<m≦N) is q m ≧θ (0<θ≦Q m ), the transmission rate r 0 of the transmission source is r ∧ 0 (0<r ∧ 0 <r 0 ). Change to. It should be noted that the notification delay from the queue m to the transmission source is ignored, and it is assumed that the state of q m is instantly reflected in the transmission rate.
ここで、送出レート変更後のイベント発生確率p∧ j→j+1は以下のようになる。
状態によってイベント発生率が異なる場合、ステップ0での最大状態及び最小状態からのシミュレーション系列のみの検討では不十分である。なぜなら、図5のように中間状態からのシミュレーション系列3Xが、最大状態からのシミュレーション系列39と最小状態からのシミュレーション系列31に挟まれた領域を外れることがあるからである。つまり、状態によってイベント発生率が異なる場合、最大状態及び最小状態からのシミュレーション系列が、すべての状態のシミュレーション系列に対する上下界にならない。従って、中間状態からのシミュレーション系列がまだ合体していないのに、最大状態と最小状態からのシミュレーション系列が合体した状態をサンプルすることになる。
If the event occurrence rate differs depending on the state, it is not sufficient to study only the simulation sequence from the maximum state and the minimum state in
つまり、ECNをサポートしているネットワークにパーフェクトシミュレーションを行う場合、統計的な偏りを排除することが困難という課題がある。そこで、本発明は、上記課題を解決するために、ECNをサポートしているネットワークでパーフェクトシミュレーションを行っても統計的な偏りを排除可能なネットワーク性能評価方法及びネットワーク性能評価装置を提供することを目的とする。 That is, when performing perfect simulation on a network supporting ECN, there is a problem that it is difficult to eliminate statistical bias. Therefore, in order to solve the above problems, the present invention provides a network performance evaluation method and a network performance evaluation apparatus capable of eliminating a statistical bias even if a perfect simulation is performed in a network supporting ECN. To aim.
上記目的を達成するために、本発明に係るネットワーク性能評価方法及びネットワーク性能評価装置は、中間状態からのシミュレーション系列が最大状態と最小状態からのシミュレーション系列に挟まれた領域を外れる場合、当該シミュレーション系列を新たな上界又は下界としてシミュレーションを続けることとした。 In order to achieve the above object, the network performance evaluation method and the network performance evaluation apparatus according to the present invention, if the simulation sequence from the intermediate state is out of the region between the maximum state and the simulation sequence from the minimum state, the simulation We decided to continue the simulation with a new upper or lower bound for the sequence.
具体的には、本発明に係るネットワーク性能評価方法は、ECN(Explicit Congestion Notification)をサポートするネットワークを性能を評価するネットワーク性能評価方法であって、
前記ネットワークに含まれる全てのキューのキュー長の組み合わせで前記ネットワークが取り得る各々のネットワーク状態を表現し、初期として、全ての前記ネットワーク状態のうち、全ての前記キューのキュー長が最大となる最大状態を上界、全ての前記キューのキュー長が最小となる最小状態を下界とする開始手順と、
残存するネットワーク状態の上界と下界を見出し、見出した上界のネットワーク状態と下界のネットワーク状態に対して、同じ乱数を用いた状態遷移関数で状態遷移させるパーフェクトシミュレーションを実行する更新手順と、
前記更新手順後の上界のネットワーク状態と下界のネットワーク状態とが1つに集約していない場合は前記更新手順を繰り返し、前記更新手順後の上界のネットワーク状態と下界のネットワーク状態とが1つに集約している場合は1つに集約したネットワーク状態を状態サンプルとして取得する判定手順と、
を行うことを特徴とする。
Specifically, the network performance evaluation method according to the present invention is a network performance evaluation method for evaluating the performance of a network that supports ECN (Explicit Congestion Notification).
Each network state that can be taken by the network is expressed by a combination of queue lengths of all queues included in the network. Initially, among all the network states, the maximum queue length of all the queues is the maximum. A start procedure in which the state is the upper bound and the minimum state in which the queue lengths of all the queues are the smallest is the lower bound;
An update procedure that finds the upper and lower bounds of the remaining network states, and performs a perfect simulation to make a state transition with the state transition function using the same random number for the found upper and lower bound network states,
When the upper bound network state and the lower bound network state after the updating procedure are not aggregated into one, the updating procedure is repeated, and the upper bound network state and the lower bound network state after the updating procedure are 1 In the case of aggregation into one, a determination procedure of acquiring the aggregated network state as a state sample,
It is characterized by performing.
また、本発明に係るネットワーク性能評価装置は、ECNをサポートするネットワークを性能を評価するネットワーク性能評価装置であって、
前記ネットワークに含まれる全てのキューのキュー長の組み合わせで前記ネットワークが取り得る各々のネットワーク状態を表現し、初期として、全ての前記ネットワーク状態のうち、全ての前記キューのキュー長が最大となる最大状態を上界、全ての前記キューのキュー長が最小となる最小状態を下界とする状態遷移図と、
前記状態遷移図に残存するネットワーク状態の上界と下界を見出し、見出した上界のネットワーク状態と下界のネットワーク状態に対して、同じ乱数を用いた状態遷移関数で状態遷移させるパーフェクトシミュレーションを実行する更新部と、
前記更新部が実行したパーフェクトシミュレーション後の上界のネットワーク状態と下界のネットワーク状態とが1つに集約していない場合は前記パーフェクトシミュレーションを繰り返し、前記更新部が実行したパーフェクトシミュレーション後の上界のネットワーク状態と下界のネットワーク状態とが1つに集約している場合は1つに集約したネットワーク状態を状態サンプルとして取得する判定部と、
を備えることを特徴とする。
A network performance evaluation apparatus according to the present invention is a network performance evaluation apparatus that evaluates the performance of a network supporting ECN,
Each network state that can be taken by the network is expressed by a combination of queue lengths of all queues included in the network. Initially, among all the network states, the maximum queue length of all the queues is the maximum. A state transition diagram in which the state is the upper bound and the minimum state in which the queue length of all the queues is the minimum is the lower bound,
Find the upper and lower bounds of the remaining network states in the state transition diagram, and execute a perfect simulation in which the state transition function using the same random number is used for the found upper and lower bound network states. Update department,
When the network state of the upper bound and the network state of the lower bound after the perfect simulation executed by the updating unit are not aggregated into one, the perfect simulation is repeated, and the upper bound after the perfect simulation performed by the updating unit is repeated. When the network state and the lower-layer network state are aggregated into one, a determination unit that acquires the aggregated network state as a state sample,
It is characterized by including.
常に最大状態を上界と最小状態を下界とすることができるので送信元の送出レートが変更されて状態によってイベントの発生率が異なるようになっても統計的な偏りを排除可能である。従って、本発明は、ECNをサポートしているネットワークでパーフェクトシミュレーションを行っても統計的な偏りを排除可能なネットワーク性能評価方法及びネットワーク性能評価装置を提供することができる。 Since the maximum state can always be the upper bound and the minimum state can be the lower bound, it is possible to eliminate the statistical bias even if the transmission rate of the transmission source is changed and the event occurrence rate varies depending on the state. Therefore, the present invention can provide a network performance evaluation method and a network performance evaluation apparatus that can eliminate statistical bias even when performing perfect simulation in a network supporting ECN.
ネットワーク状態の上界と下界を次のように見つけることができる。
具体的には、本発明では、残存するネットワーク状態の上界と下界を見出すときに、
前記ECNによる送信元の送出レートを変更するキューとキュー長から成る基準が設定され、
前記上界のネットワーク状態と該ネットワーク状態から前記基準のキューのキュー長に基づいて推定した第1推定ネットワーク状態とを前記状態遷移関数で遷移させて比較し、大きい方のネットワーク状態を新たな上界とし、
前記下界のネットワーク状態と該ネットワーク状態から前記基準のキューのキュー長に基づいて推定した第2推定ネットワーク状態とを前記状態遷移関数で遷移させて比較し、小さい方のネットワーク状態を新たな下界とする
ことを特徴とする。
The upper and lower bounds of the network state can be found as follows.
Specifically, in the present invention, when finding the upper and lower bounds of the remaining network state,
A standard consisting of a queue and a queue length for changing the transmission rate of the transmission source by the ECN is set,
The upper network state and the first estimated network state estimated from the network state based on the queue length of the reference queue are transited by the state transition function and compared, and the larger network state is newly updated. The world,
The lower network state and the second estimated network state estimated from the network state based on the queue length of the reference queue are transited by the state transition function and compared, and the smaller network state is regarded as a new lower bound. It is characterized by doing.
本発明は、ECNをサポートしているネットワークでパーフェクトシミュレーションを行っても統計的な偏りを排除可能なネットワーク性能評価方法及びネットワーク性能評価装置を提供することができる。 INDUSTRIAL APPLICABILITY The present invention can provide a network performance evaluation method and a network performance evaluation device that can eliminate statistical bias even if perfect simulation is performed in a network supporting ECN.
添付の図面を参照して本発明の実施形態を説明する。以下に説明する実施形態は本発明の実施例であり、本発明は、以下の実施形態に制限されるものではない。なお、本明細書及び図面において符号が同じ構成要素は、相互に同一のものを示すものとする。 Embodiments of the present invention will be described with reference to the accompanying drawings. The embodiments described below are examples of the present invention, and the present invention is not limited to the following embodiments. In this specification and the drawings, constituent elements having the same reference numerals indicate the same elements.
図6は、本実施形態のネットワーク性能評価方法の概念を説明する状態遷移図である。最大状態からのシミュレーション系列39と最小状態からのシミュレーション系列31に挟まれた領域を外れる中間状態からのシミュレーション系列3Xがあれば、系列3Xを新たな上界又は下界としてパーフェクトシミュレーションを続ける。
FIG. 6 is a state transition diagram for explaining the concept of the network performance evaluation method of this embodiment. If there is a
ここで、最大状態からのシミュレーション系列39と最小状態からのシミュレーション系列31に挟まれた領域を外れる系列3Xを見つけるために全状態からシミュレーションを行うのは非効率である。そこで、下記の計算を行うことで当該領域を外れる系列を見つけることとする。
ここで、sup演算は集合を引数とし、以下のようにして全要素の「上界」を計算する。
図7は、本実施形態のネットワーク性能評価方法を説明するフローチャートである。
本ネットワーク性能評価方法は、ECNをサポートするネットワークを性能を評価するネットワーク性能評価方法であって、
前記ネットワークに含まれる全てのキューのキュー長の組み合わせで前記ネットワークが取り得る各々のネットワーク状態を表現し、初期として、全ての前記ネットワーク状態のうち、全ての前記キューのキュー長が最大となる最大状態を上界、全ての前記キューのキュー長が最小となる最小状態を下界とする開始手順S31と、
残存するネットワーク状態の上界と下界を見出し、見出した上界のネットワーク状態と下界のネットワーク状態に対して、同じ乱数を用いた状態遷移関数で状態遷移させるパーフェクトシミュレーションを実行する更新手順S32と、
更新手順S32後の上界のネットワーク状態と下界のネットワーク状態とが1つに集約していない場合は前記更新手順を繰り返し、更新手順S32後の上界のネットワーク状態と下界のネットワーク状態とが1つに集約している場合は1つに集約したネットワーク状態を状態サンプルとして取得する判定手順(S33、S34)と、
を行うことを特徴とする。
FIG. 7 is a flowchart illustrating the network performance evaluation method of this embodiment.
This network performance evaluation method is a network performance evaluation method for evaluating the performance of a network supporting ECN,
Each network state that can be taken by the network is expressed by a combination of queue lengths of all queues included in the network. Initially, among all the network states, the maximum queue length of all the queues is the maximum. A start procedure S31 in which the state is the upper bound, and the minimum state in which the queue lengths of all the queues are the smallest is the lower bound;
An update procedure S32 for finding an upper bound and a lower bound of the remaining network state, and executing a perfect simulation in which the found upper bound network state and lower bound bound network state are transitioned by a state transition function using the same random number,
If the network state of the upper bound and the network state of the lower bound after the update procedure S32 are not aggregated into one, the above update procedure is repeated, and the network state of the upper bound and the network state of the lower bound after the update procedure S32 are 1 In the case of aggregation into one, the determination procedure (S33, S34) of acquiring the aggregated network state as a state sample,
It is characterized by performing.
特に、更新手順S32では、
残存するネットワーク状態の上界と下界を見出すときに、
前記ECNによる送信元の送出レートを変更するキューとキュー長から成る基準が設定され、
前記上界のネットワーク状態と該ネットワーク状態から前記基準のキューのキュー長に基づいて推定した第1推定ネットワーク状態とを前記状態遷移関数で遷移させて比較し、大きい方のネットワーク状態を新たな上界とし(数8)、
前記下界のネットワーク状態と該ネットワーク状態から前記基準のキューのキュー長に基づいて推定した第2推定ネットワーク状態とを前記状態遷移関数で遷移させて比較し、小さい方のネットワーク状態を新たな下界とする(数9)
ことを特徴とする。
In particular, in the update procedure S32,
When finding the upper and lower bounds of the remaining network state,
A standard consisting of a queue and a queue length for changing the transmission rate of the transmission source by the ECN is set,
The upper network state and the first estimated network state estimated from the network state based on the queue length of the reference queue are transited by the state transition function and compared, and the larger network state is newly updated. The world (Equation 8),
The lower network state and the second estimated network state estimated from the network state based on the queue length of the reference queue are transited by the state transition function and compared, and the smaller network state is regarded as a new lower bound. Do (Equation 9)
It is characterized by
図8は、本実施形態のネットワーク性能評価装置を説明するブロック図である。
本ネットワーク性能評価装置は、ECNをサポートするネットワークを性能を評価するネットワーク性能評価装置であって、
前記ネットワークに含まれる全てのキューのキュー長の組み合わせで前記ネットワークが取り得る各々のネットワーク状態を表現し、初期として、全ての前記ネットワーク状態のうち、全ての前記キューのキュー長が最大となる最大状態を上界、全ての前記キューのキュー長が最小となる最小状態を下界とする状態遷移図11と、
状態遷移図11に残存するネットワーク状態の上界と下界を見出し、見出した上界のネットワーク状態と下界のネットワーク状態に対して、同じ乱数を用いた状態遷移関数で状態遷移させるパーフェクトシミュレーションを実行する更新部12と、
更新部12が実行したパーフェクトシミュレーション後の上界のネットワーク状態と下界のネットワーク状態とが1つに集約していない場合は前記パーフェクトシミュレーションを繰り返し、更新部12が実行したパーフェクトシミュレーション後の上界のネットワーク状態と下界のネットワーク状態とが1つに集約している場合は1つに集約したネットワーク状態を状態サンプルとして取得する判定部13と、
を備える。
FIG. 8 is a block diagram illustrating the network performance evaluation apparatus of this embodiment.
This network performance evaluation device is a network performance evaluation device for evaluating the performance of a network supporting ECN,
Each network state that can be taken by the network is expressed by a combination of queue lengths of all queues included in the network. Initially, among all the network states, the maximum queue length of all the queues is the maximum. A state transition diagram 11 in which a state is an upper bound and a minimum state in which the queue lengths of all the queues are the smallest is a lower bound;
The upper and lower bounds of the remaining network states are found in the state transition diagram 11, and a perfect simulation in which the state transition function using the same random number is used for the found upper and lower bound network states is executed.
When the upper bound network state and the lower bound network state after the perfect simulation executed by the updating
Equipped with.
特に、更新部12は、
残存するネットワーク状態の上界と下界を見出すときに、
前記ECNによる送信元の送出レートを変更するキューとキュー長から成る基準が設定され、
前記上界のネットワーク状態と該ネットワーク状態から前記基準のキューのキュー長に基づいて推定した第1推定ネットワーク状態とを前記状態遷移関数で遷移させて比較し、大きい方のネットワーク状態を新たな上界とし(数8)、
前記下界のネットワーク状態と該ネットワーク状態から前記基準のキューのキュー長に基づいて推定した第2推定ネットワーク状態とを前記状態遷移関数で遷移させて比較し、小さい方のネットワーク状態を新たな下界とする(数9)
ことを特徴とする。
In particular, the
When finding the upper and lower bounds of the remaining network state,
A standard consisting of a queue and a queue length for changing the transmission rate of the transmission source by the ECN is set,
The upper network state and the first estimated network state estimated from the network state based on the queue length of the reference queue are transited by the state transition function and compared, and the larger network state is newly updated. The world (Equation 8),
The lower network state and the second estimated network state estimated from the network state based on the queue length of the reference queue are transited by the state transition function and compared, and the smaller network state is regarded as a new lower bound. Do (Equation 9)
It is characterized by
(数8と数9についての説明)
ここで、図2の状態遷移図を基に数8と数9についての説明を行う。送出レートがr∧ 0に変更される状態の集合をS∧とし、送出レートがr0のまま変更されない状態の集合をS∨とする。たとえば、送出レート変更の基準となるキューをm=2とし、閾値をθ=2とすると、S∧とS∨は図9のように分けられる。なお、それらに重複はなく(数12)、それらの和は全集合である(数13)。
Here, the
ここで、S∧内の状態はいずれも送出レートがr∧ 0であり、変化はない。つまり、S∧内の状態に限定すれば、図3で説明したように最大状態と最小状態からのシミュレーション系列のみを考慮すれば十分である(最大・最小に挟まれた領域を飛び出す中間状態はない)。S∨内の状態についても同様である。そうすると、送出レートの変更を考えると、S∧内の最大・最小状態と、S∨内の最大・最小状態の計4状態を考慮すれば十分となる。なぜなら、S∧あるいはS∨いずれかの最大状態からの遷移しか、次ステップの最大状態になりえないからである。具体的には、図5のように系列31と系列31で挟まれる領域を飛び出す可能性がある状態は、S∨の最大状態のみである。同様に、S∧あるいはS∨いずれかの最小状態からの遷移しか、次ステップの最小状態になりえない。ここで、S∧の最大状態と最小状態をs∧supとs∧infとし、S∨の最大状態と最小状態をs∨supとs∨infとする。
Here, in all the states in S ∧ , the transmission rate is r ∧ 0 , and there is no change. In other words, if the state is limited to the state within S ∧ , it is sufficient to consider only the simulation sequence from the maximum state and the minimum state as described in FIG. 3 (the intermediate state that jumps out the region sandwiched between the maximum and minimum states is Absent). The same applies to the state within S ∨ . Then, considering the change of the sending rate, it is sufficient to consider the maximum/minimum state in S ∧ and the maximum/minimum state in S ∨ in total. This is because only the transition from the maximum state of either S ∧ or S ∨ can be the maximum state of the next step. Specifically, as shown in FIG. 5, there is a possibility that the area between the
図9を用いてさらに説明する。全状態Sにおける最大状態がssup=(1,2)であり、sinf=(0,1)だったとする。考慮すべき4状態のうち、S∧における最大状態はs∧sup=ssup=(1,2)であり、S∨における最小状態はs∨inf= sinf=(0,1)である。 This will be further described with reference to FIG. It is assumed that the maximum state in all states S is s sup =(1,2) and s inf =(0,1). Of the four states to be considered, the maximum condition in S ∧ is s ∧sup = s sup = (1,2 ), the minimum condition in S ∨ is s ∨inf = s inf = (0,1 ).
以下、残る2状態を考える。
S∧における最小状態とは、すなわち全体の最小状態sinfにおいて、キューmの状態のみをθに引き上げた状態と考えればよい。図9の場合、m=2、θ=2なので、sinf=(0,1)においてキュー2のキュー長を2としてs∧inf=(0,2)∈S∧となる。これを次のように記載する。
The minimum state in S ∧ can be considered as a state in which only the state of the queue m is raised to θ in the overall minimum state s inf . In the case of FIG. 9, since m=2 and θ=2, s ∧inf =(0,2) εS ∧ where s inf =(0,1) and the queue length of the
同様に、S∨における最大状態は、全体の最大状態ssupにおいて、キューmの状態のみをθからひとつ下げた状態(θ−1)となる(S∨の範囲で最大のキュー長はθ−1である)。図9の場合、m=2、θ=2なので、ssup=(1,2)においてキュー2のキュー長を1つ下げて1としてs∨sup=(1,1)∈S∨となる。これを次のように記載する。
数8は、ステップiにおける最大状態が与えられたときステップi+1の最大状態を求める計算式であり、si ∧sup(=si sup)またはsi ∨supからの遷移のうち大きいほうをステップi+1の最大状態si+1 supとすることを意味する。すなわち、
数9は、ステップiにおける最小状態が与えられたときステップi+1の最小状態を求める計算式であり、si ∨inf(=si inf)またはs∧infからの遷移のうち小さいほうをステップi+1の最小状態sinfとすることを意味する。すなわち、
なお、状態sの大小関係を下記のように定義する。
なお、supは、いずれかの状態のほうが大きい場合、大きいほうの状態をそのまま返す。
If any of the states is larger, sup returns the larger state as it is.
(効果)
本発明は、ECNをサポートするネットワークのシミュレーションにおいて、状態遷移先の全状態に対する「上下界」を効率的に計算して、パーフェクトシミュレーションを実行する。このため、本発明は次のような効果を得ることができる。
ネットワーク性能評価の観点では、ECNをサポートするネットワークのシミュレーションにおいて、ネットワーク状態の正常分布を、統計的な偏りなしに高精度で推定できる。
シミュレーション技術の観点では、送出レートが動的に変化するネットワークであっても、統計的な偏りのないパーフェクトシミュレーションを効率的に実行できるようになる。
(effect)
The present invention efficiently calculates the “upper and lower bounds” for all states at the state transition destination in simulation of a network supporting ECN, and executes a perfect simulation. Therefore, the present invention can obtain the following effects.
From the viewpoint of network performance evaluation, a normal distribution of network states can be estimated with high accuracy without statistical bias in a simulation of a network supporting ECN.
From the viewpoint of simulation technology, it becomes possible to efficiently execute a perfect simulation without statistical bias even in a network in which the transmission rate dynamically changes.
11:状態遷移図
12:更新部
13:判定部
14:状態サンプル部
21−0〜8:ネットワーク状態
31、39、3X:系列
11: State transition diagram 12: Update unit 13: Judgment unit 14: State sampling unit 21-0 to 8: Network states 31, 39, 3X: Series
Claims (4)
前記ネットワークに含まれる全てのキューのキュー長の組み合わせで前記ネットワークが取り得る各々のネットワーク状態を表現し、初期として、全ての前記ネットワーク状態のうち、全ての前記キューのキュー長が最大となる最大状態を上界、全ての前記キューのキュー長が最小となる最小状態を下界とする開始手順と、
残存するネットワーク状態の上界と下界を見出し、見出した上界のネットワーク状態と下界のネットワーク状態に対して、同じ乱数を用いた状態遷移関数で状態遷移させるパーフェクトシミュレーションを実行する更新手順と、
前記更新手順後の上界のネットワーク状態と下界のネットワーク状態とが1つに集約していない場合は前記更新手順を繰り返し、前記更新手順後の上界のネットワーク状態と下界のネットワーク状態とが1つに集約している場合は1つに集約したネットワーク状態を状態サンプルとして取得する判定手順と、
を行うことを特徴とするネットワーク性能評価方法。 A network performance evaluation method for evaluating the performance of a network that supports ECN (Explicit Congestion Notification), comprising:
Each network state that can be taken by the network is expressed by a combination of queue lengths of all queues included in the network. Initially, among all the network states, the maximum queue length of all the queues is the maximum. A start procedure in which the state is the upper bound and the minimum state in which the queue lengths of all the queues are the smallest is the lower bound;
An update procedure that finds the upper and lower bounds of the remaining network states, and performs a perfect simulation to make a state transition with the state transition function using the same random number for the found upper and lower bound network states,
When the upper bound network state and the lower bound network state after the updating procedure are not aggregated into one, the updating procedure is repeated, and the upper bound network state and the lower bound network state after the updating procedure are 1 In the case of aggregation into one, a determination procedure of acquiring the aggregated network state as a state sample,
A network performance evaluation method characterized by performing the following.
残存するネットワーク状態の上界と下界を見出すときに、
前記ECNによる送信元の送出レートを変更するキューとキュー長から成る基準が設定され、
前記上界のネットワーク状態と該ネットワーク状態から前記基準のキューのキュー長に基づいて推定した第1推定ネットワーク状態とを前記状態遷移関数で遷移させて比較し、大きい方のネットワーク状態を新たな上界とし、
前記下界のネットワーク状態と該ネットワーク状態から前記基準のキューのキュー長に基づいて推定した第2推定ネットワーク状態とを前記状態遷移関数で遷移させて比較し、小さい方のネットワーク状態を新たな下界とする
ことを特徴とする請求項1に記載のネットワーク性能評価方法。 In the update procedure,
When finding the upper and lower bounds of the remaining network state,
A standard consisting of a queue and a queue length for changing the transmission rate of the transmission source by the ECN is set,
The upper network state and the first estimated network state estimated from the network state based on the queue length of the reference queue are transited by the state transition function and compared, and the larger network state is newly updated. The world,
The lower network state and the second estimated network state estimated from the network state based on the queue length of the reference queue are transited by the state transition function and compared, and the smaller network state is regarded as a new lower bound. The network performance evaluation method according to claim 1, wherein
前記ネットワークに含まれる全てのキューのキュー長の組み合わせで前記ネットワークが取り得る各々のネットワーク状態を表現し、初期として、全ての前記ネットワーク状態のうち、全ての前記キューのキュー長が最大となる最大状態を上界、全ての前記キューのキュー長が最小となる最小状態を下界とする状態遷移図と、
前記状態遷移図に残存するネットワーク状態の上界と下界を見出し、見出した上界のネットワーク状態と下界のネットワーク状態に対して、同じ乱数を用いた状態遷移関数で状態遷移させるパーフェクトシミュレーションを実行する更新部と、
前記更新部が実行したパーフェクトシミュレーション後の上界のネットワーク状態と下界のネットワーク状態とが1つに集約していない場合は前記パーフェクトシミュレーションを繰り返し、前記更新部が実行したパーフェクトシミュレーション後の上界のネットワーク状態と下界のネットワーク状態とが1つに集約している場合は1つに集約したネットワーク状態を状態サンプルとして取得する判定部と、
を備えることを特徴とするネットワーク性能評価装置。 A network performance evaluation device for evaluating the performance of a network supporting ECN,
Each network state that can be taken by the network is expressed by a combination of queue lengths of all queues included in the network. Initially, among all the network states, the maximum queue length of all the queues is the maximum. A state transition diagram in which the state is the upper bound and the minimum state in which the queue length of all the queues is the minimum is the lower bound,
Find the upper and lower bounds of the remaining network states in the state transition diagram, and execute a perfect simulation in which the state transition function using the same random number is used for the found upper and lower bound network states. Update department,
When the upper bound network state and the lower bound network state after the perfect simulation executed by the updating unit are not aggregated into one, the perfect simulation is repeated, and the upper bound after the perfect simulation performed by the updating unit is repeated. When the network state and the lower-layer network state are aggregated into one, a determination unit that acquires the aggregated network state as a state sample,
A network performance evaluation device comprising:
残存するネットワーク状態の上界と下界を見出すときに、
前記ECNによる送信元の送出レートを変更するキューとキュー長から成る基準が設定され、
前記上界のネットワーク状態と該ネットワーク状態から前記基準のキューのキュー長に基づいて推定した第1推定ネットワーク状態とを前記状態遷移関数で遷移させて比較し、大きい方のネットワーク状態を新たな上界とし、
前記下界のネットワーク状態と該ネットワーク状態から前記基準のキューのキュー長に基づいて推定した第2推定ネットワーク状態とを前記状態遷移関数で遷移させて比較し、小さい方のネットワーク状態を新たな下界とする
ことを特徴とする請求項3に記載のネットワーク性能評価装置。 The update unit is
When finding the upper and lower bounds of the remaining network state,
A standard consisting of a queue and a queue length for changing the transmission rate of the transmission source by the ECN is set,
The upper network state and the first estimated network state estimated from the network state based on the queue length of the reference queue are transited by the state transition function and compared, and the larger network state is newly updated. The world,
The lower network state and the second estimated network state estimated from the network state based on the queue length of the reference queue are transited by the state transition function and compared, and the smaller network state is regarded as a new lower bound. The network performance evaluation device according to claim 3, wherein
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017151201A JP6716511B2 (en) | 2017-08-04 | 2017-08-04 | Network performance evaluation method and network performance evaluation apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017151201A JP6716511B2 (en) | 2017-08-04 | 2017-08-04 | Network performance evaluation method and network performance evaluation apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019029976A JP2019029976A (en) | 2019-02-21 |
JP6716511B2 true JP6716511B2 (en) | 2020-07-01 |
Family
ID=65478949
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017151201A Active JP6716511B2 (en) | 2017-08-04 | 2017-08-04 | Network performance evaluation method and network performance evaluation apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6716511B2 (en) |
-
2017
- 2017-08-04 JP JP2017151201A patent/JP6716511B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2019029976A (en) | 2019-02-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111682954B (en) | Method, system, and computer readable medium for managing a network of microservices | |
US10425510B2 (en) | Service process control method and network device | |
EP1598996A1 (en) | Routing for networks with content filtering | |
US9602418B2 (en) | Apparatus and method for selecting a flow to be changed upon congestion occurrence | |
CN105580318A (en) | Port mirroring for sampling measurement of network flows | |
CN108768781B (en) | Loss-free flow control method and device for avoiding deadlock | |
JP5747393B1 (en) | Flow aggregation apparatus, method, and program | |
Sheu et al. | An efficient multipath routing algorithm for multipath TCP in software-defined networks | |
Mori et al. | Identifying heavy-hitter flows from sampled flow statistics | |
US20170373983A1 (en) | Evaluation device, evaluation method and recording medium | |
US9860146B2 (en) | Method and apparatus for estimating available capacity of a data transfer path | |
WO2017133587A1 (en) | Traffic engineering method for use in communication network, and controller | |
JP6716511B2 (en) | Network performance evaluation method and network performance evaluation apparatus | |
Lamzabi et al. | Modeling the spread of virus in packets on scale free network | |
JP2019215757A (en) | Detector and detection method | |
WO2017169948A1 (en) | Communication system, available-bandwidth estimation apparatus, available-bandwidth estimation method, and recording medium having available-bandwidth estimation program stored thereon | |
JPWO2008004616A1 (en) | Estimation method, apparatus and program, and network measurement system | |
US9667533B2 (en) | Creating and utilizing customized network applications | |
CN108141372B (en) | System, method and computer readable medium for detecting attacks on mobile networks | |
KR20160139591A (en) | Method and apparatus for routing | |
US11863416B2 (en) | Imparting device, imparting method, and imparting program | |
JP2015097316A (en) | Relay device and relay method | |
CN108259640B (en) | Method, device and storage medium for classifying network addresses and electronic equipment | |
JP2009267892A (en) | Huge flow specification method, system and program and flow control system | |
Àlvarez et al. | The impact of failure management on the stability of communication networks |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190628 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20200518 |
|
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: 20200609 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200610 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6716511 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |