JPH09237193A - Dynamic load distribution method for parallel computer - Google Patents

Dynamic load distribution method for parallel computer

Info

Publication number
JPH09237193A
JPH09237193A JP4352096A JP4352096A JPH09237193A JP H09237193 A JPH09237193 A JP H09237193A JP 4352096 A JP4352096 A JP 4352096A JP 4352096 A JP4352096 A JP 4352096A JP H09237193 A JPH09237193 A JP H09237193A
Authority
JP
Japan
Prior art keywords
receiver
task
time
processor
qualified
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
JP4352096A
Other languages
Japanese (ja)
Inventor
Minoru Miyazawa
稔 宮沢
Kazuhiro Aoyama
和弘 青山
Satoshi Matsumoto
松本  聡
Hiromi Yamazaki
弘巳 山崎
Hideaki Yoshioka
英明 吉岡
Hiroyuki Takano
博行 高野
Toru Hanazawa
徹 花澤
正人 ▲高▼橋
Masato Takahashi
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 Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP4352096A priority Critical patent/JPH09237193A/en
Publication of JPH09237193A publication Critical patent/JPH09237193A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prevent the quantity of load from being increased and to improve the efficiency of processing by allocating a new generation request task generated by a processor in a system to another processor at the time of judging that the task can not be processed in the processor concerned. SOLUTION: When a new generation request task is generated in a certain processor in a real time multi-processor system forcing each processor to execute an allocated task within prescribed frame time, whether the request task can be processed in the processor or not is previously judged, and at the time of judging the disablement of the processing, dynamic load distribution is executed so as to request task allocation to another processor. When the disablement of processing the request task by its own processor is judged and substitutive processing is requested to another processor, the determination of a receiver is executed among processors qualified for receivers. Consequently the load quantity of each processor can be prevented from being unnecessarily increased and the processing efficiency can be improved.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、リアルタイムな並
列計算機において、各プロセッサで発生した全てのタス
クを定められたフレームタイム内で処理することが可能
になるような動的負荷分散を行う方法に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for performing dynamic load distribution in a real-time parallel computer so that all tasks generated by each processor can be processed within a predetermined frame time. It is a thing.

【0002】[0002]

【従来の技術】図25は従来の並列計算機装置を示すも
ので、複数のプロセッサ102〜1mnがネットワーク
101によって接続されている。システム内の全てのプ
ロセッサが効率良く稼働するために、逐次発生するタス
クをこれらのプロセッサに順次割り当てて分散処理を行
う。各プロセッサは割り当てられたタスクの処理時間か
ら負荷情報を生成する。
2. Description of the Related Art FIG. 25 shows a conventional parallel computer system in which a plurality of processors 102 to 1mn are connected by a network 101. In order for all the processors in the system to operate efficiently, tasks that occur sequentially are sequentially assigned to these processors for distributed processing. Each processor generates load information from the processing time of the assigned task.

【0003】従来、このような並列計算機装置では各プ
ロセッサは自身の負荷が重い状態で新たにタスクの生成
要求が生じた場合、他のプロセッサの負荷情報を調べる
ことによって最も負荷の軽いプロセッサを探して、該プ
ロセッサに対して該タスクの割当を依頼するか、あるい
は重い負荷のプロセッサが他のプロセッサを無作為に選
び、選んだ該プロセッサの負荷情報を調べて自分より負
荷が軽いかどうか判断し、相手プロセッサの方が負荷が
軽かった場合に、該プロセッサに対して該タスクの割当
を依頼する等して、全てのプロセッサの負荷を平均化し
てシステム全体の効率を上げようとしていた。
Conventionally, in such a parallel computer system, when a new task generation request is made in a state where each processor has a heavy load, the processor is searched for the lightest load by checking the load information of the other processors. Request the processor to allocate the task, or a processor with a heavy load randomly selects another processor and examines the load information of the selected processor to determine whether the load is lighter than itself. When the other processor has a lighter load, the processor is requested to be assigned the task, and the loads of all the processors are averaged to improve the efficiency of the entire system.

【0004】[0004]

【発明が解決しようとする課題】上記のような従来の並
列計算機においては、負荷の重いプロセッサがタスク割
当を依頼するために最も負荷の軽いプロセッサを探すに
当たり、相手のプロセッサの負荷情報を逐次調べて行か
ねばならないので場合によっては多くの時間を要するこ
とになり、無作為に相手を選ぶ方法では選定したプロセ
ッサの負荷が自分の負荷より重く、そのために再度選定
を重ねるなどで多くの時間を要したり、また相手のプロ
セッサの負荷が自分より軽くても余り差が無く、該タス
クの割当に要した処理時間の方が多くて意味のない負荷
分散を行ったりする場合があり、結果として動的負荷分
散を行うための負荷が大きくなり、本来のアプリケーシ
ョンタスクの処理効率が低下してしまうという課題があ
った。
In a conventional parallel computer as described above, when a processor with a heavy load requests a processor with the lightest load to request task allocation, the load information of the other processor is sequentially examined. It may take a lot of time in some cases because the load of the selected processor is heavier than one's own load, so it takes a lot of time to repeat the selection. In some cases, even if the other processor has a lighter load than itself, there is no difference, and the processing time required for assigning the task is longer, meaningless load distribution may be performed. However, there is a problem that the load for dynamically distributing the load increases and the processing efficiency of the original application task decreases.

【0005】本発明はかかる課題を解決するためになさ
れたものであり、各プロセッサが定められたフレームタ
イム内に割り当てられたタスクを処理しなければならな
いようなリアルタイムマルチプロセッサシステムにおい
て、システム内のあるプロセッサで新規生成要求タスク
が発生した場合に、該プロセッサ内で要求タスクを処理
可能であるかを先に判定し、処理不可能であると判明し
た場合にのみ該プロセッサはセンダとなり他のプロセッ
サにタスク割当を依頼すべく動的負荷分散を行う。これ
により、常時負荷分散を試みなくて良いので不必要にプ
ロセッサの負荷量が増加することを防ぐ。また、センダ
からタスク割当を依頼された各プロセッサ同士でレシー
バの決定を行うことにより、結果としてセンダのレシー
バ決定に要する負荷量を減らすことが出来る。以上によ
り、システム全体として動的負荷分散に要する負荷量を
減らし、処理効率の向上を目的としている。
The present invention has been made to solve the above problems, and in a real-time multiprocessor system in which each processor must process an assigned task within a predetermined frame time, When a new generation request task occurs in a certain processor, it is first judged whether or not the request task can be processed in the processor, and only when it is determined that the task cannot be processed, the processor becomes a sender and another processor. Dynamic load balancing is performed in order to request task allocation to. As a result, it is not necessary to always try to distribute the load, and thus it is possible to prevent the load of the processor from unnecessarily increasing. Further, since the receivers are determined by the processors requested by the sender to allocate the tasks, the load required for determining the receivers of the sender can be reduced. From the above, the purpose is to reduce the amount of load required for dynamic load distribution in the entire system and improve processing efficiency.

【0006】[0006]

【課題を解決するための手段】第1の発明によるリアル
タイムな並列計算機における動的負荷分散方法は、ある
プロセッサにタスク生成要求が生じたとき、該プロセッ
サでの実行可否判定を行う手段と、負荷判定の結果該タ
スクの処理実行が不可能であるとなった場合、該プロセ
ッサがセンダとなって自分の次のプロセッサ番号のプロ
セッサをレシーバ候補として選定する手段と、該レシー
バ候補に対して負荷情報の送信を1対1で要求する通信
手段と、受信した負荷情報を基にそのレシーバ候補がレ
シーバとしての資格があるかどうかを判定する手段と、
判定の結果が合格であったレシーバ有資格者が一定数に
達するまで、またはフレームタイム終了までにタスクの
処理や割当要求を行う時間的余裕がある限り新たなレシ
ーバ候補の選択および資格判定を繰り返す手段と、全レ
シーバ有資格者に対してレシーバ決定指令を出す手段
と、レシーバ有資格者が有資格者同士でお互いの負荷情
報を交換する手段と、全有資格者の負荷情報を基に各レ
シーバ有資格者が最も負荷の軽いレシーバ有資格者を一
つ決定する手段と、レシーバに決定したプロセッサがセ
ンダに決定報告を行う手段と、決定報告を受けたセンダ
がレシーバに該タスクの処理代行を依頼する手段を備え
ることにより達成される。
According to a first aspect of the present invention, there is provided a dynamic load balancing method for a real-time parallel computer, wherein when a task generation request is issued to a certain processor, the processor determines whether or not the processor can execute the task. When it is determined that the task cannot be executed, the processor becomes a sender and selects a processor having the next processor number as a receiver candidate, and load information for the receiver candidate. Communication means for requesting the transmission of 1 to 1, and means for determining whether or not the receiver candidate is qualified as a receiver based on the received load information,
Repeat the selection and qualification of new receiver candidates as long as there is enough time to process tasks and request allocation until the number of qualified receivers who have passed the judgment reaches a certain number or until the end of the frame time. Means, a means for issuing a receiver decision command to all receiver qualified persons, a means for the receiver qualified persons to exchange mutual load information between qualified persons, and each based on the load information of all qualified persons. A means by which the receiver qualified person determines one of the least qualified receiver qualified persons, a means by which the processor decided by the receiver sends a decision report to the sender, and a sender which receives the decision report acts on behalf of the receiver by the receiver. It is achieved by providing a means for requesting.

【0007】また、第2の発明によるリアルタイムな並
列計算機における動的負荷分散方法は、あるプロセッサ
にタスク生成要求が生じたとき、該プロセッサでの実行
可否判定を行う手段と、各プロセッサが定期的に自分の
負荷情報を他のプロセッサへ放送する手段と、負荷判定
の結果該タスクの処理実行が不可能であるとなった場
合、該プロセッサがセンダとなって予め該放送手段によ
り取得している各プロセッサの負荷情報を基に各プロセ
ッサのレシーバとしての資格判定を行う手段と、判定の
結果が合格であったレシーバ有資格者全てに対してレシ
ーバ決定指令を出す手段と、レシーバ有資格者が有資格
者同士で該放送手段を用いてお互いの負荷情報を交換す
る手段と、全有資格者の情報を基に各レシーバ有資格者
が最も負荷の軽いレシーバ有資格者を一つ決定する手段
と、レシーバに決定したプロセッサがセンダに決定報告
を行う手段と、決定報告を受けたセンダがレシーバに該
タスクの処理代行を依頼する手段を備えることにより達
成される。
In the real-time parallel computer dynamic load balancing method according to the second aspect of the present invention, when a task generation request is issued to a processor, the processor determines whether or not the processor can execute the task, and each processor periodically. And a means for broadcasting its own load information to another processor, and when the result of load judgment indicates that the task cannot be executed, the processor becomes a sender and is acquired in advance by the broadcasting means. A means to judge the qualification as a receiver of each processor based on the load information of each processor, a means to issue a receiver decision command to all receiver qualified people who have passed the judgment result, and a receiver qualified person Based on the means of exchanging load information between qualified persons using the broadcasting means and the information of all qualified persons, each receiver qualified person receives the least load. By providing a means for determining one qualified server, a processor for the receiver to report to the sender, and a sender for receiving the decision to request the receiver to process the task. To be achieved.

【0008】また、第3の発明によるリアルタイムな並
列計算機における動的負荷分散方法は、あるプロセッサ
にタスク生成要求が生じたとき、該プロセッサでの実行
可否判定を行う手段と、各プロセッサが共有メモリに自
由にアクセスできる手段と、負荷判定の結果該タスクの
処理実行が不可能であるとなった場合、該プロセッサが
センダとなり、該共有メモリを読み込むことによって各
プロセッサの負荷情報を取得する手段と、各プロセッサ
の負荷情報を基に各プロセッサのレシーバとしての資格
判定を行う手段と、判定の結果が合格であったレシーバ
有資格者全てに対してレシーバ決定指令を出す手段と、
レシーバ有資格者が有資格者同士で該共有メモリを用い
てお互いの負荷情報を交換する手段と、全有資格者の情
報を基に各レシーバ有資格者が最も負荷の軽いレシーバ
有資格者を一つ決定する手段と、レシーバに決定したプ
ロセッサがセンダに決定報告を行う手段と、決定報告を
受けたセンダがレシーバに該タスクの処理代行を依頼す
る手段を備えることにより達成される。
A dynamic load balancing method for a real-time parallel computer according to the third aspect of the present invention is a method for determining whether or not a processor can execute a task when a task generation request is issued to the processor, and a shared memory for each processor. And a means for acquiring load information of each processor by reading the shared memory when the processor cannot execute the task as a result of the load determination. , Means for performing qualification determination as a receiver of each processor based on the load information of each processor, and means for issuing a receiver determination command to all receiver qualified persons who have passed the determination result,
A means for the qualified receivers to exchange load information with each other using the shared memory, and based on the information of all qualified users, each qualified receiver determines the qualified receiver with the lightest load. This is achieved by providing a means for making one decision, a means for the processor decided for the receiver to make a decision report to the sender, and a means for the sender receiving the decision report asking the receiver to act on behalf of the task.

【0009】また、第4,5,6の発明によるリアルタ
イムな並列計算機における動的負荷分散方法は、レシー
バ決定後にレシーバがタスク生成要求を受諾できなかっ
た場合、レシーバがセンダにリジェクト信号を送信する
手段と、フレームタイム終了までにタスクの処理や割当
要求を行う時間的余裕がある場合にセンダが残ったレシ
ーバ有資格者に対して新たにレシーバ決定指令を出す手
段を備えることにより達成される。
Further, in the dynamic load balancing method for a real-time parallel computer according to the fourth, fifth and sixth inventions, if the receiver cannot accept the task generation request after the receiver is determined, the receiver sends a reject signal to the sender. Means and means for newly issuing a receiver determination command to the remaining qualified receivers when the sender has sufficient time to process tasks and request allocations by the end of the frame time.

【0010】また、第7,8,9の発明によるリアルタ
イムな並列計算機における動的負荷分散方法は、レシー
バ決定の際に各レシーバ有資格者がレシーバ有資格者の
リストを作成する手段と、レシーバ決定後にレシーバが
タスク生成要求を受諾できなかった場合、フレームタイ
ム終了までにタスクの処理や割当要求を行う時間的余裕
がある限りレシーバが有資格者リストに登録されている
プロセッサの中から新たにレシーバを決定する手段を備
えることにより達成される。
The dynamic load balancing method for a real-time parallel computer according to the seventh, eighth and ninth aspects of the invention is a means for each qualified receiver to create a list of qualified receivers and a receiver. If the receiver cannot accept the task creation request after the decision, the receiver will be newly added from the processors registered in the qualified person list as long as there is enough time to process the task and request the allocation by the end of the frame time. This is achieved by providing means for determining the receiver.

【0011】また、第10,11,12の発明によるリ
アルタイムな並列計算機における動的負荷分散方法は、
レシーバ候補の資格判定時に判定結果が合格であるとな
った場合に、レシーバ候補が生成要求のあるタスクを生
成するのに必要なメモリやフレームタイム内での処理時
間等のリソースを予め確保する手段を備えることにより
達成される。
A dynamic load balancing method in a real-time parallel computer according to the tenth, eleventh and twelfth inventions is as follows:
A means for previously securing resources such as a memory and a processing time within a frame time required for the receiver candidate to generate a task for which a generation request is made when the determination result is a pass when the receiver candidate is qualified. It is achieved by providing.

【0012】[0012]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

実施の形態1.図1,2はこの発明の実施の形態1を示
す処理フロー図である。図1はあるプロセッサにタスク
生成要求が生じた場合の処理フロー図、図2はセンダに
レシーバ候補として選定され、レシーバ決定指示を送信
されたプロセッサの処理フロー図である。図1におい
て、あるプロセッサにおいてタスク生成要求が生じた場
合、該プロセッサはタスクスケジューリングの結果得ら
れるフレームタイム終了までのタスク割当のタイムスケ
ジュールやメモリ使用状況等の負荷情報と、該タスクの
所要メモリ量や所要処理時間等に関するタスク情報を基
に該タスクの実行可否判定1を行う。現在時刻からフレ
ームタイム終了時刻までの時間より該タスクの所要処理
時間の方が長かったり、現在時刻からフレームタイム終
了時刻までに既に他のタスクが割り当てられているため
該タスクの処理を行う余裕がない場合は実行不可能と判
定され、そうでなければ実行可能と判定される。実行可
能と判定された場合には該プロセッサにおいてタスク生
成2を行い、実行を開始する。実行不可能と判定された
場合には、該プロセッサはセンダとなり、センダは自分
の次のプロセッサ番号のプロセッサをレシーバ候補とし
て選択3し、該レシーバ候補に対して負荷情報を送信す
るように要求4する。図2(a)においてレシーバ候補
はセンダから負荷情報送信要求を受信すると、自身の現
在のタスクスケジュール状況から負荷計測51を行い、
得られた負荷情報をセンダに返信52する。
Embodiment 1. 1 and 2 are process flow charts showing the first embodiment of the present invention. FIG. 1 is a process flow diagram when a task generation request is issued to a certain processor, and FIG. 2 is a process flow diagram of a processor which is selected as a receiver candidate by a sender and to which a receiver determination instruction is transmitted. In FIG. 1, when a task generation request occurs in a certain processor, the processor obtains the task scheduling time schedule until the end of the frame time, load information such as memory usage status, and the required memory amount of the task. Executability determination 1 of the task is performed based on the task information regarding the required processing time and the like. The processing time required for the task is longer than the time from the current time to the end time of the frame time, or another task is already assigned from the current time to the end time of the frame time, so there is room to process the task. If not, it is determined to be unexecutable, and if not, it is determined to be executable. If it is determined to be executable, task generation 2 is performed in the processor and execution is started. If it is determined to be inexecutable, the processor becomes a sender, and the sender selects the processor with the processor number next to it as a receiver candidate 3 and requests the receiver candidate to transmit load information 4 To do. In FIG. 2A, when the receiver candidate receives the load information transmission request from the sender, it performs load measurement 51 from its current task schedule status,
The obtained load information is returned 52 to the sender.

【0013】図1において、センダは負荷情報を受信5
すると、該負荷情報と該タスクのタスク情報を基にレシ
ーバ候補が該タスクの処理代行の資格があるかどうかを
判定6する。現在時刻からフレームタイム終了時刻まで
に既に他のタスクが割り当てられているため該タスクの
処理を行う余裕がない場合は資格無しと判定され、そう
でなければ資格有りと判定される。判定の結果、資格有
りと判定されたレシーバ有資格者の数が一定数に達した
場合7は、各レシーバ有資格者に対してレシーバ決定指
示を送信8する。図2(b)において、レシーバ決定指
示を受信した各レシーバ有資格者は、自分以外のレシー
バ有資格者の負荷情報を取得53し、該負荷情報を基に
最も負荷の軽いレシーバ有資格者を1つレシーバとして
決定54する。レシーバに決定したプロセッサ55は、
その旨をセンダに報告56する。図1において、センダ
はレシーバ決定報告を受信9すると、そのレシーバに対
してタスク割当要求10を行い、動的負荷分散を終了す
る。有資格者数が一定数に達していないとき7は、フレ
ームタイム終了までにタスクの処理や割当要求を行う時
間的余裕がある場合11はレシーバ候補の選択3から再
実行し、時間に余裕がない場合11は有資格者数が一定
数に達していないときにおいてもその時点でレシーバ有
資格者が1つ以上あれば12、レシーバ決定指示を送信
8する。レシーバ有資格者が1つもない場合は、該タス
クの生成要求をリジェクトする。
In FIG. 1, the sender receives the load information 5
Then, based on the load information and the task information of the task, it is determined 6 whether or not the receiver candidate is qualified to process the task. Since another task has already been assigned from the current time to the end time of the frame time, if there is no room to process the task, it is determined to be unqualified, and otherwise, it is determined to be qualified. As a result of the determination, when the number of qualified receivers who have been qualified has reached a certain number 7, the receiver determination instruction is transmitted 8 to each qualified receiver. In FIG. 2B, each receiver qualified person who has received the receiver determination instruction acquires the load information 53 of the receiver qualified persons other than himself and selects the receiver qualified person with the lightest load based on the load information. Determine 54 as one receiver. The processor 55, which is determined to be the receiver,
This is reported to the sender 56. In FIG. 1, when the sender receives 9 the receiver decision report, it issues a task allocation request 10 to the receiver and ends the dynamic load distribution. If the number of qualified persons does not reach a certain number, 7: If there is enough time to process a task or request allocation by the end of the frame time, 11: Re-execute from the receiver candidate selection 3; If there is not 11, if there is at least one receiver qualified person at that time even if the number of qualified persons does not reach a certain number, then 12 and a receiver determination instruction is transmitted 8. If there is no receiver qualified person, the request to generate the task is rejected.

【0014】実施の形態2.図3,4はこの発明の実施
の形態2を示す処理フロー図である。図3はあるプロセ
ッサにタスク生成要求が生じた場合の処理フロー図、図
4はセンダにレシーバ候補として選定され、レシーバ決
定指示を送信されたプロセッサの処理フロー図である。
図3において、あるプロセッサにおいてタスク生成要求
が生じた場合、該プロセッサはタスクスケジューリング
の結果得られるフレームタイム終了までのタスク割当の
タイムスケジュールやメモリ使用状況等の負荷情報と、
該タスクの所要メモリ量や所要処理時間等に関するタス
ク情報を基に該タスクの実行可否判定1を行う。現在時
刻からフレームタイム終了時刻までの時間より該タスク
の所要処理時間の方が長かったり、現在時刻からフレー
ムタイム終了時刻までに既に他のタスクが割り当てられ
ているため該タスクの処理を行う余裕がない場合は実行
不可能と判定され、そうでなければ実行可能と判定され
る。判定の結果、実行が可能である場合には該プロセッ
サにおいてタスク生成2を行い、実行を開始し、該タス
クの生成によって変動した自プロセッサの負荷情報を更
新13する。
Embodiment 2 FIG. 3 and 4 are process flow charts showing the second embodiment of the present invention. FIG. 3 is a processing flow chart when a task generation request is issued to a certain processor, and FIG. 4 is a processing flow chart of the processor which is selected as a receiver candidate by the sender and to which the receiver determination instruction is transmitted.
In FIG. 3, when a task generation request is generated in a certain processor, the processor acquires load information such as a time schedule of task allocation until the end of the frame time obtained as a result of task scheduling and a memory usage state,
Execution permission / inhibition determination 1 of the task is performed based on the task information regarding the required memory amount and the required processing time of the task. The processing time required for the task is longer than the time from the current time to the end time of the frame time, or another task is already assigned from the current time to the end time of the frame time, so there is room to process the task. If not, it is determined to be unexecutable, and if not, it is determined to be executable. If the result of determination is that execution is possible, task generation 2 is performed in this processor, execution is started, and the load information of its own processor that has fluctuated due to the generation of this task is updated 13.

【0015】図4(a)において、各プロセッサの負荷
情報は、他の全プロセッサに対して定期的に放送57を
行う。図3において、該実行可否判定の結果、実行が不
可能である場合には、該プロセッサはセンダとなり、該
放送機能57によって予め取得している負荷情報と該タ
スクのタスク情報を元に、各レシーバ候補に該タスクの
処理代行の資格があるかどうかを判定14する。現在時
刻からフレームタイム終了時刻までに既に他のタスクが
割り当てられているため該タスクの処理を行う余裕がな
い場合は資格無しと判定され、そうでなければ資格有り
と判定される。判定の結果、資格有りと判定された有資
格者が一定数に達した場合7、各レシーバ有資格者に対
してレシーバ決定指示を送信8する。図4(b)におい
て、レシーバ決定指示を受信した各レシーバ有資格者
は、自プロセッサの負荷情報を他の各レシーバ有資格者
へ放送58することによって自分以外のレシーバ有資格
者の負荷情報を取得53し、この情報を基に最も負荷の
軽いレシーバ有資格者を1つレシーバとして決定54す
る。自分がレシーバに決定した場合55は、その旨をセ
ンダに報告56する。図3において、センダはレシーバ
決定報告を受信9すると、そのレシーバに対してタスク
割当要求10を行い、動的負荷分散を終了する。有資格
者数が一定数に達していないとき7は、フレームタイム
終了までにタスクの処理や割当要求を行う時間的余裕が
ある場合11はレシーバ候補の資格判定14から再実行
し、時間に余裕がない場合11は有資格者数が一定数に
達していないときにおいてもその時点でレシーバ有資格
者が1つ以上あれば12、レシーバ決定指示を送信8す
る。レシーバ有資格者が1つもない場合は、該タスクの
生成要求をリジェクトする。
In FIG. 4A, the load information of each processor is regularly broadcast 57 to all other processors. In FIG. 3, when it is determined that the execution is impossible as a result of execution determination, the processor becomes a sender, and based on the load information and the task information of the task acquired in advance by the broadcasting function 57, each processor It is judged 14 whether the receiver candidate is qualified to process the task. Since another task has already been assigned from the current time to the end time of the frame time, if there is no room to process the task, it is determined to be unqualified, and otherwise, it is determined to be qualified. As a result of the determination, when the number of qualified persons determined to be qualified reaches a certain number 7, the receiver determination instruction is transmitted 8 to each receiver qualified person. In FIG. 4B, each receiver qualified person who has received the receiver determination instruction broadcasts the load information of his own processor to each of the other receiver qualified persons to thereby obtain the load information of the receiver qualified persons other than himself. Acquisition 53 is performed, and one receiver qualified person with the lightest load is determined as one receiver 54 based on this information. If the user decides to be the receiver 55, it reports 56 to the sender accordingly. In FIG. 3, when the sender receives 9 the receiver decision report, it makes a task allocation request 10 to the receiver and ends the dynamic load distribution. If the number of qualified persons does not reach a certain number, 7: If there is enough time to process a task or request allocation by the end of the frame time, 11: Re-execute from the receiver candidate qualification judgment 14 If there is not, 11 even if the number of qualified persons does not reach a certain number, if there is at least one receiver qualified person at that time, 12, then a receiver determination instruction is transmitted 8. If there is no receiver qualified person, the request to generate the task is rejected.

【0016】実施の形態3.図5,6はこの発明の実施
の形態3を示す処理フロー図である。図5はあるプロセ
ッサにタスク生成要求が生じた場合の処理フロー図、図
6はセンダにレシーバ候補として選定され、レシーバ決
定指示を送信されたプロセッサの処理フロー図である。
図5において、あるプロセッサにおいてタスク生成要求
が生じた場合、該プロセッサはタスクスケジューリング
の結果得られるフレームタイム終了までのタスク割当の
タイムスケジュールやメモリ使用状況等の負荷情報と、
該タスクの所要メモリ量や所要処理時間等に関するタス
ク情報を基に該タスクの実行可否判定1を行う。現在時
刻からフレームタイム終了時刻までの時間より該タスク
の所要処理時間の方が長かったり、現在時刻からフレー
ムタイム終了時刻までに既に他のタスクが割り当てられ
ているため該タスクの処理を行う余裕がない場合は実行
不可能と判定され、そうでなければ実行可能と判定され
る。判定の結果、実行が可能である場合には該プロセッ
サにおいてタスク生成2を行い、実行を開始し、該タス
クの生成によって変動した自プロセッサの負荷情報を更
新13する。
Embodiment 3 5 and 6 are process flow charts showing the third embodiment of the present invention. FIG. 5 is a process flow diagram when a task generation request is issued to a certain processor, and FIG. 6 is a process flow diagram of the processor which is selected as a receiver candidate by the sender and to which the receiver determination instruction is transmitted.
In FIG. 5, when a task generation request is generated in a certain processor, the processor obtains the task scheduling time schedule until the end of the frame time obtained as a result of the task scheduling, and load information such as memory usage status,
Execution permission / inhibition determination 1 of the task is performed based on the task information regarding the required memory amount and the required processing time of the task. The processing time required for the task is longer than the time from the current time to the end time of the frame time, or another task is already assigned from the current time to the end time of the frame time, so there is room to process the task. If not, it is determined to be unexecutable, and if not, it is determined to be executable. If the result of determination is that execution is possible, task generation 2 is performed in this processor, execution is started, and the load information of its own processor that has fluctuated due to the generation of this task is updated 13.

【0017】図6(a)において、各プロセッサの負荷
情報は、全プロセッサからアクセス可能な共有メモリに
定期的に書き込む59。図5において、該実行可否判定
の結果、実行が不可能である場合には、該プロセッサは
センダとなって該共有メモリに予め書かれている負荷情
報を読み込み15、この情報と該タスクのタスク情報を
元に各レシーバ候補に該タスクの処理代行の資格がある
かどうかを判定6する。現在時刻からフレームタイム終
了時刻までに既に他のタスクが割り当てられているため
該タスクの処理を行う余裕がない場合は資格無しと判定
され、そうでなければ資格有りと判定される。判定の結
果、資格有りと判定されたレシーバ有資格者が一定数に
達した場合7、各レシーバ有資格者に対してレシーバ決
定指示を送信8する。図6(b)において、レシーバ決
定指示を受信した各レシーバ有資格者は、自プロセッサ
の負荷情報を該共有メモリへ書き込み60ことによって
自分以外のレシーバ有資格者の負荷情報を該共有メモリ
より取得61し、この情報を基に最も負荷の軽いレシー
バ有資格者を1つレシーバとして決定54する。自分が
レシーバに決定した場合55は、その旨をセンダに報告
56する。図5において、センダはレシーバ決定報告を
受信9すると、そのレシーバに対してタスク割当要求1
0を行い、動的負荷分散を終了する。有資格者数が一定
数に達していないとき7は、フレームタイム終了までに
タスクの処理や割当要求を行う時間的余裕がある場合1
1は負荷情報の読み込み15から再実行し、時間に余裕
がない場合11は有資格者数が一定数に達していないと
きにおいてもその時点でレシーバ有資格者が1つ以上あ
れば12、レシーバ決定指示を送信8する。レシーバ有
資格者が1つもない場合は、該タスクの生成要求をリジ
ェクトする。
In FIG. 6A, the load information of each processor is periodically written 59 in a shared memory accessible by all the processors. In FIG. 5, if the result of the execution permission / inhibition judgment indicates that the execution is impossible, the processor acts as a sender and reads the load information written in advance in the shared memory 15, and this information and the task of the task are read. Based on the information, it is judged 6 whether each receiver candidate is qualified to process the task. Since another task has already been assigned from the current time to the end time of the frame time, if there is no room to process the task, it is determined to be unqualified, and otherwise, it is determined to be qualified. As a result of the determination, when the number of qualified receiver qualified persons reaches a certain number 7, the receiver determination instruction is transmitted 8 to each qualified receiver receiver. In FIG. 6B, each receiver qualified person who has received the receiver determination instruction acquires the load information of the receiver qualified persons other than himself from the shared memory by writing 60 the load information of the own processor to the shared memory. Then, based on this information, one receiver qualified person with the lightest load is determined as one receiver 54. If the user decides to be the receiver 55, it reports 56 to the sender accordingly. In FIG. 5, when the sender receives the receiver decision report 9, the sender receives a task allocation request 1
0 is performed, and the dynamic load distribution ends. When the number of qualified persons does not reach a certain number, 7 indicates that there is enough time to process tasks and request allocation by the end of the frame time. 1
1 is re-executed from reading load information 15, and when there is no time, 11 is receiver 12 even if the number of qualified persons does not reach a certain number. The decision instruction is transmitted 8. If there is no receiver qualified person, the request to generate the task is rejected.

【0018】実施の形態4.図7,8はこの発明の実施
の形態4を示す処理フロー図である。図7はあるプロセ
ッサにタスク生成要求が生じた場合の処理フロー図、図
8はセンダにレシーバ候補として選定され、レシーバ決
定指示を送信されたプロセッサの処理フロー図である。
図7において、あるプロセッサにおいてタスク生成要求
が生じた場合、該プロセッサはタスクスケジューリング
の結果得られるフレームタイム終了までのタスク割当の
タイムスケジュールやメモリ使用状況等の負荷情報と、
該タスクの所要メモリ量や所要処理時間等に関するタス
ク情報を基に該タスクの実行可否判定1を行う。現在時
刻からフレームタイム終了時刻までの時間より該タスク
の所要処理時間の方が長かったり、現在時刻からフレー
ムタイム終了時刻までに既に他のタスクが割り当てられ
ているため該タスクの処理を行う余裕がない場合は実行
不可能と判定され、そうでなければ実行可能と判定され
る。判定の結果、実行が可能である場合には該プロセッ
サにおいてタスク生成2を行い、実行を開始する。判定
の結果、実行が不可能である場合には、該プロセッサは
センダとなり、センダは自分の次のプロセッサ番号のプ
ロセッサをレシーバ候補として選択3し、該レシーバ候
補に対して負荷情報を送信するように要求4する。図8
(a)において、レシーバ候補はセンダから負荷情報送
信要求を受信すると、自身の現在のタスクスケジュール
状況から負荷計測51を行い、得られた負荷情報をセン
ダに返信52する。図7において、センダは負荷情報を
受信5すると、この情報と該タスクのタスク情報を元に
レシーバ候補が該タスクの処理代行の資格があるかどう
かを判定6する。現在時刻からフレームタイム終了時刻
までに既に他のタスクが割り当てられているため該タス
クの処理を行う余裕がない場合は資格無しと判定され、
そうでなければ資格有りと判定される。判定の結果、資
格有りと判定されたレシーバ有資格者の数が一定数に達
した場合7は、各レシーバ有資格者に対してレシーバ決
定指示を送信8する。
Embodiment 4 7 and 8 are process flow charts showing the fourth embodiment of the present invention. FIG. 7 is a process flow diagram when a task generation request is issued to a certain processor, and FIG. 8 is a process flow diagram of the processor that is selected as a receiver candidate by the sender and has received a receiver determination instruction.
In FIG. 7, when a task generation request is generated in a certain processor, the processor acquires load information such as a time schedule of task allocation until the end of the frame time obtained as a result of task scheduling and a memory usage state,
Execution permission / inhibition determination 1 of the task is performed based on the task information regarding the required memory amount and the required processing time of the task. The processing time required for the task is longer than the time from the current time to the end time of the frame time, or another task is already assigned from the current time to the end time of the frame time, so there is room to process the task. If not, it is determined to be unexecutable, and if not, it is determined to be executable. If the result of determination is that execution is possible, task generation 2 is performed in this processor and execution is started. If the result of determination is that execution is not possible, the processor becomes a sender, and the sender selects 3 as the receiver candidate for the processor with the next processor number, and sends the load information to the receiver candidate. Request 4 to. FIG.
In (a), when the receiver candidate receives the load information transmission request from the sender, the receiver candidate measures the load 51 from the current task schedule state of itself, and returns 52 the obtained load information to the sender. In FIG. 7, when the sender receives 5 the load information, it determines 6 based on this information and the task information of the task whether the receiver candidate is qualified to process the task. If another task is already assigned from the current time to the end time of the frame time and there is no room to process the task, it is determined that there is no qualification,
If not, it is determined to be qualified. As a result of the determination, when the number of qualified receivers who have been qualified has reached a certain number 7, the receiver determination instruction is transmitted 8 to each qualified receiver.

【0019】図8(b)においてレシーバ決定指示を受
信した各レシーバ有資格者は、自分以外のレシーバ有資
格者の負荷情報を取得53し、該負荷情報を基に最も負
荷の軽いプロセッサを1つレシーバとして決定54す
る。自分がレシーバに決定した場合55は、その旨をセ
ンダに報告56する。図7において、センダはレシーバ
決定報告を受信9すると、そのレシーバに対してタスク
割当要求10を行う。図8(c)において、タスク割当
要求を受信したレシーバは、自身の負荷情報と該タスク
のタスク情報を元にタスクの実行が可能であるか可否判
定62を行い、可能であればタスク生成を実行63し、
センダに対してアクセプト信号を送信64し、該タスク
割当要求を受け入れた旨を報告する。ネットワークにお
いて遅延が発生した等の理由でレシーバがタスク割当要
求を受信するのが遅れたため、その間にレシーバが他の
プロセッサからの他のタスクの割当要求を受け付けてし
まった等の理由で実行不可能と判定された場合は、セン
ダに対してリジェクト信号を送信65する。図7におい
て、センダはタスク割当要求10を行った後、レシーバ
からの応答を待ち16、アクセプト信号が返ってきたと
きは負荷分散を終了し、リジェクト信号が返ってきたと
きは、フレームタイム終了までにタスクの処理や割当要
求を行う時間的余裕がある場合17には残ったレシーバ
有資格者に対してレシーバ決定指示を再送信8し、時間
に余裕がない場合17は該タスクの生成要求をリジェク
トする。有資格者数が一定数に達していないとき7は、
時間に余裕がある場合11はレシーバ候補の選択3から
再実行し、時間に余裕がない場合11は有資格者数が一
定数に達していないときにおいてもその時点でレシーバ
有資格者が1つ以上あれば12、レシーバ決定指示を送
信8する。レシーバ有資格者が1つもない場合は、該タ
スクの生成要求をリジェクトする。
Each receiver qualified person who has received the receiver determination instruction in FIG. 8B acquires 53 the load information of the receiver qualified persons other than himself, and selects the processor with the lightest load based on the load information. One receiver 54 is determined. If the user decides to be the receiver 55, it reports 56 to the sender accordingly. In FIG. 7, when the sender receives 9 the receiver decision report, it issues a task allocation request 10 to the receiver. In FIG. 8C, the receiver that has received the task allocation request determines whether or not the task can be executed based on its own load information and the task information of the task. Run 63,
An accept signal is transmitted 64 to the sender to report that the task allocation request has been accepted. Execution is impossible because the receiver receives a task allocation request due to a delay in the network, etc., and the receiver accepts another task allocation request from another processor during that time. If it is determined that the reject signal is transmitted 65 to the sender. In FIG. 7, the sender waits for a response 16 from the receiver after making a task allocation request 10, ends load balancing when an accept signal is returned, and ends the frame time when a reject signal is returned. If there is enough time to process the task or request allocation, the receiver determination instruction is retransmitted to the remaining receiver qualified person if 17 and if there is no time, the request to generate the task is issued 17 Reject. When the number of qualified people has not reached a certain number, 7,
If there is enough time, 11 is re-executed from receiver candidate selection 3. If there is not enough time, 11 is one receiver qualified person at that time even when the number of qualified persons does not reach a certain number. If there is more than 12, 12 the receiver determination instruction is transmitted. If there is no receiver qualified person, the request to generate the task is rejected.

【0020】実施の形態5.図9,10はこの発明の実
施の形態5を示す処理フロー図である。図9はあるプロ
セッサにタスク生成要求が生じた場合の処理フロー図、
図10はセンダにレシーバ候補として選定され、レシー
バ決定指示を送信されたプロセッサの処理フロー図であ
る。図9において、あるプロセッサにおいてタスク生成
要求が生じた場合、該プロセッサはタスクスケジューリ
ングの結果得られるフレームタイム終了までのタスク割
当のタイムスケジュールやメモリ使用状況等の負荷情報
と、該タスクの所要メモリ量や所要処理時間等に関する
タスク情報を基に該タスクの実行可否判定1を行う。現
在時刻からフレームタイム終了時刻までの時間より該タ
スクの所要処理時間の方が長かったり、現在時刻からフ
レームタイム終了時刻までに既に他のタスクが割り当て
られているため該タスクの処理を行う余裕がない場合は
実行不可能と判定され、そうでなければ実行可能と判定
される。判定の結果、実行が可能である場合には該プロ
セッサにおいてタスク生成2を行い、実行を開始し、該
タスクの生成によって変動した自プロセッサの負荷情報
を更新13する。
Embodiment 5. 9 and 10 are process flow charts showing the fifth embodiment of the present invention. FIG. 9 is a process flow diagram when a task generation request is issued to a certain processor,
FIG. 10 is a process flow diagram of the processor that is selected as a receiver candidate by the sender and has received the receiver determination instruction. In FIG. 9, when a task generation request is made in a certain processor, the processor obtains the task scheduling time schedule until the end of the frame time, the load information such as the memory usage status, and the required memory amount of the task. Executability determination 1 of the task is performed based on the task information regarding the required processing time and the like. The processing time required for the task is longer than the time from the current time to the end time of the frame time, or another task is already assigned from the current time to the end time of the frame time, so there is room to process the task. If not, it is determined to be unexecutable, and if not, it is determined to be executable. If the result of determination is that execution is possible, task generation 2 is performed in this processor, execution is started, and the load information of its own processor that has fluctuated due to the generation of this task is updated 13.

【0021】図10(a)において、各プロセッサの負
荷情報は、他の全プロセッサに対して定期的に放送57
を行う。図9において、該実行可否判定の結果、実行が
不可能である場合には、該プロセッサはセンダとなり、
該放送機能57によって予め取得している負荷情報と該
タスクのタスク情報を元に、各レシーバ候補に該タスク
の処理代行の資格があるかどうかを判定14する。現在
時刻からフレームタイム終了時刻までに既に他のタスク
が割り当てられているため該タスクの処理を行う余裕が
ない場合は資格無しと判定され、そうでなければ資格有
りと判定される。判定の結果、資格有りと判定されたレ
シーバ有資格者が一定数に達した場合7は、各レシーバ
有資格者に対してレシーバ決定指示を送信8する。図1
0(b)において、レシーバ決定指示を受信した各レシ
ーバ有資格者は、自プロセッサの負荷情報を他の各レシ
ーバ有資格者へ放送58することによって自分以外のレ
シーバ有資格者の負荷情報を取得53し、この情報を基
に最も負荷の軽い有資格者を1つレシーバとして決定5
4する。自分がレシーバに決定した場合55は、その旨
をセンダに報告56する。センダはレシーバ決定報告を
受信9すると、該レシーバに対してタスク割当要求10
を行う。
In FIG. 10A, the load information of each processor is periodically broadcast 57 to all other processors.
I do. In FIG. 9, if the result of the execution propriety determination is that execution is impossible, the processor becomes a sender,
Based on the load information and the task information of the task acquired in advance by the broadcasting function 57, it is determined 14 whether each receiver candidate is qualified to process the task. Since another task has already been assigned from the current time to the end time of the frame time, if there is no room to process the task, it is determined to be unqualified, and otherwise, it is determined to be qualified. As a result of the determination, if the number of qualified receivers who have been determined to be qualified reaches a certain number 7, the receiver determination instruction is transmitted 8 to each qualified receiver. FIG.
In 0 (b), each receiver qualified person who receives the receiver determination instruction broadcasts the load information of the own processor to each of the other receiver qualified persons to acquire the load information of other receiver qualified persons. 53, and based on this information, the qualified person with the lightest load is determined as one receiver 5
4. If the user decides to be the receiver 55, it reports 56 to the sender accordingly. When the sender 9 receives the receiver decision report, it sends a task allocation request 10 to the receiver.
I do.

【0022】図10(c)において、タスク割当要求を
受信したレシーバは、自身の負荷情報と該タスクのタス
ク情報を元にタスクの実行が可能であるか可否判定62
を行い、可能であればタスク生成を実行63し、センダ
に対してアクセプト信号を送信64し、該タスク割当要
求を受け入れた旨を報告する。ネットワークにおいて遅
延が発生した等の理由でレシーバがタスク割当要求を受
信するのが遅れたため、その間にレシーバが他のプロセ
ッサからの他のタスクの割当要求を受け付けてしまった
等の理由で実行不可能と判定された場合は、センダに対
してリジェクト信号を送信65する。図9において、セ
ンダはタスク割当要求10を行った後、レシーバからの
応答を待ち16、アクセプト信号が返ってきたときは負
荷分散を終了し、リジェクト信号が返ってきたときは、
フレームタイム終了までにタスクの処理や割当要求を行
う時間的余裕がある場合17には残ったレシーバ有資格
者に対してレシーバ決定指示を再送信8し、時間に余裕
がない場合17には該タスクの生成要求をリジェクトす
る。有資格者数が一定数に達していないとき7は、時間
に余裕がある場合11は各レシーバ候補の資格判定14
から再実行し、時間に余裕がない場合11は、有資格者
数が一定数に達していないときにおいてもその時点でレ
シーバ有資格者が1つ以上あれば12、レシーバ決定指
示を送信8する。レシーバ有資格者が1つもない場合
は、該タスクの生成要求をリジェクトする。
In FIG. 10C, the receiver that has received the task allocation request determines whether or not the task can be executed based on its own load information and the task information of the task.
Then, if possible, task generation is executed 63, an accept signal is transmitted 64 to the sender, and it is reported that the task allocation request has been accepted. Execution is impossible because the receiver receives a task allocation request due to a delay in the network, etc., and the receiver accepts another task allocation request from another processor during that time. If it is determined that the reject signal is transmitted 65 to the sender. In FIG. 9, the sender waits for a response from the receiver 16 after making a task allocation request 10, ends load balancing when an accept signal is returned, and when a reject signal is returned,
If there is enough time to process a task or request an allocation by the end of the frame time, the receiver determination instruction is retransmitted to the remaining receiver qualified person if 17 and if there is no time, Reject the task creation request. When the number of qualified persons does not reach a certain number, 7 when there is enough time, 11 when it is qualified for each receiver candidate 14
If there is not enough time 11, then if there is one or more receiver qualified persons at that time even if the number of qualified persons does not reach a certain number, 12, then send 8 receiver decision instruction 8 . If there is no receiver qualified person, the request to generate the task is rejected.

【0023】実施の形態6.図11,12はこの発明の
実施の形態6を示す処理フロー図である。図11はある
プロセッサにタスク生成要求が生じた場合の処理フロー
図、図12はセンダにレシーバ候補として選定され、レ
シーバ決定指示を送信されたプロセッサの処理フロー図
である。図11において、あるプロセッサにおいてタス
ク生成要求が生じた場合、該プロセッサはタスクスケジ
ューリングの結果得られるフレームタイム終了までのタ
スク割当のタイムスケジュールやメモリ使用状況等の負
荷情報と、該タスクの所要メモリ量や所要処理時間等に
関するタスク情報を基に該タスクの実行可否判定1を行
う。現在時刻からフレームタイム終了時刻までの時間よ
り該タスクの所要処理時間の方が長かったり、現在時刻
からフレームタイム終了時刻までに既に他のタスクが割
り当てられているため該タスクの処理を行う余裕がない
場合は実行不可能と判定され、そうでなければ実行可能
と判定される。判定の結果、実行が可能である場合には
該プロセッサにおいてタスク生成2を行い、実行を開始
し、該タスクの生成によって変動した自プロセッサの負
荷情報を更新13する。
Embodiment 6 FIG. 11 and 12 are process flow charts showing the sixth embodiment of the present invention. FIG. 11 is a process flow diagram when a task generation request is issued to a certain processor, and FIG. 12 is a process flow diagram of the processor which is selected as a receiver candidate by the sender and to which a receiver determination instruction is transmitted. In FIG. 11, when a task generation request occurs in a certain processor, the processor obtains the task scheduling time schedule until the end of the frame time, load information such as the memory usage status, and the required memory amount of the task. Executability determination 1 of the task is performed based on the task information regarding the required processing time and the like. The processing time required for the task is longer than the time from the current time to the end time of the frame time, or another task is already assigned from the current time to the end time of the frame time, so there is room to process the task. If not, it is determined to be unexecutable, and if not, it is determined to be executable. If the result of determination is that execution is possible, task generation 2 is performed in this processor, execution is started, and the load information of its own processor that has fluctuated due to the generation of this task is updated 13.

【0024】図12(a)において、各プロセッサの負
荷情報は、全プロセッサからアクセス可能な共有メモリ
に定期的に書き込む59。図11において、該実行可否
判定の結果、実行が不可能である場合には、該プロセッ
サはセンダとなって該共有メモリに予め書かれている負
荷情報を読み込み15、この情報と該タスクのタスク情
報を元に、各レシーバ候補に該タスクの処理代行の資格
があるかどうかを判定6する。判定の結果、資格有りと
判定されたレシーバ有資格者が一定数に達した場合7、
各レシーバ有資格者に対してレシーバ決定指示を送信8
する。図12(b)において、レシーバ決定指示を受信
した各レシーバ有資格者は、自プロセッサの負荷情報を
該共有メモリへ書き込む60ことによって自分以外のレ
シーバ有資格者の負荷情報を該共有メモリより取得61
し、この情報を基に最も負荷の軽い有資格者を1つレシ
ーバとして決定54する。自分がレシーバに決定した場
合55は、その旨をセンダに報告56する。図11にお
いて、センダはレシーバ決定報告を受信9すると、その
レシーバに対してタスク割当要求10を行う。図12
(c)において、タスク割当要求を受信したレシーバ
は、自身の負荷情報と該タスクのタスク情報を元にタス
クの実行が可能であるか可否判定62を行い、可能であ
ればタスク生成を実行63し、センダに対してアクセプ
ト信号を送信64し、該タスク割当要求を受け入れた旨
を報告する。ネットワークにおいて遅延が発生した等の
理由でレシーバがタスク割当要求を受信するのが遅れた
ため、その間にレシーバが他のプロセッサからの他のタ
スクの割当要求を受け付けてしまった等の理由で実行不
可能と判定された場合は、センダに対してリジェクト信
号を送信65する。
In FIG. 12A, the load information of each processor is periodically written 59 in a shared memory accessible by all the processors. In FIG. 11, when it is determined that the execution is impossible as a result of the execution permission / inhibition determination, the processor serves as a sender and reads the load information written in advance in the shared memory 15, and the information and the task of the task are read. Based on the information, it is judged 6 whether each receiver candidate is qualified to process the task. As a result of the judgment, if the number of qualified receivers who are judged to be qualified reaches a certain number, 7.
Send receiver decision instruction to each receiver qualified person 8
I do. In FIG. 12B, each receiver qualified person who has received the receiver determination instruction acquires the load information of the receiver qualified persons other than himself from the shared memory by writing 60 the load information of the own processor to the shared memory. 61
Then, based on this information, the qualified person with the lightest load is determined as one receiver 54. If the user decides to be the receiver 55, it reports 56 to the sender accordingly. In FIG. 11, when the sender receives 9 the receiver decision report, it issues a task allocation request 10 to the receiver. FIG.
In (c), the receiver that has received the task allocation request determines whether or not the task can be executed based on its own load information and the task information of the task, and executes the task generation 63 if possible. Then, an accept signal is transmitted 64 to the sender to report that the task allocation request has been accepted. Execution is impossible because the receiver receives a task allocation request due to a delay in the network, etc., and the receiver accepts another task allocation request from another processor during that time. If it is determined that the reject signal is transmitted 65 to the sender.

【0025】図11においてセンダはタスク割当要求1
0を行った後、レシーバからの応答を待ち16、アクセ
プト信号が返ってきたときは負荷分散を終了し、リジェ
クト信号が返ってきたときは、フレームタイム終了まで
にタスクの処理や割当要求を行う時間的余裕がある場合
17には残ったレシーバ有資格者に対してレシーバ決定
指示を再送信8し、時間に余裕がない場合17には該タ
スクの生成要求をリジェクトする。有資格者数が一定数
に達していないとき7は、時間に余裕がある場合11は
共有メモリの負荷情報読み込み15から再実行し、時間
に余裕がない場合11は、有資格者数が一定数に達して
いなくてもその時点でレシーバ有資格者が1つ以上あれ
ば12、レシーバ決定指示を送信8する。レシーバ有資
格者が1つもない場合は、該タスクの生成要求をリジェ
クトする。
In FIG. 11, the sender is the task allocation request 1
After performing 0, wait for a response from the receiver 16, terminate load balancing when an accept signal is returned, and perform task processing or allocation request by the end of the frame time when a reject signal is returned If there is enough time, the receiver determination instruction is retransmitted 8 to the remaining qualified receivers, and if there is no time, the task generation request is rejected. When the number of qualified persons does not reach a certain number, 7: If there is enough time, re-execute from load information reading 15 of the shared memory; if there is not enough time, 11: The number of qualified persons is constant. If there is one or more receiver qualified persons at that time even if the number has not reached 12, the receiver determination instruction is transmitted 8 if it is 12. If there is no receiver qualified person, the request to generate the task is rejected.

【0026】実施の形態7.図13,14はこの発明の
実施の形態7を示す処理フロー図である。図13はある
プロセッサにタスク生成要求が生じた場合の処理フロー
図、図14はセンダにレシーバ候補として選定され、レ
シーバ決定指示を送信されたプロセッサの処理フロー図
である。図13において、あるプロセッサにおいてタス
ク生成要求が生じた場合、該プロセッサはタスクスケジ
ューリングの結果得られるフレームタイム終了までのタ
スク割当のタイムスケジュールやメモリ使用状況等の負
荷情報と、該タスクの所要メモリ量や所要処理時間等に
関するタスク情報を基に該タスクの実行可否判定1を行
う。現在時刻からフレームタイム終了時刻までの時間よ
り該タスクの所要処理時間の方が長かったり、現在時刻
からフレームタイム終了時刻までに既に他のタスクが割
り当てられているため該タスクの処理を行う余裕がない
場合は実行不可能と判定され、そうでなければ実行可能
と判定される。判定の結果、実行が可能である場合には
該プロセッサにおいてタスク生成2を行い、実行を開始
しする。判定の結果、実行が不可能である場合には、該
プロセッサはセンダとなり、センダは自分の次のプロセ
ッサ番号のプロセッサをレシーバ候補として選択3し、
該レシーバ候補に対して負荷情報を送信するように要求
4する。図14(a)において、レシーバ候補はセンダ
から負荷情報送信要求を受信すると、自身の現在のタス
クスケジュール状況から負荷計測51を行い、得られた
負荷情報をセンダに返信52する。図13において、セ
ンダは負荷情報を受信5すると、この情報と該タスクの
タスク情報を元にレシーバ候補が該タスクの処理代行の
資格があるかどうかを判定6する。現在時刻からフレー
ムタイム終了時刻までに既に他のタスクが割り当てられ
ているため該タスクの処理を行う余裕がない場合は資格
無しと判定され、そうでなければ資格有りと判定され
る。判定の結果、資格有りと判定されたレシーバ有資格
者の数が一定数に達した場合7は、各レシーバ有資格者
に対してレシーバ決定指示を送信8する。
Embodiment 7 13 and 14 are process flow charts showing the seventh embodiment of the present invention. FIG. 13 is a process flow diagram when a task generation request is issued to a certain processor, and FIG. 14 is a process flow diagram of a processor that is selected as a receiver candidate by a sender and has received a receiver determination instruction. In FIG. 13, when a task generation request is made in a certain processor, the processor obtains the load information such as the time schedule of task allocation and the memory usage status until the end of the frame time obtained as a result of the task scheduling, and the required memory amount of the task. Executability determination 1 of the task is performed based on the task information regarding the required processing time and the like. The processing time required for the task is longer than the time from the current time to the end time of the frame time, or another task is already assigned from the current time to the end time of the frame time, so there is room to process the task. If not, it is determined to be unexecutable, and if not, it is determined to be executable. If the result of determination is that execution is possible, task generation 2 is performed in this processor and execution is started. If the result of determination is that execution is impossible, the processor becomes a sender, and the sender selects 3 as the receiver candidate the processor with the processor number next to it,
Request 4 to transmit load information to the receiver candidate. In FIG. 14A, when the receiver candidate receives the load information transmission request from the sender, it performs load measurement 51 from the current task schedule status of itself, and returns 52 the load information obtained to the sender. In FIG. 13, when the sender receives 5 the load information, the sender determines 6 based on this information and the task information of the task whether the receiver candidate is qualified to process the task. Since another task has already been assigned from the current time to the end time of the frame time, if there is no room to process the task, it is determined to be unqualified, and otherwise, it is determined to be qualified. As a result of the determination, when the number of qualified receivers who have been qualified has reached a certain number 7, the receiver determination instruction is transmitted 8 to each qualified receiver.

【0027】図14(b)において、レシーバ決定指示
を受信した各レシーバ有資格者は、自分以外のレシーバ
有資格者の負荷情報を取得53し、この情報を基にレシ
ーバ有資格者のリストを作成66し、同時に最も負荷の
軽い有資格者をレシーバとして1つ決定54する。自分
がレシーバに決定した場合55は、その旨をセンダに報
告56する。図13において、センダはレシーバ決定報
告を受信9すると、そのレシーバに対してタスク割当要
求10を行う。図14(c)において、タスク割当要求
を受信したレシーバは、自身の負荷情報と該タスクのタ
スク情報を元にタスクの実行が可能であるか可否判定6
2を行い、可能であればタスク生成を実行63し、セン
ダに対してアクセプト信号を送信64し、該タスク割当
要求を受け入れた旨を報告する。ネットワークにおいて
遅延が発生した等の理由でレシーバがタスク割当要求を
受信するのが遅れたため、その間にレシーバが他のプロ
セッサからの他のタスクの割当要求を受け付けてしまっ
た等の理由で実行不可能と判定された場合は、フレーム
タイム終了までにタスクの処理や割当要求を行う時間的
余裕がある場合67は該レシーバ有資格者リストを検索
68し、有資格者がある場合69は該リストの中からレ
シーバを1つ決定54し、そのレシーバに対して新たに
タスク割当要求70を行う。時間に余裕がない場合67
や有資格者がない場合69は、センダに対してリジェク
ト信号を送信65する。
In FIG. 14B, each receiver qualified person who has received the receiver determination instruction acquires the load information 53 of the receiver qualified persons other than himself and creates a list of the receiver qualified persons based on this information. Create 66, and at the same time determine 54 one qualified person with the least load as a receiver. If the user decides to be the receiver 55, it reports 56 to the sender accordingly. In FIG. 13, when the sender receives 9 the receiver decision report, it issues a task allocation request 10 to the receiver. In FIG. 14C, the receiver that has received the task allocation request determines whether or not the task can be executed based on its own load information and the task information of the task.
2. If possible, perform task generation 63 if possible, send 64 an accept signal to the sender, and report that the task allocation request has been accepted. Execution is impossible because the receiver receives a task allocation request due to a delay in the network, etc., and the receiver accepts another task allocation request from another processor during that time. If it is determined that there is enough time to process a task or request allocation by the end of the frame time, 67 searches the receiver qualified person list 68, and when there is a qualified person, 69 searches the list. One receiver 54 is determined from the inside, and a new task allocation request 70 is issued to the receiver. If you do not have time 67
If there is no qualified person or 69, a reject signal is transmitted 65 to the sender.

【0028】図13において、センダはタスク割当要求
10を行った後、レシーバからの応答を待ち16、アク
セプト信号が返ってきたときは負荷分散を終了し、リジ
ェクト信号が返ってきたときは該タスクの生成要求をリ
ジェクトする。有資格者数が一定数に達していないとき
7は、時間に余裕がある場合11はレシーバ候補の選択
3から再実行し、時間に余裕がない場合11は、有資格
者数が一定に達していないときにおいてもその時点でレ
シーバ有資格者が1つ以上あれば12、レシーバ決定指
示を送信8する。レシーバ有資格者が1つもない場合
は、該タスクの生成要求をリジェクトする。
In FIG. 13, the sender waits for a response 16 from the receiver after making a task allocation request 10, ends load balancing when an accept signal is returned, and terminates the task when a reject signal is returned. Reject the request to generate. If the number of qualified persons has not reached a certain number, 7 re-execute from the receiver candidate selection 3 if there is enough time, and if there is not enough time, 11 the number of qualified persons reaches a certain number. Even if not, if there is one or more qualified receivers at that point in time 12, the receiver determination instruction is transmitted 8. If there is no receiver qualified person, the request to generate the task is rejected.

【0029】実施の形態8.図15,16はこの発明の
実施の形態8を示す処理フロー図である。図15はある
プロセッサにタスク生成要求が生じた場合の処理フロー
図、図16はセンダにレシーバ候補として選定され、レ
シーバ決定指示を送信されたプロセッサの処理フロー図
である。図15において、あるプロセッサにおいてタス
ク生成要求が生じた場合、該プロセッサはタスクスケジ
ューリングの結果得られるフレームタイム終了までのタ
スク割当のタイムスケジュールやメモリ使用状況等の負
荷情報と、該タスクの所要メモリ量や所要処理時間等に
関するタスク情報を基に該タスクの実行可否判定1を行
う。現在時刻からフレームタイム終了時刻までの時間よ
り該タスクの所要処理時間の方が長かったり、現在時刻
からフレームタイム終了時刻までに既に他のタスクが割
り当てられているため該タスクの処理を行う余裕がない
場合は実行不可能と判定され、そうでなければ実行可能
と判定される。判定の結果、実行が可能である場合には
自プロセッサにおいてタスク生成2を行い、実行を開始
し、該タスクの生成によって変動した自プロセッサの負
荷情報を更新13する。
Embodiment 8 15 and 16 are process flow charts showing the eighth embodiment of the present invention. FIG. 15 is a process flow diagram when a task generation request is issued to a certain processor, and FIG. 16 is a process flow diagram of the processor that is selected as a receiver candidate by the sender and has received a receiver determination instruction. In FIG. 15, when a task generation request is generated in a certain processor, the processor obtains load information such as the time schedule of task allocation and the memory usage status until the end of the frame time obtained as a result of task scheduling, and the required memory amount of the task. Executability determination 1 of the task is performed based on the task information regarding the required processing time and the like. The processing time required for the task is longer than the time from the current time to the end time of the frame time, or another task is already assigned from the current time to the end time of the frame time, so there is room to process the task. If not, it is determined to be unexecutable, and if not, it is determined to be executable. If the result of determination is that execution is possible, task generation 2 is performed in the processor itself, execution is started, and the load information of the processor that has fluctuated due to the generation of the task is updated 13.

【0030】図16(a)において、各プロセッサの負
荷情報は、他の全プロセッサに対して定期的に放送57
を行う。図15において、該実行可否判定の結果、実行
が不可能である場合には、該プロセッサはセンダとな
り、該放送機構57によって予め取得している負荷情報
と該タスクのタスク情報を元に、各レシーバ候補に該タ
スクの処理代行の資格があるかどうかを判定4する。現
在時刻からフレームタイム終了時刻までに既に他のタス
クが割り当てられているため該タスクの処理を行う余裕
がない場合は資格無しと判定され、そうでなければ資格
有りと判定される。判定の結果、資格有りと判定された
レシーバ有資格者が一定数に達した場合7は、各レシー
バ有資格者に対してレシーバ決定指示を送信8する。図
16(b)において、レシーバ決定指示を受信した各レ
シーバ有資格者は、自プロセッサの負荷情報を他の各レ
シーバ有資格者へ放送58することによって自分以外の
レシーバ有資格者の負荷情報を取得53し、この情報を
基にレシーバ有資格者のリストを作成66し、同時に最
も負荷の軽い有資格者を1つレシーバとして決定54す
る。自分がレシーバに決定した場合55は、その旨をセ
ンダに報告56する。図15において、センダはレシー
バ決定報告を受信9すると、該レシーバに対してタスク
割当要求10を行う。
In FIG. 16A, the load information of each processor is periodically broadcast 57 to all other processors.
I do. In FIG. 15, if the result of the execution permission / inhibition determination indicates that the processor cannot be executed, the processor becomes a sender, and based on the load information and the task information of the task acquired in advance by the broadcasting mechanism 57, each processor It is judged 4 whether the receiver candidate is qualified to process the task. Since another task has already been assigned from the current time to the end time of the frame time, if there is no room to process the task, it is determined to be unqualified, and otherwise, it is determined to be qualified. As a result of the determination, if the number of qualified receivers who have been determined to be qualified reaches a certain number 7, the receiver determination instruction is transmitted 8 to each qualified receiver. In FIG. 16B, each receiver qualified person who has received the receiver determination instruction broadcasts the load information of the own processor to each of the other receiver qualified persons to thereby obtain the load information of other receiver qualified persons. Acquiring 53, a receiver qualified person list is created 66 based on this information, and at the same time, one lightest qualified person is determined as a receiver 54. If the user decides to be the receiver 55, it reports 56 to the sender accordingly. In FIG. 15, when the sender receives 9 the receiver decision report, it makes a task allocation request 10 to the receiver.

【0031】図16(c)において、タスク割当要求を
受信したレシーバは、自身の負荷情報と該タスクのタス
ク情報を元にタスクの実行が可能であるか可否判定62
を行い、可能であればタスク生成を実行63し、該タス
クの生成によって変動した自プロセッサの負荷情報を更
新71し、センダに対してアクセプト信号を送信64
し、該タスク割当要求を受け入れた旨を報告する。ネッ
トワークにおいて遅延が発生した等の理由でレシーバが
タスク割当要求を受信するのが遅れたため、その間にレ
シーバが他のプロセッサからの他のタスクの割当要求を
受け付けてしまった等の理由で実行不可能と判定された
場合は、フレームタイム終了までにタスクの処理や割当
要求を行う時間的余裕がある場合67は該レシーバ有資
格者リストを検索68し、有資格者がある場合69は該
リストのうち既にレシーバとして決定されたものを除い
て最も負荷の軽い有資格者を1つレシーバとして決定5
4し、そのレシーバに対して新たにタスク割当要求70
を行う。時間に余裕がない場合67や有資格者がない場
合69は、センダに対してリジェクト信号を送信65す
る。図15において、センダはタスク割当要求10を行
った後、レシーバからの応答を待ち16、アクセプト信
号が返ってきたときは負荷分散を終了し、リジェクト信
号が返ってきたときは該タスクの生成要求をリジェクト
する。有資格者数が一定数に達していないとき7は、時
間に余裕がある場合11は各レシーバ候補の資格判定1
4から再実行し、時間に余裕がない場合11は有資格者
数が一定数に達していないときにおいてもその時点でレ
シーバ有資格者が1つ以上あれば12、レシーバ決定指
示を送信8する。レシーバ有資格者が1つもない場合
は、該タスクの生成要求をリジェクトする。
In FIG. 16C, the receiver that has received the task allocation request determines whether or not the task can be executed based on its own load information and the task information of the task.
If possible, the task is generated 63, the load information of the own processor changed by the generation of the task is updated 71, and the accept signal is transmitted to the sender 64.
Then, it reports that the task allocation request has been accepted. Execution is impossible because the receiver receives a task allocation request due to a delay in the network, etc., and the receiver accepts another task allocation request from another processor during that time. If it is determined that there is enough time to process a task or request allocation by the end of the frame time, 67 searches the receiver qualified person list 68, and when there is a qualified person, 69 searches the list. One qualified person with the lightest load is decided as the receiver, except for those already decided as the receiver 5
4 and a new task allocation request 70 is issued to the receiver.
I do. When there is not enough time 67 or when there is no qualified person 69, a reject signal is transmitted 65 to the sender. In FIG. 15, the sender waits for a response 16 from the receiver after making a task allocation request 10, ends load balancing when an accept signal is returned, and requests the generation of the task when a reject signal is returned. Reject. When the number of qualified persons has not reached a certain number, 7 when there is enough time, 11 when the qualification of each receiver candidate is 1
Re-execute from 4 and if there is no time, 11 If there is one or more receiver qualified persons at that time even if the number of qualified persons has not reached a certain number, 12 Send receiver decision instruction 8 . If there is no receiver qualified person, the request to generate the task is rejected.

【0032】実施の形態9.図17,18はこの発明の
実施の形態9を示す処理フロー図である。図17はある
プロセッサにタスク生成要求が生じた場合の処理フロー
図、図18はセンダにレシーバ候補として選定され、レ
シーバ決定指示を送信されたプロセッサの処理フロー図
である。図17において、あるプロセッサにおいてタス
ク生成要求が生じた場合、該プロセッサはタスクスケジ
ューリングの結果得られるフレームタイム終了までのタ
スク割当のタイムスケジュールやメモリ使用状況等の負
荷情報と、該タスクの所要メモリ量や所要処理時間等に
関するタスク情報を基に該タスクの実行可否判定1を行
う。現在時刻からフレームタイム終了時刻までの時間よ
り該タスクの所要処理時間の方が長かったり、現在時刻
からフレームタイム終了時刻までに既に他のタスクが割
り当てられているため該タスクの処理を行う余裕がない
場合は実行不可能と判定され、そうでなければ実行可能
と判定される。判定の結果、実行が可能である場合には
自プロセッサにおいてタスク生成2を行い、実行を開始
し、該タスクの生成によって変動した自プロセッサの負
荷情報を更新13する。
Embodiment 9 17 and 18 are process flow charts showing the ninth embodiment of the present invention. FIG. 17 is a process flow diagram when a task generation request is issued to a certain processor, and FIG. 18 is a process flow diagram of the processor which is selected as a receiver candidate by the sender and to which the receiver determination instruction is transmitted. In FIG. 17, when a task generation request is generated in a certain processor, the processor determines load information such as the time schedule of task allocation and the memory usage status until the end of the frame time obtained as a result of task scheduling, and the required memory amount of the task. Executability determination 1 of the task is performed based on the task information regarding the required processing time and the like. The processing time required for the task is longer than the time from the current time to the end time of the frame time, or another task is already assigned from the current time to the end time of the frame time, so there is room to process the task. If not, it is determined to be unexecutable, and if not, it is determined to be executable. If the result of determination is that execution is possible, task generation 2 is performed in the processor itself, execution is started, and the load information of the processor that has fluctuated due to the generation of the task is updated 13.

【0033】図18(a)において、各プロセッサの負
荷情報は、全プロセッサからアクセス可能な共有メモリ
に定期的に書き込む59。図17において、該実行可否
判定の結果、実行が不可能である場合には、該プロセッ
サはセンダとなって該共有メモリに予め書かれている負
荷情報を読み込み15、この情報と該タスクのタスク情
報を元に、各レシーバ候補に該タスクの処理代行の資格
があるかどうかを判定6する。現在時刻からフレームタ
イム終了時刻までに既に他のタスクが割り当てられてい
るため該タスクの処理を行う余裕がない場合は資格無し
と判定され、そうでなければ資格有りと判定される。判
定の結果、資格有りと判定されたレシーバ有資格者が一
定数に達した場合7、各レシーバ有資格者に対してレシ
ーバ決定指示を送信8する。図18(b)において、レ
シーバ決定指示を受信した各レシーバ有資格者は、自プ
ロセッサの負荷情報を該共有メモリへ書き込む60こと
によって自分以外のレシーバ有資格者の負荷情報を該共
有メモリより取得61し、この情報を基にレシーバ有資
格者のリストを作成66し、同時に最も負荷の軽い有資
格者を1つレシーバとして決定54する。自分がレシー
バに決定した場合55は、その旨をセンダに報告56す
る。
In FIG. 18A, the load information of each processor is periodically written 59 in a shared memory accessible by all the processors. In FIG. 17, when the result of the execution permission / inhibition determination indicates that the execution is impossible, the processor acts as a sender to read the load information written in advance in the shared memory 15, and this information and the task of the task. Based on the information, it is judged 6 whether each receiver candidate is qualified to process the task. Since another task has already been assigned from the current time to the end time of the frame time, if there is no room to process the task, it is determined to be unqualified, and otherwise, it is determined to be qualified. As a result of the determination, when the number of qualified receiver qualified persons reaches a certain number 7, the receiver determination instruction is transmitted 8 to each qualified receiver receiver. In FIG. 18B, each receiver qualified person who has received the receiver determination instruction acquires the load information of the receiver qualified persons other than himself from the shared memory by writing 60 the load information of the own processor to the shared memory. 61, a list of receiver qualified persons is created 66 based on this information, and at the same time, the lightest qualified person is determined 54 as one receiver. If the user decides to be the receiver 55, it reports 56 to the sender accordingly.

【0034】図17において、センダはレシーバ決定報
告を受信9すると、該レシーバに対してタスク割当要求
10を行う。図18(c)において、タスク割当要求を
受信したレシーバは、自身の負荷情報と該タスクのタス
ク情報を基にタスクの実行が可能であるか可否判定62
を行い、可能であればタスク生成を実行63し、該タス
クの生成によって変動した自プロセッサの負荷情報を更
新71し、センダに対してアクセプト信号を送信64
し、該タスク割当要求を受け入れた旨を報告する。ネッ
トワークにおいて遅延が発生した等の理由でレシーバが
タスク割当要求を受信するのが遅れたため、その間にレ
シーバが他のプロセッサからの他のタスクの割当要求を
受け付けてしまった等の理由で実行不可能と判定された
場合は、フレームタイム終了までにタスクの処理や割当
要求を行う時間的余裕がある場合67は該レシーバ有資
格者リストを検索68し、有資格者がある場合69は該
リストのうち既にレシーバとして決定されたものを除い
て最も負荷の軽い有資格者を1つレシーバとして決定5
4し、そのレシーバに対して新たにタスク割当要求70
を行う。時間に余裕がない場合67や有資格者がない場
合69は、センダに対してリジェクト信号を送信65す
る。図17において、センダはタスク割当要求10を行
った後、レシーバからの応答を待ち16、アクセプト信
号が返ってきたときは負荷分散を終了し、リジェクト信
号が返ってきたときは該タスクの生成要求をリジェクト
する。有資格者が一定数に達していないとき7は、時間
に余裕がある場合11は共有メモリの負荷情報読み込み
15から再実行し、時間に余裕がない場合11は有資格
者が一定数に達していないときにおいてもその時点でレ
シーバ有資格者が1つ以上あれば12、レシーバ決定指
示を送信8する。レシーバ有資格者が1つもない場合
は、該タスクの生成要求をリジェクトする。
In FIG. 17, when the sender receives the receiver decision report 9, it makes a task allocation request 10 to the receiver. In FIG. 18C, the receiver that has received the task allocation request determines whether or not the task can be executed based on its own load information and the task information of the task.
If possible, the task is generated 63, the load information of the own processor changed by the generation of the task is updated 71, and the accept signal is transmitted to the sender 64.
Then, it reports that the task allocation request has been accepted. Execution is impossible because the receiver receives a task allocation request due to a delay in the network, etc., and the receiver accepts another task allocation request from another processor during that time. If it is determined that there is enough time to process a task or request allocation by the end of the frame time, 67 searches the receiver qualified person list 68, and when there is a qualified person, 69 searches the list. One qualified person with the lightest load is decided as the receiver, except for those already decided as the receiver 5
4 and a new task allocation request 70 is issued to the receiver.
I do. When there is not enough time 67 or when there is no qualified person 69, a reject signal is transmitted 65 to the sender. In FIG. 17, the sender waits for a response from the receiver 16 after making a task allocation request 10, ends load balancing when an accept signal is returned, and requests the generation of the task when a reject signal is returned. Reject. When the number of qualified persons does not reach a certain number, 7 re-executes from the load information reading 15 of the shared memory if there is enough time, and if there is not enough time, the number of qualified persons reaches 11 Even if not, if there is one or more qualified receivers at that point in time 12, the receiver determination instruction is transmitted 8. If there is no receiver qualified person, the request to generate the task is rejected.

【0035】実施の形態10.図19,20はこの発明
の実施の形態10を示す処理フロー図である。図19は
あるプロセッサにタスク生成要求が生じた場合の処理フ
ロー図、図20はセンダにレシーバ候補として選定さ
れ、レシーバ決定指示を送信されたプロセッサの処理フ
ロー図である。図19において、あるプロセッサにおい
てタスク生成要求が生じた場合、該プロセッサはタスク
スケジューリングの結果得られるフレームタイム終了ま
でのタスク割当のタイムスケジュールやメモリ使用状況
等の負荷情報と、該タスクの所要メモリ量や所要処理時
間等に関するタスク情報を基に該タスクの実行可否判定
1を行う。現在時刻からフレームタイム終了時刻までの
時間より該タスクの所要処理時間の方が長かったり、現
在時刻からフレームタイム終了時刻までに既に他のタス
クが割り当てられているため該タスクの処理を行う余裕
がない場合は実行不可能と判定され、そうでなければ実
行可能と判定される。判定の結果、実行が可能である場
合には自プロセッサにおいてタスク生成2を行い、実行
を開始する。判定の結果、実行が不可能である場合に
は、該プロセッサはセンダとなり、センダは自分の次の
プロセッサ番号のプロセッサをレシーバ候補として選択
3し、該レシーバ候補に対して負荷情報を送信するよう
に要求4する。図20(a)において、レシーバ候補は
センダから負荷情報送信要求を受信すると、自身の現在
のタスクスケジュール状況から負荷計測51を行い、得
られた負荷情報をセンダに返信52する。図19におい
て、センダは負荷情報を受信5すると、この情報と該タ
スクのタスク情報を元にレシーバ候補が該タスクの処理
代行の資格があるかどうかを判定6する。現在時刻から
フレームタイム終了時刻までに既に他のタスクが割り当
てられているため該タスクの処理を行う余裕がない場合
は資格無しと判定され、そうでなければ資格有りと判定
される。資格有りと判定された場合、該レシーバ候補に
対してタスクの生成・実行に必要なメモリやフレームタ
イム内での処理時間等のリソースを確保するよう指示1
8する。
Embodiment 10 FIG. 19 and 20 are process flow charts showing the tenth embodiment of the present invention. FIG. 19 is a process flow diagram when a task generation request is issued to a certain processor, and FIG. 20 is a process flow diagram of the processor that is selected as a receiver candidate by the sender and has received a receiver determination instruction. In FIG. 19, when a task generation request is generated in a certain processor, the processor determines load information such as the time schedule of task allocation and the memory usage status until the end of the frame time obtained as a result of task scheduling, and the required memory amount of the task. Executability determination 1 of the task is performed based on the task information regarding the required processing time and the like. The processing time required for the task is longer than the time from the current time to the end time of the frame time, or another task is already assigned from the current time to the end time of the frame time, so there is room to process the task. If not, it is determined to be unexecutable, and if not, it is determined to be executable. If the result of determination is that execution is possible, task generation 2 is performed in its own processor and execution is started. If the result of determination is that execution is not possible, the processor becomes a sender, and the sender selects 3 as the receiver candidate for the processor with the next processor number, and sends the load information to the receiver candidate. Request 4 to. In FIG. 20A, when the receiver candidate receives a load information transmission request from the sender, it performs load measurement 51 from the current task schedule status of itself, and returns 52 the obtained load information to the sender. In FIG. 19, when the sender receives the load information 5, it determines 6 based on this information and the task information of the task whether the receiver candidate is qualified to process the task. Since another task has already been assigned from the current time to the end time of the frame time, if there is no room to process the task, it is determined to be unqualified, and otherwise, it is determined to be qualified. When it is determined that the candidate is qualified, the receiver candidate is instructed to secure resources such as a memory and a processing time within a frame time required for task generation / execution 1
8

【0036】図20(b)において、該レシーバ候補は
リソース予約指示を受信すると、リソースの確保72を
行い、タスク割当要求があったときに確実に該タスクが
実行できるようにする。図19において、該資格判定6
の結果、資格有りと判定されたレシーバ有資格者の数が
一定数に達した場合7は、各レシーバ有資格者に対して
レシーバ決定指示を送信8する。図20(c)におい
て、レシーバ決定指示を受信した各レシーバ有資格者
は、自分以外のレシーバ有資格者の負荷情報を取得53
し、この情報を基に最も負荷の軽い有資格者を1つレシ
ーバとして決定54する。自分がレシーバに決定した場
合55は、その旨をセンダに報告56する。自分がレシ
ーバに選ばれなかった場合は、該リソース予約72によ
って確保していたリソースの予約を解除73し、不必要
にリソースを消費することを回避する。図19におい
て、センダはレシーバ決定報告を受信9すると、そのレ
シーバに対してタスク割当要求10を行う。該資格判定
6の結果、資格無しと判定された場合、または有資格者
数が一定数に達していない場合7は、フレームタイム終
了までにタスクの処理や割当要求を行う時間的余裕があ
るとき11にはレシーバ候補の選択3から再実行し、時
間に余裕がないとき11には、有資格者数が一定数に達
していないときにおいてもその時点でレシーバ有資格者
が1つ以上あれば12、レシーバ決定指示を送信8す
る。レシーバ有資格者が1つもない場合は、該タスクの
生成要求をリジェクトする。
In FIG. 20B, when the receiver candidate receives the resource reservation instruction, it secures the resource 72 and ensures that the task can be executed when a task allocation request is made. In FIG. 19, the qualification judgment 6
As a result, if the number of qualified receivers who have been determined to be qualified has reached a certain number, a receiver determination instruction is transmitted 8 to each qualified receiver. In FIG. 20C, each receiver qualified person who has received the receiver determination instruction acquires the load information of the receiver qualified persons other than himself 53.
Then, based on this information, the qualified person with the lightest load is determined as one receiver 54. If the user decides to be the receiver 55, it reports 56 to the sender accordingly. When the receiver itself is not selected as the receiver, the reservation of the resource reserved by the resource reservation 72 is released 73 to avoid unnecessary consumption of the resource. In FIG. 19, when the sender receives 9 the receiver decision report, it makes a task allocation request 10 to the receiver. As a result of the qualification determination 6, when it is determined that there is no qualification, or when the number of qualified persons does not reach a certain number, 7 means that there is a time margin to process a task or request an allocation by the end of the frame time. Re-execute 11 from the selection 3 of receiver candidates, and if there is no time, then if there is at least one receiver qualified person at that time even if the number of qualified persons has not reached a certain number. 12, the receiver determination instruction is transmitted 8. If there is no receiver qualified person, the request to generate the task is rejected.

【0037】実施の形態11.図21,22はこの発明
の実施の形態11を示す処理フロー図である。図21は
あるプロセッサにタスク生成要求が生じた場合の処理フ
ロー図、図22はセンダにレシーバ候補として選定さ
れ、レシーバ決定指示を送信されたプロセッサの処理フ
ロー図である。図21において、あるプロセッサにおい
てタスク生成要求が生じた場合、該プロセッサはタスク
スケジューリングの結果得られるフレームタイム終了ま
でのタスク割当のタイムスケジュールやメモリ使用状況
等の負荷情報と、該タスクの所要メモリ量や所要処理時
間等に関するタスク情報を基に該タスクの実行可否判定
1を行う。現在時刻からフレームタイム終了時刻までの
時間より該タスクの所要処理時間の方が長かったり、現
在時刻からフレームタイム終了時刻までに既に他のタス
クが割り当てられているため該タスクの処理を行う余裕
がない場合は実行不可能と判定され、そうでなければ実
行可能と判定される。判定の結果、実行が可能である場
合には自プロセッサにおいてタスク生成2を行い、実行
を開始し、該タスクの生成によって変動した自プロセッ
サの負荷情報を更新13する。
Embodiment 11 FIG. 21 and 22 are processing flow charts showing an embodiment 11 of the present invention. FIG. 21 is a processing flow chart when a task generation request is issued to a certain processor, and FIG. 22 is a processing flow chart of the processor which is selected as a receiver candidate by the sender and to which the receiver determination instruction is transmitted. In FIG. 21, when a task generation request is made in a certain processor, the processor obtains the task scheduling time schedule until the end of the frame time, load information such as memory usage status, and the required memory amount of the task. Executability determination 1 of the task is performed based on the task information regarding the required processing time and the like. The processing time required for the task is longer than the time from the current time to the end time of the frame time, or another task is already assigned from the current time to the end time of the frame time, so there is room to process the task. If not, it is determined to be unexecutable, and if not, it is determined to be executable. If the result of determination is that execution is possible, task generation 2 is performed in the processor itself, execution is started, and the load information of the processor that has fluctuated due to the generation of the task is updated 13.

【0038】図22(a)において、各プロセッサの負
荷情報は、他の全てのプロセッサに対して定期的に放送
57を行う。図21において、該実行可否判定の結果、
実行が不可能である場合には、該プロセッサはセンダと
なり、該放送機能57によって予め取得している負荷情
報と該タスクのタスク情報を元に、各レシーバ候補に該
タスクの処理代行の資格があるかどうかを判定14す
る。現在時刻からフレームタイム終了時刻までに既に他
のタスクが割り当てられているため該タスクの処理を行
う余裕がない場合は資格無しと判定され、そうでなけれ
ば資格有りと判定される。資格有りと判定された場合、
該レシーバ候補に対してタスクの生成・実行に必要なメ
モリやフレームタイム内での処理時間等のリソースを確
保するよう指示18する。図22(b)において、該レ
シーバ有資格者はリソース予約指示を受信すると、リソ
ースの確保72を行い、タスク割当要求があったときに
確実に該タスクが実行できるようにする。図21におい
て、該資格判定14の結果、資格有りと判定されたレシ
ーバ有資格者の数が一定数に達した場合7は、各レシー
バ有資格者に対してレシーバ決定指示を送信8する。図
22(c)において、レシーバ決定指示を受信した各レ
シーバ有資格者は、自プロセッサの負荷情報を他の各レ
シーバ有資格者へ放送58することによって自分以外の
レシーバ有資格者の負荷情報を取得53し、この情報を
基に最も負荷の軽い有資格者を1つレシーバとして決定
54する。自分がレシーバに決定した場合55は、その
旨をセンダに報告56する。自分がレシーバに選ばれな
かった場合は、該リソース予約72によって確保してい
たリソースの予約を解除73し、不必要にリソースを消
費することを回避する。
In FIG. 22A, the load information of each processor is periodically broadcast 57 to all other processors. In FIG. 21, as a result of the execution feasibility determination,
If the execution is impossible, the processor becomes a sender, and each receiver candidate is qualified to process the task based on the load information and the task information of the task acquired in advance by the broadcasting function 57. It is determined 14 whether there is any. Since another task has already been assigned from the current time to the end time of the frame time, if there is no room to process the task, it is determined to be unqualified, and otherwise, it is determined to be qualified. If you are qualified,
The receiver candidate is instructed 18 to secure resources such as a memory and a processing time within a frame time necessary for generating and executing a task. In FIG. 22B, when the receiver qualified person receives the resource reservation instruction, it secures the resource 72 and ensures that the task can be executed when a task allocation request is made. In FIG. 21, as a result of the qualification determination 14, when the number of qualified receivers who are determined to be qualified reaches a certain number 7, a receiver determination instruction is transmitted 8 to each qualified receiver. In FIG. 22C, each receiver qualified person who has received the receiver determination instruction broadcasts the load information of his own processor to each of the other receiver qualified persons to thereby obtain the load information of the receiver qualified persons other than himself. Acquisition 53 is performed, and one qualified person with the lightest load is determined 54 as a receiver based on this information. If the user decides to be the receiver 55, it reports 56 to the sender accordingly. When the receiver itself is not selected as the receiver, the reservation of the resource reserved by the resource reservation 72 is released 73 to avoid unnecessary consumption of the resource.

【0039】図21において、センダはレシーバ決定報
告を受信9すると、そのレシーバに対してタスク割当要
求10を行う。該資格判定14の結果、資格無しと判定
された場合、または有資格者数が一定数に達していない
場合7は、フレームタイム終了までにタスクの処理や割
当要求を行う時間的余裕があるとき11には各レシーバ
候補の資格判定14から再実行し、時間に余裕がないと
き11には、有資格者数が一定数に達していないときに
おいてもその時点でレシーバ有資格者が1つ以上あれば
12、レシーバ決定指示を送信8する。レシーバ有資格
者が1つもない場合は、該タスクの生成要求をリジェク
トする。
In FIG. 21, when the sender receives the receiver decision report 9, it makes a task allocation request 10 to the receiver. As a result of the qualification determination 14, when it is determined that there is no qualification, or when the number of qualified persons does not reach a certain number, 7 means that there is a time margin to process a task or request an allocation by the end of the frame time. Re-execute from the qualification judgment 14 of each receiver candidate in 11, and when there is no time, in 11 even if the number of qualified people does not reach a certain number, at least one receiver qualified person at that time If there is 12, then the receiver determination instruction is transmitted 8. If there is no receiver qualified person, the request to generate the task is rejected.

【0040】実施の形態12.図23,24はこの発明
の実施の形態12を示す処理フロー図である。図23は
あるプロセッサにタスク生成要求が生じた場合の処理フ
ロー図、図24はセンダにレシーバ候補として選定さ
れ、レシーバ決定指示を送信されたプロセッサの処理フ
ロー図である。図23において、あるプロセッサにおい
てタスク生成要求が生じた場合、該プロセッサはタスク
スケジューリングの結果得られるフレームタイム終了ま
でのタスク割当のタイムスケジュールやメモリ使用状況
等の負荷情報と、該タスクの所要メモリ量や所要処理時
間等に関するタスク情報を基に該タスクの実行可否判定
1を行う。現在時刻からフレームタイム終了時刻までの
時間より該タスクの所要処理時間の方が長かったり、現
在時刻からフレームタイム終了時刻までに既に他のタス
クが割り当てられているため該タスクの処理を行う余裕
がない場合は実行不可能と判定され、そうでなければ実
行可能と判定される。判定の結果、実行が可能である場
合には自プロセッサにおいてタスク生成2を行い、実行
を開始し、該タスクの生成によって変動した自プロセッ
サの負荷情報を更新13する。
Twelfth Embodiment 23 and 24 are processing flow charts showing Embodiment 12 of the present invention. FIG. 23 is a processing flow chart when a task generation request is issued to a certain processor, and FIG. 24 is a processing flow chart of the processor which is selected as a receiver candidate by the sender and to which the receiver determination instruction is transmitted. In FIG. 23, when a task generation request occurs in a certain processor, the processor obtains the task scheduling time schedule until the end of the frame time obtained as a result of task scheduling, load information such as memory usage, and the required memory amount of the task. Executability determination 1 of the task is performed based on the task information regarding the required processing time and the like. The processing time required for the task is longer than the time from the current time to the end time of the frame time, or another task is already assigned from the current time to the end time of the frame time, so there is room to process the task. If not, it is determined to be unexecutable, and if not, it is determined to be executable. If the result of determination is that execution is possible, task generation 2 is performed in the processor itself, execution is started, and the load information of the processor that has fluctuated due to the generation of the task is updated 13.

【0041】図24(a)において、各プロセッサの負
荷情報は、全プロセッサからアクセス可能な共有メモリ
に定期的に書き込む59。図23において、該実行可否
判定の結果、実行が不可能である場合には、該プロセッ
サはセンダとなって該共有メモリに予め書かれている負
荷情報を読み込み15、この情報と該タスクのタスク情
報を元に、各レシーバ候補に該タスクの処理代行の資格
があるかどうかを判定6する。現在時刻からフレームタ
イム終了時刻までに既に他のタスクが割り当てられてい
るため該タスクの処理を行う余裕がない場合は資格無し
と判定され、そうでなければ資格有りと判定される。資
格有りと判定された場合、該レシーバ候補に対してタス
クの生成・実行に必要なメモリやフレームタイム内での
処理時間等のリソースを確保するよう指示18する。
In FIG. 24A, the load information of each processor is periodically written 59 in a shared memory accessible by all the processors. In FIG. 23, as a result of the execution permission / inhibition determination, if the execution is impossible, the processor acts as a sender and reads the load information written in advance in the shared memory 15. This information and the task of the task are read. Based on the information, it is judged 6 whether each receiver candidate is qualified to process the task. Since another task has already been assigned from the current time to the end time of the frame time, if there is no room to process the task, it is determined to be unqualified, and otherwise, it is determined to be qualified. When it is determined that the receiver candidate is qualified, an instruction 18 is given to the receiver candidate to secure resources such as a memory and a processing time within a frame time necessary for generating and executing a task.

【0042】図24(b)において、該レシーバ有資格
者はリソース予約指示を受信すると、リソースの確保7
2を行い、タスク割当要求があったときに確実に該タス
クが実行できるようにする。図23において、該資格判
定6の結果、資格有りと判定されたレシーバ有資格者の
数が一定数に達した場合7は、各レシーバ有資格者に対
してレシーバ決定指示を送信8する。図24(c)にお
いて、レシーバ決定指示を受信した各レシーバ有資格者
は、自プロセッサの負荷情報を該共有メモリへ書き込む
60ことによって自分以外のレシーバ有資格者の負荷情
報を該共有メモリより取得61し、この情報を基に最も
負荷の軽い有資格者を1つレシーバとして決定54す
る。自分がレシーバに決定した場合55は、その旨をセ
ンダに報告56する。自分がレシーバに選ばれなかった
場合は、該リソース予約72によって確保していたリソ
ースの予約を解除73し、不必要にリソースを消費する
ことを回避する。図23において、センダはレシーバ決
定報告を受信9すると、そのレシーバに対してタスク割
当要求10を行う。該資格判定6の結果、資格無しと判
定された場合、または有資格者数が一定数に達していな
い場合7は、フレームタイム終了までにタスクの処理や
割当要求を行う時間的余裕があるとき11には共有メモ
リの負荷情報読み込み15から再実行し、時間に余裕が
ないとき11には有資格者数が一定数に達していないと
きにおいてもその時点でレシーバ有資格者が1つ以上あ
れば12、レシーバ決定指示を送信8する。レシーバ有
資格者が1つもない場合は、該タスクの生成要求をリジ
ェクトする。
In FIG. 24B, when the receiver qualified person receives the resource reservation instruction, the resource reservation 7
2 is performed to ensure that the task can be executed when there is a task allocation request. In FIG. 23, as a result of the qualification determination 6, when the number of qualified receivers who are determined to be qualified reaches a certain number 7, the receiver determination instruction is transmitted 8 to each qualified receiver. In FIG. 24C, each receiver qualified person who has received the receiver determination instruction acquires the load information of the receiver qualified persons other than himself from the shared memory by writing 60 the load information of the own processor to the shared memory. Based on this information, one qualified person with the lightest load is determined as one receiver 54. If the user decides to be the receiver 55, it reports 56 to the sender accordingly. When the receiver itself is not selected as the receiver, the reservation of the resource reserved by the resource reservation 72 is released 73 to avoid unnecessary consumption of the resource. In FIG. 23, when the sender receives 9 the receiver decision report, it makes a task allocation request 10 to the receiver. As a result of the qualification determination 6, when it is determined that there is no qualification, or when the number of qualified persons does not reach a certain number, 7 means that there is a time margin to process a task or request an allocation by the end of the frame time. Re-execute from load information reading 15 of the shared memory in 11 and if there is no time, in 11 there is at least one receiver qualified person even when the number of qualified persons does not reach a certain number. 12, the receiver determination instruction is transmitted 8. If there is no receiver qualified person, the request to generate the task is rejected.

【0043】[0043]

【発明の効果】以上のように本発明は、各プロセッサが
定められたフレームタイム内に割り当てられたタスクを
処理しなければならいようなリアルタイムマルチプロセ
ッサシステムにおいて、システム内のあるプロセッサで
新規生成要求タスクが発生した場合に、そのプロセッサ
内で要求タスクを処理可能であるかを先に判定し、処理
不可能であると判明したときに初めて他のプロセッサに
タスク割当を依頼すべく動的負荷分散を行うことによ
り、不必要にプロセッサの負荷量を増加することを防
ぎ、処理効率を向上することが可能となる。
As described above, according to the present invention, in a real-time multiprocessor system in which each processor must process a task assigned within a predetermined frame time, a new generation request is made by a certain processor in the system. When a task occurs, it is first determined whether the requested task can be processed in that processor, and when it is determined that it cannot be processed, dynamic load balancing is requested to another processor for task allocation. By doing so, it is possible to prevent an unnecessary increase in the load on the processor and improve the processing efficiency.

【0044】また、新規生成要求タスクが自プロセッサ
で処理不可能と判定され、他プロセッサへ処理代行を依
頼する場合、レシーバの決定をレシーバ有資格者同士で
行うことにより、負荷を軽減すべく動的負荷分散を行お
うとするセンダが、動的負荷分散処理のために負荷を高
めてしまうことを回避することが可能となる。
Further, when the new generation request task is determined to be unprocessable by the own processor and the other processor is requested to perform the processing substitution, the receiver qualified personnel make decisions to reduce the load. It is possible to prevent the sender, which intends to perform the dynamic load balancing, from increasing the load for the dynamic load balancing process.

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

【図1】 本発明による動的負荷分散方法の実施の形態
1のセンダの処理を示すフロー図である。
FIG. 1 is a flowchart showing a process of a sender according to a first embodiment of a dynamic load distribution method according to the present invention.

【図2】 本発明による動的負荷分散方法の実施の形態
1のレシーバ候補の処理を示すフロー図である。
FIG. 2 is a flowchart showing processing of a receiver candidate according to the first embodiment of the dynamic load distribution method according to the present invention.

【図3】 本発明による動的負荷分散方法の実施の形態
2のセンダの処理を示すフロー図である。
FIG. 3 is a flowchart showing processing of a sender according to the second embodiment of the dynamic load balancing method of the present invention.

【図4】 本発明による動的負荷分散方法の実施の形態
2のレシーバ候補の処理を示すフロー図である。
FIG. 4 is a flowchart showing processing of a receiver candidate according to the second embodiment of the dynamic load distribution method according to the present invention.

【図5】 本発明による動的負荷分散方法の実施の形態
3のセンダの処理を示すフロー図である。
FIG. 5 is a flowchart showing processing of a sender according to the third embodiment of the dynamic load balancing method of the present invention.

【図6】 本発明による動的負荷分散方法の実施の形態
3のレシーバ候補の処理を示すフロー図である。
FIG. 6 is a flowchart showing processing of a receiver candidate according to the third embodiment of the dynamic load distribution method of the present invention.

【図7】 本発明による動的負荷分散方法の実施の形態
4のセンダの処理を示すフロー図である。
FIG. 7 is a flowchart showing processing of a sender according to the fourth embodiment of the dynamic load balancing method of the present invention.

【図8】 本発明による動的負荷分散方法の実施の形態
4のレシーバ候補の処理を示すフロー図である。
FIG. 8 is a flowchart showing processing of a receiver candidate according to the fourth embodiment of the dynamic load distribution method of the present invention.

【図9】 本発明による動的負荷分散方法の実施の形態
5のセンダの処理を示すフロー図である。
FIG. 9 is a flowchart showing processing of a sender according to the fifth embodiment of the dynamic load distribution method of the present invention.

【図10】 本発明による動的負荷分散方法の実施の形
態5のレシーバ候補の処理を示すフロー図である。
FIG. 10 is a flowchart showing processing of receiver candidates according to the fifth embodiment of the dynamic load distribution method of the present invention.

【図11】 本発明による動的負荷分散方法の実施の形
態6のセンダの処理を示すフロー図である。
FIG. 11 is a flowchart showing processing of a sender according to the sixth embodiment of the dynamic load distribution method of the present invention.

【図12】 本発明による動的負荷分散方法の実施の形
態6のレシーバ候補の処理を示すフロー図である。
FIG. 12 is a flowchart showing processing of a receiver candidate according to the sixth embodiment of the dynamic load distribution method of the present invention.

【図13】 本発明による動的負荷分散方法の実施の形
態7のセンダの処理を示すフロー図である。
FIG. 13 is a flowchart showing the processing of the sender according to the seventh embodiment of the dynamic load balancing method of the present invention.

【図14】 本発明による動的負荷分散方法の実施の形
態7のレシーバ候補の処理を示すフロー図である。
FIG. 14 is a flowchart showing processing of receiver candidates according to the seventh embodiment of the dynamic load distribution method of the present invention.

【図15】 本発明による動的負荷分散方法の実施の形
態8のセンダの処理を示すフロー図である。
FIG. 15 is a flowchart showing the processing of the sender according to the eighth embodiment of the dynamic load balancing method of the present invention.

【図16】 本発明による動的負荷分散方法の実施の形
態8のレシーバ候補の処理を示すフロー図である。
FIG. 16 is a flowchart showing processing of receiver candidates according to the eighth embodiment of the dynamic load balancing method of the present invention.

【図17】 本発明による動的負荷分散方法の実施の形
態9のセンダの処理を示すフロー図である。
FIG. 17 is a flowchart showing processing of a sender according to the ninth embodiment of the dynamic load balancing method of the present invention.

【図18】 本発明による動的負荷分散方法の実施の形
態9のレシーバ候補の処理を示すフロー図である。
FIG. 18 is a flowchart showing processing of receiver candidates according to the ninth embodiment of the dynamic load balancing method of the present invention.

【図19】 本発明による動的負荷分散方法の実施の形
態10のセンダの処理を示すフロー図である。
FIG. 19 is a flowchart showing the processing of the sender according to the tenth embodiment of the dynamic load balancing method of the present invention.

【図20】 本発明による動的負荷分散方法の実施の形
態10のレシーバ候補の処理を示すフロー図である。
FIG. 20 is a flowchart showing processing of receiver candidates according to the tenth embodiment of the dynamic load balancing method of the present invention.

【図21】 本発明による動的負荷分散方法の実施の形
態11のセンダの処理を示すフロー図である。
FIG. 21 is a flowchart showing the processing of the sender according to the eleventh embodiment of the dynamic load balancing method of the present invention.

【図22】 本発明による動的負荷分散方法の実施の形
態11のレシーバ候補の処理を示すフロー図である。
[Fig. 22] Fig. 22 is a flowchart showing processing of a receiver candidate according to the eleventh embodiment of the dynamic load distribution method of the present invention.

【図23】 本発明による動的負荷分散方法の実施の形
態12のセンダの処理を示すフロー図である。
FIG. 23 is a flowchart showing the processing of the sender according to the twelfth embodiment of the dynamic load balancing method of the present invention.

【図24】 本発明による動的負荷分散方法の実施の形
態12のレシーバ候補の処理を示すフロー図である。
[Fig. 24] Fig. 24 is a flowchart showing processing of a receiver candidate according to the twelfth embodiment of the dynamic load distribution method of the present invention.

【図25】 従来の装置及び本発明にかかる並列計算機
装置のネットワークを示す概略図である。
FIG. 25 is a schematic diagram showing a network of a conventional device and a parallel computer device according to the present invention.

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

101 ネットワーク、102 プロセッサ、103
プロセッサ、1mnプロセッサ。
101 network, 102 processor, 103
Processor, 1 mn processor.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 山崎 弘巳 東京都千代田区丸の内二丁目2番3号 三 菱電機株式会社内 (72)発明者 吉岡 英明 東京都千代田区丸の内二丁目2番3号 三 菱電機株式会社内 (72)発明者 高野 博行 東京都千代田区丸の内二丁目2番3号 三 菱電機株式会社内 (72)発明者 花澤 徹 東京都千代田区丸の内二丁目2番3号 三 菱電機株式会社内 (72)発明者 ▲高▼橋 正人 東京都千代田区丸の内二丁目2番3号 三 菱電機株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Hiromi Yamazaki 2-3-3 Marunouchi, Chiyoda-ku, Tokyo Sanryo Electric Co., Ltd. (72) Hideaki Yoshioka 2-3-2 Marunouchi, Chiyoda-ku, Tokyo Ryoden Co., Ltd. (72) Inventor Hiroyuki Takano 2-3-3 Marunouchi, Chiyoda-ku, Tokyo Sanryo Denki Co., Ltd. (72) Inventor Toru Hanazawa 2-3-2 Marunouchi, Chiyoda-ku, Tokyo Sanryo Denki Co., Ltd. (72) Inventor ▲ Taka ▼ Masato Hashi 2-3-3 Marunouchi, Chiyoda-ku, Tokyo Sanryo Electric Co., Ltd.

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 同等の機能を有する複数のプロセッサを
持ち、各プロセッサ内のタスクは定められたフレームタ
イム内で処理しなければならず、フレームタイムの開始
時に該フレームタイムにおいて処理すべき仕事を判定
し、該判定結果に基づいてタスクのスケジューリングを
行うようなリアルタイムな並列計算機において、あるプ
ロセッサにおける該タスクスケジューリングの結果、タ
スク生成要求が生じたとき、該プロセッサは該タスクス
ケジューリングの結果得られるフレームタイム終了まで
のタスク割当のタイムスケジュールやメモリ使用状況等
の負荷情報と、該タスクの所要メモリ量や所要処理時間
等に関するタスク情報を基に該タスクの実行可否判定を
行い、その結果現在時刻からフレームタイム終了時刻ま
での時間より該タスクの所要処理時間の方が長かった
り、現在時刻からフレームタイム終了時刻までに既に他
のタスクが割り当てられている等の理由で該タスクの処
理実行が不可能であるとなった場合、該プロセッサは該
タスクのセンダとなり、他のプロセッサのうち該プロセ
ッサの次のプロセッサ番号のプロセッサをレシーバ候補
として選定し、該レシーバ候補に対してタスクスケジュ
ーリングの結果得られた負荷情報の送信を要求し、受信
した該レシーバ候補の負荷情報と該タスクのタスク情報
を基に該レシーバ候補において該タスクの実行が可能で
あるかどうか、すなわちレシーバとしての資格があるか
どうかの判定を行い、判定の結果が合格であるレシーバ
有資格者が一定数に達するまで、またはフレームタイム
終了までにタスクの処理や割当要求を行う時間的余裕が
ある限り新たなレシーバ候補の選択および資格判定を繰
り返し、全レシーバ有資格者に対してレシーバ決定指令
を出し、レシーバ有資格者は有資格者同士でお互いの負
荷情報を交換して最も負荷の軽い有資格者をレシーバと
して決定し、レシーバに決定したプロセッサはセンダに
決定報告を行い、センダは決定報告を受けた後にレシー
バに該タスクの処理代行を依頼することを特徴とする並
列計算機における動的負荷分散方法。
1. A plurality of processors having equivalent functions are provided, and a task in each processor must be processed within a predetermined frame time, and a task to be processed at the frame time at the start of the frame time. In a real-time parallel computer that makes a determination and performs task scheduling based on the determination result, when a task generation request occurs as a result of the task scheduling in a processor, the processor obtains a frame obtained as a result of the task scheduling. Whether or not the task can be executed is determined based on the load information such as the time schedule of task allocation and the memory usage status until the end of the time, and the task information related to the required memory amount and the required processing time of the task. The task from the time until the frame time end time If the processing execution of the task is impossible because the required processing time is longer, or another task is already assigned from the current time to the frame time end time, the processor It becomes the sender of the task, selects the processor with the processor number next to that processor among other processors as a receiver candidate, requests the receiver candidate to transmit the load information obtained as a result of the task scheduling, and receives it. Based on the load information of the receiver candidate and the task information of the task, it is judged whether or not the task can be executed in the receiver candidate, that is, whether or not the receiver is qualified as a receiver, and the result of the judgment is pass. Perform tasks and request allocation until a certain number of qualified receivers reach a certain number or until the end of the frame time As long as there is time to spare, new receiver candidates are selected and qualification is repeated, receiver decision commands are issued to all receiver qualified personnel, and the receiver qualified personnel exchange load information with each other. A parallel, characterized in that a qualified person with the lightest load is determined as a receiver, the processor determined to the receiver sends a decision report to the sender, and the sender requests the receiver to process the task after receiving the decision report. Dynamic load balancing method for computers.
【請求項2】 各プロセッサが定期的に自分の負荷情報
を他のプロセッサへ放送する機能を備えることにより、
あるプロセッサにタスク生成要求が生じたとき、該プロ
セッサは該タスクスケジューリングの結果得られるフレ
ームタイム終了までのタスク割当のタイムスケジュール
やメモリ使用状況等の負荷情報と、該タスクの所要メモ
リ量や所要処理時間等に関するタスク情報を基に該タス
クの実行可否判定を行い、その結果現在時刻からフレー
ムタイム終了時刻までの時間より該タスクの所要処理時
間の方が長かったり、現在時刻からフレームタイム終了
時刻までに既に他のタスクが割り当てられている等の理
由で該タスクの処理実行が不可能であるとなった場合、
該プロセッサは該タスクのセンダとなり、予め該放送機
能により取得している各プロセッサの負荷情報と該タス
クのタスク情報を基に各プロセッサにおいて該タスクの
実行が可能かどうか、すなわちレシーバとしての資格が
あるかどうかの判定を行い、判定の結果が合格であるレ
シーバ有資格者全てに対してレシーバ決定指令を出し、
レシーバ有資格者は有資格者同士で該放送機能を用いて
お互いの負荷情報を交換して最も負荷の軽い有資格者を
レシーバとして決定し、レシーバに決定したプロセッサ
はセンダに決定報告を行い、センダは決定報告を受けた
後にレシーバに該タスクの処理代行を依頼することを特
徴とする請求項1記載の並列計算機における動的負荷分
散方法。
2. Each processor has a function of periodically broadcasting its own load information to another processor,
When a task generation request is issued to a certain processor, the processor acquires load information such as a time schedule of task allocation until the end of the frame time obtained as a result of the task scheduling and a memory usage state, and a required memory amount and a required process of the task. Whether or not the task can be executed is determined based on the task information related to time, etc., and as a result, the processing time required for the task is longer than the time from the current time to the frame time end time, or from the current time to the frame time end time. If it becomes impossible to execute the task due to other tasks already being assigned to
The processor becomes the sender of the task, and whether or not the task can be executed by each processor based on the load information of each processor and the task information of the task acquired in advance by the broadcasting function, that is, the qualification as a receiver is satisfied. It judges whether there is, and issues a receiver decision order to all qualified receivers who have passed the judgment,
The receiver qualified person exchanges the load information of each other by using the broadcasting function among the qualified persons and determines the qualified person with the lightest load as the receiver, and the processor determined as the receiver makes a determination report to the sender, 2. The dynamic load balancing method in a parallel computer according to claim 1, wherein the sender requests the receiver to process the task after receiving the decision report.
【請求項3】 各プロセッサが自由にアクセスできる共
有メモリ機能を備えることにより、あるプロセッサにタ
スク生成要求が生じたとき、該プロセッサは該タスクス
ケジューリングの結果得られるフレームタイム終了まで
のタスク割当のタイムスケジュールやメモリ使用状況等
の負荷情報と、該タスクの所要メモリ量や所要処理時間
等に関するタスク情報を基に該タスクの実行可否判定を
行い、その結果現在時刻からフレームタイム終了時刻ま
での時間より該タスクの所要処理時間の方が長かった
り、現在時刻からフレームタイム終了時刻までに既に他
のタスクが割り当てられている等の理由で該タスクの処
理実行が不可能であるとなった場合、該プロセッサはセ
ンダとなり、該共有メモリを読み込むことによって各プ
ロセッサの負荷情報を取得し、該負荷情報と該タスクの
タスク情報を基に各プロセッサにおいて該タスクの実行
が可能かどうか、すなわちレシーバとしての資格がある
かどうかの判定を行い、判定の結果が合格であるレシー
バ有資格者全てに対してレシーバ決定指令を出し、レシ
ーバ有資格者は有資格者同士で該共有メモリを用いてお
互いの負荷情報を交換して最も負荷の軽い有資格者をレ
シーバとして決定し、レシーバに決定したプロセッサは
センダに決定報告を行い、センダは決定報告を受けた後
にレシーバに該タスクの処理代行を依頼することを特徴
とする請求項1記載の並列計算機における動的負荷分散
方法。
3. When each processor is provided with a shared memory function that can be freely accessed, when a task generation request is issued to a processor, the processor allocates a task allocation time until the end of the frame time obtained as a result of the task scheduling. Whether or not the task can be executed is determined based on the load information such as the schedule and memory usage status, and the task information related to the required memory size and required processing time of the task. When it becomes impossible to execute the processing of the task because the required processing time of the task is longer or another task is already assigned from the current time to the frame time end time, The processor becomes a sender, and the load information of each processor is read by reading the shared memory. Based on the load information and the task information of the task, it is determined whether each processor can execute the task, that is, whether the processor is qualified as a receiver, and the result of the determination is that there is a receiver The receiver decision command is issued to all qualified persons, and the qualified receivers exchange load information with each other using the shared memory to determine the least loaded qualified person as a receiver. 2. The dynamic load balancing method for a parallel computer according to claim 1, wherein the processor determined in step 1) makes a decision report to the sender, and the sender requests the receiver to process the task after receiving the decision report.
【請求項4】 レシーバ決定後にタスク割当要求をレシ
ーバに送信した際に、ネットワークにおいて遅延が発生
した等の理由でレシーバがタスク割当要求を受信するの
が遅れたため、その間にレシーバが他のプロセッサから
他のタスクの割当要求を受け付けてしまった等の理由
で、レシーバが該タスク生成要求を受諾できなくなって
しまった場合、レシーバがセンダにリジェクト信号を送
信し、センダはフレームタイム終了までにタスクの処理
や割当要求を行う時間的余裕がある限り、残ったレシー
バ有資格者に対して新たにレシーバ決定指令を出すよう
にしたことを特徴とする請求項1記載の並列計算機にお
ける動的負荷分散方法。
4. When the task allocation request is transmitted to the receiver after the receiver is determined, the receiver delays receiving the task allocation request due to a delay in the network or the like. If the receiver cannot accept the task generation request due to the reason that it has accepted the assignment request for another task, the receiver sends a reject signal to the sender, and the sender sends the reject signal to the task by the end of the frame time. 2. A dynamic load balancing method in a parallel computer according to claim 1, wherein a new receiver decision command is issued to the remaining qualified receivers as long as there is a time margin for processing and allocation request. .
【請求項5】 レシーバ決定後にタスク割当要求をレシ
ーバに送信した際に、ネットワークにおいて遅延が発生
した等の理由でレシーバがタスク割当要求を受信するの
が遅れたため、その間にレシーバが他のプロセッサから
他のタスクの割当要求を受け付けてしまった等の理由
で、レシーバが該タスク生成要求を受諾できなくなって
しまった場合、レシーバがセンダにリジェクト信号を送
信し、センダはフレームタイム終了までにタスクの処理
や割当要求を行う時間的余裕がある限り、残ったレシー
バ有資格者に対して新たにレシーバ決定指令を出すよう
にしたことを特徴とする請求項2記載の並列計算機にお
ける動的負荷分散方法。
5. When the task allocation request is transmitted to the receiver after the receiver is determined, the receiver delays receiving the task allocation request due to a delay in the network or the like. If the receiver cannot accept the task generation request due to the reason that it has accepted the assignment request for another task, the receiver sends a reject signal to the sender, and the sender sends the reject signal to the task by the end of the frame time. The dynamic load balancing method in a parallel computer according to claim 2, wherein a receiver decision command is newly issued to the remaining receiver qualified persons as long as there is a time margin for processing and allocation request. .
【請求項6】 レシーバ決定後にタスク割当要求をレシ
ーバに送信した際に、ネットワークにおいて遅延が発生
した等の理由でレシーバがタスク割当要求を受信するの
が遅れたため、その間にレシーバが他のプロセッサから
他のタスクの割当要求を受け付けてしまった等の理由
で、レシーバが該タスク生成要求を受諾できなくなって
しまった場合、レシーバがセンダにリジェクト信号を送
信し、センダはフレームタイム終了までにタスクの処理
や割当要求を行う時間的余裕がある限り、残ったレシー
バ有資格者に対して新たにレシーバ決定指令を出すよう
にしたことを特徴とする請求項3記載の並列計算機にお
ける動的負荷分散方法。
6. When a task allocation request is sent to the receiver after the receiver is determined, the receiver delays receiving the task allocation request due to a delay in the network, etc. If the receiver cannot accept the task generation request due to the reason that it has accepted the assignment request for another task, the receiver sends a reject signal to the sender, and the sender sends the reject signal to the task by the end of the frame time. 4. A dynamic load balancing method in a parallel computer according to claim 3, wherein a receiver decision command is newly issued to the remaining receiver qualified persons as long as there is a time margin for processing and allocation request. .
【請求項7】 レシーバ決定の際に各レシーバ有資格者
がレシーバ有資格者のリストを作成しておくことによ
り、レシーバ決定後にタスク割当要求をレシーバに送信
した際に、ネットワークにおいて遅延が発生した等の理
由でレシーバがタスク割当要求を受信するのが遅れたた
め、その間にレシーバが他のプロセッサから他のタスク
の割当要求を受け付けてしまった等の理由で、レシーバ
が該タスク生成要求を受諾できなくなってしまった場
合、フレームタイム終了までにタスクの処理や割当要求
を行う時間的余裕がある限りレシーバが有資格者リスト
に登録されているプロセッサの中から新たにレシーバを
決定し、タスク処理代行依頼をすることを特徴とする請
求項1記載の並列計算機における動的負荷分散方法。
7. A delay occurs in the network when a task assignment request is sent to the receiver after the receiver is determined, because each receiver qualified person creates a list of the receiver qualified persons when the receiver is determined. The receiver can accept the task creation request because, for example, the receiver has received a task allocation request late due to some reason such as the receiver has received another task allocation request from another processor during that time. If there is no receiver, as long as there is enough time to process tasks and request allocation by the end of the frame time, the receiver will newly determine the receiver from the processors registered in the qualified person list and perform the task processing agency. The dynamic load balancing method in a parallel computer according to claim 1, wherein a request is made.
【請求項8】 レシーバ決定の際に各レシーバ有資格者
がレシーバ有資格者のリストを作成しておくことによ
り、レシーバ決定後にタスク割当要求をレシーバに送信
した際に、ネットワークにおいて遅延が発生した等の理
由でレシーバがタスク割当要求を受信するのが遅れたた
め、その間にレシーバが他のプロセッサから他のタスク
の割当要求を受け付けてしまった等の理由で、レシーバ
が該タスク生成要求を受諾できなくなってしまった場
合、フレームタイム終了までにタスクの処理や割当要求
を行う時間的余裕がある限りレシーバが有資格者リスト
に登録されているプロセッサの中から新たにレシーバを
決定し、タスク処理代行依頼をすることを特徴とする請
求項2記載の並列計算機における動的負荷分散方法。
8. A delay occurs in the network when a task assignment request is sent to the receiver after the receiver is determined, because each receiver qualified person creates a list of the receiver qualified persons when the receiver is determined. The receiver can accept the task creation request because, for example, the receiver has received a task allocation request late due to some reason such as the receiver has received another task allocation request from another processor during that time. If there is no receiver, as long as there is enough time to process tasks and request allocation by the end of the frame time, the receiver will newly determine the receiver from the processors registered in the qualified person list and perform the task processing agency. The dynamic load balancing method in a parallel computer according to claim 2, wherein a request is made.
【請求項9】 レシーバ決定の際に各レシーバ有資格者
がレシーバ有資格者のリストを作成しておくことによ
り、レシーバ決定後にタスク割当要求をレシーバに送信
した際に、ネットワークにおいて遅延が発生した等の理
由でレシーバがタスク割当要求を受信するのが遅れたた
め、その間にレシーバが他のプロセッサから他のタスク
の割当要求を受け付けてしまった等の理由で、レシーバ
が該タスク生成要求を受諾できなくなってしまった場
合、フレームタイム終了までにタスクの処理や割当要求
を行う時間的余裕がある限りレシーバが有資格者リスト
に登録されているプロセッサの中から新たにレシーバを
決定し、タスク処理代行依頼をすることを特徴とする請
求項3記載の並列計算機における動的負荷分散方法。
9. A delay occurs in the network when a task assignment request is sent to a receiver after the receiver is determined, because each receiver qualified person creates a list of the receiver qualified persons when the receiver is determined. The receiver can accept the task creation request because, for example, the receiver has received a task allocation request late due to some reason such as the receiver has received another task allocation request from another processor during that time. If there is no receiver, as long as there is enough time to process tasks and request allocation by the end of the frame time, the receiver will newly determine the receiver from the processors registered in the qualified person list and perform the task processing agency. The dynamic load balancing method in a parallel computer according to claim 3, wherein a request is made.
【請求項10】 レシーバ候補の資格判定時に判定結果
が合格であるとなった場合に、レシーバ候補に対して生
成要求のあるタスクを生成するのに必要なメモリやフレ
ームタイム内での処理時間等のリソースを予め確保する
ように指示しておくことによって、実際に生成要求を受
信した際に確実に該タスクの生成・実行を可能にするこ
とを特徴とする請求項1記載の並列計算機における動的
負荷分散方法。
10. A processing time within a frame time or the like required to generate a task for which a generation request is made to the receiver candidate when the judgment result is a pass at the time of qualifying the receiver candidate. 2. The operation in a parallel computer according to claim 1, wherein the task is surely enabled to be generated and executed when the generation request is actually received by instructing to reserve the resource in advance. Load balancing method.
【請求項11】 レシーバ候補の資格判定時に判定結果
が合格であるとなった場合に、レシーバ候補に対して生
成要求のあるタスクを生成するのに必要なメモリやフレ
ームタイム内での処理時間等のリソースを予め確保する
ように指示しておくことによって、実際に生成要求を受
信した際に確実に該タスクの生成・実行を可能にするこ
とを特徴とする請求項2記載の並列計算機における動的
負荷分散方法。
11. A processing time within a frame time or the like required to generate a task requested to be generated for a receiver candidate when the result of the judgment at the time of qualifying a receiver candidate is a pass. 3. The parallel computer according to claim 2, wherein the task is surely made possible to be generated and executed when the generation request is actually received by instructing to reserve the resource in advance. Load balancing method.
【請求項12】 レシーバ候補の資格判定時に判定結果
が合格であるとなった場合に、レシーバ候補に対して生
成要求のあるタスクを生成するのに必要なメモリやフレ
ームタイム内での処理時間等のリソースを予め確保する
ように指示しておくことによって、実際に生成要求を受
信した際に確実に該タスクの生成・実行を可能にするこ
とを特徴とする請求項3記載の並列計算機における動的
負荷分散方法。
12. A memory, a processing time within a frame time, and the like required to generate a task requested to be generated for a receiver candidate when the judgment result is “pass” at the time of judging the qualification of the receiver candidate. 4. The operation in the parallel computer according to claim 3, wherein the task is surely enabled to be generated / executed when the generation request is actually received by instructing to reserve the resource in advance. Load balancing method.
JP4352096A 1996-02-29 1996-02-29 Dynamic load distribution method for parallel computer Pending JPH09237193A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4352096A JPH09237193A (en) 1996-02-29 1996-02-29 Dynamic load distribution method for parallel computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4352096A JPH09237193A (en) 1996-02-29 1996-02-29 Dynamic load distribution method for parallel computer

Publications (1)

Publication Number Publication Date
JPH09237193A true JPH09237193A (en) 1997-09-09

Family

ID=12666034

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4352096A Pending JPH09237193A (en) 1996-02-29 1996-02-29 Dynamic load distribution method for parallel computer

Country Status (1)

Country Link
JP (1) JPH09237193A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001147907A (en) * 1999-09-08 2001-05-29 Sony United Kingdom Ltd Network terminal equipment, network and task distributing method
GB2404050B (en) * 2003-07-18 2007-01-17 Nec Corp Security management system in a parallel processing system
US11700299B2 (en) 2019-02-05 2023-07-11 Mitsubishi Electric Corporation Information processing apparatus, information processing system, non-transitory computer-readable medium, and information processing method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001147907A (en) * 1999-09-08 2001-05-29 Sony United Kingdom Ltd Network terminal equipment, network and task distributing method
JP4669601B2 (en) * 1999-09-08 2011-04-13 ソニー ヨーロッパ リミテッド Network terminal device, network, and task distribution method
GB2404050B (en) * 2003-07-18 2007-01-17 Nec Corp Security management system in a parallel processing system
US7516323B2 (en) 2003-07-18 2009-04-07 Nec Corporation Security management system in parallel processing system by OS for single processors
US11700299B2 (en) 2019-02-05 2023-07-11 Mitsubishi Electric Corporation Information processing apparatus, information processing system, non-transitory computer-readable medium, and information processing method

Similar Documents

Publication Publication Date Title
US8185908B2 (en) Dynamic scheduling in a distributed environment
US9537726B2 (en) System and method for providing threshold-based access to compute resources
JP5609868B2 (en) Workflow monitoring control system, monitoring control method and monitoring control program
US8209695B1 (en) Reserving resources in a resource-on-demand system for user desktop utility demand
Ren et al. Mixed-criticality scheduling on multiprocessors using task grouping
CN107515786B (en) Resource allocation method, master device, slave device and distributed computing system
US7206890B2 (en) System and method for reducing accounting overhead during memory allocation
US20040163085A1 (en) Method to distribute programs using remote java objects
CN110597639B (en) CPU distribution control method, device, server and storage medium
JP2004171234A (en) Task allocation method in multiprocessor system, task allocation program and multiprocessor system
US9239736B2 (en) System and method of providing a fixed time offset based dedicated co-allocation of a common resource set
Ramanathan et al. Utilization difference based partitioned scheduling of mixed-criticality systems
JPH09237256A (en) Dynamic load distribution method for parallel computer
JPH0628323A (en) Process execution control method
JPH09237193A (en) Dynamic load distribution method for parallel computer
CN102200928A (en) Computation resource control apparatus, computation resource control method, and non-transitory computer-readable recording medium
JP4063651B2 (en) Job scheduling method and apparatus
CN115576683A (en) Coroutine pool scheduling management method, system, device and storage medium
JPH09231181A (en) Method for distributing dynamic load in parallel computer
JPH09237255A (en) Dynamic load distribution method for parallel computer
JPH09237194A (en) Dynamic load distribution method for parallel computer
JPH10207847A (en) Automatic load dispersion system for distribution system
CA2313273A1 (en) Device and method for allocating jobs in a network
JPH09160890A (en) Multiprocessor system
CN111459651A (en) Load balancing method, device, storage medium and scheduling system

Legal Events

Date Code Title Description
A02 Decision of refusal

Effective date: 20040106

Free format text: JAPANESE INTERMEDIATE CODE: A02