JP2970082B2 - Virtual intercluster communication processor - Google Patents

Virtual intercluster communication processor

Info

Publication number
JP2970082B2
JP2970082B2 JP17351891A JP17351891A JP2970082B2 JP 2970082 B2 JP2970082 B2 JP 2970082B2 JP 17351891 A JP17351891 A JP 17351891A JP 17351891 A JP17351891 A JP 17351891A JP 2970082 B2 JP2970082 B2 JP 2970082B2
Authority
JP
Japan
Prior art keywords
cluster
real
virtual
value
communication request
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.)
Expired - Fee Related
Application number
JP17351891A
Other languages
Japanese (ja)
Other versions
JPH0520104A (en
Inventor
優 斎藤
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 JP17351891A priority Critical patent/JP2970082B2/en
Publication of JPH0520104A publication Critical patent/JPH0520104A/en
Application granted granted Critical
Publication of JP2970082B2 publication Critical patent/JP2970082B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、計算機における仮想計
算機システムの制御、特に所定の通信手段によるクラス
タ間の通信を、仮想計算機システムでシミュレートする
場合の制御を行う仮想クラスタ間通信処理装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an inter-virtual cluster communication processing apparatus for controlling a virtual computer system in a computer, and more particularly for performing a control when simulating communication between clusters by a predetermined communication means in the virtual computer system. .

【0002】[0002]

【従来の技術】図6は、計算機システムの構成例を示す
ブロック図であり、1台のプロセッサ1を有する計算機
からなるシステム、又は2台以上のプロセッサ1で主記
憶装置2を共用する密結合型マルチプロセッサシステム
を、それぞれクラスタ3として、システム記憶装置4が
クラスタ3で共用するように接続されている。
2. Description of the Related Art FIG. 6 is a block diagram showing an example of the configuration of a computer system. The system comprises a computer having one processor 1 or two or more processors 1 share a main storage device 2. The multi-processor systems are connected as clusters 3 so that the system storage device 4 is shared by the clusters 3.

【0003】システム記憶装置4には、各プロセッサ1
から特定の命令でアクセスすることができる。システム
記憶装置4の一用途として、システム記憶装置4はクラ
スタ制御装置5と共に、クラスタ間の通信手段の一部を
構成する。
[0003] In the system storage device 4, each processor 1
Can be accessed with a specific instruction. As one use of the system storage device 4, the system storage device 4 forms a part of a communication means between clusters together with the cluster control device 5.

【0004】即ち、或るクラスタ3で実行するプログラ
ムが、他のクラスタとの通信を必要とする場合には、シ
ステム記憶装置4の所定の通信領域に、所定の形式のメ
ッセージを格納した後、特定のクラスタ間通信要求命令
を実行する。
That is, when a program to be executed in a certain cluster 3 requires communication with another cluster, a message of a predetermined format is stored in a predetermined communication area of the system storage device 4, Execute a specific inter-cluster communication request command.

【0005】プロセッサ1は、クラスタ間通信要求命令
を実行すると、クラスタ制御装置5を経て、その命令で
指定した相手クラスタのクラスタ制御装置5へ通信要求
の所定の信号を送るように制御する。
When the processor 1 executes the inter-cluster communication request command, the processor 1 controls the cluster control device 5 to send a predetermined signal of a communication request to the cluster control device 5 of the other cluster specified by the command.

【0006】そこで、通信要求信号を受けたクラスタ制
御装置5では、そのクラスタの全プロセッサ1に、通信
要求を通知する特定の割込みを発生させるので、各プロ
セッサ1はオペレーティングシステムの所定の割込み処
理を実行することによって、通信領域を介する通信の処
理を実行する。
Therefore, the cluster control device 5 which has received the communication request signal generates a specific interrupt for notifying the communication request to all the processors 1 of the cluster, so that each processor 1 executes a predetermined interrupt processing of the operating system. By executing, communication processing via the communication area is executed.

【0007】[0007]

【発明が解決しようとする課題】前記のようなクラスタ
で仮想計算機システムを実行し、その制御下に1以上の
仮想プロセッサを有する仮想クラスタがある場合に、当
仮想クラスタに対して他のクラスタ(以下において仮想
クラスタと区別を明らかにするために実クラスタとい
う)から通信要求が発行される場合には、実クラスタの
各プロセッサ1に発生される通信要求割込みを所定の仮
想クラスタの仮想プロセッサに反映させる必要がある。
When a virtual machine system is executed on a cluster as described above and there is a virtual cluster having one or more virtual processors under the control of the virtual machine system, another cluster (for example, In the following, when a communication request is issued from a real cluster in order to clarify the distinction from a virtual cluster, a communication request interrupt generated in each processor 1 of the real cluster is reflected on a virtual processor of a predetermined virtual cluster. Need to be done.

【0008】そのためには、実クラスタに対する1回の
通信要求ごとに、要求先の仮想クラスタの全仮想プロセ
ッサに1回だけ通信要求割込みの発生をシミュレートす
るように制御しなければならない。
For this purpose, for each communication request to the real cluster, control must be performed so as to simulate the occurrence of a communication request interrupt only once for all virtual processors of the requested virtual cluster.

【0009】本発明は、クラスタ間通信要求を仮想クラ
スタに確実に反映する仮想クラスタ間通信処理装置を目
的とする。
It is an object of the present invention to provide an inter-cluster communication processing apparatus that reliably reflects an inter-cluster communication request on a virtual cluster.

【0010】[0010]

【課題を解決するための手段】図1は、本発明の構成を
示すブロック図である。図は仮想クラスタ間通信処理装
置10の構成であって、複数の実クラスタ11を有し、各実
クラスタ11は1以上の実プロセッサを有する密結合型マ
ルチプロセッサシステムであり、該実クラスタ間の通信
を行うクラスタ間通信手段12を有し、該通信の通信要求
を、受信側の該実クラスタのすべての該実プロセッサに
所定の割込みを発生して通知するようにした計算機シス
テムの、実クラスタ11の仮想計算機システムによって実
行される仮想クラスタの仮想プロセッサに対して、該通
信要求通知のシミュレーションを実行するに際し、実ク
ラスタ11に、最大受信回数レジスタ13と、累積回数レジ
スタ14とを設け、累積回数レジスタ14に所定の初期値を
設定する。
FIG. 1 is a block diagram showing the configuration of the present invention. FIG. 1 shows a configuration of a communication processing apparatus 10 between virtual clusters, which has a plurality of real clusters 11, and each real cluster 11 is a tightly coupled multiprocessor system having one or more real processors. A real cluster of a computer system having inter-cluster communication means 12 for performing communication, and generating a predetermined interrupt to notify all the real processors of the real cluster on the receiving side of a communication request for the communication; When performing the simulation of the communication request notification for the virtual processor of the virtual cluster executed by the virtual computer system of 11, the real cluster 11 is provided with a maximum reception number register 13 and an accumulation number register 14, A predetermined initial value is set in the count register 14.

【0011】最大受信回数レジスタ13には、当該実クラ
スタ11で稼働している該実プロセッサの個数に対応する
所定の判定値を常時保持させる。該通信要求の割込みが
発生し、該通信要求先が該仮想クラスタであった場合
に、累積回数レジスタ14の保持する値を所定の一定値更
新し、該更新前の累積回数レジスタ14に保持する値が該
初期値である場合のみ、該通信要求の要求先仮想クラス
タに対する該通信要求通知のシミュレーションを実行す
る。
The maximum number-of-receptions register 13 always holds a predetermined judgment value corresponding to the number of the real processors operating in the real cluster 11. When an interruption of the communication request occurs and the communication request destination is the virtual cluster, the value held in the accumulation count register 14 is updated to a predetermined constant value, and the value is held in the accumulation count register 14 before the update. Only when the value is the initial value, a simulation of the communication request notification to the request destination virtual cluster of the communication request is executed.

【0012】該結果値が該判定値に対して所定の関係に
なる場合には、累積回数レジスタ14に該初期値を再設定
する。
When the result value has a predetermined relationship with the determination value, the initial value is reset in the cumulative number register 14.

【0013】[0013]

【作用】最大受信回数レジスタ13には、例えば当クラス
タに組み込まれているプロセッサの台数を判定値として
設定し、障害等でプロセッサの切離しやその後の復旧が
あれば、それに応じて判定値を増減する。累積回数レジ
スタ14は、例えば初期値を0とし、1回の処理ごとに+
1する。
In the maximum reception count register 13, for example, the number of processors incorporated in the cluster is set as a judgment value, and if there is a disconnection of the processor due to a failure or the like and subsequent recovery, the judgment value is increased or decreased accordingly. I do. The accumulated number register 14 sets the initial value to 0, for example, and sets +
Do one.

【0014】このようにした場合には、前記の処理によ
って最初に割込み処理をしたプロセッサが仮想クラスタ
に対する通信要求通知シミュレーションを実行する。そ
の後に割込み処理をするプロセッサは、累積回数レジス
タの値を増加するのみで処理を終わる。最後に処理する
プロセッサは、累積回数を+1した結果値が最大受信回
数レジスタの値と一致するのを検出できるので、これを
条件として累積回数レジスタを0に戻すようにする。
[0014] In this case, the processor that first performed the interrupt processing by the above-described processing executes the communication request notification simulation for the virtual cluster. Thereafter, the processor that performs the interrupt processing ends the processing only by increasing the value of the cumulative number register. The processor that processes last can detect that the value obtained by incrementing the cumulative number of times matches the value of the maximum number-of-receptions register.

【0015】以上のようになるので、仮想クラスタに対
する通信要求通知シミュレーションは、実プロセッサの
個数に関わらず1回のみ行われ、且つ全実プロセッサが
処理した後は累積回数レジスタは初期状態に戻されて、
続く通信要求割込みの処理に対応できる。
As described above, the communication request notification simulation for the virtual cluster is performed only once irrespective of the number of real processors, and after all the real processors have processed, the cumulative number register is returned to the initial state. hand,
It is possible to cope with the processing of the subsequent communication request interrupt.

【0016】[0016]

【実施例】図2〜図4は、本発明による処理を一構成例
によって説明する図であり、3台の実プロセッサa、
b、cを有する実クラスタAと別の実クラスタBとがあ
る計算機システムとし、実クラスタAの実プロセッサに
よって1つの仮想計算機システムが実行され、その制御
下で3台の仮想プロセッサを有する仮想クラスタがシミ
ュレートされていることを説明的に表している。
2 to 4 are diagrams for explaining the processing according to the present invention by way of an example of a configuration, in which three real processors a,
A computer system having a real cluster A having b and c and another real cluster B, wherein one virtual computer system is executed by a real processor of the real cluster A, and a virtual cluster having three virtual processors under its control Has been simulated.

【0017】本発明により、仮想計算機システムに追加
され、仮想クラスタ間通信処理装置を実現するプログラ
ムが、最大受信回数レジスタと累積回数レジスタとを持
ち、最大受信回数レジスタには、実プロセッサの台数を
判定値として設定し、累積回数レジスタは0に初期設定
する(図では、各レジスタの保持する値を括弧内の数字
で示す)。
According to the present invention, a program added to a virtual machine system and implementing a virtual intercluster communication processing device has a maximum reception count register and an accumulation count register, and the maximum reception count register indicates the number of real processors. The value is set as a judgment value, and the accumulated number register is initialized to 0 (the value held in each register is indicated by a number in parentheses in the figure).

【0018】この実プロセッサ台数は、例えばこの実ク
ラスタの初期プログラムロード時に、公知のように特定
の実プロセッサを起動すると、その実プロセッサが他の
実プロセッサを順次起動し、正常起動が確認できた台数
を記録しておくので、その記録から得られる。
For example, when a specific real processor is started in a well-known manner at the time of initial program loading of the real cluster, the number of real processors sequentially starts other real processors, and the number of real processors confirmed to be normal Is recorded, so that it can be obtained from the record.

【0019】その後障害等による切離し、又切離し状態
からの復旧等に応じて最大受信回数レジスタの設定値
を、実働する実プロセッサ台数に一致するように、その
都度判定値を更新する。
Thereafter, in accordance with disconnection due to a failure or the like, or recovery from the disconnection state, etc., the judgment value is updated each time the set value of the maximum reception count register matches the actual number of actual processors.

【0020】ここで、実クラスタBから実クラスタAの
仮想クラスタに通信要求が発行されると、前記従来のよ
うに実クラスタAの全実プロセッサに割込みが発生され
るので、全プロセッサにおいて割込み処理を開始する
が、通信要求の割込みの場合には、その後の処理を例え
ば適当な排他制御によって1プロセッサづつ順次行うよ
うに直列化するものとする。
Here, when a communication request is issued from the real cluster B to the virtual cluster of the real cluster A, an interrupt is generated in all the real processors of the real cluster A as in the above-described conventional case. In the case of an interruption of a communication request, serialization is performed so that subsequent processes are sequentially performed one processor at a time by, for example, appropriate exclusive control.

【0021】このようにして、排他制御で選択された各
実プロセッサは、例えば図5に示す処理の流れによって
処理を進める。即ち、処理ステップ20で累積回数レジス
タの値を+1し、処理ステップ21でその値が「1」か識
別する。
In this way, each of the real processors selected by the exclusive control proceeds, for example, according to the processing flow shown in FIG. That is, the value of the accumulation count register is incremented by 1 in the processing step 20, and whether the value is "1" is identified in the processing step 21.

【0022】累積回数レジスタが1であれば、処理ステ
ップ22で仮想クラスタへ通信要求割込みを反映するよう
に、当仮想クラスタの全仮想プロセッサに通信要求割込
みを発生するようにシミュレートして処理を終わる。図
2は、例えば実プロセッサaが以上の処理を進めた状態
を示している。
If the cumulative number register is 1, the processing is simulated so that the communication request interrupt is generated in all the virtual processors of the virtual cluster so that the communication request interrupt is reflected in the virtual cluster in the processing step 22. Ends. FIG. 2 shows a state where, for example, the real processor a has advanced the above processing.

【0023】もし、2回目以後になった実プロセッサの
場合には、処理ステップ21で累積回数レジスタが1でな
いことを検出するので、処理ステップ23に行き累積回数
レジスタの値と最大受信回数レジスタの値とを比較し、
両者が等しくなければそのまま処理を終わる。図3は、
実プロセッサbが2番目に処理に入って、以上により累
積回数レジスタを増加させるのみで処理を終わった状態
の例を示す。
In the case of the real processor after the second time, since it is detected in the processing step 21 that the accumulated number register is not 1, the flow goes to the processing step 23 and the value of the accumulated number register and the value of the maximum received number register are read. Value and compare
If the two are not equal, the process ends. FIG.
An example of a state in which the real processor b enters the processing second and ends the processing only by increasing the cumulative number register as described above.

【0024】処理ステップ23で、累積回数レジスタの値
と最大受信回数レジスタの値とが一致した場合には、実
プロセッサすべてが割込み処理を終わったことを示すの
で、処理ステップ24で累積回数レジスタの値を0に戻
す。図4はこの状態の例を説明する図である。
If the value of the accumulation number register matches the value of the maximum reception number register in processing step 23, it indicates that all of the real processors have completed the interrupt processing. Change the value back to 0. FIG. 4 is a diagram illustrating an example of this state.

【0025】以上の説明では最大受信回数レジスタに設
定する判定値を実プロセッサ台数に等しくしたが、実プ
ロセッサ台数より1少ない値とし、累積回数レジスタを
更新する前に回数の判定を行うようにする等、前記と同
等の効果を有するように両レジスタの設定値及びその値
の処理を変更することが可能である。
In the above description, the judgment value set in the maximum reception count register is set equal to the number of actual processors, but is set to a value one less than the actual processor count, and the judgment of the count is performed before updating the accumulation count register. It is possible to change the set values of both registers and the processing of the values so as to have the same effect as described above.

【0026】[0026]

【発明の効果】以上の説明から明らかなように本発明に
よれば、計算機における仮想計算機システムの制御にお
いて、クラスタ間通信要求を仮想クラスタに確実に反映
することができるという著しい工業的効果がある。
As apparent from the above description, according to the present invention, in controlling a virtual machine system in a computer, there is a remarkable industrial effect that an inter-cluster communication request can be reliably reflected on a virtual cluster. .

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

【図1】 本発明の構成を示すブロック図FIG. 1 is a block diagram showing the configuration of the present invention.

【図2】 本発明の処理を説明する図(その1)FIG. 2 is a diagram for explaining the processing of the present invention (part 1)

【図3】 本発明の処理を説明する図(その2)FIG. 3 is a view for explaining processing of the present invention (part 2);

【図4】 本発明の処理を説明する図(その3)FIG. 4 is a view for explaining processing of the present invention (part 3);

【図5】 本発明の処理の流れ図FIG. 5 is a flowchart of the process of the present invention.

【図6】 計算機システムの構成例ブロック図FIG. 6 is a block diagram showing a configuration example of a computer system.

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

1 プロセッサ 2 主記憶装置 3 クラスタ 4 システム記憶装置 5 クラスタ制御装置 10 仮想クラスタ間通信処理装置 11 実クラスタ 12 通信手段 13 最大受信回数レジスタ 14 累積回数レジスタ 20〜24 処理ステップ DESCRIPTION OF SYMBOLS 1 Processor 2 Main storage device 3 Cluster 4 System storage device 5 Cluster control device 10 Inter-cluster communication processing device 11 Real cluster 12 Communication means 13 Maximum reception count register 14 Cumulative count register 20 to 24 Processing steps

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数の実クラスタ(11)を有し、各該実ク
ラスタは1以上の実プロセッサを有する密結合型マルチ
プロセッサシステムであり、該実クラスタ間の通信を行
うクラスタ間通信手段(12)を有し、該通信の通信要求
を、受信側の該実クラスタのすべての該実プロセッサに
所定の割込みを発生して通知するようにした計算機シス
テムの、該実クラスタの仮想計算機システムによって実
行される仮想クラスタの仮想プロセッサに対して、該通
信要求通知のシミュレーションを実行するに際し、 該実クラスタに、最大受信回数レジスタ(13)と、累積回
数レジスタ(14)とを設け、 該累積回数レジスタ(14)に所定の初期値を設定し、 該最大受信回数レジスタ(13)には、当該実クラスタ(11)
で稼働している該実プロセッサの個数に対応する所定の
判定値を常時保持させ、 該通信要求の割込みが発生し、該通信要求先が該仮想ク
ラスタであった場合に、該累積回数レジスタ(14)の保持
する値を所定の一定値更新し、 該更新前の該累積回数レジスタ(14)に保持する値が該初
期値である場合のみ、該通信要求の要求先仮想クラスタ
に対する該通信要求通知のシミュレーションを実行し、 該結果値が該判定値に対して所定の関係になる場合に
は、該累積回数レジスタ(14)に該初期値を再設定するよ
うに構成されていることを特徴とする仮想クラスタ間通
信処理装置。
An inter-cluster communication means (1) having a plurality of real clusters (11), each of which is a tightly-coupled multiprocessor system having one or more real processors; 12), the communication request of the communication is generated by notifying all the real processors of the real cluster on the receiving side by generating a predetermined interrupt, and the virtual computer system of the real cluster When simulating the communication request notification for the virtual processor of the virtual cluster to be executed, the real cluster is provided with a maximum reception count register (13) and an accumulation count register (14), A predetermined initial value is set in the register (14), and the maximum reception count register (13) is set in the real cluster (11).
In the case where a predetermined judgment value corresponding to the number of the real processors operating at the time is held, and an interruption of the communication request occurs, and the communication request destination is the virtual cluster, the cumulative number register ( 14) updates the value held by the communication request to the requested virtual cluster only when the value held in the cumulative number register (14) before the update is the initial value. The simulation of the notification is performed, and when the result value has a predetermined relationship with the determination value, the initial value is reset in the cumulative number register (14). Virtual cluster inter-cluster communication processing device.
JP17351891A 1991-07-15 1991-07-15 Virtual intercluster communication processor Expired - Fee Related JP2970082B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17351891A JP2970082B2 (en) 1991-07-15 1991-07-15 Virtual intercluster communication processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17351891A JP2970082B2 (en) 1991-07-15 1991-07-15 Virtual intercluster communication processor

Publications (2)

Publication Number Publication Date
JPH0520104A JPH0520104A (en) 1993-01-29
JP2970082B2 true JP2970082B2 (en) 1999-11-02

Family

ID=15962016

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17351891A Expired - Fee Related JP2970082B2 (en) 1991-07-15 1991-07-15 Virtual intercluster communication processor

Country Status (1)

Country Link
JP (1) JP2970082B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7730486B2 (en) 2005-02-28 2010-06-01 Hewlett-Packard Development Company, L.P. System and method for migrating virtual machines on cluster systems

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9026630B2 (en) * 2011-06-14 2015-05-05 Vmware, Inc. Managing resources in a distributed system using dynamic clusters
US8856784B2 (en) 2011-06-14 2014-10-07 Vmware, Inc. Decentralized management of virtualized hosts
US8701107B2 (en) 2011-06-14 2014-04-15 Vmware, Inc. Decentralized management of virtualized hosts

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7730486B2 (en) 2005-02-28 2010-06-01 Hewlett-Packard Development Company, L.P. System and method for migrating virtual machines on cluster systems

Also Published As

Publication number Publication date
JPH0520104A (en) 1993-01-29

Similar Documents

Publication Publication Date Title
JPH0533423B2 (en)
US4095268A (en) System for stopping and restarting the operation of a data processor
JP2970082B2 (en) Virtual intercluster communication processor
JPH0810437B2 (en) Guest execution control method for virtual machine system
JP2823230B2 (en) How to continue processing
JPH0821009B2 (en) CHANNEL CONTROLLER INITIALIZATION METHOD AND SYSTEM FOR THE INITIALIZATION
JPH08171504A (en) Emulation device
JPS6376028A (en) Method for controlling execution of instruction step in virtual computer system
JP3130798B2 (en) Bus transfer device
JP2864496B2 (en) Multi-processing computer
JPH07120343B2 (en) Multiprocessor system
JPS5826057B2 (en) complex computer system
JP2584528Y2 (en) Information processing device
JPH02183342A (en) Interruption controller
JPH0367357A (en) Multi-cpu system
JPH04128961A (en) Multi-processor control system
JPH05241852A (en) Interruption generating device for information processing system
JPS6057609B2 (en) Power outage processing control method for electronic equipment
JPS60144829A (en) Microprogram control system
JPH0628319A (en) Logical simulator
JPS63196903A (en) Programmable controller
JPH03100853A (en) Inter-processor communication system
JPS59200325A (en) Interruption processing system
JPH02217924A (en) Storing processing system for data processor
JPS61226839A (en) Event processing system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990727

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080827

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090827

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees