JPH05334269A - Multi-cpu device - Google Patents

Multi-cpu device

Info

Publication number
JPH05334269A
JPH05334269A JP14307292A JP14307292A JPH05334269A JP H05334269 A JPH05334269 A JP H05334269A JP 14307292 A JP14307292 A JP 14307292A JP 14307292 A JP14307292 A JP 14307292A JP H05334269 A JPH05334269 A JP H05334269A
Authority
JP
Japan
Prior art keywords
cpu
task
update
load
shared information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP14307292A
Other languages
Japanese (ja)
Inventor
Teruo Udagawa
照夫 宇田川
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP14307292A priority Critical patent/JPH05334269A/en
Publication of JPH05334269A publication Critical patent/JPH05334269A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To unnecessitate the change of the application program of a single CPU device, to automatically attain a load distribution, and to attain an update by a latest message packet even when the plural message packets which update the shared information are generated. CONSTITUTION:A shared space 3 commonly enabling an access from plural CPU 1 and 2, and disabling a task arrangement, is equipped with a load managing means 6 which searches the load ratio of each CPU 1 and 2, and an updating means 7 which stamps the generating time on the message packet indicating the update content at the time of the generation of the update of the shared information, and updates the latest message packet by referring to the stamp even when the plural message packets which update the same shared information are generated. Local spaces 41 and 42 of each CPU 1 and 2 are equipped with task managing means 10 which accept a request for the activation of entire tasks under the control of the CPU, allows the tasks to be executed under the control of the CPU whose load is reduced by referring to the load ratio of each CPU 1 and 2, and manage the flow of the task.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ビル管理システム等の
小規模リアルタイムシステム等に制御装置として使用す
るマルチCPU装置の改良に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an improvement of a multi-CPU device used as a control device in a small-scale real-time system such as a building management system.

【0002】ビル管理システム等の小規模リアルタイム
システムでは、制御装置としてシングルCPU装置が主
として用いられてきたが、最近マルチCPU装置も用い
られるようになってきた。
In a small-scale real-time system such as a building management system, a single CPU device has been mainly used as a control device, but recently, a multi-CPU device has also been used.

【0003】この為には、シングルCPU装置のアブリ
ケーションプログラムを変更せず且つ負荷分散も自動的
に出来又同じ共用情報を更新する複数のメッセージパケ
ットが発生しても最新のメッセージパケットによる更新
を行うことが出来るマルチCPU装置の提供が要望され
ている。
Therefore, even if the application program of the single CPU device is not changed, the load can be automatically distributed, and even if a plurality of message packets for updating the same shared information are generated, the update by the latest message packet is performed. There is a desire to provide a multi-CPU device that can do this.

【0004】[0004]

【従来の技術】図5は従来例のマルチCPU装置のタス
クの流れ及び共用情報更新の流れを示す図である。
2. Description of the Related Art FIG. 5 is a diagram showing a task flow and a shared information update flow of a conventional multi-CPU device.

【0005】シングルCPU装置では、タスク管理,メ
モリの領域管理,割り込み管理及びタスクの生成消滅が
動的に行なえるオペレーティングシステム(以下OSと
称す)を持ち、マルチCPU装置では、複数のCPUで
共通にアクセス出来るがタスク配置は出来ない共用空間
と、各CPU毎にアクセス出来るローカル空間を持ち、
各ローカル空間毎にタスク管理,メモリの領域管理を行
い、割り込み管理は割り込み点毎に該当CPUとハンド
ラ名を定義することにより該当のハンドラを起動し、且
つCPU間の通信を行うプリミチブとタスク生成消滅を
動的に行なえるプリミチブを持つOSをもつている。
A single CPU device has an operating system (hereinafter referred to as an OS) capable of dynamically performing task management, memory area management, interrupt management, and task generation / disappearance. In a multi-CPU device, a plurality of CPUs are commonly used. There is a shared space where you can access tasks but cannot place tasks, and a local space where you can access each CPU.
Task management and memory area management are performed for each local space, and interrupt management is performed by defining the corresponding CPU and handler name for each interrupt point to activate the corresponding handler and creating a primitive and task for communication between CPUs. It has an OS with primitives that can be dynamically deleted.

【0006】シングルCPU装置では、全て同一の論理
空間である為に、プログラムやデータの配置を考える必
要がなかったが、マルチCPU装置では、タスクの配置
等の意識が必要な為に、アブリケーションプログラム開
発者は、シングルCPU装置で用意していたアブリケー
ションプログラムの各タスクのアルゴリズムの中に、各
CPUへの負荷分散を考え、どのCPU配下であるかの
配置を記述するようにして、このアブリケーションプロ
グラムをマルチCPU装置にも使用出来るようにしてい
る。
In the single CPU device, it is not necessary to consider the arrangement of programs and data because they are all in the same logical space, but in the multi-CPU device, since the awareness of the arrangement of tasks is required, the application The program developer considers the load distribution to each CPU in the algorithm of each task of the application program prepared by the single CPU device, and describes the arrangement of which CPU it is under. The application program can be used in a multi-CPU device.

【0007】例えば、データを編集してプリンタに出力
する事象の時は、アブリケーションプログラムとして
は、CPU1配下の、データをプリンタに出力出来るよ
うに編集するタスク20’が、CPU2配下の、プリン
タに出力するタスク21’を直接起動してプリンタに出
力するようなものにしている。
For example, in the event of editing the data and outputting it to the printer, as an application program, a task 20 'for editing the data so that the data can be output to the printer is assigned to the printer under the CPU2. The output task 21 'is directly activated and output to the printer.

【0008】又例えばCPU1,2が共通に使用してい
る磁気ディスク30のレコードAの更新を行うメッセー
ジパケット27が時間T1で発生し、CPU1配下の、
磁気ディスク30の更新を行うタスク25に入力し、同
じく磁気ディスク30のレコードAの更新を行うメッセ
ージパケット28が時間T1より遅い時間T2で発生
し、CPU2配下の、磁気ディスク30の更新を行うタ
スク26に入力し、CPU2の負荷が軽く、タスク26
による更新が、タスク25による更新より早くなると、
磁気ディスク30のレコードAは最新のメッセージパケ
ット28の新しい内容に更新され、次に古いメッセージ
パケット27の古い内容に更新される。
Further, for example, a message packet 27 for updating the record A of the magnetic disk 30 which is commonly used by the CPUs 1 and 2 is generated at time T1.
A task for updating the magnetic disk 30 under the CPU2 when a message packet 28 for updating the record A of the magnetic disk 30 is input to the task 25 for updating the magnetic disk 30 at a time T2 later than the time T1. 26, the load on CPU2 is light, and task 26
When the update by is faster than the update by task 25,
The record A on the magnetic disk 30 is updated with the new contents of the latest message packet 28 and then with the old contents of the oldest message packet 27.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、アブリ
ケーションプログラムは各システムで異なる為に、アブ
リケーションプログラムの各タスクのアルゴリズムの中
に、各CPUへの負荷分散を考え、どのCPU配下であ
るかの配置を記述するのは、各システムのアブリケーシ
ョンプログラム毎に行わねばならず、システムが多けれ
ば多い程アブリケーションプログラムの修正に手間がか
かる問題点がある。
However, since the application programs are different in each system, the load distribution to each CPU is considered in the algorithm of each task of the application program to determine which CPU it is under. The arrangement must be described for each application program in each system, and the more systems there are, the more troublesome it is to modify the application program.

【0010】又負荷分散が静的に決定されているので、
1つのCPUが高負荷になっても残りのCPUに動的に
負荷分散が出来ない問題点もある。又共用情報更新を行
う複数の共用情報更新が発生すると、新しい内容に更新
された後古い更新内容に更新され齟齬をきたすことがあ
る問題点もある。
Since the load distribution is statically determined,
There is also a problem that even if one CPU has a high load, the load cannot be dynamically distributed to the remaining CPUs. Further, when a plurality of shared information updates for updating shared information occur, there is a problem in that new content is updated and then old update content is updated, which may cause a discrepancy.

【0011】本発明は、シングルCPU装置で使用して
いたアブリケーションプログラムの修正の必要がなく又
負荷分散が自動的に実行出来又同じ共用情報更新を行う
複数の共用情報更新が発生しても、最新の更新内容で更
新出来るマルチCPU装置の提供を目的としている。
According to the present invention, it is not necessary to modify the application program used in the single CPU device, load balancing can be automatically executed, and a plurality of shared information updates for updating the same shared information occur. The purpose is to provide a multi-CPU device that can be updated with the latest update contents.

【0012】[0012]

【課題を解決するための手段】図1は本発明の原理ブロ
ック図である。図1に示す如く、複数のCPU1,2を
持ち、該複数のCPU1,2で共通にアクセス出来るが
タスク配置は出来ない共用空間3と、各CPU1,2毎
にアクセス出来るローカル空間41,42を持ち、各ロ
ーカル空間41,42毎にタスク管理,メモリの領域管
理を行い且つ該CPU1,2間の通信を行うプリミチブ
とタスク生成消滅を動的に行なえるプリミチブを持つO
S5を有するマルチCPU装置において、該共用空間3
には、各CPU1,2の負荷率を求める負荷管理手段6
と、共用情報更新発生時には更新内容を示すメッセージ
パケットに発生時刻をスタンプし、更新を行う時は、こ
のスタンプを見、複数の同じ共用情報を更新するメッセ
ージパケットが発生しても最新のメッセージパケットに
よる更新を行う更新手段7とを持たせ、該各CPU1,
2毎のローカル空間41,42夫々には、CPU配下の
全てのタスクの起動要求を受付け、該各CPU1,2の
負荷率を見,負荷の軽いCPU配下でタスクを実行させ
ると共にタスクの流れを管理するタスク管理手段10を
設けた構成とする。
FIG. 1 is a block diagram showing the principle of the present invention. As shown in FIG. 1, a shared space 3 that has a plurality of CPUs 1 and 2 and that can be commonly accessed by the plurality of CPUs 1 and 2 but does not allow task allocation, and local spaces 41 and 42 that can be accessed by each CPU 1 and 2 are provided. The local space 41 and 42 have task management, memory area management, and communication between the CPUs 1 and 2, and a primitive that can dynamically create and delete tasks O
In the multi-CPU device having S5, the shared space 3
Is a load management means 6 for obtaining the load factor of each CPU 1, 2.
When the shared information update occurs, the generation time is stamped on the message packet indicating the update content, and when the update is performed, this stamp is seen and the latest message packet is generated even if multiple same shared information update message packets occur. And an update means 7 for updating the
Each local space 41, 42 for each 2 receives the activation request of all the tasks under the CPU, sees the load factor of each of the CPUs 1, 2, and executes the tasks under the CPU with the light load, and The task management means 10 for managing is provided.

【0013】[0013]

【作用】本発明によれば、共用空間3の負荷管理手段6
にて、各CPU1、2の負荷率を求める。
According to the present invention, the load management means 6 of the common space 3
Then, the load factors of the CPUs 1 and 2 are obtained.

【0014】そして、ローカル空間41のタスク管理手
段10が、例えばタスクAよりタスクBの起動を受け付
けると、該タスク管理手段10はCPU1,2の負荷率
を見、負荷率の低い方の、例えばCPU2のタスク管理
手段10にタスクBの起動情報を送り、該タスク管理手
段10にてCPU2配下のタスクBの起動をするように
する。
When the task management means 10 in the local space 41 receives the activation of the task B from the task A, for example, the task management means 10 looks at the load factors of the CPUs 1 and 2, and the one with the lower load factor, for example, The task B activation information is sent to the task management means 10 of the CPU 2, and the task management means 10 activates the task B under the CPU 2.

【0015】即ち、タスクは直接タスクを起動するので
なく、各ローカル空間41,42にあるタスク管理手段
10を介して、タスクを起動するようにし、アブリケー
ションプログラムのタスクには起動タスクがどのCPU
配下であるとの配置を意識させないようにするので、シ
ングルCPU装置のアブリケーションプログラムを修正
せずマルチCPU装置に使用出来る。
That is, the task does not directly activate the task, but activates the task via the task management means 10 in each of the local spaces 41 and 42.
It is possible to use the multi-CPU device without modifying the application program of the single-CPU device because the subordinate arrangement is not made conscious.

【0016】又各CPU1,2の負荷率を見て負荷の軽
いCPU配下のタスクを起動し実行させるので負荷分散
が自動的に出来る。又更新手段7にて、CPU1,2が
共通に使用している共通情報の更新発生時には、メッセ
ージパケットに事象発生時刻をスタンプし、更新を行う
時は、このスタンプを見るようにしているので、複数の
同じ共用情報を更新するメッセージパケットが発生して
も最新のメッセージパケットによる更新を行うことが出
来るようになる。
Further, since the tasks under the CPU having a light load are activated and executed by observing the load factors of the CPUs 1 and 2, the load can be automatically distributed. Further, when the updating means 7 updates the common information commonly used by the CPUs 1 and 2, the event occurrence time is stamped in the message packet, and this stamp is viewed when updating. Even if a plurality of message packets for updating the same shared information are generated, the latest message packet can be used for updating.

【0017】[0017]

【実施例】図2は本発明の実施例のマルチCPU装置の
負荷管理の流れを示す図、図3は本発明の実施例のマル
チCPU装置のタスク管理の流れを示す図、図4は本発
明の実施例の共用情報更新の流れを示す図である。
FIG. 2 is a diagram showing a flow of load management of a multi-CPU device of an embodiment of the present invention, FIG. 3 is a diagram showing a flow of task management of a multi-CPU device of an embodiment of the present invention, and FIG. It is a figure which shows the flow of shared information update of the Example of invention.

【0018】本発明の場合のマルチCPU装置のOS
も、従来例の場合のOSとは同じである。次に負荷管理
手段6につき図2を用いて説明する。
OS of the multi-CPU device according to the present invention
However, it is the same as the OS in the case of the conventional example. Next, the load management means 6 will be described with reference to FIG.

【0019】図2のローカル空間41,42毎に、アイ
ドル処理24として例えば1回100msかかる処理ル
ープを作成しておき、最下位レベルにて永久的に実行さ
せ、1回実行する度にカウンタ23をカウントアップさ
せるようにしておく。
For each of the local spaces 41 and 42 shown in FIG. 2, a processing loop that takes 100 ms, for example, once is created as the idle processing 24, and is executed permanently at the lowest level, and the counter 23 is executed each time it is executed. Try to count up.

【0020】アブリケーションプログラムの処理はこの
レベルより高いので、アブリケーションプログラムにて
処理を行っている時は、アイドル処理24は動作せずカ
ウンタ23はカウントアップしないので、サンプル処理
22にて例えば10秒毎にカウンタ23のカウント値を
参照することを高レベルで実行させ、下記の式にて空き
率を算出し、CPU1,2の負荷率を求め、共用空間3
の負荷率領域25に書込みカウンタ23をリセットする
もので、これにより負荷率領域25を参照することで、
CPU1,2の負荷率が判るようになる。 空き率=〔(100ms×カウント値)/10000m
s〕×100% 次にタスク管理につき図3を用いて説明する。
Since the processing of the application program is higher than this level, the idle processing 24 does not operate and the counter 23 does not count up while the processing of the application program is being performed. The count value of the counter 23 is referred to every second at a high level, the vacancy rate is calculated by the following formula, the load rates of the CPUs 1 and 2 are calculated, and the shared space 3
The write counter 23 is reset to the load factor area 25 of the
The load factors of the CPUs 1 and 2 can be known. Vacant rate = [(100ms x count value) / 10000m
s] × 100% Next, task management will be described with reference to FIG.

【0021】図3のCPU1,2のローカル空間41,
42毎に、タスク管理部10ー1,10ー2を設け、又
タスク起動は、図3(A)に示す如き、ヘッダ部には事
象名及び通知元プログラムコードを書込み、情報領域に
は情報を書き込むメッセージを用いることとする。
Local space 41 of CPUs 1 and 2 in FIG.
For each 42, task management units 10-1 and 10-2 are provided, and as for task activation, as shown in FIG. 3A, the event name and the notification source program code are written in the header part, and the information area is written with information. The message to write is used.

【0022】例えば、データを編集してプリンタに出力
する事象の時は、例えばCPU1配下の、データをプリ
ンタに出力するように編集するタスク20は、図3
(A)のメッセージの事象名にはプリンタに出力を書込
み、通知元プログラムコードにはタスク20のコードを
書込み、情報としては編集するデータを書込み、タスク
管理部10ー2に送る。
For example, in the event of editing the data and outputting it to the printer, the task 20 for editing the data to output the data to the printer, for example, under the control of the CPU 1, is shown in FIG.
Output is written to the printer in the event name of the message (A), the code of the task 20 is written in the notification source program code, and the data to be edited is written in as information, and sent to the task management unit 10-2.

【0023】タスク管理部10ー2では、タスク20の
処理が終了すると、次のメッセージをディスパッチ出来
る通知と、受信したメッセージをタスク管理部10ー1
に送る。
When the processing of the task 20 is completed, the task management unit 10-2 sends a notification that the next message can be dispatched and the received message to the task management unit 10-1.
Send to.

【0024】タスク管理部10ー1では、共用空間3の
負荷率領域25のCPU1,2の負荷率を参照し、例え
ばCPU2が負荷率が低いと、CPU2配下のタスク管
理部10ー1にメッセージを転送する。
The task management unit 10-1 refers to the load factors of the CPUs 1 and 2 in the load factor region 25 of the shared space 3, and when the CPU 2 has a low load factor, a message is sent to the task management unit 10-1 under the CPU 2. To transfer.

【0025】CPU2配下のタスク管理部10ー1は、
生成したタスクを示すタスク管理情報領域31を参照
し、プリンタに出力するタスクが生成されていないかど
うかを見、プリンタに出力するタスク21が生成されて
いない場合はタスク21を生成し、プリンタに出力する
タスク21を生成したことをタスク管理情報領域31に
書き込む。
The task management unit 10-1 under the CPU 2
By referring to the task management information area 31 indicating the generated task, it is checked whether the task to be output to the printer has been generated. If the task 21 to be output to the printer has not been generated, the task 21 is generated and The fact that the output task 21 has been generated is written in the task management information area 31.

【0026】そしてタスク21をディスパッチ状態とし
て起動動作させ編集したデータをプリンタに出力させ
る。タスク21の処理が終了すると、CPU2配下のタ
スク管理部10ー2に不要になつたメッセージを送る。
これを受信したタスク管理部10ー2では不要メッセー
ジを棄却し、次のメッセージをディスパッチ可能にす
る。
Then, the task 21 is activated in the dispatch state to output the edited data to the printer. When the processing of the task 21 is completed, an unnecessary message is sent to the task management unit 10-2 under the CPU 2.
Upon receiving this, the task management unit 10-2 rejects the unnecessary message and makes the next message dispatchable.

【0027】このようにすることで、アブリケーション
プログラムでは、タスクに起動先のタスクの配置や、シ
ングルCPU装置かマルチCPU装置かの構成を意識す
る必要がなくなるので、シングルCPU装置のアブリケ
ーションプログラムをマルチCPU装置に修正せずに使
用出来るようになる。
By doing so, the application program does not need to be aware of the placement of the task to be activated in the task and the configuration of the single CPU device or the multi CPU device. Therefore, the application program of the single CPU device is not required. Can be used as a multi-CPU device without modification.

【0028】又負荷率の低いCPUを自動的に選択し、
負荷率の低いCPU配下のタスクを起動し実行させるこ
とが出来る。次に共用情報更新につき、図4を用いて説
明する。
Also, a CPU with a low load factor is automatically selected,
A task under the CPU with a low load factor can be activated and executed. Next, the shared information update will be described with reference to FIG.

【0029】図4のCPU1,2が共通に使用している
磁気ディスク30のレコードAの更新を行うメッセージ
パケット27が時刻T1で発生すると、更新手段7で
は、このパケット27に時刻T1をスタンプし、CPU
1配下の磁気ディスク30のレコードAの更新を行うタ
スク25に入力する。
When a message packet 27 for updating the record A of the magnetic disk 30 commonly used by the CPUs 1 and 2 in FIG. 4 is generated at time T1, the updating means 7 stamps this packet 27 at time T1. , CPU
It is input to the task 25 for updating the record A of the magnetic disk 30 under the control.

【0030】同じく磁気ディスク30のレコードAの更
新を行うメッセージパケット28が時刻T1より後の時
刻T2で発生すると、更新手段7では、このパケット2
8に時刻T2をスタンプし、CPU2配下の磁気ディス
ク30のレコードAの更新を行うタスク26に入力す
る。
Similarly, when a message packet 28 for updating the record A on the magnetic disk 30 is generated at time T2 after time T1, the updating means 7 uses this packet 2
The time T2 is stamped at 8 and input to the task 26 for updating the record A of the magnetic disk 30 under the control of the CPU 2.

【0031】CPU2の負荷率が低く、タスク26によ
る更新が、タスク25による更新時刻T4より早い時刻
T3にて行おうとすると、タスク26により磁気ディス
ク30のレコードAの更新は行なわれる。
When the load factor of the CPU 2 is low and the update by the task 26 is to be performed at time T3 earlier than the update time T4 by the task 25, the task A updates the record A on the magnetic disk 30.

【0032】時刻T4になり、タスク25により磁気デ
ィスク30のレコードAの更新を行おうとすると、タス
ク25に入力したメッセージパケット27にスタンプし
てある発生した時刻T1は先に更新したタスク26に入
力したメッセージパケット28にスタンプしてある発生
した時刻T2より先であり、最新のメッセージパケット
28の内容に更新しているので、更新手段7では、タス
ク25による更新は行わなくする。
At time T4, when the task 25 tries to update the record A on the magnetic disk 30, the time T1 that is stamped in the message packet 27 input to the task 25 is input to the task 26 that was previously updated. Since the time stamp T2 is stamped on the message packet 28 and the content of the latest message packet 28 is updated, the updating unit 7 does not update the task 25.

【0033】このタスク25,26が負荷率の関係で同
じCPU配下で動作するようになっても動作は同じであ
る。以上は2つのCPUを用いる場合で説明したが、も
っと多くのCPUを用いるマルチCPU装置の場合にも
本発明は勿論適用出来る。
Even if the tasks 25 and 26 are operated under the same CPU due to the load factor, the operation is the same. Although the above description has been made in the case of using two CPUs, the present invention can of course be applied to a multi-CPU device using more CPUs.

【0034】[0034]

【発明の効果】以上詳細に説明せる如く本発明によれ
ば、シングルCPU装置で使用していたアブリケーショ
ンプログラムの修正が必要なく又負荷分散が自動的に実
行出来、又共用情報更新を行う複数の共用情報更新が発
生しても、最新の更新内容で更新出来るマルチCPU装
置が得られる効果がある。
As described in detail above, according to the present invention, there is no need to modify the application program used in a single CPU device, load distribution can be automatically executed, and shared information can be updated. Even if the shared information update occurs, the multi-CPU device that can be updated with the latest update content is obtained.

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

【図1】は本発明の原理ブロック図、FIG. 1 is a block diagram of the principle of the present invention,

【図2】は本発明の実施例のマルチCPU装置の負荷管
理の流れを示す図、
FIG. 2 is a diagram showing a flow of load management of a multi-CPU device according to an embodiment of the present invention,

【図3】は本発明の実施例のマルチCPU装置のタスク
管理の流れを示す図、
FIG. 3 is a diagram showing a flow of task management of a multi-CPU device according to an embodiment of the present invention,

【図4】は本発明の実施例の共用情報更新の流れを示す
図、
FIG. 4 is a diagram showing a flow of updating shared information according to the embodiment of the present invention,

【図5】は従来例のマルチCPU装置のタスクの流れ及
び共用情報更新の流れを示す図である。
FIG. 5 is a diagram showing a task flow and a shared information update flow of a conventional multi-CPU device.

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

1,2はCPU、 3は共通空間、 5はオペレーティングシステム、 6は負荷管理手段、 7は更新手段、 10はタスク管理手段、 10ー1,10ー2はタスク管理部、 20,21,20’,21’,25,26はタスク、 22はサンプリング処理、 23はカウンタ、 24はアイドル処理、 25は負荷率領域、 27,28はメッセージパケット、 30は磁気ディスク、 41,42はローカル空間を示す。 1, 2 is a CPU, 3 is a common space, 5 is an operating system, 6 is a load management means, 7 is an updating means, 10 is a task management means, 10-1 and 10-2 are task management sections, 20, 21, 20 ', 21', 25 and 26 are tasks, 22 is a sampling process, 23 is a counter, 24 is an idle process, 25 is a load factor area, 27 and 28 are message packets, 30 is a magnetic disk, and 41 and 42 are local spaces. Show.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 複数のCPU(1,2)を持ち、該複数
のCPU(1,2)で共通にアクセス出来るがタスク配
置は出来ない共用空間(3)と、各CPU(1,2)毎
にアクセス出来るローカル空間(41,42)を持ち、
各ローカル空間(41,42)毎にタスク管理,メモリ
の領域管理を行い且つ該CPU(1,2)間の通信を行
うプリミチブとタスク生成消滅を動的に行なえるプリミ
チブを持つオペレーティングシステム(5)を有するマ
ルチCPU装置において、該共用空間(3)には、各C
PU(1,2)の負荷率を求める負荷管理手段(6)
と、共用情報更新発生時には更新内容を示すメッセージ
パケットに発生時刻をスタンプし、更新を行う時は、こ
のスタンプを見、複数の同じ共用情報を更新するメッセ
ージパケットが発生しても最新のメッセージパケットに
よる更新を行う更新手段(7)とを持たせ、該各CPU
(1,2)毎のローカル空間(41,42)夫々には、
CPU配下の全てのタスクの起動要求を受付け、該各C
PU(1,2)の負荷率を見,負荷の軽いCPU配下で
タスクを実行させると共にタスクの流れを管理するタス
ク管理手段(10)を設けたことを特徴とするマルチC
PU装置。
1. A shared space (3) having a plurality of CPUs (1, 2), which can be commonly accessed by the plurality of CPUs (1, 2), but task placement is not possible, and each CPU (1, 2) Have local space (41, 42) that can be accessed for each
An operating system (5) that has task management, memory area management for each local space (41, 42) and communication between the CPUs (1, 2), and a primitive system capable of dynamically creating and deleting tasks ) In the multi-CPU device, each shared space (3) has a C
Load management means (6) for obtaining the load factor of PU (1, 2)
When the shared information update occurs, the generation time is stamped on the message packet indicating the update content, and when the update is performed, this stamp is viewed and the latest message packet is generated even if multiple same shared information update message packets occur. And updating means (7) for updating
In each local space (41, 42) of (1, 2),
Accepts the activation requests of all tasks under the CPU,
The multi-C is characterized in that a task management means (10) is provided for observing the load factor of the PU (1, 2) and executing the task under the control of a CPU having a light load and managing the flow of the task.
PU device.
JP14307292A 1992-06-04 1992-06-04 Multi-cpu device Withdrawn JPH05334269A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14307292A JPH05334269A (en) 1992-06-04 1992-06-04 Multi-cpu device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14307292A JPH05334269A (en) 1992-06-04 1992-06-04 Multi-cpu device

Publications (1)

Publication Number Publication Date
JPH05334269A true JPH05334269A (en) 1993-12-17

Family

ID=15330270

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14307292A Withdrawn JPH05334269A (en) 1992-06-04 1992-06-04 Multi-cpu device

Country Status (1)

Country Link
JP (1) JPH05334269A (en)

Similar Documents

Publication Publication Date Title
US4937737A (en) Process transparent multi storage mode data transfer and buffer control
CN100549964C (en) Messaging device, Interrupt Process control method
US4685125A (en) Computer system with tasking
JP4889471B2 (en) Method and system for reducing buffer-to-buffer data transfer between separate processing components
US6513056B1 (en) System and method for efficiently synchronizing cache and persistant data in an object oriented transaction processing system
JP4072271B2 (en) A computer running multiple operating systems
US8051266B2 (en) Automatic memory management (AMM)
US6738974B1 (en) Apparatus and method for system resource object deallocation in a multi-threaded environment
EP0747832A2 (en) Customer information control system and method in a loosely coupled parallel processing environment
TW200411403A (en) System and method for transferring data between virtual machines or other computer entities
JP2002342280A (en) Partitioned processing system, method for setting security in the same system and computer program thereof
US5056003A (en) Distributed data management mechanism
JPH08286918A (en) System and method for creation of object-oriented transaction service mutually acting with procedure transaction coordinator
US20030135615A1 (en) Method for rebalancing resources within a global resource namespace
US5664090A (en) Processor system and method for maintaining internal state consistency between active and stand-by modules
US5218713A (en) Distributed data management mechanism for handling a data stream
EP0205948B1 (en) Distributed data management mechanism
JPH10307732A (en) Message transmitting method
JP4489958B2 (en) Simultaneous processing of event-based systems
JPH05334269A (en) Multi-cpu device
US20010025324A1 (en) Data communication method and apparatus, and storage medium storing program for implementing the method and apparatus
Tokuda et al. An interprocess communication model for a distributed software testbed
JPH04364550A (en) Memory control method
RU2002134486A (en) INFORMATION PROCESSING SYSTEM AND METHOD FOR ITS OPERATION
JPH09330241A (en) Exclusive deadlock prevention control system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990831