JP2003058520A - Computer arrangement method - Google Patents

Computer arrangement method

Info

Publication number
JP2003058520A
JP2003058520A JP2001242794A JP2001242794A JP2003058520A JP 2003058520 A JP2003058520 A JP 2003058520A JP 2001242794 A JP2001242794 A JP 2001242794A JP 2001242794 A JP2001242794 A JP 2001242794A JP 2003058520 A JP2003058520 A JP 2003058520A
Authority
JP
Japan
Prior art keywords
computer
processing
placement plan
load
computers
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.)
Withdrawn
Application number
JP2001242794A
Other languages
Japanese (ja)
Inventor
Naohiko Yoshizumi
直彦 吉住
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.)
Mitsubishi Heavy Industries Ltd
Original Assignee
Mitsubishi Heavy Industries Ltd
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 Mitsubishi Heavy Industries Ltd filed Critical Mitsubishi Heavy Industries Ltd
Priority to JP2001242794A priority Critical patent/JP2003058520A/en
Publication of JP2003058520A publication Critical patent/JP2003058520A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a computer arrangement method which can realize the most suitable arrangement of processing processes corresponding to processing capabilities of respective computers by quantitatively setting the arrangement of processing processes in many computers connected to a network in consideration of the variance of process load and the weight of communication load. SOLUTION: With respect to a method for arranging many computers connected to the network, a processing efficiency coefficient E (E=(L/P)max +α.Σ(T/ P)) is calculated and stored where L, P, T, (L/P)max , Σ(T/P), and α are the processing process load of a computer, the processing capability, the communication load required for data transmission and reception between computers, a maximum value of a processing process load capability ratio (L/P), the sum total of communication load capability ratios (T/P) of respective computers, and a weight coefficient respectively, and the computers are arranged over the network so as to minimize the processing efficiency coefficient E.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、ネットワークに接
続される複数のコンピュータを、該コンピュータの処理
能力と該ネットワークからの各コンピュータへの処理プ
ロセス負荷との関係及びコンピュータ間でデータを送受
信するに要する通信負荷との関係により配置するコンピ
ュータの配置方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a plurality of computers connected to a network, the relation between the processing capacity of the computer and the processing load of each computer from the network, and the transmission / reception of data between the computers. The present invention relates to a method of arranging computers, which is arranged according to the required communication load.

【0002】[0002]

【従来の技術】図7は複数のコンピュータが接続された
ネットワークの一例を示す。図において、3はネットワ
ークで処理能力が異なるあるいは同一の複数のコンピュ
ータ1(CPU#1、CPU#2、CPU#3・・・C
PU#n)が接続されている。2は前記各コンピュータ
1にて実行される処理プロセスであり、例えば前記コン
ピュータ1のうちCPU#1は処理プロセスA及びD、
CPU#2は処理プロセスC及びE、CPU#3は処理
プロセスB・・・のように配置されている。
2. Description of the Related Art FIG. 7 shows an example of a network in which a plurality of computers are connected. In the figure, reference numeral 3 denotes a plurality of computers 1 (CPU # 1, CPU # 2, CPU # 3, ...
PU # n) is connected. Reference numeral 2 is a processing process executed by each of the computers 1. For example, CPU # 1 of the computer 1 is processing processes A and D,
The CPU # 2 is arranged like the processing processes C and E, the CPU # 3 is arranged like the processing process B, ....

【0003】前記各コンピュータ1(CPU#1、CP
U#2、CPU#3・・・CPU#n)への処理プロセ
ス2の配置は、各コンピュータ1(CPU#1、CPU
#2、CPU#3・・・CPU#n)の処理能力と各処
理プロセス2(A、B、C、D、E・・・N)における
プロセス負荷L、L、L、L、L・・・L
の大きさとを勘案し、操作者の知識と経験によって設定
している。
Each computer 1 (CPU # 1, CP
U # 2, CPU # 3 ... CPU # n)
Arrangement of the memory card 2 is performed by each computer 1 (CPU # 1, CPU
# 2, CPU # 3 ... CPU # n) processing capacity and each processing
In Process 2 (A, B, C, D, E ... N)
Process load L1, LTwo, LThree, LFour, L5... L n
Set according to the operator's knowledge and experience in consideration of the size of
is doing.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、図7に
示されるような従来技術に係るコンピュータの配置方法
にあっては、各コンピュータ1の処理能力と各処理プロ
セス2のプロセス負荷Lとを対応させ、操作者の知識と
経験によって各コンピュータ1へ処理プロセス2を配置
しているため、前記プロセス負荷Lに変動があった際に
は当該処理プロセス2が配置されているコンピュータ1
の処理能力が最適とならず、ネットワーク3に接続され
ているコンピュータシステムの処理性能が低下する。
However, in the conventional computer arranging method as shown in FIG. 7, the processing capacity of each computer 1 and the process load L of each processing process 2 are associated with each other. Since the processing process 2 is arranged in each computer 1 according to the knowledge and experience of the operator, the computer 1 in which the processing process 2 is arranged when the process load L changes.
The processing performance of the computer is not optimal, and the processing performance of the computer system connected to the network 3 is reduced.

【0005】また、各コンピュータ1への処理プロセス
2の配置を操作者の知識と経験によって設定しているた
め、定量的な処理プロセス2の配置がなされず、この面
からもコンピュータシステム全体の処理性能の低下が避
けられない。さらには、かかる従来技術にあっては、各
コンピュータ1への処理プロセス2の配置を、各コンピ
ュータ間でデータを送受信するに要する通信負荷を考慮
することなく行っているため、処理プロセス2の最適配
置がなされない。等の問題点を有している。
Further, since the arrangement of the processing processes 2 in each computer 1 is set based on the knowledge and experience of the operator, the quantitative arrangement of the processing processes 2 is not performed, and from this aspect, the processing of the entire computer system is performed. Inevitable performance degradation. Further, in such a conventional technique, since the processing process 2 is arranged in each computer 1 without considering the communication load required for transmitting and receiving data between the computers, the processing process 2 is optimal. No placement is done. There are problems such as.

【0006】本発明はかかる従来技術の課題に鑑み、ネ
ットワークに接続される複数のコンピュータへの処理プ
ロセスの配置を定量的にかつプロセス負荷の変動及び通
信負荷の大きさを盛り込んで設定可能として、各コンピ
ュータの処理能力に対応した処理プロセスの最適配置を
実現し得るコンピュータの配置方法を提供することを目
的とする。
In view of the above-mentioned problems of the prior art, the present invention makes it possible to set the arrangement of processing processes to a plurality of computers connected to a network quantitatively and by incorporating the fluctuation of the process load and the size of the communication load, An object of the present invention is to provide a computer arranging method capable of realizing the optimum arrangement of processing processes corresponding to the processing capability of each computer.

【0007】[0007]

【課題を解決するための手段】本発明はかかる課題を解
決するため、請求項1記載の発明として、ネットワーク
に接続される複数のコンピュータを、該コンピュータの
処理能力と該ネットワークからの各コンピュータへの処
理プロセス負荷との関係により配置するコンピュータの
配置方法において、前記各コンピュータについて該コン
ピュータの処理プロセス負荷(L)と当該コンピュータ
の処理能力(P)との比である処理プロセス負荷能力比
(L/P)を算出してその最大値を選出し、前記コンピ
ュータ間でデータを送受信するに要する通信負荷(T)
と前記コンピュータの処理能力(P)との比である通信
負荷能力比(T/P)をコンピュータ毎に求めてその総
和を算出し、前記処理プロセス負荷能力比(L/P)の
最大値と通信負荷能力比(T/P)の総和との和である
処理効率係数(E=(L/P)max+α・Σ(T/
P)(αはコンピュータ負荷に対する通信負荷の重み係
数))が最小になるように前記複数のコンピュータを前
記ネットワークに対して配置することを特徴とするコン
ピュータの配置方法を提案する。
In order to solve the above problems, the present invention provides, as an invention according to claim 1, a plurality of computers connected to a network, the processing capacity of the computer and each computer from the network. In the method of arranging computers according to the relationship with the processing process load, the processing process load capacity ratio (L), which is the ratio of the processing process load (L) of the computer and the processing capacity (P) of the computer, for each computer. / P) and select the maximum value, and the communication load (T) required to send and receive data between the computers.
The communication load capacity ratio (T / P), which is the ratio of the processing capacity of the computer to the processing capacity of the computer, is calculated for each computer, and the sum thereof is calculated to obtain the maximum value of the processing process load capacity ratio (L / P). A processing efficiency coefficient (E = (L / P) max + α · Σ (T / T / S) that is the sum of the communication load capacity ratio (T / P)
P) (where α is the weighting factor of the communication load with respect to the computer load)) is arranged in the network so that the plurality of computers are arranged in the network.

【0008】請求項2ないし6記載の発明は遺伝的アル
ゴリズム法によるコンピュータの配置方法に係り、請求
項2の発明は、ネットワークに接続される複数のコンピ
ュータを、該コンピュータの処理能力と該ネットワーク
からの各コンピュータへの処理プロセス負荷との関係に
より配置するコンピュータの配置方法において、前記複
数のコンピュータについての前記処理プロセスの任意の
初期配置案を作成し、該初期配置案及び該初期配置案を
ベースに組み替えた組替配置案ついて、コンピュータの
処理プロセス負荷(L)、該コンピュータの処理能力
(P)、前記コンピュータ間でデータを送受信するに要
する通信負荷(T)とにより処理効率係数E(E=(L
/P)max+α・Σ(T/P):ここで(L/P)
maxは処理プロセス負荷能力比(L/P)の最大値、
Σ(T/P)は通信負荷能力比(T/P)の各コンピュ
ータの総和、αはコンピュータ負荷に対する通信負荷の
重み係数)を算出して蓄積し、かかる蓄積までの操作を
前記処理効率係数Eが一定値よりも小さくなりかつ所定
の終了条件を満足するまで世代を更新して繰り返し、該
終了条件を満足したとき蓄積された前記配置案のうち前
記処理効率係数Eが最小の配置案を最適配置として出力
することを特徴とする。
The invention according to any one of claims 2 to 6 relates to a method for arranging computers by a genetic algorithm method, and the invention according to claim 2 relates to a plurality of computers connected to a network, from the processing capacity of the computers and the network. In the method of arranging computers according to the relationship with the processing process load on each computer, an arbitrary initial placement plan of the processing processes for the plurality of computers is created, and the initial placement plan and the initial placement plan are used as a base. Regarding the rearrangement arrangement plan that has been rearranged, the processing efficiency coefficient E (E) is calculated according to the processing process load (L) of the computer, the processing capacity (P) of the computer, and the communication load (T) required to send and receive data between the computers. = (L
/ P) max + α · Σ (T / P): Here (L / P)
max is the maximum value of the processing process load capacity ratio (L / P),
Σ (T / P) is the sum of the communication load capacity ratios (T / P) of each computer, and α is the weighting factor of the communication load with respect to the computer load), and the accumulated values are calculated. Generations are updated and repeated until E becomes smaller than a predetermined value and a predetermined end condition is satisfied, and when the end condition is satisfied, the allocation plan with the minimum processing efficiency coefficient E is selected. It is characterized in that it is output as an optimum arrangement.

【0009】請求項2において、請求項3のように、前
記処理効率係数Eが一定のしきい値よりも小さくなった
とき前記終了条件とするのがよい。また、請求項2にお
いて組替配置案の設定方法として請求項4、5、6のよ
うに構成するのがよい。即ち請求項4においては、前記
組替配置案を、複数組の初期配置案中における任意の2
組の配置案の間で、複数の処理プロセスの中の所定の処
理プロセスを実行するコンピュータを入れ替えて作成す
る。請求項5においては、前記組替配置案を、1つの配
置案中におけるコンピュータ間で処理プロセスを一定の
頻度にて入れ替えて作成する。請求項6においては、前
記組替配置案を、前記複数のコンピュータの配置案中に
おいて所定のコンピュータで実行する処理プロセスを
他のコンピュータに移動して作成する。
According to a second aspect of the present invention, it is preferable that the ending condition is satisfied when the processing efficiency coefficient E becomes smaller than a certain threshold value. Further, in the second aspect, it is preferable that the method of setting the rearrangement placement plan is configured as in the fourth, fifth and sixth aspects. That is, in claim 4, the rearrangement placement plan is set to any two of the plurality of sets of initial placement plans.
Computers that execute a predetermined processing process among a plurality of processing processes are exchanged between sets of placement plans. In the fifth aspect, the rearrangement placement plan is created by switching the processing processes between the computers in one placement plan at a certain frequency. In the sixth aspect, the rearrangement placement plan is created by moving the processing process executed by a predetermined computer in the placement plan of the plurality of computers to another computer.

【0010】請求項7〜8記載の発明はアニーリング法
によるコンピュータの配置方法に係り、請求項7の発明
は、ネットワークに接続される複数のコンピュータを、
該コンピュータの処理能力と該ネットワークからの各コ
ンピュータへの処理プロセス負荷との関係により配置す
るコンピュータの配置方法において、前記複数のコンピ
ュータの前記処理プロセス負荷に対応する現在の配置案
について、前記コンピュータの処理プロセス負荷
(L)、該コンピュータの処理能力(P)、前記コンピ
ュータ間でデータを送受信するに要する通信負荷(T)
とにより処理効率係数E(E=(L/P)max+α・
Σ(T/P):ここで(L/P)maxは処理プロセス
負荷能力比(L/P)の最大値、Σ(T/P)は通信負
荷能力比(T/P)の各コンピュータの総和、αはコン
ピュータ負荷に対する通信負荷の重み係数)を算出し、
前記初期配置案中における複数のコンピュータ間で任意
の位置にて処理プロセスを入れ替えて代替配置案を設定
し、次いで該代替配置案について前記処理効率係数Eに
対応する処理効率係数E1を算出し、前記代替配置案に
おける処理効率係数E1が現在の配置案における処理効
率係数Eよりも小さいとき(即ちE−E1>0のとき)
前記代替配置案を最適配置として出力することを特徴と
する。
The inventions of claims 7 to 8 relate to a method of arranging computers by an annealing method, and the invention of claim 7 relates to a plurality of computers connected to a network,
In a computer arranging method for arranging according to a relation between a processing capacity of the computer and a processing process load from the network to each computer, the computer is arranged with respect to a current allocation plan corresponding to the processing process loads of the plurality of computers. Processing process load (L), processing capacity of the computer (P), communication load (T) required to send and receive data between the computers
And the processing efficiency coefficient E (E = (L / P) max + α ·
Σ (T / P): Here, (L / P) max is the maximum value of the processing process load capacity ratio (L / P), and Σ (T / P) is the communication load capacity ratio (T / P) of each computer. Sum, α is the weighting coefficient of communication load to computer load),
The alternative placement plan is set by exchanging the processing processes at any position among the plurality of computers in the initial placement plan, and then the processing efficiency coefficient E1 corresponding to the processing efficiency coefficient E is calculated for the alternative placement plan, When the processing efficiency coefficient E1 in the alternative placement plan is smaller than the processing efficiency coefficient E in the current placement plan (that is, when E-E1> 0)
The alternative placement plan is output as an optimal placement.

【0011】請求項8記載の発明はネットワークに接続
される複数のコンピュータを、該コンピュータの処理能
力と該ネットワークからの各コンピュータへの処理プロ
セス負荷との関係により配置するコンピュータの配置方
法において、前記複数のコンピュータの前記処理プロセ
ス負荷に対応する現在の配置案について、前記コンピュ
ータの処理プロセス負荷(L)、該コンピュータの処理
能力(P)、前記コンピュータ間でデータを送受信する
に要する通信負荷(T)とにより処理効率係数E(E=
(L/P)max+α・Σ(T/P):ここで(L/
P)maxは処理プロセス負荷能力比(L/P)の最大
値、Σ(T/P)は通信負荷能力比(T/P)の各コン
ピュータの総和、αはコンピュータ負荷に対する通信負
荷の重み係数)を算出し、前記現在の配置案中における
複数のコンピュータ間で任意の位置にて処理プロセスを
入れ替えて代替配置案を設定し、次いで該代替配置案に
ついて前記処理効率係数Eに対応する処理効率係数E1
を算出し、前記代替配置案における処理効率係数E1が
現在の配置案における処理効率係数Eよりも大きいとき
(即ちE−E1≦0のとき)には、前記代替配置案の適
用条件となるしきい値(S)を用いて該代替配置案の現
在の配置案への適用の要否を判定する動作を前記しきい
値(S)を減少しながら繰り返して、前記代替配置案の
現在の配置案への適用が行われなくなったときの代替配
置案を最適配置として出力することを特徴とする。
According to an eighth aspect of the present invention, there is provided a computer arranging method for arranging a plurality of computers connected to a network according to a relation between a processing capacity of the computer and a processing process load from the network to each computer. Regarding the current arrangement plan corresponding to the processing process load of a plurality of computers, the processing process load (L) of the computer, the processing capacity (P) of the computer, and the communication load (T) required for transmitting and receiving data between the computers. ) And the processing efficiency coefficient E (E =
(L / P) max + α · Σ (T / P): where (L / P
P) max is the maximum value of the processing process load capacity ratio (L / P), Σ (T / P) is the sum of the communication load capacity ratio (T / P) of each computer, and α is the weighting coefficient of the communication load with respect to the computer load. ) Is calculated, the processing process is switched at an arbitrary position among a plurality of computers in the current placement plan to set an alternative placement plan, and then the processing efficiency corresponding to the processing efficiency coefficient E for the alternative placement plan. Coefficient E1
When the processing efficiency coefficient E1 in the alternative placement plan is larger than the processing efficiency coefficient E in the current placement plan (that is, E−E1 ≦ 0), the application condition of the alternative placement plan is set. The operation of determining whether or not the alternative placement plan is applied to the current placement plan using the threshold value (S) is repeated while decreasing the threshold value (S) to obtain the current placement of the alternative placement plan. It is characterized in that the alternative placement plan is output as the optimal placement when it is no longer applied to the plan.

【0012】かかる発明によれば、ネットワークに接続
されるコンピュータの処理プロセス負荷と処理能力との
割合の最大値((L/P)max)及び全通信負荷とコ
ンピュータ処理能力との割合(Σ(T/P))の和、即
ち処理効率係数(E)を導入し、該処理効率係数(E)
が最小になるように各コンピュータへの処理プロセスを
配置するので、ネットワークに接続されるコンピュータ
への処理プロセスの配置を前記処理効率係数(E)が最
小になるように、つまり各コンピュータの処理が均一に
なるように自動的に配置することができる。
According to this invention, the maximum value ((L / P) max ) of the ratio of the processing process load to the processing capacity of the computer connected to the network and the ratio of the total communication load to the computer processing capacity (Σ ( T / P)), that is, the processing efficiency coefficient (E) is introduced, and the processing efficiency coefficient (E)
Since the processing process is allocated to each computer so that the processing efficiency is minimized, the allocation of the processing process to the computer connected to the network is performed so that the processing efficiency coefficient (E) is minimized. It can be automatically arranged to be uniform.

【0013】さらにプロセス負荷の変動があった場合に
は、該プロセス負荷の変動分が前記コンピュータの処理
プロセス負荷と処理能力との割合の最大値((L/P)
ma )に盛り込まれることにより、該プロセス負荷の
変動に自動的に対応して各コンピュータへの処理プロセ
スの配置を適正になすことができる。
Further, when there is a change in the process load, the change in the process load is the maximum value ((L / P)) of the ratio between the processing process load and the processing capacity of the computer.
by being incorporated into ma x), can be properly form the arrangement of the treatment process of automatically correspond to variations in the process load on each computer.

【0014】またネットワークに接続される全てのコン
ピュータの通信負荷が前記処理効率係数(E)に盛り込
まれていることにより、該通信負荷を考慮してコンピュ
ータへの処理プロセスの最適配置をなすことができる。
以上により、ネットワークに接続されるコンピュータシ
ステム全体として有効な処理がなされ、コンピュータシ
ステムの処理効率が向上する。
Further, since the communication loads of all the computers connected to the network are included in the processing efficiency coefficient (E), the processing processes can be optimally arranged in the computers in consideration of the communication loads. it can.
As described above, effective processing is performed as the entire computer system connected to the network, and the processing efficiency of the computer system is improved.

【0015】また請求項2ないし6記載の発明のよう
に、遺伝的アルゴリズム法によりコンピュータへの処理
プロセスを配置すれば、配置案の入れ替え及び世代更新
を配置案が所定の終了条件を満足するまで繰り返すこと
により、初期配置案から順次好適な配置案に移りつつ最
適配置案に収斂させるので、高精度で以って最適配置を
得ることができる。
If the processing process to the computer is arranged by the genetic algorithm method as in the invention according to claims 2 to 6, the arrangement plan is replaced and the generation is updated until the arrangement plan satisfies a predetermined end condition. By repeating it, the initial placement plan is sequentially shifted to the preferred placement plan, and the optimum placement plan is converged. Therefore, the optimum placement can be obtained with high accuracy.

【0016】さらに請求項7ないし8記載の発明のよう
に、アニーリング法によりコンピュータへの処理プロセ
スを配置すれば、代替配置案の適用条件となるしきい値
(S)を減少させて代替配置案の適用が行われなくなっ
たときの配置案を最適配置とすることにより、途中でプ
ロセス負荷の変動があっても該負荷変動を盛り込んだ最
適配置が得られる。
Further, when the processing process is arranged in the computer by the annealing method as in the invention according to claims 7 to 8, the threshold value (S), which is the application condition of the alternative placement plan, is reduced and the alternative placement plan is reduced. By adopting the placement plan when the application of No. is not performed as the optimum placement, even if there is a change in the process load on the way, the optimum placement including the load change can be obtained.

【0017】[0017]

【発明の実施の形態】以下、本発明を図に示した実施例
を用いて詳細に説明する。但し、この実施例に記載され
ている構成部品の寸法、材質、形状、その相対配置など
は特に特定的な記載がない限り、この発明の範囲をそれ
のみに限定する趣旨ではなく、単なる説明例にすぎな
い。
BEST MODE FOR CARRYING OUT THE INVENTION The present invention will be described in detail below with reference to the embodiments shown in the drawings. However, the dimensions, materials, shapes, relative positions, etc. of the components described in this embodiment are not intended to limit the scope of the present invention thereto, unless there is a specific description, and are merely illustrative examples. Nothing more.

【0018】図1は本発明に係るコンピュータ配置方法
の第1実施例を示す制御フローチャート、図2はコンピ
ュータ配置方法の第2実施例を示す制御フローチャート
である。図3は前記第1、2実施例におけるコンピュー
タへの処理プロセスの配置手順(その1)、図4は前記
第1、2実施例におけるコンピュータへの処理プロセス
の配置手順(その2)、図5は前記第1、2実施例にお
けるコンピュータへの処理プロセスの配置手順(その
3)を示す。図6は本発明に係るコンピュータ配置シス
テムの構成を示すブロック図である。
FIG. 1 is a control flow chart showing a first embodiment of the computer placement method according to the present invention, and FIG. 2 is a control flow chart showing a second embodiment of the computer placement method. FIG. 3 is a procedure (part 1) of arranging processing processes on computers in the first and second embodiments, and FIG. 4 is a procedure (part 2) of arranging processing processes on computers in the first and second embodiments. Shows the procedure (3) of arranging the processing processes on the computer in the first and second embodiments. FIG. 6 is a block diagram showing the configuration of the computer placement system according to the present invention.

【0019】本発明に係るコンピュータ配置システムの
構成を示す図6において、1はネットワーク3に接続さ
れる複数のコンピュータ(CPU)で、CPU#1、C
PU#2、CPU#3……CPU#nはコンピュータ番
号を示す。2(A、B、C、D……N)は前記各コンピ
ュータに配置される(負荷される)処理プロセス、
、L、L、L……Lは前記各処理プロセス
2(A、B、C、D……N)のプロセス負荷、T12
13、T14、T15……T1nは当該コンピュータ
(CPU)以外で動作する処理プロセスとの間の通信負
荷を夫々示す。
Of the computer placement system according to the present invention
In FIG. 6 showing the configuration, 1 is connected to the network 3.
CPUs # 1 and C
PU # 2, CPU # 3 ... CPU # n is the computer number
No. 2 (A, B, C, D ... N) is for each of the above
Processing processes placed (loaded) on the computer,
L 1, LTwo, LThree, LFour...... LnIs each processing process
2 (A, B, C, D ... N) process load, T12,
TThirteen, T14, T15...... T1nIs the computer
Communication with a processing process running on a device other than (CPU)
Show each load.

【0020】5は最適配置装置で、前記各コンピュータ
1に後述する配置方法によって設定された前記処理プロ
セス2を配置する。6は前記各コンピュータ1(CPU
#1、CPU#2、CPU#3……CPU#n)の処理
能力P、P、P、P……Pが設定されたコン
ピュータ処理能力設定テーブルである。7は処理プロセ
ス及び通信負荷設定テーブルで、前記処理プロセス2
(A、B、C、D……N)におけるプロセス負荷L
、L、L……L及び前記処理プロセス2が処
理される当該コンピュータ(CPU)1以外で動作する
処理プロセス2との間の通信負荷T12、T13、T
14、T15……T1n等が設定されている。前記コン
ピュータ処理能力設定テーブル6における設定データ並
びに処理プロセス及び通信負荷設定テーブル7における
設定データは前記最適配置装置5に入力される。また、
各コンピュータ1にて処理される負荷は前記最適配置装
置5にフィードバックされる。
An optimum placement device 5 places the processing process 2 set in the computer 1 by the placement method described later. 6 is each computer 1 (CPU
# 1, CPU # 2, CPU # 3 ... CPU # n) is a computer processing capacity setting table in which processing capacities P 1 , P 2 , P 3 , P 4 ... Pn are set. 7 is a processing process and communication load setting table, and the processing process 2
Process load L 1 in (A, B, C, D ... N),
Communication loads T 12 , T 13 , T 13 between L 2 , L 3 , L 4 ... L n and the processing process 2 operating on a computer other than the computer (CPU) 1 on which the processing process 2 is processed.
14 , T 15 ... T 1n and the like are set. The setting data in the computer processing capacity setting table 6 and the setting data in the processing process and communication load setting table 7 are input to the optimum placement apparatus 5. Also,
The load processed by each computer 1 is fed back to the optimum placement device 5.

【0021】次に図1〜図5に基づき、前記最適配置装
置5における各コンピュータ1における処理プロセス2
の配置方法について説明する。図1は本発明の第1実施
例に係る遺伝的アルゴリズム法によるコンピュータの配
置方法の制御フローチャートであり、図1において、先
ず、初期状態(t=0)において任意の方式を用いて処
理プロセス2(A、B、C、D……N)を処理させるコ
ンピュータ1(CPU#1、#2、#3……#n)の、
処理プロセス2―コンピュータ1間の初期配置案(図3
の配置案1、2)を複数個作成し配置案プールに格納す
る(図1のステップ(1))。
Next, based on FIGS. 1 to 5, a processing process 2 in each computer 1 in the optimum placement apparatus 5 will be described.
The arrangement method of will be described. FIG. 1 is a control flowchart of a computer arranging method by the genetic algorithm method according to the first embodiment of the present invention. In FIG. 1, first, in an initial state (t = 0), a processing process 2 is performed using an arbitrary method. Of the computer 1 (CPUs # 1, # 2, # 3, ... #n) that processes (A, B, C, D ... N),
Initial arrangement plan between processing process 2 and computer 1 (Fig. 3
A plurality of placement plans 1 and 2) are created and stored in the placement plan pool (step (1) in FIG. 1).

【0022】次いで前記各配置案について、次の方法に
よって評価を行う。前記各コンピュータ1の処理が均一
になるような最適配置即ち該各コンピュータ1の処理コ
ストが最小になる配置を示す指数として処理効率係数E
を導入する。処理効率係数(E)は次の(1)式で表わ
される。 E=(L/P)max+α・Σ(T/P) (1) ここで、P:コンピュータの処理能力 L:コンピュータの処理プロセス負荷 T:コンピュータ間でデータを送受信するに要する通信
負荷 α:コンピュータ負荷に対する通信負荷の重み係数
Next, each of the above arrangement plans is evaluated by the following method. The processing efficiency coefficient E is an index indicating the optimum arrangement for uniform processing of each computer 1, that is, the arrangement that minimizes the processing cost of each computer 1.
To introduce. The processing efficiency coefficient (E) is expressed by the following equation (1). E = (L / P) max + α · Σ (T / P) (1) where P: computer processing capacity L: computer processing process load T: communication load α required to send and receive data between computers: Communication load weighting factor for computer load

【0023】前記(1)式に示されるように、かかる処
理効率係数Eは、各コンピュータ1について該コンピュ
ータ1の処理プロセス負荷Lと当該コンピュータの処理
能力Pとの比である処理プロセス負荷能力比(L/P)
の最大値(L/P)maxと、コンピュータ毎に求めた
前記通信負荷Tとコンピュータ1の処理能力Pとの比で
ある通信負荷能力比(T/P)のコンピュータの総和に
前記重み係数αを乗じた値α・Σ(T/P)との和によ
って定義し、かかる実施例においては、後述するよう
に、この処理効率係数Eが最小になるように前記複数の
コンピュータ1―処理プロセス2間の配置を設定する。
As shown in the equation (1), the processing efficiency coefficient E is a processing process load capacity ratio which is a ratio of the processing process load L of the computer 1 to the processing capacity P of the computer 1 for each computer 1. (L / P)
The maximum value (L / P) max of the computer and the sum of the computer of the communication load capacity ratio (T / P) which is the ratio of the communication load T obtained for each computer to the processing capacity P of the computer 1 and the weighting factor α. It is defined by the sum of the value .alpha..SIGMA. (T / P) multiplied by .multidot., And in this embodiment, as will be described later, the plurality of computers 1-process 2 are arranged so that the processing efficiency coefficient E is minimized. Set the arrangement between.

【0024】前記のようにして、複数個の初期配置案つ
まり初期のt世代の配置案について処理効率係数Eを算
出して評価する(ステップ(2))。前記処理効率係数
Eの評価において、前記初期配置案中に該処理効率係数
Eが最小になる最適配置案が在るか否かそして次の世代
(t+1)に移るか否かを判断し(ステップ(3))、
最適配置案が得られれば終了し、該最適配置案にて処理
プロセス2―コンピュータ1間の配置を設定する(ステ
ップ(4))前記最適配置案が得られない場合には、初
期配置案中から該処理効率係数Eが小さいものを複数選
出する(ステップ(5))。
As described above, the processing efficiency coefficient E is calculated and evaluated for the plurality of initial placement plans, that is, the initial t generation placement plans (step (2)). In the evaluation of the processing efficiency coefficient E, it is determined whether or not there is an optimal allocation plan that minimizes the processing efficiency coefficient E in the initial allocation plan and whether to move to the next generation (t + 1). (Step (3)),
When the optimum placement plan is obtained, the process is ended, and the placement between the processing process 2 and the computer 1 is set in the optimum placement plan (step (4)). A plurality of processing efficiency coefficients E are selected (step (5)).

【0025】選出された複数個の配置案の中から任意の
2つの配置案を選択し、図3に示すように、該配置案中
の任意の場所を任意の数だけ入れ替えて(例えば配置案
1と配置案2について入れ替え)、新たな配置案(例え
ば配置案1Aと配置案2A)を複数個作成し、配置案プ
ールに蓄積する(ステップ(6))。前記配置案プール
に蓄積された新規配置案に、該配置案の突然変異とし
て、図4に示すように、該新規配置案中において任意の
頻度で任意の位置の処理プロセスを入れ替える。即ち、
所定のコンピュータ1(例えばCPU#1)で実行する
処理プロセス2(例えば処理プロセスB)を他のコンピ
ュータ1(例えばCPU#3)に移動し、当該他のコン
ピュータ1(例えばCPU#3)で実行する処理プロセ
ス2(例えば処理プロセスE)を前記所定のコンピュー
タ1(例えばCPU#1)に移動する(ステップ
(7))。
Any two placement plans are selected from the plurality of selected placement plans, and as shown in FIG. 3, any place in the placement plan is replaced by an arbitrary number (for example, the placement plan). 1 and placement plan 2 are replaced), and a plurality of new placement plans (for example, placement plan 1A and placement plan 2A) are created and stored in the placement plan pool (step (6)). As shown in FIG. 4, as a mutation of the placement plan, the new placement plan accumulated in the placement plan pool is replaced with a processing process at an arbitrary position at an arbitrary frequency in the new placement plan. That is,
A processing process 2 (for example, processing process B) executed by a predetermined computer 1 (for example, CPU # 1) is moved to another computer 1 (for example, CPU # 3) and executed by the other computer 1 (for example, CPU # 3). The processing process 2 (for example, the processing process E) to be performed is moved to the predetermined computer 1 (for example, the CPU # 1) (step (7)).

【0026】また前記配置案の突然変異の第2のケース
として、図5に示すように、複数のコンピュータ1の配
置案(例えば配置案1)中において所定のコンピュータ
(例えばCPU#1)で実行する処理プロセス2(例え
ば処理プロセスB)を他のコンピュータ(例えばCPU
#3)に移動して新しい配置案(例えば配置案1A)を
作成する操作を任意の頻度で行う(ステップ(7))。
次いで、図3に示す新たな配置案を複数個作成する操作
(ステップ(6))及び図4、5に示す突然変異の2つ
のケースでの操作(ステップ(7))を、配置案プール
にN個の新規(組替)配置案が蓄積されるまで繰り返す
(ステップ(8))。
As a second case of the mutation of the placement plan, as shown in FIG. 5, a predetermined computer (eg, CPU # 1) is executed in the placement plan (eg, placement plan 1) of a plurality of computers 1. The processing process 2 (for example, the processing process B) that executes
The operation of moving to # 3) and creating a new placement plan (eg, placement plan 1A) is performed at an arbitrary frequency (step (7)).
Then, the operation of creating a plurality of new placement plans shown in FIG. 3 (step (6)) and the operation in two cases of mutations shown in FIGS. 4 and 5 (step (7)) are added to the placement plan pool. Repeat until N new (recombinant) placement plans are accumulated (step (8)).

【0027】前記t世代の配置案について処理効率係数
Eを算出して評価する操作(ステップ(2))から配置
案プールにN個の新規(組替)配置案を蓄積する操作
(ステップ(8))までを1世代(t世代)として、順
に世代を更新して(t=t+1)、検索の終了条件を満
足するまで繰り返し(ステップ(9))、該終了条件を
満足したとき蓄積された配置案のうち前記処理効率係数
Eが最小の配置案を最適配置として出力する。該終了条
件としては、前記前記処理効率係数Eが一定のしきい値
よりも小さくなった場合、検索時間が所定の許容時間を
超過した場合等を用いる。
From the operation (step (2)) of calculating and evaluating the processing efficiency coefficient E for the t-th generation placement plan, the operation of accumulating N new (recombined) placement plans in the placement plan pool (step (8) )) As one generation (t generation), the generations are sequentially updated (t = t + 1), and repeated until the search end condition is satisfied (step (9)), and when the end condition is satisfied, the data is accumulated. Among the placement plans, the placement plan having the smallest processing efficiency coefficient E is output as the optimum placement. As the ending condition, a case where the processing efficiency coefficient E becomes smaller than a certain threshold value, a case where the search time exceeds a predetermined allowable time, or the like is used.

【0028】かかる第1実施例(遺伝的アルゴリズム
法)によれば、配置案の入れ替え及び世代更新を配置案
が所定の終了条件つまり前記処理効率係数Eが一定のし
きい値よりも小さくなった場合、検索時間が所定の許容
時間を超過した場合等を満足するまで繰り返すことによ
り、初期配置案から順次好適な配置案に移りつつ最適配
置案に収斂させるので、高精度でもって最適配置を得る
ことができる。
According to the first embodiment (genetic algorithm method), the placement plan is replaced and the generation is updated with a predetermined termination condition, that is, the processing efficiency coefficient E becomes smaller than a certain threshold value. In this case, by repeating until the search time exceeds a predetermined permissible time, etc., the initial placement plan is sequentially shifted to a preferred placement plan and converged to the optimal placement plan, so that the optimal placement can be obtained with high accuracy. be able to.

【0029】次に、図2は本発明の第2実施例に係るア
ニーリング法によるコンピュータの配置方法の制御フロ
ーチャートであり、図2において、先ず、前記第1実施
例の場合と同様に、初期状態(t=0)において任意の
方式を用いて処理プロセス2(A、B、C、D……N)
を処理させるコンピュータ1(CPU#1、#2、#3
……#n)の、処理プロセス2―コンピュータ1間の初
期配置案(図3の配置案1、2)を複数個作成し、該初
期配置案について前記(1)式により処理効率係数
(E)を算出し、該初期配置案を配置案プールに格納す
る。(図2のステップ(1))。
Next, FIG. 2 is a control flow chart of the computer placement method by the annealing method according to the second embodiment of the present invention. In FIG. 2, first, as in the case of the first embodiment, the initial state is set. Processing process 2 (A, B, C, D ... N) using an arbitrary method at (t = 0)
Computer 1 (CPUs # 1, # 2, # 3) for processing
.. #n), a plurality of initial placement plans between the processing process 2 and the computer 1 (placement plans 1 and 2 in FIG. 3) are created, and the processing efficiency coefficient (E ) Is calculated and the initial placement plan is stored in the placement plan pool. (Step (1) in FIG. 2).

【0030】前記配置案プールに蓄積された初期配置案
つまり現在配置案に、図4に示すように、該現在配置案
中において任意の頻度で任意の位置の処理プロセスを入
れ替える。即ち、所定のコンピュータ1(例えばCPU
#1)で実行する処理プロセス2(例えば処理プロセス
B)を他のコンピュータ1(例えばCPU#3)に移動
し、当該他のコンピュータ1(例えばCPU#3)で実
行する処理プロセス2(例えば処理プロセスE)を前記
所定のコンピュータ1(例えばCPU#1)に移動して
新しい代替配置案(例えば配置案1A)を作成する(図
1のステップ(7)参照)。
As shown in FIG. 4, the initial placement plan accumulated in the placement plan pool, that is, the current placement plan, is replaced with the processing process at any position in the current placement plan at an arbitrary frequency. That is, a predetermined computer 1 (for example, a CPU
Process process 2 (for example, process B) executed by # 1) is moved to another computer 1 (for example, CPU # 3), and process 2 (for example, process # 3) executed by the other computer 1 (for example, CPU # 3) is executed. The process E) is moved to the predetermined computer 1 (eg CPU # 1) to create a new alternative placement plan (eg placement plan 1A) (see step (7) in FIG. 1).

【0031】また、図5に示すように、前記現在配置案
(例えば配置案1)中において所定のコンピュータ(例
えばCPU#1)で実行する処理プロセス2(例えば処
理プロセスB)を他のコンピュータ(例えばCPU#
3)に移動して新しい代替配置案(例えば配置案1A)
を作成する操作を任意の頻度で行う(図1のステップ
(7)参照)。
Further, as shown in FIG. 5, the processing process 2 (for example, the processing process B) executed by a predetermined computer (for example, CPU # 1) in the current allocation plan (for example, the allocation plan 1) is replaced with another computer (for example, the processing process B). For example CPU #
Go to 3) and choose a new alternative placement plan (eg placement plan 1A)
Is performed at an arbitrary frequency (see step (7) in FIG. 1).

【0032】次いで、前記複数個の代替配置案について
前記(1)式により処理効率係数E1を算出する。そし
て、前記現在配置案における処理効率係数Eと前記代替
配置案における処理効率係数E1とを比較して代替配置
案適用の要否を判断する(ステップ(3))。すなわ
ち、E−E1>0のときは前記代替配置案を最適配置と
して出力する。
Next, the processing efficiency coefficient E1 is calculated from the above equation (1) for the plurality of alternative placement plans. Then, the processing efficiency coefficient E in the current placement plan and the processing efficiency coefficient E1 in the alternative placement plan are compared to determine whether or not the alternative placement plan should be applied (step (3)). That is, when E-E1> 0, the alternative placement plan is output as the optimal placement.

【0033】一方、前記代替配置案における処理効率係
数E1が現在配置案における処理効率係数Eよりも大き
いとき、即ちE−E1≦0のときには、次のようにして
最適配置を求める。即ち、前記代替配置案の適用条件と
なるしきい値Sを用い、 確率 exp((E−E1)/S) (2) によって代替配置案を適用する。前記しきい値Sの初期
値はE−E1よりも十分に大きい値とする。
On the other hand, when the processing efficiency coefficient E1 in the alternative placement plan is larger than the processing efficiency coefficient E in the current placement plan, that is, E-E1≤0, the optimum placement is obtained as follows. That is, using the threshold value S which is the application condition of the alternative placement plan, the alternative placement plan is applied with the probability exp ((E-E1) / S) (2). The initial value of the threshold value S is a value sufficiently larger than E-E1.

【0034】前記により代替配置案が適用された場合に
は、現在配置案を代替配置案とし、前記代替配置案の作
成(ステップ(2))から前記確率 exp((E−E
1)/S)による代替配置案の適用までの操作を任意の
回数繰り返す(ステップ(4))。前記しきい値Sを任
意の割合で減少させながら繰り返して(ステップ
(5)、(6))、前記代替配置案の現在配置案への適
用が行われなくなったときの代替配置案を最適配置とし
て出力する(ステップ(7)、(8))。
When the alternative placement plan is applied as described above, the current placement plan is set as the alternative placement plan, and the probability exp ((EE) is generated from the creation of the alternative placement plan (step (2)).
The operation up to the application of the alternative placement plan by 1) / S) is repeated any number of times (step (4)). Iteratively reduces the threshold S at an arbitrary rate (steps (5) and (6)) to optimally place the alternative placement plan when the alternative placement plan is no longer applied to the current placement plan. (Steps (7) and (8)).

【0035】かかる第2実施例(アニーリング法)によ
れば、代替配置案の適用条件となるしきい値(S)を減
少させて代替配置案の適用が行われなくなったときの配
置案を最適配置とするので、途中でプロセス負荷の変動
があっても該負荷変動を盛り込んだ最適配置が得られ
る。
According to the second embodiment (annealing method), the threshold value (S) which is the application condition of the alternative placement plan is reduced to optimize the placement plan when the alternative placement plan is no longer applied. Since the arrangement is adopted, even if the process load fluctuates in the middle, the optimum arrangement including the load fluctuation can be obtained.

【0036】[0036]

【発明の効果】以上記載の如く本発明によれば、ネット
ワークに接続されるコンピュータの処理プロセス負荷と
処理能力との割合の最大値及び全通信負荷とコンピュー
タ処理能力との割合の和である処理効率係数(E)を導
入し、該処理効率係数(E)が最小になるように各コン
ピュータへの処理プロセスを配置するので、ネットワー
クに接続されるコンピュータへの処理プロセスの配置を
各コンピュータの処理が均一になるように自動的に配置
することができる。
As described above, according to the present invention, the maximum value of the ratio of the processing process load and the processing capacity of the computer connected to the network and the processing which is the sum of the ratio of the total communication load and the computer processing capacity. Since the efficiency coefficient (E) is introduced and the processing process is allocated to each computer so that the processing efficiency coefficient (E) is minimized, the allocation of the processing process to the computer connected to the network is performed by each computer. Can be automatically arranged to be uniform.

【0037】さらにプロセス負荷の変動があった場合に
は、該プロセス負荷の変動分が前記コンピュータの処理
プロセス負荷と処理能力との割合の最大値に盛り込まれ
ることにより、該プロセス負荷の変動に自動的に対応し
て各コンピュータへの処理プロセスの配置を適正になす
ことができる。またネットワークに接続される全てのコ
ンピュータの通信負荷が前記処理効率係数(E)に盛り
込まれていることにより、該通信負荷を考慮してコンピ
ュータへの処理プロセスの最適配置をなすことができ
る。以上により、ネットワークに接続されるコンピュー
タシステム全体として有効な処理がなされ、コンピュー
タシステムの処理効率が向上する。
Further, when there is a change in the process load, the change amount of the process load is automatically included in the change in the process load by incorporating it into the maximum value of the ratio of the processing process load and the processing capacity of the computer. It is possible to appropriately arrange the processing processes in each computer. Further, since the communication loads of all the computers connected to the network are included in the processing efficiency coefficient (E), the processing processes can be optimally arranged in the computers in consideration of the communication loads. As described above, effective processing is performed as the entire computer system connected to the network, and the processing efficiency of the computer system is improved.

【0038】また請求項2ないし6記載の発明のよう
に、遺伝的アルゴリズム法によりコンピュータへの処理
プロセスを配置すれば、配置案の入れ替え及び世代更新
を配置案が所定の終了条件を満足するまで繰り返すこと
により、初期配置案から順次好適な配置案に移りつつ最
適配置案に収斂させるので、高精度でもって最適配置を
得ることができる。
When the processing process to the computer is arranged by the genetic algorithm method as in the inventions according to claims 2 to 6, the arrangement plan is replaced and the generation is updated until the arrangement plan satisfies a predetermined end condition. By repeating it, the initial placement plan is sequentially shifted to the preferred placement plan and the optimal placement plan is converged, so that the optimal placement can be obtained with high accuracy.

【0039】さらに請求項7ないし8記載の発明のよう
に、アニーリング法によりコンピュータへの処理プロセ
スを配置すれば、代替配置案の適用条件となるしきい値
(S)を減少させて代替配置案の適用が行われなくなっ
たときの配置案を最適配置とすることにより、途中でプ
ロセス負荷の変動があっても該負荷変動を盛り込んだ最
適配置が得られる。
Further, when the processing processes for the computer are arranged by the annealing method as in the inventions according to claims 7 to 8, the threshold value (S) which is the application condition of the alternative arrangement plan is decreased to reduce the alternative arrangement plan. By adopting the placement plan when the application of No. is not performed as the optimum placement, even if there is a change in the process load on the way, the optimum placement including the load change can be obtained.

【図面の簡単な説明】[Brief description of drawings]

【図1】 本発明に係るコンピュータ配置方法の第1実
施例を示す制御フローチャートである。
FIG. 1 is a control flowchart showing a first embodiment of a computer placement method according to the present invention.

【図2】 コンピュータ配置方法の第2実施例を示す制
御フローチャートである。
FIG. 2 is a control flowchart showing a second embodiment of a computer placement method.

【図3】 前記第1、2実施例におけるコンピュータへ
の処理プロセスの配置手順(その1)である。
FIG. 3 is a procedure (No. 1) of arranging processing processes on a computer in the first and second embodiments.

【図4】 前記第1、2実施例におけるコンピュータへ
の処理プロセスの配置手順(その2)である。
FIG. 4 is a procedure (No. 2) of arranging processing processes on a computer in the first and second embodiments.

【図5】 前記第1、2実施例におけるコンピュータへ
の処理プロセスの配置手順(その3)である。
FIG. 5 is a procedure (No. 3) of arranging processing processes on a computer in the first and second embodiments.

【図6】 本発明に係るコンピュータ配置システムの構
成を示すブロック図である。
FIG. 6 is a block diagram showing a configuration of a computer placement system according to the present invention.

【図7】 従来技術を示す図6対応図である。FIG. 7 is a diagram corresponding to FIG. 6 showing a conventional technique.

【符号の説明】[Explanation of symbols]

1(CPU#1、CPU#2、CPU#3……CPU#
n) コンピュータ 2(A、B、C、D……N) 処理プロセス 3 ネットワーク 5 最適配置装置 6 コンピュータ処理能力設定テーブル P、P、P、P……P コンピュータ処理能
力 L、L、L、L……L プロセス負荷 T12、T13、T14、T15……T1n 通信負荷 7 処理プロセス及び通信負荷設定テーブル
1 (CPU # 1, CPU # 2, CPU # 3 ... CPU #
n) Computer 2 (A, B, C, D ... N) Processing process 3 Network 5 Optimal placement device 6 Computer processing capacity setting table P 1 , P 2 , P 3 , P 4 ... P n Computer processing capacity L 1 , L 2 , L 3 , L 4 ... L n process load T 12 , T 13 , T 14 , T 15 ... T 1n communication load 7 processing process and communication load setting table

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 ネットワークに接続される複数のコンピ
ュータを、該コンピュータの処理能力と該ネットワーク
からの各コンピュータへの処理プロセス負荷との関係に
より配置するコンピュータの配置方法において、前記各
コンピュータについて該コンピュータの処理プロセス負
荷(L)と当該コンピュータの処理能力(P)との比で
ある処理プロセス負荷能力比(L/P)を算出してその
最大値を選出し、前記コンピュータ間でデータを送受信
するに要する通信負荷(T)と前記コンピュータの処理
能力(P)との比である通信負荷能力比(T/P)をコ
ンピュータ毎に求めてその総和を算出し、前記処理プロ
セス負荷能力比(L/P)の最大値と通信負荷能力比
(T/P)の総和との和である処理効率係数(E=(L
/P)max+α・Σ(T/P)(αはコンピュータ負
荷に対する通信負荷の重み係数))が最小になるように
前記複数のコンピュータを前記ネットワークに対して配
置することを特徴とするコンピュータの配置方法。
1. A method of arranging a plurality of computers connected to a network according to the relationship between the processing capacity of the computer and the processing process load from the network to each computer, wherein the computer is provided for each computer. Of the processing process load (L) and the processing capacity (P) of the computer, the processing process load capacity ratio (L / P) is calculated, the maximum value is selected, and data is transmitted and received between the computers. The communication load capacity ratio (T / P), which is the ratio of the communication load (T) required by the computer to the processing capacity (P) of the computer, is calculated for each computer, and the total sum is calculated. / P) maximum value and the sum of the communication load capacity ratio (T / P), which is the processing efficiency coefficient (E = (L
/ P) max + α · Σ (T / P) (α is a weighting coefficient of the communication load with respect to the computer load)) is arranged in the network so that the plurality of computers are arranged in the network. Arrangement method.
【請求項2】 ネットワークに接続される複数のコンピ
ュータを、該コンピュータの処理能力と該ネットワーク
からの各コンピュータへの処理プロセス負荷との関係に
より配置するコンピュータの配置方法において、前記複
数のコンピュータについての前記処理プロセスの任意の
初期配置案を作成し、該初期配置案及び該初期配置案を
ベースに組み替えた組替配置案ついて、コンピュータの
処理プロセス負荷(L)、該コンピュータの処理能力
(P)、前記コンピュータ間でデータを送受信するに要
する通信負荷(T)とにより処理効率係数E(E=(L
/P)max+α・Σ(T/P):ここで(L/P)
maxは処理プロセス負荷能力比(L/P)の最大値、
Σ(T/P)は通信負荷能力比(T/P)の各コンピュ
ータの総和、αはコンピュータ負荷に対する通信負荷の
重み係数)を算出して蓄積し、かかる蓄積までの操作を
前記処理効率係数Eが一定値よりも小さくなりかつ所定
の終了条件を満足するまで世代を更新して繰り返し、該
終了条件を満足したとき蓄積された前記配置案のうち前
記処理効率係数Eが最小の配置案を最適配置として出力
することを特徴とするコンピュータの配置方法。
2. A computer arranging method for arranging a plurality of computers connected to a network according to a relation between a processing capacity of the computer and a processing process load from the network to each computer. An arbitrary initial placement plan of the processing process is created, and the initial placement plan and the rearrangement placement plan rearranged based on the initial placement plan are the processing process load (L) of the computer and the processing capacity (P) of the computer. , A processing efficiency coefficient E (E = (L
/ P) max + α · Σ (T / P): Here (L / P)
max is the maximum value of the processing process load capacity ratio (L / P),
Σ (T / P) is the sum of the communication load capacity ratios (T / P) of each computer, and α is the weighting factor of the communication load with respect to the computer load), and the accumulated values are calculated. Generations are updated and repeated until E becomes smaller than a predetermined value and a predetermined end condition is satisfied, and when the end condition is satisfied, the allocation plan with the minimum processing efficiency coefficient E is selected. A method for arranging computers, which outputs as an optimum arrangement.
【請求項3】 前記処理効率係数Eが一定のしきい値よ
りも小さくなったとき前記終了条件とすることを特徴と
する請求項2記載のコンピュータの配置方法。
3. The computer arranging method according to claim 2, wherein the termination condition is set when the processing efficiency coefficient E becomes smaller than a predetermined threshold value.
【請求項4】 前記組替配置案を、複数組の初期配置案
中における任意の2組の配置案の間で、複数の処理プロ
セスの中の所定の処理プロセスを実行するコンピュータ
を入れ替えて作成することを特徴とする請求項2記載の
コンピュータの配置方法。
4. The rearrangement placement plan is created by replacing a computer that executes a predetermined processing process among a plurality of processing processes between arbitrary two sets of placement plans in a plurality of sets of initial placement plans. The method for arranging a computer according to claim 2, wherein:
【請求項5】 前記組替配置案を、1つの配置案中にお
けるコンピュータ間で処理プロセスを一定の頻度にて入
れ替えて作成することを特徴とする請求項2記載のコン
ピュータの配置方法。
5. The computer arranging method according to claim 2, wherein the rearrangement arrangement plan is created by exchanging processing processes at a constant frequency among the computers in one arrangement proposal.
【請求項6】 前記組替配置案を、前記複数のコンピュ
ータの配置案中において所定のコンピュータで実行する
処理プロセスを他のコンピュータに移動して作成するこ
とを特徴とする請求項2記載のコンピュータの配置方
法。
6. The computer according to claim 2, wherein the rearrangement placement plan is created by moving a processing process executed by a predetermined computer in the placement plan of the plurality of computers to another computer. How to place.
【請求項7】 ネットワークに接続される複数のコンピ
ュータを、該コンピュータの処理能力と該ネットワーク
からの各コンピュータへの処理プロセス負荷との関係に
より配置するコンピュータの配置方法において、前記複
数のコンピュータの前記処理プロセス負荷に対応する現
在の配置案について、前記コンピュータの処理プロセス
負荷(L)、該コンピュータの処理能力(P)、前記コ
ンピュータ間でデータを送受信するに要する通信負荷
(T)とにより処理効率係数E(E=(L/P)max
+α・Σ(T/P):ここで(L/P)maxは処理プ
ロセス負荷能力比(L/P)の最大値、Σ(T/P)は
通信負荷能力比(T/P)の各コンピュータの総和、α
はコンピュータ負荷に対する通信負荷の重み係数)を算
出し、前記初期配置案中における複数のコンピュータ間
で任意の位置にて処理プロセスを入れ替えて代替配置案
を設定し、次いで該代替配置案について前記処理効率係
数Eに対応する処理効率係数E1を算出し、前記代替配
置案における処理効率係数E1が現在の配置案における
処理効率係数Eよりも小さいとき(即ちE−E1>0の
とき)前記代替配置案を最適配置として出力することを
特徴とするコンピュータの配置方法。
7. A computer arranging method for arranging a plurality of computers connected to a network according to a relation between a processing capacity of the computer and a processing process load from the network to each computer, Regarding the current placement plan corresponding to the processing process load, the processing efficiency is determined by the processing process load (L) of the computer, the processing capacity (P) of the computer, and the communication load (T) required to send and receive data between the computers. Coefficient E (E = (L / P) max
+ Α · Σ (T / P): Here, (L / P) max is the maximum value of the processing process load capacity ratio (L / P), and Σ (T / P) is each of the communication load capacity ratio (T / P). Computer sum, α
Calculates a weighting factor of the communication load with respect to the computer load), replaces the processing process at any position among the plurality of computers in the initial placement plan to set the alternative placement plan, and then performs the above-mentioned processing for the alternative placement plan. The processing efficiency coefficient E1 corresponding to the efficiency coefficient E is calculated, and when the processing efficiency coefficient E1 in the alternative placement plan is smaller than the processing efficiency coefficient E in the current placement plan (that is, E-E1> 0), the alternative placement A method for arranging computers, characterized in that the plan is output as an optimum arrangement.
【請求項8】 ネットワークに接続される複数のコンピ
ュータを、該コンピュータの処理能力と該ネットワーク
からの各コンピュータへの処理プロセス負荷との関係に
より配置するコンピュータの配置方法において、前記複
数のコンピュータの前記処理プロセス負荷に対応する現
在の配置案について、前記コンピュータの処理プロセス
負荷(L)、該コンピュータの処理能力(P)、前記コ
ンピュータ間でデータを送受信するに要する通信負荷
(T)とにより処理効率係数E(E=(L/P)max
+α・Σ(T/P);ここで(L/P)maxは処理プ
ロセス負荷能力比(L/P)の最大値、Σ(T/P)は
通信負荷能力比(T/P)の各コンピュータの総和、α
はコンピュータ負荷に対する通信負荷の重み係数)を算
出し、前記現在の配置案中における複数のコンピュータ
間で任意の位置にて処理プロセスを入れ替えて代替配置
案を設定し、次いで該代替配置案について前記処理効率
係数Eに対応する処理効率係数E1を算出し、前記代替
配置案における処理効率係数E1が現在の配置案におけ
る処理効率係数Eよりも大きいとき(即ちE−E1≦0
のとき)には、前記代替配置案の適用条件となるしきい
値(S)を用いて該代替配置案の現在の配置案への適用
の要否を判定する動作を前記しきい値(S)を減少しな
がら繰り返して、前記代替配置案の現在の配置案への適
用が行われなくなったときの代替配置案を最適配置とし
て出力することを特徴とするコンピュータの配置方法。
8. A computer arranging method for arranging a plurality of computers connected to a network according to a relation between a processing capacity of the computer and a processing process load from the network to each computer, wherein Regarding the current placement plan corresponding to the processing process load, the processing efficiency is determined by the processing process load (L) of the computer, the processing capacity (P) of the computer, and the communication load (T) required to send and receive data between the computers. Coefficient E (E = (L / P) max
+ Α · Σ (T / P); where (L / P) max is the maximum value of the processing process load capacity ratio (L / P), and Σ (T / P) is each of the communication load capacity ratio (T / P). Computer sum, α
Calculates a weighting factor of communication load with respect to computer load), sets a substitute placement plan by exchanging processing processes at arbitrary positions among a plurality of computers in the current placement plan, and then, regarding the substitute placement plan, A processing efficiency coefficient E1 corresponding to the processing efficiency coefficient E is calculated, and when the processing efficiency coefficient E1 in the alternative placement plan is larger than the processing efficiency coefficient E in the current placement plan (that is, E−E1 ≦ 0).
In this case), the threshold value (S) that is the application condition of the alternative placement plan is used to determine whether or not the alternative placement plan should be applied to the current placement plan. ) Is repeatedly reduced while outputting the alternative placement plan as an optimal placement when the alternative placement plan is no longer applied to the current placement plan.
JP2001242794A 2001-08-09 2001-08-09 Computer arrangement method Withdrawn JP2003058520A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001242794A JP2003058520A (en) 2001-08-09 2001-08-09 Computer arrangement method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001242794A JP2003058520A (en) 2001-08-09 2001-08-09 Computer arrangement method

Publications (1)

Publication Number Publication Date
JP2003058520A true JP2003058520A (en) 2003-02-28

Family

ID=19073010

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001242794A Withdrawn JP2003058520A (en) 2001-08-09 2001-08-09 Computer arrangement method

Country Status (1)

Country Link
JP (1) JP2003058520A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005285098A (en) * 2004-03-05 2005-10-13 Toshiba Corp Computer system analysis device
JP2008269250A (en) * 2007-04-19 2008-11-06 Ffc Ltd Load balancing device, virtual server management system, load balancing method, and load balancing program
JP2009277022A (en) * 2008-05-15 2009-11-26 Fujitsu Ltd Information processing system, load control method, and load control program
WO2011074699A1 (en) * 2009-12-18 2011-06-23 日本電気株式会社 Distributed processing management server, distributed system, distributed processing management program, and distributed processing management method
WO2011138879A1 (en) * 2010-05-06 2011-11-10 株式会社日立製作所 Operation management device and operation management method of information processing system
WO2012066633A1 (en) * 2010-11-16 2012-05-24 富士通株式会社 Communication device, load distribution method and storage medium
WO2012161289A1 (en) * 2011-05-23 2012-11-29 日本電気株式会社 Communication control device, communication control system, communication control method, and program
JP2013008089A (en) * 2011-06-22 2013-01-10 Hitachi Ltd Calculation method for configuration pattern of computer system, and calculation device for configuration pattern

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9049036B2 (en) 2004-03-05 2015-06-02 Kabushiki Kaisha Toshiba Computer system analyzing apparatus and computer system analyzing method
JP4679167B2 (en) * 2004-03-05 2011-04-27 株式会社東芝 Computer system analyzer
JP2005285098A (en) * 2004-03-05 2005-10-13 Toshiba Corp Computer system analysis device
JP2008269250A (en) * 2007-04-19 2008-11-06 Ffc Ltd Load balancing device, virtual server management system, load balancing method, and load balancing program
JP4739272B2 (en) * 2007-04-19 2011-08-03 株式会社富士通アドバンストエンジニアリング Load distribution apparatus, virtual server management system, load distribution method, and load distribution program
JP2009277022A (en) * 2008-05-15 2009-11-26 Fujitsu Ltd Information processing system, load control method, and load control program
WO2011074699A1 (en) * 2009-12-18 2011-06-23 日本電気株式会社 Distributed processing management server, distributed system, distributed processing management program, and distributed processing management method
JP5929196B2 (en) * 2009-12-18 2016-06-01 日本電気株式会社 Distributed processing management server, distributed system, distributed processing management program, and distributed processing management method
WO2011138879A1 (en) * 2010-05-06 2011-11-10 株式会社日立製作所 Operation management device and operation management method of information processing system
WO2012066633A1 (en) * 2010-11-16 2012-05-24 富士通株式会社 Communication device, load distribution method and storage medium
JP5527425B2 (en) * 2010-11-16 2014-06-18 富士通株式会社 COMMUNICATION DEVICE, LOAD DISTRIBUTION METHOD, AND RECORDING MEDIUM
US9021217B2 (en) 2010-11-16 2015-04-28 Fujitsu Limited Communication apparatus, load distribution method, and recording medium
WO2012161289A1 (en) * 2011-05-23 2012-11-29 日本電気株式会社 Communication control device, communication control system, communication control method, and program
US9124508B2 (en) 2011-05-23 2015-09-01 Nec Corporation Communication control device communication control system, communication control method and program
JP5929908B2 (en) * 2011-05-23 2016-06-08 日本電気株式会社 COMMUNICATION CONTROL DEVICE, COMMUNICATION CONTROL SYSTEM, COMMUNICATION CONTROL METHOD, AND PROGRAM
JP2013008089A (en) * 2011-06-22 2013-01-10 Hitachi Ltd Calculation method for configuration pattern of computer system, and calculation device for configuration pattern

Similar Documents

Publication Publication Date Title
CN108540406B (en) Network unloading method based on hybrid cloud computing
US7085574B2 (en) Grant channel assignment
CN109002358B (en) Mobile terminal software self-adaptive optimization scheduling method based on deep reinforcement learning
US20230144062A1 (en) Method for computational-power sharing and related device
Chang et al. Adaptive multi-objective genetic algorithms for scheduling of drilling operation in printed circuit board industry
CN110096362A (en) A kind of multitask discharging method based on Edge Server cooperation
WO2003006215A2 (en) Robotic system control
JP2007505507A (en) Machining system schedule using multiple robots
JP2003058520A (en) Computer arrangement method
JP3950460B2 (en) Method and apparatus for resource allocation and scheduling
CN111132348A (en) Resource scheduling method for mobile edge computing and mobile edge computing system
Kim et al. A memetic algorithm for channel assignment in wireless FDMA systems
KR101319904B1 (en) Optimization method for channel assignment and optimization equipment for channel assignment
US6859486B1 (en) Method for predicting interference in a frequency hopping cellular communications system
JP2021158591A (en) Control amount calculation device and control amount calculation method
CN110536308A (en) A kind of multinode calculating discharging method based on game
KR102562732B1 (en) Apparatus and Method for Task Offloading of MEC-Based Wireless Network
Arasli et al. Group testing with a dynamic infection spread
CN111372268B (en) Method for optimizing joint wireless resource management and task unloading in ultra-dense network
CN112994911B (en) Calculation unloading method and device and computer readable storage medium
Wu et al. Admission control for wireless networks
US20070192511A1 (en) Device and method for transmitting data
US8352304B2 (en) System and method for allocating jobs to an agent
US20240022961A1 (en) Network connection control system and method
CN113709817B (en) Task unloading and resource scheduling method and device under multi-base-station multi-server scene

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20081104