JPH02280266A - Parallel electronic computer system - Google Patents

Parallel electronic computer system

Info

Publication number
JPH02280266A
JPH02280266A JP10190289A JP10190289A JPH02280266A JP H02280266 A JPH02280266 A JP H02280266A JP 10190289 A JP10190289 A JP 10190289A JP 10190289 A JP10190289 A JP 10190289A JP H02280266 A JPH02280266 A JP H02280266A
Authority
JP
Japan
Prior art keywords
load
processor
information
amount
processors
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
JP10190289A
Other languages
Japanese (ja)
Inventor
Yuji Umeda
裕二 梅田
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP10190289A priority Critical patent/JPH02280266A/en
Publication of JPH02280266A publication Critical patent/JPH02280266A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To improve the performance of a parallel system by checking the presence/absence of another processor optimum for the distribution of a load when a new load occurs in its own processor based on load quantity information held by a control means, and making the optimum processor charge the new load when the optimum processor exists. CONSTITUTION:When the load occurs newly in a certain processor unit 10, the processor unit 10 judges whether or not the load is already heavy at a load movement judging part 2. The load movement judging part 2, when judging that the heavy load is already applied on its own processor 1, judges to which processor the optimum allocation can be performed based on information controlled by a load quantity control part 3. As a result, the load is allocated to the processor at a position where a load quantity is minimum. Thereby, since no time required for the allocation of the load is required, the processing performance of a parallel computer system can be improved.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は複数のプロセッサを有して負荷を各プロセッサ
に割当てて処理する並列電子計算機システムにかかわり
、特に各プロセッサの負荷が均等になるよう短時間で各
プロセッサにおける負荷(仕事量)の割り当てを行うこ
とができ、処理能率の向上を図ることができるように負
荷分散方式の改善を図った並列電子計算機システムに関
する。
[Detailed Description of the Invention] [Objective of the Invention] (Industrial Application Field) The present invention relates to a parallel computer system that has a plurality of processors and processes a load by allocating it to each processor. The present invention relates to a parallel computer system in which a load distribution method is improved so that the load (work amount) can be allocated to each processor in a short time so that the amount of work is evenly distributed, and processing efficiency can be improved.

(従来の技術) 並列電子計算機システムは複数のプロセッサ(処理装置
; CPU )を設けて、一つのオペレーティングシス
テム(O8)の管理下により一つのアプリケーションを
これらプロセッサで処理するシステムであり、逐次発生
する負荷をこれらのプロセッサに順次割当てて分散処理
させることにより、全体として処理能力の増大を図るこ
とのできるシステムである。
(Prior Art) A parallel computer system is a system in which multiple processors (processing units; CPUs) are provided and one application is processed by these processors under the control of one operating system (O8). By sequentially allocating the load to these processors and distributing the processing, the system can increase the processing capacity as a whole.

ところで従来、このような並列電子計算機システムでは
重い負荷がかかっているプロセッサが自分の負荷を他の
プロセッサに移し変えようとする時には先ず初めに最も
負荷が軽いプロセッサを探し、その見つけた軽負荷のプ
ロセッサに対して負荷を移すようにするか、あるいは重
い負荷がかかっているプロセッサが他のプロセッサを無
作為に選び、次にその選んだ相手プロセッサの負荷が自
分より軽いか否かを判断して相手プロセッサの負荷が軽
かった場合に、そのプロセッサに自分の負荷の一部を移
す等していた。しかし、ある重い負荷を負ったプロセッ
サが自分の負荷を他の軽負荷のプロセッサに移し替える
にあたり、相手の負荷を逐次調べて行かねばならず、最
も負荷が軽いプロセッサを見つけるのに手間がかかった
り、無作為に選び出す方式では選び出したプロセッサの
負荷が自己の負荷より重く、そのためにさらに選定を重
ねる等、何度も選び直したりしなければならないことも
あり、11.7間を要する他、また、無作為に選び出し
たプロセッサの負荷が自分の負荷よりも軽い場合でも実
際にはまだ他にもっと負荷の軽いプロセッサが存在する
場合等があり、システムを構成する複数のプロセッサに
対して、負荷が均等になるよう、プロセッサに効率的に
割り当てることが困難であった。
Conventionally, in such parallel computer systems, when a processor with a heavy load tries to transfer its load to another processor, it first searches for the processor with the lightest load, and then uses the processor with the light load that it finds. Either the load can be shifted to one processor, or the heavily loaded processor can randomly choose another processor, and then determine whether the chosen processor is less loaded than itself. If the other processor's load was light, it would transfer part of its own load to that processor. However, when a processor with a heavy load transfers its own load to another processor with a light load, it has to check the other processor's load one by one, and it takes time and effort to find the processor with the lightest load. In the method of selecting at random, the load of the selected processor is heavier than its own load, so it may have to be selected again and again many times, and it takes 11.7 hours. , Even if the load on a randomly selected processor is lighter than your own, there may actually be other processors with lighter loads, and the load may be higher on multiple processors that make up the system. It was difficult to efficiently allocate it evenly to the processors.

(発明が解決しようとする課8) 並列電子計算機システムでは逐次発生する負荷を複数あ
るプロセッサのいずれかに、順次割当てて処理させるが
、従来、このような並列計算機システムは重い負荷がか
かっているプロセッサが自分の負荷を他のプロセッサに
移し変える場合には最も負荷が軽いプロセッサを見つけ
てからそのプロセッサに負荷を移したり、重負荷のプロ
セッサが他のプロセッサを無作為に選び、相手の負荷が
自分より軽いか否かを判断して軽かった場合に、そのプ
ロセッサに自分の負荷の一部を移すようにしていた。
(Issue 8 to be solved by the invention) In a parallel computer system, the load that occurs sequentially is sequentially assigned to one of multiple processors to process it, but conventionally, such a parallel computer system has a heavy load. When a processor transfers its own load to another processor, it may find the processor with the lightest load and then transfer the load to that processor, or the heavily loaded processor may randomly select another processor and reduce the other processor's load. I decided whether the processor was lighter than me or not, and if it was lighter, I would transfer part of my load to that processor.

しかし、従来方式ではある重い負荷を負ったプロセッサ
が自分の負荷を他の軽負荷のプロセッサに移し替えるに
あたり、相手の負荷を逐次調べて行かねばならず、従っ
て、最も負荷が軽いプロセッサを見つけるのに手間がか
かったり、また、無作為に選び出す方式では選び出した
プロセッサの負荷が自分の負荷より重いことがわかり、
何度も選び直したり、また、最終的に選定したプロセッ
サより更に負荷が軽いプロセッサが他に存在する場合等
があり、短い時間でしかも、各プロセッサに負荷が均等
になるよう、効率的に割り当てることが困難であった。
However, in the conventional method, when a heavily loaded processor transfers its own load to another lightly loaded processor, it must sequentially check the other party's load, and therefore it is difficult to find the processor with the lightest load. It takes a lot of time and effort, and if you select the processor at random, you will find that the load on the selected processor is heavier than your own.
There may be cases where the selection has to be made again and again, or there may be other processors with an even lighter load than the finally selected processor, so it is necessary to efficiently allocate the load to each processor in a short time and evenly. It was difficult.

そこでこの発明の目的とするところは短い時間で、しか
も、負荷を均等且つ効率的に各プロセッサに−割り当て
ることができるようにした並列電子計算機システムを提
O(することにある。
Therefore, an object of the present invention is to provide a parallel computer system that can allocate loads to each processor evenly and efficiently in a short period of time.

[発明の構成] (課題を解決するための手段) 上記目的を達成するため、本発明は次のように構成する
。すなわち、複数のブロモ・ソサを有し発生する負荷を
各プロセッサに割当てて処理する並列計算機システムに
おいて、各々のプロセッサには他のプロセッサからの各
ブロモ・ソサ負荷量情報を受けてこれらを負荷量の順に
編集して更新保持すると共に自己プロセッサにおける負
荷の実行に伴う負荷量の情報を得てこれを更新記憶する
管理手段と、この管理手段が更新記憶した前記自己プロ
セッサにおける負荷量情報を他のブロモ・ツサに送出し
、他のプロセッサ側から送られる負荷量を受信する伝送
手段と、自己ブロモ・ツサに対しての新発生負荷がある
ときは前記管理手段の保持した負荷量情報をもとに負荷
を分散するに最適な他のプロセッサの有無を調べ、最適
ブロモ・ンサがあるときは当該新発生負荷をその最適ブ
ロモ・ソサに分担させるべく制御する判断手段とを具備
して構成する。また、前記判断手段が最適ブロモ・ツサ
ありと判断し、且つ、前記自己プロセッサと前記最適プ
ロセッサの負61量が近似しているときは、効率を演算
し、効率向上が期待できないときは新発生負荷をOプロ
セッサにて処理するべく判断手段に指令する状況判断手
段を設けて構成する。
[Configuration of the Invention] (Means for Solving the Problems) In order to achieve the above object, the present invention is configured as follows. In other words, in a parallel computer system that has multiple Bromo-Sosas and processes the generated loads by assigning them to each processor, each processor receives each Bromo-Sosa load amount information from other processors and processes these loads. a management means for updating and retaining information on the amount of load associated with the execution of the load on the self-processor, and updating and storing the information on the amount of load associated with the execution of the load on the self-processor; A transmission means for sending the load amount to the Bromo Tusa and receiving the load amount sent from the other processor side, and when there is a newly generated load for the own Bromo Tusa, based on the load amount information held by the management means. The present invention is configured to include a determining means for checking whether there is another processor that is optimal for distributing the load, and, if there is an optimal processor, controlling the newly generated load to be distributed to the optimal processor. Further, when the judgment means judges that there is an optimal Bromo Tsusa and the negative 61 quantity of the self-processor and the optimum processor are similar, the efficiency is calculated, and when no improvement in efficiency is expected, a new generation The configuration includes a situation determining means for instructing the determining means to process the load by the O processor.

(作 用) このような構成において、複数のプロセッサを有し発生
する負荷を各プロセッサに割当てて処理する並列計算機
システムを構成する複数のプロセッサ各々には他のプロ
セッサからの各プロセッサ負荷量情報を受けてこれらを
負荷量の順に編集して更新保持すると共に自己プロセッ
サにおける負荷の実行に伴う負荷量の情報を得てこれを
更新記憶する管理手段かあり、新発生負荷が割り当てら
れるとこの管理手段は自己プロセッサの負荷量を更新記
憶し、且つ、この新負荷量情報を伝送手段に与えて他の
プロセッサに自己の当該新負荷量情報を伝送する。そし
て、前記各プロセッサ側における管理手段ではこの伝送
されてきた負荷量情報を受けると、これらを負荷量の順
に編集して更新保持する。一方、自己プロセッサに対し
ての新発生負荷があると、自プロセッサ側の前記判断手
段は自プロセッサ側の管理手段の保持した負荷量情報を
もとに負荷を分散するに最適な他のプロセッサの有無を
調べ、最適プロセッサがあるときは当該新発生負荷をそ
の最適プロセッサに分担させるべく制御する。
(Function) In such a configuration, each of the multiple processors constituting the parallel computer system that has multiple processors and processes the generated load by assigning it to each processor receives processor load amount information from other processors. There is also a management means that edits and updates these in the order of load amount, and also obtains information on the load amount accompanying the execution of the load on the own processor and updates and stores it.When a new load is assigned, this management means updates and stores the load amount of its own processor, provides this new load amount information to a transmission means, and transmits its own new load amount information to other processors. When the management means on each processor side receives the transmitted load amount information, it edits the information in the order of the load amount and updates and holds the information. On the other hand, when there is a new load on the self-processor, the judgment means on the self-processor side selects another processor that is most suitable for distributing the load based on the load information held by the management means on the self-processor side. The presence or absence of the load is checked, and if there is an optimal processor, the newly generated load is controlled to be shared by that optimal processor.

このように全プロセッサの負荷量情報をそれぞれのプロ
セッサ側で更新記憶させるとともに新負荷の発生したプ
ロセッサ側では自己の保持する全プロセッサの負荷量情
報を参照して当該新負荷を割り当てるに最適なプロセッ
サを選定してそのプロセッサに新負荷の処理を実行させ
るようにしたことにより、新負荷発生に際して即座に当
該新負荷を割り当てるに最適なプロセッサを選定して実
施させることができる。
In this way, the load amount information of all processors is updated and stored on each processor side, and the processor side where a new load has occurred refers to the load amount information of all processors held by itself and selects the optimal processor to allocate the new load. By selecting a processor and having that processor execute the processing of the new load, when a new load occurs, it is possible to immediately select the most suitable processor to allocate the new load and have it execute the process.

また、状況判断手段を設けた場合には、状況判断手段は
前記判断手段が最適プロセッサありと判断し、且つ°、
前記自己プロセッサと前記最適プロセッサの負荷量が近
似しているときは、効率を演算し、効率向上が期待でき
ないときは新発生負荷を自プロセッサにて処理すべく判
断手段に指令する。そのため、新発生負荷を割り当てる
最適プロセッサがあっても新発生負荷を自己からその最
適プロセッサに移してもその移すための制御にかかる時
間等を考えると、全体としての処理時間短縮効果が小さ
いときは新発生負荷があったプロセッサ自身でその新発
生負荷の処理を行うことから、意味のない処理の割り当
て変更をなくすことができる。
Further, when a situation determining means is provided, the situation determining means determines that the determining means has an optimal processor, and
When the loads of the self-processor and the optimum processor are similar, the efficiency is calculated, and when no improvement in efficiency can be expected, the determination means is instructed to process the newly generated load by the self-processor. Therefore, even if there is an optimal processor to allocate the newly generated load, even if the newly generated load is transferred from itself to the optimal processor, the overall processing time reduction effect is small when considering the time required to control the transfer. Since the processor with the newly generated load processes the newly generated load itself, meaningless changes in processing allocation can be eliminated.

従って、本発明によれば複数のプロセッサを有して負荷
を各プロセッサに割当てて処理する並列電子計算機シス
テムにおいて、各プロセッサの負荷が均等になるよう短
時間で各プロセッサにおける負荷(仕事量)の割り当て
を行うことができ、処理能率の・大幅な向上を図ること
ができるようになる並列電子計算機システムを提供でき
る。
Therefore, according to the present invention, in a parallel computer system that has a plurality of processors and processes a load by assigning it to each processor, the load (work amount) on each processor can be reduced in a short time so that the load on each processor is equalized. It is possible to provide a parallel computer system that can perform allocation and significantly improve processing efficiency.

(実施例) 以下、本発明の一実施例について図面を参照して説明す
る。第1図は本発明の一実施例を示すブロック図である
。図において、10はプロセッサユニットであり、この
プロセッサユニット10は複数ユニット、バスを介して
接続してシステムを構成しており、オペレーションシス
テムの管理下にて、これらは発生した負荷に対する処理
を割当てられその負荷に対する処理の実行を行うように
なっている。各プロセッサユニットlOは制御や処理の
実行中枢であるプロセッサ1と、負荷移動判断部2と、
負荷量管理部3と、送受信回路部4とよりなる。
(Example) Hereinafter, an example of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing one embodiment of the present invention. In the figure, 10 is a processor unit, and this processor unit 10 constitutes a system by connecting multiple units via a bus, and under the control of the operation system, these units are assigned processing for the generated load. It is designed to execute processing for that load. Each processor unit 10 includes a processor 1 which is the execution center for control and processing, a load shift determination section 2,
It consists of a load amount management section 3 and a transmitting/receiving circuit section 4.

これらのうち、前記負荷移動判断部2は負荷が発生する
と、・自プロセッサ1の現在の負荷の軽重を判定すると
共に負荷が軽いと判断した場合には前記発生した負荷を
自プロセッサ1に割り当て、また、負荷が重いと判断し
た場合には前記発生した負荷を複数あるプロセッサユニ
ットのうち、どのプロセッサユニットに割り当てるかを
判断するものである。
Among these, when a load occurs, the load shift determining unit 2: determines the lightness or weight of the current load on its own processor 1, and if it determines that the load is light, allocates the generated load to its own processor 1; Furthermore, when it is determined that the load is heavy, it is determined to which processor unit among the plurality of processor units the generated load is to be assigned.

また、前記負荷量管理部3は負荷の発生や割り当て、そ
して、負荷の終了等に伴い変化した負荷量に対して各プ
ロセッサ毎に更新し、負荷量の順に編集すると共に、自
プロセッサの負荷量に変化が生じた時に他の全プロセッ
サユニットに対して通知するものであり、この負荷量管
理部3によって編集される全プロセッサユニットに関す
る負荷量状態情報を保持する第2図(b)の如き負荷量
状態情報部6と自プロセッサの負荷量情報を保持する第
2図(a)の如き自プロセッサ負荷量保持部5とを有し
ていて、ここに負荷量状態情報と自プロセッサの負荷量
情報とを保持し、前記負荷移動判断部2はこれらを参照
して現在の自プロセッサの負荷の軽重判定並びに負荷の
どのプロセッサユニットに割り当てるかを判断するよう
にしている。
In addition, the load amount management unit 3 updates each processor with respect to the load amount that has changed due to load generation, allocation, and load termination, etc., and edits the load amount in the order of the load amount, and also updates the load amount of the own processor. It notifies all other processor units when a change occurs in the load status information as shown in FIG. It has a load state information part 6 and a own processor load holding part 5 as shown in FIG. 2(a) which holds the load amount information of the own processor. The load shift determination section 2 refers to these to determine whether the load of the current processor is light or heavy and to which processor unit the load is to be assigned.

また、前記送受信回路部3はプロセッサ1の入出力情報
である負荷(仕事)の送受信および負荷量等の送受信を
行うものであり、また、前記負荷移動判断部2の割り当
て情報や、前記負荷量管理部3の必要とする情報の授受
等を行うものである。
The transmitting/receiving circuit unit 3 transmits and receives load (work) and load amount, etc., which are input/output information of the processor 1, and also transmits and receives allocation information of the load shift determining unit 2, the load amount, etc. It is used to send and receive information required by the management section 3.

このような構成のプロセッサを複数接続してシステムが
構成しであるが、このような構成の本システムにおいて
、例えば、あるプロセッサユニット10において負荷が
新規に発生した場合、そのプロセッサユニットIOでは
自プロセッサ1の負荷が既に重くなっているか否かを負
荷移動判断部2において判断する。そして、負荷移動判
断部2が未だ、自プロセッサの負荷が重くなっていない
と判断した場合は発生した負荷を自プロセッサ1により
処理する。そして、これにより変化した自プロセッサ1
の負荷量を自プロセッサ負荷量保持部5は更新記憶する
。それと共に、新しく変化した自プロセッサの負荷量の
情報を他の全プロセッサユニットIOに対して通知する
ために送受信回路部4へ渡す。送受信回路部4はこの負
荷量情報をバスに送出する。
A system is constructed by connecting a plurality of processors with such a configuration. In this system with such a configuration, for example, when a new load occurs in a certain processor unit 10, that processor unit IO The load shift determining unit 2 determines whether or not the load No. 1 has already become heavy. If the load shift determination unit 2 determines that the load on the own processor has not become heavy yet, the generated load is processed by the own processor 1. Then, the own processor 1 changed as a result of this
The own processor load amount holding unit 5 updates and stores the load amount. At the same time, information on the newly changed load amount of the own processor is passed to the transmitting/receiving circuit section 4 in order to notify all other processor units IO. The transmitting/receiving circuit section 4 sends this load amount information to the bus.

また、負荷移動判断部2が自プロセッサの負荷が既に重
くなっていると判断した場合は、負荷量管理部3の管理
している情報をもとにどのプロセッサに負荷に割り当て
るのが最適かを判断する。
In addition, if the load shift determining unit 2 determines that the load on its own processor is already heavy, it determines which processor is best to allocate the load to, based on information managed by the load amount managing unit 3. to decide.

すなわち、負荷移動判断部2は負荷量管理部3が既に負
荷量の順に各プロセッサの順位と負荷量の情報を編集し
てテーブルとして保存しである負荷量状態情報部6の情
報をもとに、負荷量が最小の位置(常にこの位置のもの
と比較する)にあるプロセッサの負荷量と、自プロセッ
サの負荷量とを比較する。
That is, the load shift determination unit 2 uses the information in the load status information unit 6, which has already been edited by the load management unit 3, in which the ranking and load information of each processor is edited in the order of load, and saved as a table. , compares the load amount of the processor at the position with the minimum load amount (always compared with the one at this position) and the load amount of the own processor.

その結果、負荷移動判断部2が「自プロセッサの負荷量
の方が大きい」と判断した場合には、負荷量が最小の位
置にあるプロセッサに対して発生した負荷を割り当てる
ことにし、その指令を送受信回路部4へと渡す。これに
より、指令情報に対応するプロセッサユニットの送受信
回路部4ではこの情報を受取り、その指令された負荷を
自プロセッサに渡して当該プロセッサに実行させる。
As a result, if the load shift determining unit 2 determines that "the load amount of its own processor is larger," it decides to allocate the generated load to the processor with the minimum load amount and issues the command. It is passed to the transmitter/receiver circuit section 4. As a result, the transmitting/receiving circuit section 4 of the processor unit corresponding to the command information receives this information, passes the commanded load to its own processor, and causes the processor to execute it.

また、負荷移動判断部2が「自プロセッサの負荷量の方
が小さい」、または、「同じ」と判断した場合には、自
プロセッサの負荷量が全体のプロセッサの中で最小と云
うことになるので、負荷移動判断部2では自プロセッサ
1にこれを知らせ、これにより、自プロセッサ1ではこ
の負荷実行に入る。また、負荷量管理部3は自プロセッ
サ1におけるこの新たな負荷実行に伴う現在の負荷量情
報を生成して自プロセッサ負荷量保存部5に与え、該負
荷量情報を更新記憶し、且つ、変化した自プロセッサの
負荷量の情報を他の全プロセッサユニットに対して通知
すべく送受信回路部5へ渡す。
Furthermore, if the load shift determining unit 2 determines that "the load amount of the own processor is smaller" or "the same", it means that the load amount of the own processor is the smallest among all the processors. Therefore, the load shift determining unit 2 notifies its own processor 1 of this, and as a result, its own processor 1 starts executing this load. In addition, the load amount management unit 3 generates current load amount information accompanying this new load execution on its own processor 1 and provides it to its own processor load amount storage unit 5, updates and stores the load amount information, and The information on the load amount of its own processor is passed to the transmitting/receiving circuit unit 5 in order to notify all other processor units.

送受信回路部5はこの負荷量の情報を他の全てのプロセ
ッサに送る。
The transmitter/receiver circuit unit 5 sends this load amount information to all other processors.

送受信回路部5が他プロセツサから負荷量の変化の情報
を受は取った場合には、負荷量管理部3によって通知し
てきたプロセッサユニットに対する負荷量の情報を更新
記憶すべく、負荷量状態情報部6の編集を行い、更新す
る。
When the transmitting/receiving circuit unit 5 receives information about a change in load amount from another processor, the load amount status information unit is updated to store the information on the load amount for the processor unit notified by the load amount management unit 3. 6. Edit and update.

また、他プロセツサユニットから負荷を受は取った場合
は、自プロセッサの負荷が既に重くなっているか否かを
負荷移動判断部2において判断する。そして、負荷移動
判断部2において自プロセッサ1の負荷が重くなってい
ないと判断した場合は、受は取った負荷を自プロセッサ
1により処理すべく、自プロセッサ1に指令し、また、
負荷量管理部3にもその旨の情報を与える。これにより
、負荷量管理部3はこの変化した自プロセッサの負荷量
の情報を、自プロセッサ負荷量保持部5に対して更新記
憶する。それと共に、変化した自プロセッサの負荷量情
報を他の全プロセッサユニットに対して通知するために
送受信回路5へ渡す。
Further, when a load is received or taken from another processor unit, the load shift determining section 2 determines whether the load on the own processor has already become heavy. If the load shift determining unit 2 determines that the load on the own processor 1 has not become heavy, the receiver instructs the own processor 1 to process the load taken by the own processor 1, and
Information to that effect is also given to the load amount management section 3. Thereby, the load amount management unit 3 updates and stores information on the changed load amount of the own processor in the own processor load amount holding unit 5. At the same time, the information on the changed load amount of the own processor is passed to the transmitting/receiving circuit 5 in order to notify all other processor units.

また、他プロセツサユニットから負荷を受は取った場合
に自プロセッサの負荷が既に重くなっていると負荷移動
判断部2が判断した場合は、負荷移動判断部2は負荷量
管理部3の保持する負荷量状態情報部6に登録された負
荷量の情報と自プロセッサ負荷量保持部5の負荷量情報
をもとに、負荷量が最小の位置にあるプロセッサの負荷
量と自プロセッサの負荷量とを比較する。そして、自プ
ロセッサの負荷量のほうが大きいと判断すると負荷量が
最小の位置にあるプロセッサユニットに対し、上記受は
取った負荷を割り当てるように決定し、その指令情報を
送受信回路部5へと渡す。
Furthermore, if the load shift determining unit 2 determines that the load on the own processor has already become heavy when receiving or taking a load from another processor unit, the load shift determining unit 2 retains the load amount management unit 3. Based on the load amount information registered in the load amount state information section 6 and the load amount information in the own processor load amount holding section 5, the load amount of the processor with the minimum load amount and the load amount of the own processor are determined. Compare with. Then, when determining that the load amount of its own processor is larger, the receiver decides to allocate the taken load to the processor unit at the position where the load amount is the smallest, and passes the command information to the transmitting/receiving circuit section 5. .

また、負荷移動判断部2が「自プロセッサの負荷量の方
が小さい」または、「自プロセッサの負荷量と同じ」で
あると判断した場合には自プロセッサの負荷量が全プロ
セッサユニットの中で負荷が最小と云うことになり、従
って、受は取った負荷を自プロセッサ1により処理すべ
く、自プロセッサ1に指令し、また、負荷量管理部3に
もその旨の情報を与える。これにより、負荷量管理部3
はこの変化した自プロセッサの負荷量の情報を、0プロ
セッサ負荷量保持部5に対して更新記憶する。
In addition, if the load shift determination unit 2 determines that "the load amount of the own processor is smaller" or "the load amount of the own processor is the same", the load amount of the own processor is lower than the load amount of the own processor among all processor units. The load is said to be the minimum, and therefore, the receiver instructs its own processor 1 to process the load taken by its own processor 1, and also provides information to that effect to the load amount management section 3. As a result, the load amount management section 3
updates and stores this changed information on the load amount of its own processor in the 0 processor load amount holding unit 5.

それと共に、変化した自プロセッサの負荷量情報を他の
全プロセッサユニットに対して通知するために送受信回
路5へ渡す。
At the same time, the information on the changed load amount of the own processor is passed to the transmitting/receiving circuit 5 in order to notify all other processor units.

このように、本実施例は各プロセッサユニット毎に通信
手段を持たせ、各プロセッサユニット毎に全プロセッサ
ユニットの負荷量情報を収集できるようにして常に最新
の全プロセッサユニット負荷量情報更新保持させること
ができるようにし、また、各プロセッサユニット毎に自
身の持つ全プロセッサユニットの負荷量情報をもとにし
て、どのプロセッサが現在、最も負荷が軽いかを知る機
能を持たせ、最も軽負荷のプロセッサユニットはどれで
あるかを各プロセッサユニット自身で簡単に知ることが
できるようにして、負荷が発生すると自プロセッサの負
荷情報と他のプロセッサユニットの負荷情報をもとに、
この発生負荷を全体のバランスから考えて実行させるに
最適なプロセッサユニットはいずれであるかを選定して
その最適プロセッサユニットに対して割り当てることが
できるようにするものである。これにより、負荷をバラ
ンスよく効率的且つ短時間で各プロセッサユニットに割
り当てることができるようになると共に、負荷の割り当
てに峙181を要さなくなるので並列計算機システムの
処理性能を大幅に向上させることができる。
In this way, in this embodiment, each processor unit is provided with a communication means, and the load amount information of all processor units can be collected for each processor unit, so that the latest information on the load amount of all processor units is always updated and maintained. In addition, each processor unit has a function to know which processor currently has the lightest load based on the load amount information of all processor units it owns, so that it can select the processor with the lightest load. Each processor unit can easily know which unit it is, and when a load occurs, it uses the load information of its own processor and the load information of other processor units to
It is possible to select which processor unit is optimal for executing this generated load in consideration of the overall balance, and to allocate the load to the optimal processor unit. This makes it possible to allocate the load to each processor unit in a well-balanced and efficient manner in a short time, and because it eliminates the need for load allocation, the processing performance of the parallel computer system can be greatly improved. can.

第3図は本発明の他の実施例を示すブロック図である。FIG. 3 is a block diagram showing another embodiment of the present invention.

ここでは第1図の構成に対し、新たに負荷状況判断部7
を設けである。この負荷状況判断部7は自プロセッサ1
の負荷を現在、最も負荷の軽いプロセッサユニットのプ
ロセッサに対して移した場合に期待するだけの効率アッ
プが望めるか否かを判断し、負荷を移してもあまり効率
アップを望めないと判断した場合には、負荷をその軽負
荷プロセッサユニットに移さずに自プロセッサーにて処
理を行うように指令する機能を持つものである。
Here, a new load situation determination section 7 is added to the configuration shown in FIG.
This is provided. This load situation judgment unit 7 is the self-processor 1.
If the load is transferred to the processor of the processor unit that currently has the lightest load, it is determined whether or not the expected increase in efficiency can be expected, and if it is determined that the efficiency cannot be improved much even if the load is transferred. The processor has a function that instructs the processor to perform processing on its own processor without shifting the load to the lighter-load processor unit.

このシステムの場合、例えば、自プロセッサにおいて新
たに負荷が発生すると、この負荷状況判断部〆において
自プロセッサーの負荷を現在、最も負荷の軽いプロセッ
サに対して移すことにより期待するだけの効率アップが
望めるか否かを判、断する。そして、負荷を移してもあ
まり効率アップを望めない、すなわち、最も負荷の軽い
プロセッサも自プロセッサと間じくらいの負荷状況であ
ると判断した場合には、負荷を移さずに自プロセッサー
にて処理を行うように負荷移動判断部2に指令する。負
荷移動判断部2はこの指令により、自プロセッサーに当
該新発生負荷を実施させるべく指令する。
In the case of this system, for example, when a new load occurs on the own processor, the load status judgment section can shift the load of the own processor to the processor with the lightest load at present, thereby increasing the efficiency as much as expected. Judge whether or not. If it is determined that even if the load is transferred, the efficiency cannot be improved much, that is, the processor with the lightest load is about the same load as the own processor, the load will not be transferred and the processing will be performed by the own processor. The load movement determination section 2 is instructed to perform the following. Based on this command, the load shift determining unit 2 instructs its own processor to implement the newly generated load.

この方式を使用することにより、他のプロセッサに処理
を移しても効果の低いときは自プロセッサに直ちに新負
荷の処理を行わせ、選定プロセッサユニットに対しては
新負荷割り当ての指令を与えたり、その新負荷の処理を
行わせたりしないようにするので、プロセッサ間の通知
量を減らすことができ、且つ、実行の受は渡しの時間も
なくなる分、時間的ロスがなくなり、従って、並列電子
計算機システムの一層の性能向上を図ることができるよ
うになる。
By using this method, if transferring processing to another processor has little effect, the processor can immediately process the new load, and the selected processor unit can be given a command to allocate the new load. Since the processing of the new load is not performed, the amount of notifications between processors can be reduced, and there is no time loss as there is no time for handing over execution, and therefore, the parallel computer This makes it possible to further improve the performance of the system.

このように、本システムは各々のプロセッサ側において
、他プロセツサの負61量情報を大きさの順に編集して
更新保持する機能を持たせ、また、自プロセッサの現在
の負荷量情報を更新保持する機能を持たせるとともに自
プロセッサ側の負荷量が変化した場合、他の全プロセッ
サに対して変化した負荷量を通知する機能を持たせるよ
うにし、通知を受けたプロセッサ側ではそれぞれ通知し
てきたプロセッサに対する負荷量情報を更新するように
し、それと共に負荷量変化があったプロセッサの負荷量
が管理しているプロセッサ全体の中で何番目になるかを
編集するようにし、これにより、管理している全プロセ
ッサの中で最も負荷の軽いプロセッサがどれであるかを
それぞれのプロセッサ側で簡単に見つけることができる
ようにしたものである。そして、自プロセッサに負荷が
発生したとき、自プロセッサの負荷量と管理している全
プロセッサの中で最も負荷の軽いプロセッサの負荷量を
比較することで新たに発生した負荷をどのプロセッサに
割り当てるかを決定するようにしたので、発生した負荷
を常に一番負荷の軽いプロセッサに割り当てることが簡
単にできると共に、短時間でこの作業を実施でき、従っ
て、効率良く負荷の処理を実行できるようになる。
In this way, this system has a function on each processor side to edit and update the negative 61 amount information of other processors in order of size, and also update and hold the current load amount information of its own processor. In addition to providing this function, when the load amount on its own processor side changes, it has a function that notifies all other processors of the changed load amount, and each processor side that receives the notification The load amount information is updated, and at the same time, the load amount of the processor whose load amount has changed is edited to indicate the number among all managed processors. This allows each processor to easily find out which processor has the lightest load among the processors. When a load occurs on the own processor, it determines which processor to allocate the newly generated load to by comparing the load on the own processor with the load on the processor with the lightest load among all the managed processors. As a result, it is possible to easily allocate the generated load to the processor with the lightest load, and also to be able to perform this task in a short time, thus making it possible to process the load efficiently. .

なお、本発明は上記し、且つ図面に示す実施例に限定す
ることなく、その要旨を変更しない範囲内で適宜変形し
て実施し得るものであり、例えば、上記実施例では自プ
ロセッサ負荷量保持部や負荷量状態情報部は負荷量管理
部に持たせるようにしたがこれに限るものではないこと
は勿論である。
Note that the present invention is not limited to the embodiments described above and shown in the drawings, and can be implemented with appropriate modifications within the scope of the gist. Although the load amount status information section and the load amount state information section are provided in the load amount management section, it is needless to say that the present invention is not limited to this.

[発明の効果] 以上、詳述したように本発明は自プロセッサの負荷量が
変化したとき、他の全プロセッサに対してその情報を通
知し、通知を受けたプロセッサは通知してきたプロセッ
サ毎に更新し、負荷2順に編集しておくようにし、これ
により負荷が発生したとき、最も負荷の軽い他のプロセ
ッサを簡単に見つけ出すことができるようにし、自プロ
セッサの負荷量と最も負荷の軽いプロセッサの負荷量を
比較することで発生した負荷を現在の最も負荷の軽いプ
ロセッサに対して割り当てることができるようにしたも
のであるから、これにより、短時間で負荷割り当てに最
適なプロセッサを見付けることが出来、負荷の分散を効
率的に行うことができると共に並列システムの性能を向
上させることができるようになる並列電子計算機システ
ムを提供できる。
[Effects of the Invention] As detailed above, the present invention notifies all other processors of this information when the load amount of its own processor changes, and the processor that receives the notification updates the information for each processor that has received the notification. Update and edit in order of load 2, so that when a load occurs, you can easily find another processor with the lightest load, and check the load amount of the own processor and the processor with the lightest load. By comparing the amount of load, it is possible to allocate the generated load to the processor with the current lightest load, so it is possible to find the optimal processor for load allocation in a short time. , it is possible to provide a parallel computer system that can efficiently distribute loads and improve the performance of the parallel system.

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

第1図は本発明の一実施例を示すブロック図、第2図は
自プロセッサ負荷量保持部と負荷量状態情報部のテーブ
ル構成を示す図、第3図は他の実施例を示すブロック図
である。 1・・・プロセッサ、2・・・負荷移動判断部、3・・
・負荷量管理部、4・・・送受信回路部、5・・・自プ
ロセッサ負荷量保持部、6・・・負荷量状態情報部、7
・・・負荷状況判断部。
FIG. 1 is a block diagram showing one embodiment of the present invention, FIG. 2 is a diagram showing the table structure of the own processor load amount holding section and the load amount state information section, and FIG. 3 is a block diagram showing another embodiment. It is. DESCRIPTION OF SYMBOLS 1... Processor, 2... Load movement judgment part, 3...
- Load amount management section, 4... Transmission/reception circuit section, 5... Own processor load amount holding section, 6... Load amount state information section, 7
...Load status judgment unit.

Claims (2)

【特許請求の範囲】[Claims] (1)複数のプロセッサを有し発生する負荷を各プロセ
ッサに割当てて処理する並列計算機システムにおいて、 各々のプロセッサには他のプロセッサからの各プロセッ
サ負荷量情報を受けてこれらを負荷量の順に編集して更
新保持すると共に自己プロセッサにおける負荷の実行に
伴う負荷量の情報を得てこれを更新記憶する管理手段と
、 この管理手段が更新記憶した前記自己プロセッサにおけ
る負荷量情報を他のプロセッサに送出し、他のプロセッ
サ側から送られる負荷量を受信する伝送手段と、 自己プロセッサに対しての新発生負荷があるときは前記
管理手段の保持した負荷量情報をもとに負荷を分散する
に最適な他のプロセッサの有無を調べ、最適プロセッサ
があるときは当該新発生負荷をその最適プロセッサに分
担させるべく制御する判断手段と を具備してなる並列電子計算機システム。
(1) In a parallel computer system that has multiple processors and processes the generated load by assigning it to each processor, each processor receives processor load amount information from other processors and edits the information in order of load amount. a management means for updating and retaining information on the amount of load associated with the execution of the load on the self-processor, and updating and storing the information; and sending the information on the amount of load on the self-processor updated and stored by the management means to other processors. However, there is a transmission means for receiving the load amount sent from other processors, and when there is a new load on the own processor, it is optimal for distributing the load based on the load amount information held by the management means. 1. A parallel electronic computer system comprising: determining means for checking the presence or absence of other processors and, if there is an optimal processor, controlling the newly generated load to be shared with the optimal processor.
(2)複数のプロセッサを有し発生する負荷を各プロセ
ッサに割当てて処理する並列計算機システムにおいて、 各々のプロセッサには他のプロセッサからの各プロセッ
サ負荷量情報を受けてこれらを負荷量の順に編集して更
新保持すると共に自己プロセッサにおける負荷の実行に
伴う負荷量の情報を得てこれを更新記憶する管理手段と
、 この管理手段が更新記憶した前記自己プロセッサにおけ
る負荷量情報を他のプロセッサに送出し、他のプロセッ
サ側から送られる負荷量を受信する伝送手段と、 自己プロセッサに対しての新発生負荷があるときは前記
管理手段の保持した負荷量情報をもとに負荷を分散する
に最適な他のプロセッサの有無を調べ、最適プロセッサ
があるときは当該新発生負荷をその最適プロセッサに分
担させるべく制御する判断手段と、 前記判断手段が最適プロセッサありと判断し、且つ、前
記自己プロセッサと前記最適プロセッサの負荷量が近似
しているときは、効率を演算し、効率向上が期待できな
いときは新発生負荷を自プロセッサにて処理するべく判
断手段に指令する状況判断手段を設けたことを特徴とす
る並列電子計算機システム。
(2) In a parallel computer system that has multiple processors and processes the generated load by assigning it to each processor, each processor receives processor load amount information from other processors and edits the information in order of load amount. a management means for updating and retaining information on the amount of load associated with the execution of the load on the self-processor, and updating and storing the information; and sending the information on the amount of load on the self-processor updated and stored by the management means to other processors. However, there is a transmission means for receiving the load amount sent from other processors, and when there is a new load on the own processor, it is optimal for distributing the load based on the load amount information held by the management means. determining means for checking the presence or absence of other processors, and controlling the newly generated load to be shared by the optimal processor if there is an optimal processor; A situation determining means is provided which calculates the efficiency when the load amount of the optimum processor is approximate, and instructs the determining means to process the newly generated load by the own processor when no improvement in efficiency is expected. A parallel computer system featuring features.
JP10190289A 1989-04-21 1989-04-21 Parallel electronic computer system Pending JPH02280266A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10190289A JPH02280266A (en) 1989-04-21 1989-04-21 Parallel electronic computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10190289A JPH02280266A (en) 1989-04-21 1989-04-21 Parallel electronic computer system

Publications (1)

Publication Number Publication Date
JPH02280266A true JPH02280266A (en) 1990-11-16

Family

ID=14312845

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10190289A Pending JPH02280266A (en) 1989-04-21 1989-04-21 Parallel electronic computer system

Country Status (1)

Country Link
JP (1) JPH02280266A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5410696A (en) * 1992-03-16 1995-04-25 Hitachi, Ltd. Method of processing a program by parallel processing, and a processing unit thereof
JPH10283211A (en) * 1997-03-28 1998-10-23 Internatl Business Mach Corp <Ibm> Processor resource management method for multi-system environment
JP2007241556A (en) * 2006-03-07 2007-09-20 Mitsubishi Electric Corp Sequence processing execution equipment by two or more arithmetic units
US10970430B2 (en) 2015-09-25 2021-04-06 Fujitsu Limited Computer-readable recording medium, computing machine resource allocation method, and particle simulation apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5410696A (en) * 1992-03-16 1995-04-25 Hitachi, Ltd. Method of processing a program by parallel processing, and a processing unit thereof
JPH10283211A (en) * 1997-03-28 1998-10-23 Internatl Business Mach Corp <Ibm> Processor resource management method for multi-system environment
JP2007241556A (en) * 2006-03-07 2007-09-20 Mitsubishi Electric Corp Sequence processing execution equipment by two or more arithmetic units
US10970430B2 (en) 2015-09-25 2021-04-06 Fujitsu Limited Computer-readable recording medium, computing machine resource allocation method, and particle simulation apparatus

Similar Documents

Publication Publication Date Title
US5870604A (en) Job execution processor changing method and system, for load distribution among processors
JP3382953B2 (en) Client management flow control method and apparatus on finite memory computer system
US5526492A (en) System having arbitrary master computer for selecting server and switching server to another server when selected processor malfunctions based upon priority order in connection request
EP2710470B1 (en) Extensible centralized dynamic resource distribution in a clustered data grid
US20050050544A1 (en) Distributed computing system
CN106201356B (en) A kind of dynamic data dispatching method based on link available bandwidth state
JPH06202978A (en) Logical route schedule device and method of execution
AU3014999A (en) Method for allocating tasks, data processing system, client data processing node, and computer-readable storage medium
CN103366022B (en) Information handling system and disposal route thereof
US11119827B2 (en) Load balancing deterministically-subsetted processing resources using fractional loads
WO2006028547A1 (en) Method for managing resources of ad hoc wireless networks
CN103944997A (en) Load balancing method with combination of random sampling and virtualization technology
CN112882827A (en) Method, electronic device and computer program product for load balancing
US9086910B2 (en) Load control device
US20170289084A1 (en) Messaging forwarding system and method
JPH02280266A (en) Parallel electronic computer system
US10931583B2 (en) Methods of load balancing
CN115629854A (en) Distributed task scheduling method, system, electronic device and storage medium
CN110213178B (en) Flow management method, integrated chip and device
CN110795250B (en) Load scheduling method, device, equipment and storage medium
KR100827626B1 (en) Grid database system using ring-based connection structure and load-balancing method therefor
CN111382139A (en) Parallel access method for same account in database
CN104506452A (en) Message processing method and message processing device
EP3129878A1 (en) Elasticity engine for availability management framework (amf)
JP3103129B2 (en) Load balancing method