JPH1165862A - Multiprocessor resource decentralization management system - Google Patents

Multiprocessor resource decentralization management system

Info

Publication number
JPH1165862A
JPH1165862A JP23338797A JP23338797A JPH1165862A JP H1165862 A JPH1165862 A JP H1165862A JP 23338797 A JP23338797 A JP 23338797A JP 23338797 A JP23338797 A JP 23338797A JP H1165862 A JPH1165862 A JP H1165862A
Authority
JP
Japan
Prior art keywords
processor
processors
unit
process group
management unit
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
JP23338797A
Other languages
Japanese (ja)
Inventor
Yoshiaki Sawada
佳明 澤田
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP23338797A priority Critical patent/JPH1165862A/en
Publication of JPH1165862A publication Critical patent/JPH1165862A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To entirely prevent the occurrence of division loss by leasing processors more than processors assigned to a process group dynamically among process groups according to the load state. SOLUTION: A process management part 6 manages processes P by process groups PG1 to PGn and a processor management part 8 manages the number 3 of processors assigned by the process groups and an unused processor 32 and a used processor 33. A processor allocation part 7 dynamically manages the allocation of the processors dynamically among the process groups by referring to the process management part 6 and processor management part 8. A group or processor use state judging means 21 checks the load state of each process group at a processor acquisition request, a process group selecting means 22 determines a processor group to lease a processor, and a processor leasing and returning means 23 updates the processor management part 8 and leases processors.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はマルチプロセッサ資
源分割管理方式に関し、特に密結合型マルチプロセッサ
システムにおいてプロセッサを分割管理するマルチプロ
セッサ資源分割管理方式に関する。
The present invention relates to a multiprocessor resource division management system, and more particularly to a multiprocessor resource division management system for dividing and managing processors in a tightly coupled multiprocessor system.

【0002】[0002]

【従来の技術】従来、この種のマルチプロセッサ資源分
割管理方式では、性質の異なる複数のプログラムを互い
の負荷が干渉し合うことなくそれぞれ独立に実行させる
ことができるように、密結合型マルチプロセッサシステ
ムを構成する複数台のプロセッサを必要な台数ずつ複数
のプロセスグループに割り当てて分割管理していた。
2. Description of the Related Art Conventionally, in a multiprocessor resource division management system of this type, a tightly coupled multiprocessor is used so that a plurality of programs having different properties can be executed independently of each other without mutual load interference. A plurality of processors constituting the system are assigned to a required number of process groups and managed separately.

【0003】[0003]

【発明が解決しようとする課題】第1の問題点は、従来
の技術では、あるプロセスグループの全プロセッサが使
用状態になったときに、他のプロセスグループに未使用
状態のプロセッサがあっても、未使用状態のプロセッサ
はアイドル状態のままで、密結合型マルチプロセッサシ
ステム全体としての稼働効率が悪くなるという、プロセ
ッサ資源の分割損が発生することである。その理由は、
プロセッサが、例えば対話型プロセスグループに2台、
バッチプロセスグループに8台というように、固定的に
割り当てられていたので、割り当て台数の設定を変更し
ない限り各プロセスグループのプロセッサの台数が固定
的に分割管理され、各プロセスグループはそれぞれ割り
当てられた台数のプロセッサまでしか使用できなかった
からである。つまり、プロセスグループに割り当てられ
た台数以上のプロセッサを負荷状況に応じてプロセスグ
ループ間で動的に貸借させることについては、何ら考慮
されていなかったためである。
A first problem is that, in the prior art, when all the processors of a certain process group are in use, even if there is an unused processor in another process group. In addition, the unused processor remains idle, and the operating efficiency of the whole tightly-coupled multiprocessor system deteriorates. The reason is,
Processors, for example, two in an interactive process group,
The number of processors was fixedly assigned to batch process groups, such as eight, so the number of processors in each process group was fixedly divided and managed unless the setting of the number of assigned units was changed, and each process group was assigned individually. This is because only up to the number of processors could be used. That is, dynamically borrowing more processors than the number assigned to the process groups between the process groups according to the load situation has not been considered at all.

【0004】本発明の目的は、プロセスグループに割り
当てられた台数以上のプロセッサを負荷状況に応じてプ
ロセスグループ間で動的に貸借させることにより、分割
損を一切発生させないマルチプロセッサ資源分割管理方
式を提供することにある。なお、プロセッサの貸借によ
るオーバーヘッドは生じるが、分割損に比べると、時間
にして数千から数万分の1程度のものであり、無視する
ことができる。
[0004] An object of the present invention is to provide a multiprocessor resource division management system which does not generate any division loss by dynamically renting more processors than the number assigned to the process group between the process groups according to the load situation. To provide. Although the overhead due to the lending and borrowing of the processor is generated, the overhead is about several thousand to several tens of thousands of time in comparison with the division loss, and can be ignored.

【0005】また、本発明の他の目的は、プロセスグル
ープに割り当てられた台数以上のプロセッサを負荷状況
に応じてプロセスグループ間で動的に貸借させることに
より、分割損を一切発生させない機能を有するプログラ
ムを記録した記録媒体を提供することにある。
Another object of the present invention is to have a function of dynamically borrowing more processors than the number allocated to the process group between the process groups according to the load condition, thereby preventing any division loss. It is to provide a recording medium on which a program is recorded.

【0006】[0006]

【課題を解決するための手段】本発明のマルチプロセッ
サ資源分割管理方式は、複数のプロセスグループに各プ
ロセスグループで使用できるプロセッサの台数を割り当
ててプロセッサを分割管理する密結合型マルチプロセッ
サシステムにおいて、プロセスをプロセスグループ毎に
管理するプロセス管理部と、プロセスグループ毎に割り
当てプロセッサ数,未使用プロセッサおよび使用プロセ
ッサを管理するプロセッサ管理部と、前記プロセス管理
部および前記プロセッサ管理部を参照してプロセッサの
割り当てを複数のプロセスグループ間で動的に管理する
プロセッサ割り当て部とを有することを特徴とする。特
に、前記プロセッサ割り当て部が、前記プロセス管理部
からのプロセッサ獲得要求の通知を受け、前記プロセッ
サ管理部に問い合わせ、各プロセスグループの負荷状況
を調べるプロセッサ使用状況判断手段と、このプロセッ
サ使用状況判断手段による負荷状況の調査の結果、プロ
セッサの貸借をするプロセスグループを決定するプロセ
スグループ選択手段と、このプロセスグループ選択手段
による結果をふまえ、前記プロセッサ管理部の更新とプ
ロセッサの貸借とを行うプロセッサ貸し出し・返却手段
とからなる。
A multiprocessor resource division management system according to the present invention provides a tightly coupled multiprocessor system for dividing and managing processors by allocating the number of processors usable in each process group to a plurality of process groups. A process management unit that manages a process for each process group, a processor management unit that manages the number of processors assigned to each process group, and unused and used processors; and a processor management unit that refers to the process management unit and the processor management unit. A processor allocating unit that dynamically manages the allocation among a plurality of process groups. In particular, the processor allocation unit receives a processor acquisition request notification from the process management unit, makes an inquiry to the processor management unit, and checks the load status of each process group. A process group selecting means for determining a process group to borrow and borrow a processor as a result of an examination of a load condition by the processor, and a processor lending / lending / renewing processor for updating the processor management unit and borrowing a processor based on the result of the process group selecting means. Return means.

【0007】本発明のプロセッサ資源分割管理方式で
は、プロセッサの台数をプロセスグループに割り当てた
ことによって生じた使用されないプロセッサを、割り当
てられた台数以上にプロセッサを必要としているプロセ
スグループに貸し出し、プロセッサを貸し出しているプ
ロセスグループがプロセッサ返却要求を行った場合は直
ちにプロセッサを返却する。プロセッサの貸借におい
て、プロセッサの使用状況を調査し、その負荷状況に応
じて、プロセスグループ間でプロセッサの貸し出しおよ
び返却を行うことにより、分割損が一切発生しない運用
が可能となる。
In the processor resource division management system of the present invention, unused processors generated by allocating the number of processors to a process group are lent to process groups that require more processors than the allotted number, and the processors are lent. When a process group that has made a processor return request, the processor is immediately returned. In borrowing and borrowing a processor, by investigating the use state of the processor and lending and returning the processor between the process groups according to the load state, it becomes possible to operate without any division loss.

【0008】また、本発明の記録媒体は、コンピュータ
を、プロセスをプロセスグループ毎に管理するプロセス
管理部,プロセスグループ毎に割り当てプロセッサ数,
未使用プロセッサおよび使用プロセッサを管理するプロ
セッサ管理部,ならびに前記プロセス管理部および前記
プロセッサ管理部を参照してプロセッサの割り当てを複
数のプロセスグループ間で動的に管理するプロセッサ割
り当て部として機能させるためのプログラムを記録す
る。特に、前記プロセッサ割り当て部が、前記プロセス
管理部からのプロセッサ獲得要求の通知を受け、前記プ
ロセッサ管理部に問い合わせ、各プロセスグループの負
荷状況を調べるプロセッサ使用状況判断手段と、このプ
ロセッサ使用状況判断手段による負荷状況の調査の結
果、プロセッサの貸借をするプロセスグループを決定す
るプロセスグループ選択手段と、このプロセスグループ
選択手段による結果をふまえ、前記プロセッサ管理部の
更新とプロセッサの貸借とを行うプロセッサ貸し出し・
返却手段とからなる。
Further, the recording medium of the present invention provides a process management unit for managing a process for each process group, the number of processors allocated for each process group,
A processor managing unit that manages unused processors and used processors, and a processor managing unit that functions as a processor allocating unit that dynamically manages processor allocation among a plurality of process groups with reference to the process managing unit and the processor managing unit. Record the program. In particular, the processor allocation unit receives a processor acquisition request notification from the process management unit, makes an inquiry to the processor management unit, and checks the load status of each process group. A process group selecting means for determining a process group to borrow and borrow a processor as a result of an examination of a load condition by the processor, and a processor lending / lending / renewing processor for updating the processor management unit and borrowing a processor based on the result of the process group selecting means.
Return means.

【0009】[0009]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して詳細に説明する。
Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0010】図2は、本発明の第1の実施の形態に係る
マルチプロセッサ資源分割管理方式が適用された密結合
型マルチプロセッサシステムの構成を示すブロック図で
ある。この密結合型マルチプロセッサシステムは、複数
のプロセッサ1がバス2を介して1台のメモリ(主記
憶)3に接続されて、その主要部が構成されている。メ
モリ3上には、各プロセッサ1を制御するオペレーティ
ングシステム4が搭載され、オペレーティングシステム
4の資源管理機構5には、プロセス管理部6,プロセッ
サ割り当て部7およびプロセッサ管理部8が含まれてい
る。
FIG. 2 is a block diagram showing the configuration of a tightly coupled multiprocessor system to which the multiprocessor resource division management system according to the first embodiment of the present invention is applied. In this tightly-coupled multiprocessor system, a plurality of processors 1 are connected to one memory (main storage) 3 via a bus 2 to constitute a main part thereof. An operating system 4 for controlling each processor 1 is mounted on the memory 3, and a resource management mechanism 5 of the operating system 4 includes a process management unit 6, a processor allocation unit 7, and a processor management unit 8.

【0011】図1を参照すると、プロセス管理部6は、
各プロセスグループPG1,PG2,…,PGn(nは
2以上の整数)毎に、プロセスPを管理している。プロ
セスPは、プロセッサ1で実行されるプログラムの単位
である。
Referring to FIG. 1, the process management unit 6 includes:
The process P is managed for each process group PG1, PG2,..., PGn (n is an integer of 2 or more). The process P is a unit of a program executed by the processor 1.

【0012】図1を参照すると、プロセッサ管理部8
は、各プロセスグループPG1,PG2,…,PGn毎
に、割り当てプロセッサ数31,未使用プロセッサ32
および使用プロセッサ33を管理している。図1の例で
は、プロセス管理部6のプロセスグループPGlに属す
るプロセスPは、プロセッサ管理部8のプロセスグルー
プPGlの割り当てプロセッサ数31のプロセッサ1を
使用することができることを示している。
Referring to FIG. 1, the processor management unit 8
.., PGn for each process group PG1, PG2,.
And the used processor 33. In the example of FIG. 1, the process P belonging to the process group PGl of the process management unit 6 can use the processor 1 with the number of processors 31 assigned to the process group PGl of the processor management unit 8.

【0013】図1を参照すると、プロセッサ割り当て部
7は、プロセッサ使用状況判断手段21と、プロセスグ
ループ選択手段22と、プロセッサ貸し出し・返却手段
23とを含んで構成されている。
Referring to FIG. 1, the processor allocating unit 7 includes a processor use status judging unit 21, a process group selecting unit 22, and a processor lending / returning unit 23.

【0014】プロセッサ使用状況判断手段21は、プロ
セッサ管理部8に問い合わせ、各プロセスグループPG
1,PG2,…,PGnの負荷状況を調べる。
The processor usage status judging means 21 inquires of the processor management section 8 and
1, PG2,..., PGn are checked.

【0015】プロセスグループ選択手段22は、プロセ
ッサ使用状況判断手段21による負荷状況の調査の結
果、プロセッサ1を貸借するプロセスグループを決定す
る。
The process group selecting means 22 determines a process group in which the processor 1 is lent or borrowed, as a result of the examination of the load condition by the processor use state judging means 21.

【0016】プロセッサ貸し出し・返却手段23は、プ
ロセスグループ選択手段22による結果をふまえ、プロ
セッサ管理部8の更新とプロセッサ1の貸借とを行う。
The processor lending / returning unit 23 updates the processor management unit 8 and leases the processor 1 based on the result of the process group selecting unit 22.

【0017】図3を参照すると、第1の実施の形態に係
るマルチプロセッサ資源分割管理方式の処理は、割り当
て範囲内判定ステップ101と、未使用プロセッサ有無
判定ステップ102と、プロセッサ獲得ステップ103
と、プロセッサ取り返しステップ104と、プロセッサ
獲得ステップ105と、未使用プロセッサ有無判定ステ
ップ106と、プロセッサ獲得ステップ107と、プロ
セッサ獲得不可通知ステップ108と、再プロセッサ獲
得要求またはあきらめステップ109とからなる。
Referring to FIG. 3, the processing of the multiprocessor resource division management system according to the first embodiment includes an in-assignment range determination step 101, an unused processor presence / absence determination step 102, and a processor acquisition step 103.
, A processor recovery step 104, a processor acquisition step 105, an unused processor presence / absence determination step 106, a processor acquisition step 107, a processor acquisition disable notification step 108, and a reprocessor acquisition request or giving up step 109.

【0018】次に、このように構成された第1の実施の
形態に係るマルチプロセッサ資源分割管理方式の動作に
ついて、図1ないし図3を参照して説明する。
Next, the operation of the multiprocessor resource division management system according to the first embodiment configured as described above will be described with reference to FIGS.

【0019】あるプロセスグループPGi(1≦i≦
n)に属するプロセスPがプロセッサ1を使用しようと
してプロセッサ獲得要求を発行すると、プロセス管理部
6は、プロセッサ割り当て部7にプロセッサ獲得要求を
通知する。
A certain process group PGi (1 ≦ i ≦
When the process P belonging to n) issues a processor acquisition request to use the processor 1, the process management unit 6 notifies the processor allocation unit 7 of the processor acquisition request.

【0020】プロセッサ割り当て部7は、プロセッサ獲
得要求を受け取ると、プロセッサ使用状況判断手段21
を用いて、プロセッサ管理部8を参照してプロセスグル
ープPGiのプロセッサ使用状況を調査し、使用プロセ
ッサ33の数が割り当てプロセッサ数31の範囲内かど
うか(未満かどうか)を調べる(ステップ101)。
When the processor allocating unit 7 receives the processor acquisition request, the processor allocating unit 21 determines
The processor usage status of the process group PGi is checked by referring to the processor management unit 8 to determine whether the number of used processors 33 is within (less than) the number of allocated processors 31 (step 101).

【0021】使用プロセッサ33の数が割り当てプロセ
ッサ数31の範囲内の場合、プロセッサ割り当て部7
は、プロセッサ使用状況判断手段21を用いて、割り当
てプロセッサ数31の範囲内に未使用プロセッサ32が
あるかどうかを調べる(ステップ102)。
When the number of used processors 33 is within the range of the number of allocated processors 31, the processor allocating unit 7
Checks whether or not there is an unused processor 32 within the range of the number of allocated processors 31 by using the processor usage status judging means 21 (step 102).

【0022】割り当てプロセッサ数31の範囲内に未使
用プロセッサ32がある場合、プロセッサ割り当て部7
は、未使用プロセッサ32であるプロセッサ1を獲得し
て、プロセス管理部6に返却する。これにより、プロセ
スグループPGiに属するプロセスPがプロセッサ1を
獲得して使用する(ステップ103)。
If there is an unused processor 32 within the range of the allocated processor number 31, the processor allocating unit 7
Acquires the processor 1, which is an unused processor 32, and returns it to the process management unit 6. As a result, the process P belonging to the process group PGi acquires and uses the processor 1 (step 103).

【0023】割り当てプロセッサ数31の範囲内に未使
用プロセッサ32がない場合は、プロセッサ割り当て部
7は、他のプロセスグループの中に、割り当てプロセッ
サ数31を超えてプロセッサ1を使用しているプロセス
グループPGj(1≦j≦n,j≠i)が存在すること
を示しているため、プロセッサ使用状況判断手段21お
よびプロセスグループ選択手段22を用いて、そのよう
なプロセスグループPGjを調べ、プロセッサ貸し出し
・返却手段23を用いて、そのプロセスグループPGj
からプロセッサ1を取り返す(ステップ104)。
If there is no unused processor 32 within the range of the number of allocated processors 31, the processor allocating unit 7 sets a process group that uses the processor 1 in excess of the allocated number of processors 31 in another process group. Since it indicates that PGj (1 ≦ j ≦ n, j ≠ i) exists, such a process group PGj is checked using the processor use status judging means 21 and the process group selecting means 22 to rent out the processor. Using the return means 23, the process group PGj
From the processor 1 (step 104).

【0024】次に、プロセッサ割り当て部7は、取り返
したプロセッサ1をプロセス管理部6に返却する。これ
により、プロセスグループPGiに属するプログラムP
がプロセッサ1を獲得して使用する(ステップ10
5)。
Next, the processor allocating unit 7 returns the returned processor 1 to the process managing unit 6. Thereby, the program P belonging to the process group PGi
Acquires and uses the processor 1 (step 10).
5).

【0025】一方、ステップ101で、使用プロセッサ
33の数が割り当てプロセッサ数31の範囲外の場合
は、プロセッサ割り当て部7は、プロセッサ使用状況判
断手段21およびプロセスグループ選択手段22を用い
て、他のプロセスグループで未使用プロセッサ32があ
るかどうかを調べる(ステップ106)。
On the other hand, if the number of used processors 33 is out of the range of the number of allocated processors 31 in step 101, the processor allocating unit 7 uses the processor use status determining means 21 and the process group selecting means 22 to perform other processing. It is checked whether there is an unused processor 32 in the process group (step 106).

【0026】プロセスグループPGj(1≦j≦n,j
≠i)に未使用プロセッサ32があった場合、プロセッ
サ割り当て部7は、プロセッサ貸し出し・返却手段23
を用いて、プロセスグループPGjから未使用プロセッ
サ32であるプロセッサ1を借り受けて、借り受けたプ
ロセッサ1をプロセス管理部6に返却する。これによ
り、プロセスグループPGiに属するプロセスPがプロ
セッサ1を獲得して使用する(ステップ107)。
The process group PGj (1 ≦ j ≦ n, j
If there is an unused processor 32 in (i), the processor allocating unit 7 sets the processor lending / returning unit 23
To borrow the processor 1 that is an unused processor 32 from the process group PGj and return the borrowed processor 1 to the process management unit 6. As a result, the process P belonging to the process group PGi acquires and uses the processor 1 (Step 107).

【0027】他のプロセスグループに未使用プロセッサ
32がない場合、プロセッサ割り当て部7は、プロセス
管理部6にプロセッサ獲得不可を通知する(ステップ1
08)。これにより、プロセスグループPGiに属する
プロセスPは、一定時間後に再度プロセッサ獲得要求を
発行するか、さもなければプロセッサ1の獲得をあきら
める(ステップ109)。
If there is no unused processor 32 in another process group, the processor allocating unit 7 notifies the process managing unit 6 that the processor cannot be acquired (step 1).
08). As a result, the process P belonging to the process group PGi issues a processor acquisition request again after a predetermined time, or otherwise gives up acquiring the processor 1 (step 109).

【0028】次に、本発明の第2の実施の形態について
図面を参照して説明する。
Next, a second embodiment of the present invention will be described with reference to the drawings.

【0029】図4を参照すると、本発明の第2の実施の
形態は、資源管理機構5にプロセス管理部6,プロセッ
サ割り当て部7およびプロセッサ管理部8を含むオペレ
ーティングシステム4を記録した記録媒体9を備える。
この記録媒体9は、磁気ディスク,半導体メモリ,その
他の記録媒体であってもよい。
Referring to FIG. 4, according to a second embodiment of the present invention, a recording medium 9 in which an operating system 4 including a process management unit 6, a processor allocation unit 7, and a processor management unit 8 is recorded in a resource management unit 5 is shown. Is provided.
This recording medium 9 may be a magnetic disk, a semiconductor memory, or another recording medium.

【0030】オペレーティングシステム4は、記録媒体
9からバス2を介してメモリ3に読み込まれ、密結合型
マルチプロセッサシステムの動作を制御する。オペレー
ティングシステム4による密結合型マルチプロセッサシ
ステムの動作の制御は、図1ないし図3に示した第1の
実施の形態に係るマルチプロセッサ資源分割管理方式の
場合と全く同様になるので、その詳細な説明を割愛す
る。
The operating system 4 is read into the memory 3 from the recording medium 9 via the bus 2 and controls the operation of the tightly-coupled multiprocessor system. The control of the operation of the tightly coupled multiprocessor system by the operating system 4 is exactly the same as that of the multiprocessor resource division management system according to the first embodiment shown in FIGS. I omit the explanation.

【0031】[0031]

【実施例】次に、本発明の第1の実施の形態に係るマル
チプロセッサ資源分割管理方式の一実施例の動作につい
て、図1ないし図3を参照して説明する。
Next, the operation of one embodiment of the multiprocessor resource division management system according to the first embodiment of the present invention will be described with reference to FIGS.

【0032】たとえば、プロセスグループPG2のプロ
セスPがプロセッサ獲得要求を発行したとする。
For example, assume that the process P of the process group PG2 issues a processor acquisition request.

【0033】プロセス管理部6は、プロセスグループP
G2のプロセスPがプロセッサ獲得要求を行っているこ
とをプロセッサ割り当て部7に通知する。
The process management unit 6 includes a process group P
It notifies the processor allocating unit 7 that the process P of G2 is making a processor acquisition request.

【0034】プロセッサ割り当て部7は、プロセッサ使
用状況判断手段21を用いて、プロセッサ管理部8を参
照し、プロセスグループPG2のプロセッサ使用状況
は、使用プロセッサ33の数が2であり、割り当てプロ
セッサ数31が2であることから、もう未使用プロセッ
サ32がプロセスグループPG2内にないことを判断す
る(ステップ101)。
The processor allocating unit 7 refers to the processor managing unit 8 by using the processor usage status judging means 21. As for the processor usage status of the process group PG2, the number of used processors 33 is 2, and the number of allocated processors 31 Is 2, it is determined that the unused processor 32 is no longer in the process group PG2 (step 101).

【0035】そこで、プロセッサ割り当て部7は、プロ
セッサ使用状況判断手段21およびプロセスグループ選
択手段22を用いて、他のプロセスグループPGlに未
使用プロセッサ32があることを見つけ出す(ステップ
106)。
Then, the processor allocating unit 7 uses the processor use status judging means 21 and the process group selecting means 22 to find out that there is an unused processor 32 in another process group PGl (step 106).

【0036】次に、プロセッサ割り当て部7は、プロセ
ッサ貸し出し・返却手段23を用いて、プロセスグルー
プPGlからプロセッサ1を借り受け、プロセスグルー
プPG1のプロセスPは、プロセスグループPG2に割
り当てられていたプロセッサ1を借用してプロセッサ1
の獲得を行う(ステップ107)。
Next, the processor allocating unit 7 borrows the processor 1 from the process group PG1 by using the processor lending / returning unit 23, and the process P of the process group PG1 replaces the processor 1 allocated to the process group PG2. Borrowed processor 1
Is obtained (step 107).

【0037】この後、プロセスグループPG1のプロセ
スPがプロセッサ獲得要求を発行したとすると、プロセ
ス管理部6は、プロセスグループPG1のプロセスPが
プロセッサ獲得要求を行っていることをプロセッサ割り
当て部7に通知する。
Thereafter, assuming that the process P of the process group PG1 issues a processor acquisition request, the process management unit 6 notifies the processor allocation unit 7 that the process P of the process group PG1 has made a processor acquisition request. I do.

【0038】プロセッサ割り当て部7は、プロセッサ使
用状況判断手段21を用いて、プロセッサ管理部8を参
照し、プロセスグループPG1のプロセッサ使用状況
は、例えば使用プロセッサ33の数が8であり、割り当
てプロセッサ数31が7であることから、割り当ての範
囲内であることを判断する(ステップ101)。
The processor allocating unit 7 refers to the processor managing unit 8 by using the processor usage status judging means 21. The processor usage status of the process group PG1 is, for example, the number of used processors 33 is 8, Since 31 is 7, it is determined that it is within the range of the assignment (step 101).

【0039】しかし、プロセスグループPG1に割り当
てられた8台のプロセッサ1のうちの1台はすでにプロ
セスグループPG2に貸し出されているので、プロセッ
サ割り当て部7は、割り当てプロセッサ数31の範囲内
に未使用プロセッサ32がないと判断し(ステップ10
2)、プロセッサ使用状況判断手段21およびプロセス
グループ選択手段22を用いて、割り当ての範囲以上の
プロセッサ1を使用しているプロセスグループPG1を
調べ、プロセッサ貸し出し・返却手段23を用いて、プ
ロセスグループPG1からプロセッサ1を取り返す(ス
テップ104)。
However, since one of the eight processors 1 assigned to the process group PG1 has already been lent to the process group PG2, the processor assigning section 7 sets the unused processor within the range of the assigned processor number 31. It is determined that there is no processor 32 (step 10).
2) The process group PG1 using the processor 1 that is equal to or more than the allocation range is checked by using the processor usage status determining means 21 and the process group selecting means 22, and the process group PG1 is used by using the processor renting / returning means 23. From the processor 1 (step 104).

【0040】そして、プロセッサ割り当て部7は、取り
返したプロセッサ1をプロセス管理部6に返却する。こ
れにより、プロセスグループPG2に属するプログラム
Pがプロセッサ1を獲得して使用することができる(ス
テップ105)。
Then, the processor allocator 7 returns the recovered processor 1 to the process manager 6. Thus, the program P belonging to the process group PG2 can acquire and use the processor 1 (Step 105).

【0041】[0041]

【発明の効果】第1の効果は、プロセッサ資源分割管理
方式を使用しても分割損が一切発生せず、密結合型マル
チプロセッサシステム全体のスループットの低下が発生
しないことである。その理由は、プロセッサ割り当て部
により、未使用プロセッサが存在する場合は負荷分散機
能が働き、低負荷のプロセスグループから高負荷のプロ
セスグループにプロセッサを動的に融通(貸借)するこ
とができるからである。
The first effect is that no division loss occurs even when the processor resource division management system is used, and the throughput of the whole tightly coupled multiprocessor system does not decrease. The reason is that the processor allocation unit operates the load distribution function when there is an unused processor, and can dynamically lend (leave) a processor from a low-load process group to a high-load process group. is there.

【0042】また、第2の効果は、プロセッサ資源分割
管理方式を使用しても分割損が一切発生せず、密結合型
マルチプロセッサシステム全体のスループットの低下が
発生しない機能を有するプログラムを記録した記録媒体
が得られるということである。
A second effect is that a program is recorded which has a function in which no division loss occurs even when the processor resource division management system is used and the throughput of the whole tightly coupled multiprocessor system does not decrease. That is, a recording medium can be obtained.

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

【図1】本発明の第1の実施の形態に係るマルチプロセ
ッサ資源分割管理方式の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a multiprocessor resource division management system according to a first embodiment of the present invention.

【図2】第1の実施の形態に係るマルチプロセッサ資源
分割管理方式が適用される密結合型マルチプロセッサシ
ステムの構成を示すブロック図である。
FIG. 2 is a block diagram illustrating a configuration of a tightly-coupled multiprocessor system to which the multiprocessor resource division management system according to the first embodiment is applied;

【図3】第1の実施の形態に係るマルチプロセッサ資源
分割管理方式の処理を示すフローチャートである。
FIG. 3 is a flowchart illustrating processing of a multiprocessor resource division management method according to the first embodiment.

【図4】本発明の第2の実施の形態に係るマルチプロセ
ッサ資源分割管理方式が適用される密結合型マルチプロ
セッサシステムの構成を示すブロック図である。
FIG. 4 is a block diagram showing a configuration of a tightly coupled multiprocessor system to which a multiprocessor resource division management system according to a second embodiment of the present invention is applied;

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

1 プロセッサ 2 バス 3 メモリ(主記憶) 4 オペレーティングシステム 5 資源管理機構 6 プロセス管理部 7 プロセッサ割り当て部 8 プロセッサ管理部 9 記録媒体 21 プロセッサ使用状況判断手段 22 プロセスグループ選択手段 23 プロセッサ貸し出し・返却手段 31 割り当てプロセッサ数 32 未使用プロセッサ 33 使用プロセッサ P プロセス PG1〜PGn プロセスグループ DESCRIPTION OF SYMBOLS 1 Processor 2 Bus 3 Memory (main memory) 4 Operating system 5 Resource management unit 6 Process management unit 7 Processor allocation unit 8 Processor management unit 9 Recording medium 21 Processor usage status determination unit 22 Process group selection unit 23 Processor lending / returning unit 31 Number of allocated processors 32 Unused processors 33 Used processors P processes PG1 to PGn process groups

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 複数のプロセスグループに各プロセスグ
ループで使用できるプロセッサの台数を割り当ててプロ
セッサを分割管理する密結合型マルチプロセッサシステ
ムにおいて、 プロセスをプロセスグループ毎に管理するプロセス管理
部と、 プロセスグループ毎に割り当てプロセッサ数,未使用プ
ロセッサおよび使用プロセッサを管理するプロセッサ管
理部と、 前記プロセス管理部および前記プロセッサ管理部を参照
してプロセッサの割り当てを複数のプロセスグループ間
で動的に管理するプロセッサ割り当て部とを有すること
を特徴とするマルチプロセッサ資源分割管理方式。
1. A tightly-coupled multiprocessor system that divides and manages processors by allocating the number of processors that can be used in each process group to a plurality of process groups, a process management unit that manages processes for each process group, A processor management unit that manages the number of processors allocated, unused processors, and used processors for each processor; and a processor allocation that dynamically manages processor allocation among a plurality of process groups with reference to the process management unit and the processor management unit. And a multiprocessor resource division management system.
【請求項2】 前記プロセッサ割り当て部が、前記プロ
セス管理部からのプロセッサ獲得要求の通知を受け、前
記プロセッサ管理部に問い合わせ、各プロセスグループ
の負荷状況を調べるプロセッサ使用状況判断手段と、こ
のプロセッサ使用状況判断手段による負荷状況の調査の
結果、プロセッサの貸借をするプロセスグループを決定
するプロセスグループ選択手段と、このプロセスグルー
プ選択手段による結果をふまえ、前記プロセッサ管理部
の更新とプロセッサの貸借とを行うプロセッサ貸し出し
・返却手段とからなる請求項1記載のマルチプロセッサ
資源分割管理方式。
2. The processor allocating unit receives a notification of a processor acquisition request from the process management unit, makes an inquiry to the processor management unit, and checks a load status of each process group. As a result of checking the load status by the status determination unit, a process group selection unit that determines a process group to borrow and borrow the processor, and updates the processor management unit and borrows the processor based on the result of the process group selection unit. 2. The multiprocessor resource division management system according to claim 1, further comprising processor lending / returning means.
【請求項3】 コンピュータを、プロセスをプロセスグ
ループ毎に管理するプロセス管理部,プロセスグループ
毎に割り当てプロセッサ数,未使用プロセッサおよび使
用プロセッサを管理するプロセッサ管理部,ならびに前
記プロセス管理部および前記プロセッサ管理部を参照し
てプロセッサの割り当てを複数のプロセスグループ間で
動的に管理するプロセッサ割り当て部として機能させる
ためのプログラムを記録した記録媒体。
3. A process management unit that manages a computer for each process group, a processor management unit that manages the number of processors allocated to each process group, unused processors and used processors, and the process management unit and the processor management. A recording medium for recording a program for functioning as a processor allocating unit that dynamically manages processor allocation among a plurality of process groups with reference to the unit.
【請求項4】 前記プロセッサ割り当て部が、前記プロ
セス管理部からのプロセッサ獲得要求の通知を受け、前
記プロセッサ管理部に問い合わせ、各プロセスグループ
の負荷状況を調べるプロセッサ使用状況判断手段と、こ
のプロセッサ使用状況判断手段による負荷状況の調査の
結果、プロセッサの貸借をするプロセスグループを決定
するプロセスグループ選択手段と、このプロセスグルー
プ選択手段による結果をふまえ、前記プロセッサ管理部
の更新とプロセッサの貸借とを行うプロセッサ貸し出し
・返却手段とからなる請求項3記載の記録媒体。
4. The processor allocating unit receives a notification of a processor acquisition request from the process management unit, makes an inquiry to the processor management unit, and checks a load status of each process group. As a result of checking the load status by the status determination unit, a process group selection unit that determines a process group to borrow and borrow the processor, and updates the processor management unit and borrows the processor based on the result of the process group selection unit. 4. The recording medium according to claim 3, comprising processor lending / returning means.
JP23338797A 1997-08-14 1997-08-14 Multiprocessor resource decentralization management system Pending JPH1165862A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23338797A JPH1165862A (en) 1997-08-14 1997-08-14 Multiprocessor resource decentralization management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23338797A JPH1165862A (en) 1997-08-14 1997-08-14 Multiprocessor resource decentralization management system

Publications (1)

Publication Number Publication Date
JPH1165862A true JPH1165862A (en) 1999-03-09

Family

ID=16954305

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23338797A Pending JPH1165862A (en) 1997-08-14 1997-08-14 Multiprocessor resource decentralization management system

Country Status (1)

Country Link
JP (1) JPH1165862A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001134453A (en) * 1999-09-28 2001-05-18 Internatl Business Mach Corp <Ibm> Method and system for managing group of block of computer environment and program product
JP2001142858A (en) * 1999-09-28 2001-05-25 Internatl Business Mach Corp <Ibm> Method and system for managing processing central unit in computer environment, and program product
JP2001147824A (en) * 1999-09-28 2001-05-29 Internatl Business Mach Corp <Ibm> Method and system for managing logical processor of computer environment and program product
US6738865B1 (en) 2000-06-09 2004-05-18 International Business Machines Corporation Method, system, and program for demoting data from cache based on least recently accessed and least frequently accessed data
US7478393B2 (en) 2003-04-30 2009-01-13 International Business Machines Corporation Method for marketing to instant messaging service users
CN101963923A (en) * 2009-07-24 2011-02-02 株式会社日立制作所 Batch processing multiple method
US8051269B2 (en) 2003-04-30 2011-11-01 International Business Machines Corporation Automated memory reallocation and optimization between logical partitions
JP4864210B2 (en) * 1999-05-20 2012-02-01 イヴァン, チョン−ション ホワン, Work group server implementation method and apparatus
US9418044B2 (en) 2002-12-16 2016-08-16 Sony Interactive Entertainment Inc. Configuring selected component-processors operating environment and input/output connections based on demand

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4864210B2 (en) * 1999-05-20 2012-02-01 イヴァン, チョン−ション ホワン, Work group server implementation method and apparatus
JP2001142858A (en) * 1999-09-28 2001-05-25 Internatl Business Mach Corp <Ibm> Method and system for managing processing central unit in computer environment, and program product
JP2001147824A (en) * 1999-09-28 2001-05-29 Internatl Business Mach Corp <Ibm> Method and system for managing logical processor of computer environment and program product
US6986137B1 (en) 1999-09-28 2006-01-10 International Business Machines Corporation Method, system and program products for managing logical processors of a computing environment
US7007276B1 (en) 1999-09-28 2006-02-28 International Business Machines Corporation Method, system and program products for managing groups of partitions of a computing environment
JP2001134453A (en) * 1999-09-28 2001-05-18 Internatl Business Mach Corp <Ibm> Method and system for managing group of block of computer environment and program product
US8458714B2 (en) 1999-09-28 2013-06-04 International Business Machines Corporation Method, system and program products for managing logical processors of a computing environment
US6738865B1 (en) 2000-06-09 2004-05-18 International Business Machines Corporation Method, system, and program for demoting data from cache based on least recently accessed and least frequently accessed data
US9418044B2 (en) 2002-12-16 2016-08-16 Sony Interactive Entertainment Inc. Configuring selected component-processors operating environment and input/output connections based on demand
US7478393B2 (en) 2003-04-30 2009-01-13 International Business Machines Corporation Method for marketing to instant messaging service users
US8051269B2 (en) 2003-04-30 2011-11-01 International Business Machines Corporation Automated memory reallocation and optimization between logical partitions
US8381225B2 (en) 2003-04-30 2013-02-19 International Business Machines Corporation Automated processor reallocation and optimization between logical partitions
KR101171543B1 (en) 2009-07-24 2012-08-06 가부시키가이샤 히타치세이사쿠쇼 Batch process multiplexing method
JP2011028464A (en) * 2009-07-24 2011-02-10 Hitachi Ltd Batch processing multiplexing method
CN101963923A (en) * 2009-07-24 2011-02-02 株式会社日立制作所 Batch processing multiple method

Similar Documents

Publication Publication Date Title
US7979862B2 (en) System and method for replacing an inoperable master workload management process
CA2522096C (en) Concurrent access of shared resources
CN109643251B (en) Resource oversubscription based on utilization patterns in computing systems
US8141091B2 (en) Resource allocation in a NUMA architecture based on application specified resource and strength preferences for processor and memory resources
TWI235952B (en) Thread dispatch mechanism and method for multiprocessor computer systems
US8261281B2 (en) Optimizing allocation of resources on partitions of a data processing system
US7720972B2 (en) System for transferring standby resource entitlement
KR100600925B1 (en) Dynamic allocation of computer resources based on thread type
EP1089173B1 (en) Dynamic adjustment of the number of logical processors assigned to a logical partition
US7302533B2 (en) System and method for optimally configuring software systems for a NUMA platform
CN100489789C (en) Apparatus and method of dynamically repartitioning a computer system in response to partition workloads
US8056084B2 (en) Method and system for dynamically reallocating a resource among operating systems without rebooting of the computer system
US20040210648A1 (en) Method of distributed resource management of I/O devices in a network cluster
US20020156884A1 (en) Method and system for providing and viewing performance analysis of resource groups
JP2001331333A (en) Computer system and method for controlling computer system
KR102290540B1 (en) Namespace/Stream Management
JP2002063052A (en) Distributed processing system
CN112052068A (en) Method and device for binding CPU (central processing unit) of Kubernetes container platform
JPH1165862A (en) Multiprocessor resource decentralization management system
CN109213567B (en) Method and equipment for managing VNF instantiation
US7028157B2 (en) On-demand allocation of data structures to partitions
KR101848450B1 (en) Method for managing many-core based on docker and apparatus managing the same
CN110798507A (en) Method and system for DHCP address allocation memory
US6598105B1 (en) Interrupt arbiter for a computing system
CN109298949B (en) Resource scheduling system of distributed file system