[go: up one dir, main page]

JPH0883257A - Process execution optimization method for parallel computer systems - Google Patents

Process execution optimization method for parallel computer systems

Info

Publication number
JPH0883257A
JPH0883257A JP6218396A JP21839694A JPH0883257A JP H0883257 A JPH0883257 A JP H0883257A JP 6218396 A JP6218396 A JP 6218396A JP 21839694 A JP21839694 A JP 21839694A JP H0883257 A JPH0883257 A JP H0883257A
Authority
JP
Japan
Prior art keywords
processor
execution
processing
utilization rate
management
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.)
Pending
Application number
JP6218396A
Other languages
Japanese (ja)
Inventor
Takanori Shibata
恭徳 柴田
Natsuo Tanaka
夏朗 田中
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.)
Hitachi Ltd
Hitachi System Engineering Ltd
Original Assignee
Hitachi Ltd
Hitachi System Engineering 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 Hitachi Ltd, Hitachi System Engineering Ltd filed Critical Hitachi Ltd
Priority to JP6218396A priority Critical patent/JPH0883257A/en
Publication of JPH0883257A publication Critical patent/JPH0883257A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

(57)【要約】 【目的】 実行途中で動的に、利用率の高いプロセッサ
のプロセスを利用率の低いプロセッサへ移動させて、効
率良く業務を処理する。 【構成】 管理用プロセッサ11と複数の処理用プロセ
ッサ12,13,14がネットワーク15により接続さ
れている。管理用プロセッサ11のメモリ16には、プ
ロセスを移動する際の優先順位を定義した優先度管理テ
ーブル20、各処理用プロセッサの実行プロセス、実行
利用率を管理する実行プロセス管理テーブル30があ
る。管理用プロセッサ11は、実行プロセス管理テーブ
ル30により、利用率の高い処理用プロセッサと利用率
の低い処理用プロセッサが存在する場合、該利用率の高
いプロセッサで実行中の複数のプロセスの中から、優先
度管理テーブル20を参照して優先順位の一番低いプロ
セスを選択し、利用率の低いプロセッサへ移動する。
(57) [Summary] [Purpose] Dynamically move the process of a processor with a high utilization rate to a processor with a low utilization rate in the middle of execution to efficiently process jobs. [Configuration] A management processor 11 and a plurality of processing processors 12, 13, and 14 are connected by a network 15. The memory 16 of the management processor 11 includes a priority management table 20 that defines priorities when moving processes, an execution process of each processing processor, and an execution process management table 30 that manages an execution utilization rate. According to the execution process management table 30, the management processor 11 determines, when there is a processing processor with a high usage rate and a processing processor with a low usage rate, from among a plurality of processes being executed by the processor with a high usage rate. The process with the lowest priority is selected by referring to the priority management table 20, and the process is moved to the processor with a low utilization rate.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、複数のプロセッサが高
速ネットワークに接続され、複数業務の複数プロセスを
同時に実行する並列コンピュータシステムにおいて、複
数のプロセスを各プロセッサで効率よく分散して実行す
るプロセス最適化方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a parallel computer system in which a plurality of processors are connected to a high-speed network and execute a plurality of processes for a plurality of jobs at the same time. Regarding the optimization method.

【0002】[0002]

【従来の技術】一般に並列コンピュータシステムにおい
て業務を実行している場合、利用率の高い(負荷の集中
した)プロセッサと、利用率の低い(負荷の少ない或い
はかかっていない)プロセッサが発生する。このような
場合、従来のこの種コンピュータシステムでは、オペレ
ータの操作なしに自動的に性能が足りないプロセッサで
実行中のプロセスを、他の性能的に余裕のあるプロセッ
サへ移動させて行う処理ができなかった。
2. Description of the Related Art Generally, when a task is executed in a parallel computer system, a processor having a high utilization rate (a load is concentrated) and a processor having a low utilization rate (a light load or no load) occur. In such a case, a conventional computer system of this type can automatically perform a process by moving a process running on a processor with insufficient performance to another processor with sufficient performance without operator operation. There wasn't.

【0003】[0003]

【発明が解決しようとする課題】従来技術においては、
並列コンピュータシステムの各プロセッサで実行するプ
ロセスの振り分けを変更する場合、一々、オペレータの
操作を必要とするため、利用率の高いプロセッサと利用
率の低いプロセッサがある場合、実行途中で、利用率の
高いプロセッサで実行中のプロセスの一部をダイナミッ
クに利用率の低いプロセッサに移動して効率よく処理を
行うことができないという問題があった。
In the prior art,
When changing the distribution of processes executed by each processor in a parallel computer system, it requires an operator's operation one by one, so if there is a processor with a high utilization rate and a processor with a low utilization rate, the utilization There has been a problem that a part of the process running on the high processor cannot be efficiently moved by dynamically moving to a processor with a low utilization rate.

【0004】本発明の目的は、並列コンピュータシステ
ムにおいて、利用率の高いプロセッサのプロセスを、利
用率の低いプロセッサへ、実行途中に、オペレータの操
作なしに自動的且つダイナミックに移動して効率よく処
理を行う、プロセス実行最適化方法を提供することにあ
る。
It is an object of the present invention to efficiently and efficiently process a process of a processor having a high utilization rate to a processor having a low utilization rate in a parallel computer system during execution while automatically and dynamically without an operator's operation. To provide a process execution optimization method.

【0005】[0005]

【課題を解決するための手段】本発明は、複数プロセス
を並列に処理する複数の処理用プロセッサと、これら処
理用プロセッサの実行プロセスを管理する管理用プロセ
ッサを具備し、該管理用プロセッサは、各処理用プロセ
ッサで処理されるプロセスの優先順位と、各処理用プロ
セッサの実行利用率を保持し、自動的に、実行利用率の
高い処理用プロセッサで実行中の複数のプロセスの中か
ら優先順位の低いプロセスを選択して、実行利用率の低
い処理用プロセッサへ移動するようにしたことである。
SUMMARY OF THE INVENTION The present invention comprises a plurality of processing processors for processing a plurality of processes in parallel, and a management processor for managing the execution processes of these processing processors. The priority order of the processes processed by each processing processor and the execution utilization rate of each processing processor are retained, and the priority order is automatically selected from the multiple processes being executed by the processing processors with high execution utilization rates. That is, a process with a low execution rate is selected and moved to a processing processor with a low execution utilization rate.

【0006】[0006]

【作用】管理用プロセッサは各処理用プロセッサから、
一定時間毎あるいは必要に応じ、その時点の実行利用率
を収集する。そして、この収集した各処理用プロセッサ
の実行利用率によって、実行利用率の高い(負荷の集中
した)プロセッサで実行中の複数プロセスの中から、優
先順位の一番低いプロセスの実行を停止し、該停止まで
の実行結果、プログラム停止ポイントを当該プロセスと
共に、実行利用率の低い(負荷の少ない)プロセッサへ
転送する。該実行利用率の低いプロセッサは、転送され
たプロセスを、その停止までの実行結果、プログラム停
止ポイントに基づいて処理を続行する。なお、管理用プ
ロセッサは、複数の処理用プロセッサの中の任意のプロ
セッサが兼ねてもよい。
[Operation] The management processor receives from each processing processor,
The execution utilization rate at that time is collected at regular intervals or as needed. Then, according to the collected execution utilization rate of each processing processor, the execution of the process having the lowest priority is stopped from the plurality of processes being executed by the processor having a high execution utilization rate (the load is concentrated), As a result of execution up to the stop, the program stop point is transferred together with the process to a processor with a low execution utilization rate (low load). The processor having a low execution utilization rate continues the processing of the transferred process based on the execution result up to the stop and the program stop point. The management processor may be an arbitrary processor among the plurality of processing processors.

【0007】[0007]

【実施例】以下、本発明の一実施例を図面により説明す
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0008】図1は本発明の一実施例のシステム構成図
で、プロセッサ11〜14が高速なネットワーク15に
接続されている。本実施例では、プロセッサ11を管理
用プロセッサ、プロセッサ12〜14をプロセス実行の
処理用プロセッサとし、管理用プロセッサ11のメモリ
16に、各処理用プロセッサで実行されるプロセスの優
先度を管理する優先度管理テーブル20と、各処理用プ
ロセッサの実行プロセス、規定利用率、実行利用率を管
理する実行プロセス管理テーブル30を用意する。〜
は、処理用プロセッサ12〜14上の現実行中のプロ
セスを示している。
FIG. 1 is a system configuration diagram of an embodiment of the present invention. Processors 11 to 14 are connected to a high speed network 15. In the present embodiment, the processor 11 is a management processor, the processors 12 to 14 are process execution processors, and the memory 16 of the management processor 11 has a priority for managing the priority of the process executed by each processing processor. A degree management table 20 and an execution process management table 30 for managing the execution process of each processing processor, the prescribed usage rate, and the execution usage rate are prepared. ~
Indicates a currently executing process on the processing processors 12 to 14.

【0009】なお、プロセッサ11〜14を全て処理用
プロセッサとし、その任意のプロセッサが管理用プロセ
ッサを兼ねるようにしてもよい。これは管理用プロセッ
サが故障した場合に、その機能を他のプロセッサに引き
継げる利点がある。
It should be noted that all the processors 11 to 14 may be processing processors, and any of the processors may also function as a management processor. This has the advantage that if the management processor fails, its function can be taken over by another processor.

【0010】図2は、管理用プロセッサ11のメモリ1
6上にある優先度管理テーブル20の構成例を示したも
ので、21は実行業務名、22は実行業務の優先順位、
23は各実行業務に対応するプロセスID、24はプロ
セスの優先順位である。本例の場合、業務の優先順位は
A>B>Cであり、プロセスの優先順位は各々>、
>、>である。優先順位をつける基準は、業務
やプロセスの重要度でもよいし、緊急度でも構わなく、
使うシステムにより可変でもよい。
FIG. 2 shows the memory 1 of the management processor 11.
6 shows an example of the configuration of the priority management table 20 shown in FIG.
Reference numeral 23 is a process ID corresponding to each execution work, and 24 is a priority order of processes. In the case of this example, the work priority is A>B> C, and the process priority is>,
>,>. The criteria for prioritizing may be the importance of the business or process or the urgency,
It may be variable depending on the system used.

【0011】図3は、管理プロセッサ11の同じくメモ
リ16上にある実行プロセス管理テーブル30の構成例
を示したもので、31はプロセッサ番号、32は各プロ
セッサでの現実行中のプロセス(実行プロセス)、33
は各プロセッサについて実行プロセスを軽減するプロセ
ッサを決める目安となる負荷の上限を定めた規定利用率
(MAX)、34は実行プロセスの移動先のプロセッサ
を決める目安となる負荷の下限を定めた規定利用率(M
IN)、35は各プロセッサの実際の負荷の利用率(実
行利用率)である。実行利用率は、例えば、一定時間当
りのメモリアクセス回数(アクセス頻度)で定義する。
FIG. 3 shows an example of the configuration of the execution process management table 30 also on the memory 16 of the management processor 11, where 31 is the processor number and 32 is the currently executing process (execution process) in each processor. ), 33
Is a specified utilization rate (MAX) that defines the upper limit of the load that is a guideline for determining the processor that reduces the execution process for each processor, and 34 is a specified usage that defines the lower limit of the load that is a guideline that determines the processor to which the execution process is moved. Rate (M
IN), 35 is the actual load utilization rate (execution utilization rate) of each processor. The execution utilization rate is defined by, for example, the number of memory accesses per certain time (access frequency).

【0012】本実施例では、図3のプロセッサ番号1〜
3は、図1の処理用プロセッサ12,13,14に対応
するとする。図3より、プロセッサ12はプロセスと
、プロセッサ13はプロセスと、プロセッサ14
はプロセスとを実行し、その実行利用率35はそれ
ぞれ90%,10%,30%である。一方、規定利用率
33,34は、ここではプロセッサ12,13,14と
も一律に80%,20%としている。
In this embodiment, processor numbers 1 to 1 in FIG.
3 corresponds to the processing processors 12, 13, and 14 of FIG. From FIG. 3, the processor 12 is a process, the processor 13 is a process, and the processor 14 is
Executes processes and their execution utilization rates 35 are 90%, 10% and 30%, respectively. On the other hand, the specified utilization rates 33 and 34 are set to 80% and 20% uniformly for the processors 12, 13, and 14 here.

【0013】管理用プロセッサ11は、実行プロセス管
理テーブル30を参照して、実行利用率80%以上(負
荷が集中している)の処理用プロセッサがあり、しか
も、実行利用率20%以下(負荷が少ない)の処理用プ
ロセッサがある場合、実行利用率80%以上の処理用プ
ロセッサで処理している複数のプロセスの中から、優先
度管理テーブル20を参照して、優先順位の一番低いプ
ロセスを選択し、その処理を実行利用率20%以下の処
理用プロセッサへ移動する。図2および図3において
は、プロセッサ番号1の処理用プロセッサ12のプロセ
スの処理が、プロセッサ番号2の処理用プロセッサ1
3に移動せしめられる。
The management processor 11 refers to the execution process management table 30, and there is a processing processor having an execution utilization rate of 80% or more (the load is concentrated), and further, an execution utilization rate of 20% or less (load). If there is a processing processor with a low priority, the process with the lowest priority is referred to by referring to the priority management table 20 from the plurality of processes being processed by the processing processor with an execution utilization rate of 80% or more. Is selected, and the processing is moved to a processing processor having an execution utilization rate of 20% or less. In FIGS. 2 and 3, the processing of the process of the processing processor 12 having the processor number 1 is the processing processor 1 of the processor number 2.
Moved to 3.

【0014】図4は、各処理プロセッサへのプロセスの
配布から、プロセッサの実行利用率によってプロセスを
移動させる処理の流れを示すフローチャート、図5はそ
の際に管理用プロセッサと処理用プロセッサ間で授受さ
れるデータ形式を示す図である。以下、図4および図5
を参照して、実行利用率の高いプロセッサの実行中プロ
セスを実行利用率の低いプロセッサに、オペレータの操
作なしに自動的に移動させる処理を、具体的に説明す
る。
FIG. 4 is a flow chart showing the flow of processing from distribution of the process to each processing processor to movement of the process according to the execution utilization rate of the processor, and FIG. 5 at that time is exchanged between the management processor and the processing processor. It is a figure which shows the data format performed. Hereinafter, FIGS. 4 and 5
A process for automatically moving a process being executed by a processor having a high execution utilization rate to a processor having a low execution utilization rate will be described with reference to FIG.

【0015】管理用プロセッサ11は、実行業務をスケ
ーリングし、各処理用プロセッサ12,13,14へ実
行すべきプロセスを配布する(ステップ401)。図5
の501は、この実行プロセス配布時のデータ形式を示
したものである。実行プロセスの配布はプロセッサ毎、
ブロードキャストのいずれでもよいが、各プロセッサに
は、プロセス間の通信の必要性などのため、他のプロセ
ッサの実行プロセスIDも配布しておく。また、管理用
プロセッサ11は、この実行プロセス配布時、メモリ1
6上の優先度管理テーブル20に業務毎、プロセス毎の
優先度を設定し、実行プロセス管理テーブル30に各管
理用プロセッサ12,13,14が実行するプロセスを
格納しておく。実行プロセス管理テーブル30の規定利
用率33,34はあらかじめ設定しておくか、あるい
は、当該ステップ401で実行プロセスと対に設定する
ことでもよい。各プロセッサの実行利用率35は、初期
状態ではすべて零である。
The management processor 11 scales the execution work and distributes the process to be executed to each processing processor 12, 13, 14 (step 401). Figure 5
501 indicates a data format at the time of distributing this execution process. Execution process distribution is per processor,
Although it may be broadcast, the execution process IDs of other processors are also distributed to each processor due to the necessity of communication between processes. Also, the management processor 11 uses the memory 1 when distributing the execution process.
6 sets the priority for each business and each process in the priority management table 20 and stores the process executed by each management processor 12, 13, 14 in the execution process management table 30. The specified utilization rates 33 and 34 of the execution process management table 30 may be set in advance, or may be set in a pair with the execution process in the step 401. The execution utilization rate 35 of each processor is all zero in the initial state.

【0016】各処理用プロセッサ12,13,14は、
管理用プロセッサ11から配布されたプロセスの処理を
開始する(ステップ402)。本実施例では、プロセッ
サ番号1のプロセッサ12はプロセスと、プロセッ
サ番号2のプロセッサ13はプロセスと、プロセッ
サ番号3のプロセッサ14はプロセスとの処理を開
始する。
Each processing processor 12, 13, 14 is
The processing of the process distributed from the management processor 11 is started (step 402). In this embodiment, the processor 12 having the processor number 1 starts processing, the processor 13 having the processor number 2 starts processing, and the processor 14 having the processor number 3 starts processing.

【0017】各処理用プロセッサ12,13,14は、
各種データ等を格納する記憶装置を具備しており、該記
憶装置をアクセスすることでプロセスを処理し、また、
必要があれば他のプロセッサのプロセスと通信して、該
他プロセッサの記憶装置をアクセスする。ここでは、こ
の記憶装置に対するアクセス頻度をプロセッサの実行利
用率(負荷の集中度)の目安とする。各処理用プロセッ
サ12,13,14では、プロセスの処理を開始する
と、時々刻々記憶装置に対する一定時間当りのアクセス
回数をカウントし、その最新の値を実行利用率として保
持しておく。なお、実行利用率は、一定時間当りの命令
処理数などを目安とすることでもよい。
Each processing processor 12, 13, 14 is
A storage device for storing various data is provided, and the process is processed by accessing the storage device.
If necessary, it communicates with the process of another processor to access the storage device of the other processor. Here, the access frequency to this storage device is used as a measure of the execution utilization rate (degree of load concentration) of the processor. When the processing of each process is started, each of the processing processors 12, 13, 14 counts the number of times of access to the storage device per unit time, and holds the latest value as the execution utilization rate. It should be noted that the execution utilization rate may be based on the number of instruction processings per fixed time.

【0018】管理用プロセッサ11は、各処理用プロセ
ッサ12,13,14の上記実行利用率を収集し、実行
プロセス管理テーブル30の実行利用率35を更新する
(ステップ403)。実行利用率の収集は、ここでは、
管理用プロセッサ11が一定時間毎に各処理用プロセッ
サ12,13,14に要求を出し、それに応答して、各
処理用プロセッサ12,13、14がその時点の実行利
用率を管理用プロセッサ11に連絡することで行うとす
る。図5の502〜504は、各処理用プロセッサ1
2,13,14が実行利用率を管理用プロセッサ11へ
連絡する際のデータ形式を示したものである。
The management processor 11 collects the above-mentioned execution utilization rates of the processing processors 12, 13, and 14 and updates the execution utilization rate 35 of the execution process management table 30 (step 403). The collection of execution utilization is
The management processor 11 issues a request to each of the processing processors 12, 13, 14 at regular time intervals, and in response, each of the processing processors 12, 13, 14 sends the execution utilization rate at that point to the management processor 11. I will do so by contacting me. Reference numerals 502 to 504 in FIG.
Reference numerals 2, 13 and 14 show data formats when the execution utilization rate is notified to the management processor 11.

【0019】各処理用プロセッサ12,13,14の実
行利用率を収集すると、管理用プロセッサ11は、実行
プロセス管理テーブル30内の規定利用率(MAX)3
3と実行利用率35を比較して、実行利用率が80%以
上のプロセッサがあるか調べる(ステップ404)。こ
こで、実行利用率が80%以上のプロセッサがない場
合、各処理用プロセッサ12,13,14はいずれも負
荷の集中がないと見なし、この場合は何もしない。即
ち、各処理用プロセッサ12,13,14は、そのまま
処理を続行する。
When the execution utilization rates of the processing processors 12, 13, 14 are collected, the management processor 11 determines the prescribed utilization rate (MAX) 3 in the execution process management table 30.
3 is compared with the effective utilization rate 35 to check whether there is a processor having an effective utilization rate of 80% or more (step 404). Here, if there is no processor having an execution utilization rate of 80% or more, it is considered that each of the processing processors 12, 13, and 14 has no load concentration, and in this case, nothing is done. That is, the processing processors 12, 13 and 14 continue the processing as they are.

【0020】一方、実行利用率が80%以上のプロセッ
サがある場合、該プロセッサに負荷が集中していると見
なす。この場合、管理用プロセッサ11は、実行プロセ
ス管理テーブル30内の規定利用率(MIN)34と実
行利用率35を比較して、実行利用率が20%以下のプ
ロセッサがあるか調べる(ステップ405)。即ち、負
荷が集中しているプロセッサのプロセスを移動させる先
の、負荷の少ないプロセッサを探す。ここでも、実行利
用率が20%以下(負荷が少ない)のプロセッサがない
場合、何もしない。この場合、各処理用プロセッサ1
2,13,14はそのまま処理を続行するため、負荷の
集中しているプロセッサは、該負荷集中の状態でプロセ
ス処理を続けることとなる。即ち、実行利用率80%以
上(負荷集中)のプロセッサはあるが、利用率20%以
下(負荷が少ない)のプロセッサがない場合、プロセス
を移動させても、移動先プロセッサで実行利用率が80
%以上になる可能性が高く、結局、処理効率は悪くなる
ため、プロセスを移動させずにそのまま処理を続行させ
るのである。
On the other hand, if there is a processor whose execution utilization rate is 80% or more, it is considered that the load is concentrated on the processor. In this case, the management processor 11 compares the specified usage rate (MIN) 34 and the execution usage rate 35 in the execution process management table 30 to check whether there is a processor with an execution usage rate of 20% or less (step 405). . That is, a processor with a light load is searched for before moving processes of a processor with a heavy load. Also here, if there is no processor whose execution utilization rate is 20% or less (the load is light), nothing is done. In this case, each processing processor 1
Since the processing of Nos. 2, 13 and 14 continues as it is, the processor having the concentrated load will continue the process processing in the state of the concentrated load. That is, if there is a processor with a utilization rate of 80% or more (load concentration) but no processor with a utilization rate of 20% or less (light load), even if the process is moved, the execution utilization rate of the migration destination processor is 80%.
Since there is a high possibility that it will be more than%, and the processing efficiency will eventually deteriorate, the processing will continue without moving.

【0021】実行利用率80%以上(負荷集中)のプロ
セッサが存在し、かつ、実行利用率20%以下(負荷が
少ない)のプロセッサも存在する場合、管理用プロセッ
サ11は、まず、実行利用率80%以上のプロセッサの
実行プロセスの中から、優先度管理テーブル20を参照
して、優先順位の一番低いプロセスを選択し、該実行利
用率80%以上のプロセッサに当該プロセスの処理を停
止させ、該停止した時点までの実行結果、プログラム停
止ポイントの収集を行う(ステップ406)。次に、管
理用プロセッサ11は、実行利用率20%以下のプロセ
ッサに対して、上記実行利用率80%以上のプロセッサ
で処理を停止させたプロセス内容、及び、それまでの実
行結果、プログラム停止ポイントを転送する(ステップ
407)。
When there is a processor having an execution utilization rate of 80% or more (load concentration) and a processor having an execution utilization rate of 20% or less (light load), the management processor 11 first determines the execution utilization rate. Among the execution processes of 80% or more of the processors, the process with the lowest priority is selected by referring to the priority management table 20, and the processors having the execution utilization ratio of 80% or more are caused to stop the processing of the process. The program stop points are collected as a result of execution up to the point of stopping (step 406). Next, the management processor 11 sets the process contents in which the processing is stopped by the processor having the above-mentioned execution utilization rate of 80% or more, the execution result up to that point, and the program stop point for the processor with the execution utilization rate of 20% or less. Is transferred (step 407).

【0022】図2、図3において、プロセッサ番号1の
処理用プロセッサ12の実行利用率は90%、プロセッ
サ番号2の処理用プロセッサ13の実行利用率は10%
であり、さらに、処理用プロセッサ12で実行中のプロ
セス,の優先順位は>である。そこで、管理用
プロセッサ11は、実行利用率90%の処理用プロセッ
サ12に対して、プロセスの実行を停止させて、該停
止した時点までの実行結果、プログラム停止ポイントの
収集を行い、それが完了すると、実行利用率10%の処
理用プロセッサ13に対して、プロセス、及び、その
停止した時点までのデータ(実行結果、プログラム停止
ポイント)を転送する。図5の505は、処理用プロセ
ッサ12にプロセス停止を連絡する際のデータ形式、5
06は処理用プロセッサ12から停止させたプロセスの
データを収集する際のデータ形式、507はプロセス移
動先の処理用プロセッサ13へ所望データを転送する際
のデータ形式を示したものである。
In FIGS. 2 and 3, the execution utilization rate of the processing processor 12 having the processor number 1 is 90%, and the execution utilization rate of the processing processor 13 having the processor number 2 is 10%.
Further, the priority of the process being executed by the processing processor 12 is>. Therefore, the management processor 11 causes the processing processor 12 having an execution utilization rate of 90% to stop the execution of the process, collects the execution result up to the point of the stop, the program stop point, and completes the processing. Then, the process and the data up to the time when the process is stopped (execution result, program stop point) are transferred to the processing processor 13 having an execution utilization rate of 10%. Reference numeral 505 in FIG. 5 indicates a data format for notifying the processing processor 12 of the process stop, 5
Reference numeral 06 denotes a data format for collecting data of the stopped process from the processing processor 12, and 507 denotes a data format for transferring desired data to the processing processor 13 of the process migration destination.

【0023】実行利用率20%(負荷が少ない)の処理
用プロセッサへプロセス及び所望データを転送した後、
管理用プロセッサ11は、実行プロセス管理テーブル3
0の実行プロセス欄32の書き替え、各処理用プロセッ
サ12,13,14に対するプロセスの移動先プロセッ
サの通知(アドレス変更通知)、及び、プロセス移動先
の処理用プロセッサに対するプロセス開始指示を行う
(ステップ408)。ここでは、図3の実行プロセス管
理テーブル30において、プロセッサ番号1(プロセッ
サ12)の実行プロセスからプロセスを削除し、プロ
セッサ番号2(プロセッサ13)の実行プロセスに該プ
ロセスを追加する。また、プロセスの処理用プロセ
ッサがプロセッサ番号2(プロセッサ13)に変更され
たことを各処理用プロセッサに通知し、プロセッサ番号
2のプロセッサ13にプロセスの処理開始を指示す
る。図5の508は、管理用プロセッサ11がプロセス
の処理用プロセッサの変更(アドレス変更)を各処理用
プロセッサ12,13,14に対してブロードキャスト
などで連絡する際のデータ形式、509は管理用プロセ
ッサ11が処理用プロセッサ13に対してプロセスの
開始指示を行う際のデータ形式を示したものである。
After transferring the process and the desired data to the processor for processing having an execution utilization rate of 20% (light load),
The management processor 11 uses the execution process management table 3
The execution process column 32 of 0 is rewritten, the process move destination processor is notified to each processing processor 12, 13, 14 (address change notification), and the process start instruction is issued to the process move destination processing processor (step). 408). Here, in the execution process management table 30 of FIG. 3, the process is deleted from the execution process of the processor number 1 (processor 12), and the process is added to the execution process of the processor number 2 (processor 13). Further, it notifies each processing processor that the processing processor of the process has been changed to the processor number 2 (processor 13), and instructs the processor 13 of the processor number 2 to start processing of the process. Reference numeral 508 in FIG. 5 is a data format used when the management processor 11 notifies each processing processor 12, 13, 14 of a change (address change) of the processing processor of the process by broadcasting or the like, and 509 is a management processor. Reference numeral 11 shows a data format when the process processor 13 is instructed to start the process.

【0024】プロセスの開始指示を受け取った処理用プ
ロセッサは、該プロセスの処理を再開する(ステップ4
09)。ここでは、プロセッサ番号2の処理用プロセッ
サ13が、プロセスについて、転送されたプログラム
停止ポイントから処理を再開することとなる。
Upon receiving the process start instruction, the processing processor restarts the process (step 4).
09). Here, the processing processor 13 with the processor number 2 restarts the process from the transferred program stop point.

【0025】一般に、実行利用率80%以上の高負荷プ
ロセッサの数をM、実行利用率20%以下の低負荷プロ
セッサの数をNとした場合、M≦Nの場合は、高負荷プ
ロセッサは実行利用率の高いものから順に、低負荷プロ
セッサは実行利用率の低いものから順に、それぞれプロ
セスの移動元/移動先プロセッサを対応づけて、対象と
する優先順位の低いプロセスを移動すればよい。また、
M>Nの場合は、M個の高負荷プロセッサのうち、実行
利用率の高い順にN個のプロセッサを選択し、それらを
上記M≦Nの場合と同様にして、N個の低負荷プロセッ
サと対応づけて、対象とするプロセスを移動すればよ
い。
Generally, when M is the number of high-load processors with an execution utilization rate of 80% or more and N is the number of low-load processors with an execution utilization rate of 20% or less, the high-load processor executes if M ≦ N. The low-load processor may move the target process having a low priority by associating the process source / destination processors in order from the highest utilization factor to the lowest utilization factor. Also,
In the case of M> N, N processors are selected from the M high-load processors in descending order of execution utilization rate, and are selected as N low-load processors in the same manner as in the case of M ≦ N. The target processes may be moved in association with each other.

【0026】図4のステップ404〜409の処理は、
各処理用プロセッサ12,13,14の実行利用率を収
集する度に繰り返される。これにより、実行利用率の高
い(負荷の集中している)プロセッサのプロセスを、実
行利用率の低い(負荷の少ない)プロセッサへ動的(ダ
イナミック)に振り分け、処理を続行することが可能に
なる。この振り分けの際、移動対象プロセスの処理の一
時停止が伴うが、該プロセスは、実行利用率の高いプロ
セッサで実行中のマルチプロセスの中から優先順位の一
番低いプロセスが選択されるため、影響を最小限に抑え
ることができる。
The processing of steps 404 to 409 in FIG.
It is repeated every time the execution utilization rate of each processing processor 12, 13, 14 is collected. As a result, it is possible to dynamically distribute the processes of a processor with a high execution usage rate (where the load is concentrated) to a processor with a low execution usage rate (the load is low) and continue processing. . At the time of this distribution, the process of the migration target process is temporarily stopped. However, since the process with the lowest priority is selected from the multi-processes that are being executed by the processor with a high execution utilization rate, the process is affected. Can be minimized.

【0027】以上、実施例の説明では実行利用率の収集
を、管理用プロセッサが一定時間毎に各処理用プロセッ
サに要求を出し、それに応答して、各処理用プロセッサ
が実行利用率を管理プロセッサに連絡することで行うと
したが(図5の502,503,504)、各処理用プ
ロセッサがそれぞれ不定期(任意)に実行利用率を送信
し、それを管理用プロセッサが受取って、その都度、実
行プロセス管理テーブルの該当プロセッサ番号に対応す
る実行利用率35を更新することでもよい。この場合、
管理用プロセッサから各処理用プロセッサへ実行利用率
の送信要求を発行するシーケンスを省略である。なお、
この場合の図4のステップ404〜409の処理は、あ
る処理用プロセッサから実行利用率を収集する度に行っ
てもよいし、あるいは、それとは無関係に一定時間ごと
に行うことでもよい。
As described above, in the description of the embodiment, the management processor issues a request to the processing processors at regular time intervals to collect the execution usage rates, and in response thereto, each processing processor determines the execution usage rate. However, each processing processor sends the execution utilization rate irregularly (arbitrarily), and the management processor receives it and receives it each time. Alternatively, the execution utilization rate 35 corresponding to the corresponding processor number in the execution process management table may be updated. in this case,
The sequence for issuing a transmission request of the execution utilization rate from the management processor to each processing processor is omitted. In addition,
In this case, the processing of steps 404 to 409 of FIG. 4 may be performed every time the execution utilization rate is collected from a certain processing processor, or may be performed irrespective of that at regular time intervals.

【0028】[0028]

【発明の効果】本発明による並列コンピュータシステム
のプロセス実行最適化方法によれば、次のような効果が
得られる。
According to the process execution optimizing method of the parallel computer system of the present invention, the following effects can be obtained.

【0029】(1)処理用プロセッサの実行利用率によっ
て、実行中のプロセスが自動的かつダインミックに、利
用率の高い(負荷の集中した)プロセッサから利用率の
低い(負荷の少ない)プロセッサへ移動させることで、
プロセッサを効率良く使って、プロセスを効率よく処理
させることが可能となり、実行業務の処理時間の短縮が
できる。
(1) Depending on the execution utilization rate of the processing processor, the process under execution automatically and dynamically moves from the processor with a high utilization rate (concentrated load) to the processor with a low utilization rate (low load). By letting
It is possible to use the processor efficiently and process the process efficiently, and it is possible to reduce the processing time of the execution work.

【0030】(2) 利用率の高いプロセッサから利用率の
低いプロセッサへの移動させるプロセスは、あらかじめ
定めた業務の優先度等に依存したプロセスの優先順位に
基づいて、実行中の複数のプロセスの中から優先順位の
一番低いプロセスが対象となるため、実行する業務への
影響を最小限に抑えることができる。
(2) A process to be moved from a processor with a high utilization rate to a processor with a low utilization rate is based on the priority of the process depending on the priority of a predetermined job and the like. Since the process with the lowest priority among the processes is targeted, it is possible to minimize the influence on the business to be executed.

【0031】(3) 管理用プロセッサは、利用率の高いプ
ロセスから利用率の低いプロセッサへプロセスを移動し
た場合、該プロセスと共にプロセス移動先プロセッサを
全処理用プロセッサへ連絡することにより、以後の処理
でプロセス間通信の必要が生じた際、処理用プロセッサ
は管理用プロセッサの仲介なしに該プロセス間通信を行
うことができる。
(3) When a management processor moves a process from a process having a high usage rate to a processor having a low usage rate, the management processor notifies the process migration destination processor together with the process to all the processing processors to perform subsequent processing. When inter-process communication becomes necessary, the processing processor can perform inter-process communication without the intervention of the management processor.

【0032】(4) 複数の処理用プロセッサの中の任意の
プロセッサが管理用プロセッサを兼用する構成とするこ
とにより、管理用プロセッサが故障した場合、その管理
情報を他のプロセッサに転送することで、該プロセッサ
を管理用プロセッサとしてシステムを継続して移動する
ことが可能になる。
(4) By adopting a configuration in which any of the plurality of processing processors also serves as the management processor, when the management processor fails, the management information can be transferred to another processor. It becomes possible to continuously move the system by using the processor as a management processor.

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

【図1】本発明による並列コンピュータシステムの一実
施例のブロック図である。
FIG. 1 is a block diagram of one embodiment of a parallel computer system according to the present invention.

【図2】管理用プロセッサ上の優先度管理テーブルの構
成例を示す図である。
FIG. 2 is a diagram showing a configuration example of a priority management table on a management processor.

【図3】管理用プロセッサ上の実行プロセス管理テーブ
ルの構成例を示す図である。
FIG. 3 is a diagram showing a configuration example of an execution process management table on a management processor.

【図4】本発明によるプロセス実行最適化方法の一実施
例の処理フロー図である。
FIG. 4 is a process flow diagram of an embodiment of a process execution optimization method according to the present invention.

【図5】管理用プロセッサと処理用プロセッサとの間で
授受されるデータ形式の一例を示す図である。
FIG. 5 is a diagram showing an example of a data format exchanged between a management processor and a processing processor.

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

11 管理用プロセッサ 12〜14 処理用プロセッサ 15 ネットワーク 16 管理用プロセッサのメモリ 20 優先度管理テーブル 30 実行プロセス管理テーブル 11 Management Processor 12-14 Processing Processor 15 Network 16 Management Processor Memory 20 Priority Management Table 30 Execution Process Management Table

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数のプロセスを並列に処理する複数の
処理用プロセッサと、各処理用プロセッサの実行プロセ
スを管理する管理用プロセッサと、各プロセッサを接続
するネットワークからなる並列コンピュータシステムに
おけるプロセス実行最適化方法であって、 前記管理用プロセッサは、各処理用プロセッサで処理さ
れるプロセスの優先順位と、各処理用プロセッサの実行
利用率を保持し、実行利用率の高い処理用プロセッサで
実行中の複数のプロセスの中から優先順位の低いプロセ
スを選択して、実行利用率の低い処理用プロセッサへ移
動せしめることを特徴とする並列コンピュータシステム
のプロセス実行最適化方法。
1. A process execution optimum in a parallel computer system comprising a plurality of processing processors for processing a plurality of processes in parallel, a management processor for managing execution processes of the processing processors, and a network connecting the processors. The management processor, wherein the management processor holds the priority order of the processes processed by each processing processor and the execution utilization rate of each processing processor, and is executed by the processing processor having a high execution utilization rate. A process execution optimization method for a parallel computer system, which comprises selecting a process having a low priority from a plurality of processes and moving the selected process to a processing processor having a low execution utilization rate.
【請求項2】 請求項1記載の並列コンピュータシステ
ムのプロセス実行最適化方法において、前記管理用プロ
セッサは、プロセスの移動先プロセッサを各処理用プロ
セッサに連絡することを特徴とする並列コンピュータシ
ステムのプロセス実行最適化方法。
2. The process execution optimization method for a parallel computer system according to claim 1, wherein the management processor communicates a process destination processor to each processing processor. Execution optimization method.
【請求項3】 請求項1あるいは2記載の並列コンピュ
ータシステムのプロセス実行最適化方法において、前記
複数の処理用プロセッサの中の任意のプロセッサが前記
管理用プロセッサを兼用することを特徴とする並列コン
ピュータシステムのプロセス実行最適化方法。
3. The process execution optimizing method for a parallel computer system according to claim 1, wherein any one of the plurality of processing processors also serves as the management processor. System process execution optimization method.
JP6218396A 1994-09-13 1994-09-13 Process execution optimization method for parallel computer systems Pending JPH0883257A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6218396A JPH0883257A (en) 1994-09-13 1994-09-13 Process execution optimization method for parallel computer systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6218396A JPH0883257A (en) 1994-09-13 1994-09-13 Process execution optimization method for parallel computer systems

Publications (1)

Publication Number Publication Date
JPH0883257A true JPH0883257A (en) 1996-03-26

Family

ID=16719259

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6218396A Pending JPH0883257A (en) 1994-09-13 1994-09-13 Process execution optimization method for parallel computer systems

Country Status (1)

Country Link
JP (1) JPH0883257A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10207849A (en) * 1997-01-17 1998-08-07 Nippon Telegr & Teleph Corp <Ntt> High Reliability and Load Balancing Method for Distributed Systems
JP2005167870A (en) * 2003-12-05 2005-06-23 Sony Corp Method and apparatus for processing data
JP2005235019A (en) * 2004-02-20 2005-09-02 Sony Corp Network system, distributed processing method and information processor
JP2007207072A (en) * 2006-02-03 2007-08-16 Hewlett-Packard Development Co Lp Processing controller and method therefor
JP2007310791A (en) * 2006-05-22 2007-11-29 Hitachi Ltd Computer system power consumption reduction method and program thereof
US7904910B2 (en) 2004-07-19 2011-03-08 Hewlett-Packard Development Company, L.P. Cluster system and method for operating cluster nodes
JP2014096024A (en) * 2012-11-09 2014-05-22 Esol Co Ltd Control program for multi-core processor, electronic apparatus, and control method
JP2015164052A (en) * 2015-04-15 2015-09-10 イーソル株式会社 Control program for multi-core processor, electronic apparatus, and control method
US9183051B2 (en) 2004-03-29 2015-11-10 Sony Computer Entertainment Inc. Methods and apparatus for achieving thermal management using processing task scheduling

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10207849A (en) * 1997-01-17 1998-08-07 Nippon Telegr & Teleph Corp <Ntt> High Reliability and Load Balancing Method for Distributed Systems
JP2005167870A (en) * 2003-12-05 2005-06-23 Sony Corp Method and apparatus for processing data
JP2005235019A (en) * 2004-02-20 2005-09-02 Sony Corp Network system, distributed processing method and information processor
US9183051B2 (en) 2004-03-29 2015-11-10 Sony Computer Entertainment Inc. Methods and apparatus for achieving thermal management using processing task scheduling
US7904910B2 (en) 2004-07-19 2011-03-08 Hewlett-Packard Development Company, L.P. Cluster system and method for operating cluster nodes
JP2007207072A (en) * 2006-02-03 2007-08-16 Hewlett-Packard Development Co Lp Processing controller and method therefor
JP2007310791A (en) * 2006-05-22 2007-11-29 Hitachi Ltd Computer system power consumption reduction method and program thereof
JP2014096024A (en) * 2012-11-09 2014-05-22 Esol Co Ltd Control program for multi-core processor, electronic apparatus, and control method
JP2015164052A (en) * 2015-04-15 2015-09-10 イーソル株式会社 Control program for multi-core processor, electronic apparatus, and control method

Similar Documents

Publication Publication Date Title
JP5675840B2 (en) Query management
US6324620B1 (en) Dynamic DASD data management and partitioning based on access frequency utilization and capacity
US5924097A (en) Balanced input/output task management for use in multiprocessor transaction processing system
CN100465900C (en) Information system, load control method, load control program, and recording medium
US7386849B2 (en) Managing parallel execution of work granules according to their affinity
EP0568002B1 (en) Distribution of communications connections over multiple service access points in a communications network
US20050022173A1 (en) Method and system for allocation of special purpose computing resources in a multiprocessor system
CN107291544A (en) Method and device, the distributed task scheduling execution system of task scheduling
CN107430526B (en) Method and node for scheduling data processing
JPH0883257A (en) Process execution optimization method for parallel computer systems
JPH05216842A (en) Resources managing device
JPH09274608A (en) Load distribution control method between processors in a multiprocessor system
JP3487515B2 (en) Distributed processing system and distributed processing method
JP3227069B2 (en) Input/Output Processing System
CN113760798A (en) RDMA device allocation method, computing device and storage medium
JP2848762B2 (en) Data transfer system and method
JPH09179834A (en) Scheduling method for processes in parallel systems
JPH08212090A (en) Server system
JPH0452942A (en) File transfer system
JPS62126457A (en) Distributed data processing method
JPH09319708A (en) On-line control process substitution system
JP3022829B2 (en) Automatic storage device allocation device
JPH0769845B2 (en) Job multiplicity management method for multi-host system
JP2675026B2 (en) File execution method in computer system
HK40069111A (en) Rdma equipment allocation method, computing equipment and storage medium