JPH05257796A - Distributed and shared memory managing system - Google Patents

Distributed and shared memory managing system

Info

Publication number
JPH05257796A
JPH05257796A JP4052090A JP5209092A JPH05257796A JP H05257796 A JPH05257796 A JP H05257796A JP 4052090 A JP4052090 A JP 4052090A JP 5209092 A JP5209092 A JP 5209092A JP H05257796 A JPH05257796 A JP H05257796A
Authority
JP
Japan
Prior art keywords
storage space
physical storage
arithmetic unit
memory space
virtual
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
JP4052090A
Other languages
Japanese (ja)
Inventor
Takumi Shimajiri
匠 島尻
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 JP4052090A priority Critical patent/JPH05257796A/en
Publication of JPH05257796A publication Critical patent/JPH05257796A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To accelerate speed for referring to a memory on another processor in a distributed and shared memory type multiprocessor system in which respective processors are provided with virtual memory systems. CONSTITUTION:This system is composed of a physical memory space registering means 3 to register an arbitrary physical memory space (b) of another arithmetic unit 2 on a virtual memory space (a) of the own, physical memory space judging means 4 to judge either the physical memory space (b) of an arithmetic unit 1, to which its own space belongs, or the physical memory space (b) of the other arithmetic unit 2 is indicated when the arithmetic unit 1, to which its own belongs, refers to the arbitrary virtual memory space (a), physical memory space communicating means 5 to transmit the physical memory space (b) registered by the physical memory space registering means 3 to the relevant arithmetic unit 2 when the referred virtual memory space (a) indicates the physical memory space (b) of the other arithmetic unit (b), and local space operating means 6 to perform a write or read operation to the physical memory space (b) received from the other arithmetic unit 1.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は分散共有型メモリ管理方
式に関し、特に各演算装置がそれぞれ独立したローカル
メモリを持ち、各演算装置間が自分のローカルメモリを
仮想メモリ方式を用いて管理している分散共有型メモリ
管理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a distributed shared memory management system, and in particular, each arithmetic unit has an independent local memory, and each arithmetic unit manages its own local memory using a virtual memory system. Distributed shared memory management method.

【0002】[0002]

【従来の技術】従来のメモリ管理方式では、各演算装置
は自分のローカルメモリに対する仮想アドレスと物理ア
ドレスとの対応のみをアドレス変換テーブルを用いて管
理していた。そのため、他の演算装置のローカルメモリ
を参照する場合には、自分のローカルメモリを参照する
ためのメモリアクセス命令とは別の命令を使用し、全て
ソフトウェア的な操作により実現していた。
2. Description of the Related Art In a conventional memory management system, each arithmetic unit manages only the correspondence between virtual addresses and physical addresses for its own local memory using an address conversion table. Therefore, when referring to the local memory of another arithmetic unit, an instruction different from the memory access instruction for referring to its own local memory is used, and all the operations are realized by software operation.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のメモリ
管理方式では、通常のメモリアクセス命令とは別の命令
をソフトウェア的に実現しなければならなかった。仮想
アドレスから物理アドレスに変換するには、アドレス変
換テーブルを特別なハードウェアで実現し高速化するこ
とが可能である。しかし、従来の方法では他の演算装置
のローカルメモリを参照する時にアドレス変換テーブル
を用いないため、自分のローカルなメモリを参照する場
合に比べて他の演算装置のローカルメモリを参照する場
合の処理速度が極端に遅くなるという欠点がある。
In the conventional memory management system described above, an instruction different from the normal memory access instruction must be realized by software. In order to convert a virtual address to a physical address, an address conversion table can be realized by special hardware to speed up the process. However, in the conventional method, the address translation table is not used when referring to the local memory of another arithmetic unit, and therefore, the processing when referring to the local memory of another arithmetic unit is compared to the case of referring to its own local memory. It has the drawback of being extremely slow.

【0004】[0004]

【課題を解決するための手段】本発明の分散共有型メモ
リ管理方式は、各演算装置が仮想メモリ方式を持つ分散
共有メモリ型マルチプロセッサシステムの各演算装置に
おいて、自らの属する演算装置に限らず、他の演算装置
の任意の物理記憶空間をあたかも自分の物理記憶空間で
あるかのように自らの演算装置に仮想記憶空間として登
録する物理記憶空間登録手段と、自らの属する演算装置
が任意の仮想記憶空間を参照した場合に、該仮想記憶空
間が自らの属する演算装置の物理記憶空間と他の演算装
置の物理記憶空間のどちらを指すのかを判定する物理記
憶空間判定手段と、前記物理記憶空間判定手段にもとづ
き、参照した仮想記憶空間が他の演算装置の物理記憶空
間を指している場合に演算装置間通信を用いて前記物理
記憶空間登録手段により登録されている物理記憶空間を
該当する演算装置に伝える物理記憶空間通信手段と、他
の演算装置から受信した前記物理記憶空間に対して自ら
の属する演算装置内で書き込みあるいは読み出し操作を
するローカル空間操作手段とを備える。
The distributed shared memory management system of the present invention is not limited to the computing device to which it belongs in each computing device of the distributed shared memory multiprocessor system in which each computing device has a virtual memory system. , A physical storage space registration means for registering an arbitrary physical storage space of another arithmetic device as a virtual storage space in its own arithmetic device as if it were its own physical storage space, and an arithmetic device to which it belongs A physical storage space determining means for determining whether the virtual storage space refers to a physical storage space of an arithmetic unit to which the virtual storage space belongs, or a physical storage space of another arithmetic unit; Based on the space determination means, the physical storage space registration means using communication between arithmetic devices when the referred virtual storage space points to the physical storage space of another arithmetic device A physical storage space communication means for transmitting the registered physical storage space to the corresponding arithmetic device, and a local for writing or reading the physical storage space received from another arithmetic device in the arithmetic device to which it belongs Space operation means.

【0005】[0005]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0006】図1は本発明の分散共有型メモリ管理方式
の一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of the distributed shared memory management system of the present invention.

【0007】本実施例の分散共有型メモリ管理方式は、
図1に示すように、仮想記憶空間aに自らの属する演算
装置のみならず、他の演算装置の任意の物理記憶空間b
をあたかも自分の物理記憶空間bであるかのように登録
する物理記憶空間登録手段3と、自らの属する演算装置
が任意の仮想記憶空間aを参照した場合に、この仮想記
憶空間が自らの属する演算装置の物理記憶空間bと他の
演算装置の物理記憶空間bのどちらを指すのかを判定す
る物理記憶空間判定手段4と、物理記憶空間判定手段4
にもとづき、参照した仮想記憶空間aが他の演算装置の
物理記憶空間bを指している場合に演算装置間通信7を
通して物理記憶空間登録手段3によって登録されている
物理記憶空間bを該当する演算装置に伝える物理記憶空
間通信手段5と、他の演算装置から受信した物理記憶空
間bに対して書き込みあるいは読みだし操作をするロー
カル空間操作手段6を含んで構成される。
The distributed shared memory management system of this embodiment is
As shown in FIG. 1, not only an arithmetic unit to which the virtual storage space a belongs, but an arbitrary physical storage space b of another arithmetic unit
When the physical storage space registration means 3 for registering the virtual storage space b as if it were its own physical storage space b and the arithmetic unit to which it belongs refer to an arbitrary virtual storage space a, this virtual storage space belongs to itself. Physical storage space determination means 4 for determining which of the physical storage space b of the arithmetic device and the physical storage space b of another arithmetic device, and the physical storage space determination means 4
On the basis of the above, when the referred virtual storage space a points to the physical storage space b of another arithmetic device, the physical storage space b registered by the physical storage space registration means 3 through the inter-arithmetic-device communication 7 corresponds to the corresponding calculation. It comprises a physical storage space communication means 5 to be transmitted to the device, and a local space operation means 6 for performing a writing or reading operation with respect to the physical storage space b received from another arithmetic device.

【0008】次に図2を参照しながら演算装置1から演
算装置2の物理記憶空間の参照方法を具体的に示す。演
算装置1、演算装置2は仮想記憶空間aをサポートし、
仮想記憶空間aの位置を示す仮想アドレス8が存在す
る。ユーザはこの仮想アドレス8を指定することにより
任意の物理記憶空間bを参照することが可能となり、限
られた物理記憶空間bを有効に利用することが可能とな
る。演算装置1、演算装置2はそれぞれ独立な物理記憶
空間bと仮想アドレスを物理記憶空間bの位置を示す物
理アドレスあるいは他の演算装置の物理アドレスを得る
ための変換表であるページテーブルcを持っている。ペ
ージテーブルcはそれぞれのエントリ毎に、そのエント
リが自分の物理記憶空間bを参照するのか、それとも他
の演算装置の物理記憶空間bを参照しているのかを示す
切替情報eと、切替情報eがローカルである時に有効で
あり、自分の物理物理記憶空間bを指すローカルアドレ
スfと、切替情報eがリモートである場合に有効であ
り、どの演算装置の物理記憶空間bであるかを示す演算
装置番号gと演算装置番号gでの物理記憶空間bを指す
リモートアドレスhで構成されている。
Next, referring to FIG. 2, a method of referring to the physical storage space of the arithmetic units 1 to 2 will be specifically described. The arithmetic unit 1 and the arithmetic unit 2 support the virtual storage space a,
There is a virtual address 8 indicating the position of the virtual storage space a. The user can refer to any physical storage space b by designating this virtual address 8, and can effectively use the limited physical storage space b. The arithmetic unit 1 and the arithmetic unit 2 each have an independent physical storage space b and a page table c which is a conversion table for obtaining a virtual address as a physical address indicating the position of the physical storage space b or a physical address of another arithmetic unit. ing. The page table c has, for each entry, switching information e and switching information e indicating whether the entry refers to its own physical storage space b or to the physical storage space b of another arithmetic unit. Is a local address f that points to its own physical / physical storage space b, and is effective when the switching information e is remote, and an operation that indicates which arithmetic unit b is the physical storage space b. It is composed of a device number g and a remote address h pointing to the physical storage space b in the arithmetic device number g.

【0009】現在演算装置1のページテーブルcのエン
トリiには演算装置1の物理記憶空間bを指すローカル
アドレスfが登録され、エントリkには演算装置2の物
理記憶空間bを指すリモートアドレスhが登録され、リ
モートアドレスhが有効となるようにページテーブル切
替情報が登録されている。
A local address f pointing to the physical storage space b of the computing device 1 is currently registered in the entry i of the page table c of the computing device 1, and a remote address h pointing to the physical storage space b of the computing device 2 is registered in the entry k. Is registered, and the page table switching information is registered so that the remote address h becomes valid.

【0010】図1の物理記憶空間登録手段3はページテ
ーブルcの任意のエントリに切替情報e、ローカルアド
レスf、演算装置番号g、リモートアドレスhを登録す
ることで実現され、物理記憶空間判断手段4はページテ
ーブルcの切替情報eを参照することで実現される。さ
らに、物理記憶空間通信手段5はページテーブルcのエ
ントリkにアクセスした場合に、エントリkに登録され
ているリモートアドレスhを演算装置間通信7を用いて
演算装置2に伝達し、ローカル空間操作手段6は演算装
置間通信7を用いて演算装置1から伝達されたリモート
アドレスhを認識し、物理記憶空間bにアクセスする。
The physical storage space registration means 3 of FIG. 1 is realized by registering the switching information e, the local address f, the arithmetic unit number g, and the remote address h in any entry of the page table c, and the physical storage space determination means. 4 is realized by referring to the switching information e of the page table c. Further, when the physical storage space communication means 5 accesses the entry k of the page table c, the remote address h registered in the entry k is transmitted to the arithmetic unit 2 by using the inter-arithmetic unit communication 7, and the local space operation is performed. The means 6 recognizes the remote address h transmitted from the arithmetic unit 1 by using the inter-arithmetic unit communication 7, and accesses the physical storage space b.

【0011】[0011]

【発明の効果】以上説明したように、本発明の分散共有
型メモリ管理方式は、他の演算装置の物理記憶空間を自
分のページテーブルの任意の領域に登録することができ
るので、実際に他の演算装置の物理記憶空間を参照する
場合でも、自分の物理記憶空間を参照する場合と同じメ
モリアクセス命令で実現が可能である。さらに、ページ
テーブルの参照をハードウェアで実現することにより自
分のローカルなメモリを参照する場合と他の演算装置の
メモリを参照する場合との参照速度の差を短縮すること
ができ、分散共有メモリ型マルチプロセッサシステムの
処理性能を向上することができる。
As described above, according to the distributed shared memory management system of the present invention, the physical storage space of another arithmetic unit can be registered in an arbitrary area of its own page table. Even when referring to the physical storage space of the arithmetic unit, it can be realized by the same memory access instruction as when referring to its own physical storage space. Furthermore, by implementing the page table reference in hardware, it is possible to reduce the difference in reference speed between the case of referring to its own local memory and the case of referring to the memory of another arithmetic unit, and the distributed shared memory The processing performance of the multiprocessor system can be improved.

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

【図1】本発明の分散共有型メモリ管理方式の一実施例
を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a distributed shared memory management system of the present invention.

【図2】本実施例の分散共有型メモリ管理方式における
演算装置間での物理記憶空間の実際の参照方法を示す図
である。
FIG. 2 is a diagram showing an actual reference method of a physical storage space between arithmetic units in the distributed shared memory management system of the present embodiment.

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

1,2 演算装置 3 物理記憶空間登録手段 4 物理記憶空間判定手段 5 物理記憶空間通信手段 6 ローカル空間操作手段 7 演算装置間通信 8 仮想アドレス a 仮想記憶空間 b 物理記憶空間 c ページテーブル e 切替情報 f ローカルアドレス g 演算装置番号 h リモートアドレス 1, 2 Arithmetic device 3 Physical storage space registration means 4 Physical storage space determination means 5 Physical storage space communication means 6 Local space operation means 7 Communication between arithmetic devices 8 Virtual address a Virtual storage space b Physical storage space c Page table e Switching information f Local address g Arithmetic unit number h Remote address

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 各演算装置が仮想メモリ方式を持つ分散
共有メモリ型マルチプロセッサシステムの各演算装置に
おいて、 自らの属する演算装置に限らず、他の演算装置の任意の
物理記憶空間をあたかも自分の物理記憶空間であるかの
ように自らの演算装置に仮想記憶空間として登録する物
理記憶空間登録手段と、 自らの属する演算装置が任意の仮想記憶空間を参照した
場合に、該仮想記憶空間が自らの属する演算装置の物理
記憶空間と他の演算装置の物理記憶空間のどちらを指す
のかを判定する物理記憶空間判定手段と、 前記物理記憶空間判定手段にもとづき、参照した仮想記
憶空間が他の演算装置の物理記憶空間を指している場合
に演算装置間通信を用いて前記物理記憶空間登録手段に
より登録されている物理記憶空間を該当する演算装置に
伝える物理記憶空間通信手段と、 他の演算装置から受信した前記物理記憶空間に対して自
らの属する演算装置内で書き込みあるいは読み出し操作
をするローカル空間操作手段とを備えることを特徴とす
る分散共有型メモリ管理方式。
1. An arithmetic unit of a distributed shared memory type multiprocessor system in which each arithmetic unit has a virtual memory system, is not limited to an arithmetic unit to which the arithmetic unit belongs, and an arbitrary physical storage space of another arithmetic unit as if it were its own. Physical storage space registration means for registering a virtual storage space in its own computing device as if it were a physical storage space, and when the computing device to which it belongs references an arbitrary virtual storage space, the virtual storage space itself A physical storage space determining unit that determines which of a physical storage space of a processing unit to which the virtual machine belongs and a physical storage space of another processing unit, and the virtual storage space referred to by another calculation based on the physical storage space determining unit. When the physical storage space of the device is referred to, the physical storage space registered by the physical storage space registration means using inter-processing unit communication is used as the corresponding arithmetic device. Distributed sharing, characterized by comprising: a physical storage space communication means for transmitting to another physical storage space; and a local space operation means for performing a write operation or a read operation in the physical storage space to which the physical storage space received from another arithmetic processing device belongs. Type memory management method.
JP4052090A 1992-03-11 1992-03-11 Distributed and shared memory managing system Withdrawn JPH05257796A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4052090A JPH05257796A (en) 1992-03-11 1992-03-11 Distributed and shared memory managing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4052090A JPH05257796A (en) 1992-03-11 1992-03-11 Distributed and shared memory managing system

Publications (1)

Publication Number Publication Date
JPH05257796A true JPH05257796A (en) 1993-10-08

Family

ID=12905135

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4052090A Withdrawn JPH05257796A (en) 1992-03-11 1992-03-11 Distributed and shared memory managing system

Country Status (1)

Country Link
JP (1) JPH05257796A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07129518A (en) * 1993-11-05 1995-05-19 Canon Inc Computer system
JPH0877027A (en) * 1994-09-01 1996-03-22 Canon Inc Computer, and its system and control method
JPH0883255A (en) * 1994-09-12 1996-03-26 Canon Inc Information processor and its method
US6553465B1 (en) 1999-01-28 2003-04-22 Nec Corporation Multiprocessor system with distributed shared memory having hot plug function for main memories
US7844852B2 (en) 2004-03-31 2010-11-30 Nec Corporation Data mirror cluster system, method and computer program for synchronizing data in data mirror cluster system
JP2020123382A (en) * 2020-04-16 2020-08-13 株式会社三菱Ufj銀行 Control program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07129518A (en) * 1993-11-05 1995-05-19 Canon Inc Computer system
JPH0877027A (en) * 1994-09-01 1996-03-22 Canon Inc Computer, and its system and control method
JPH0883255A (en) * 1994-09-12 1996-03-26 Canon Inc Information processor and its method
US6553465B1 (en) 1999-01-28 2003-04-22 Nec Corporation Multiprocessor system with distributed shared memory having hot plug function for main memories
US7844852B2 (en) 2004-03-31 2010-11-30 Nec Corporation Data mirror cluster system, method and computer program for synchronizing data in data mirror cluster system
JP2020123382A (en) * 2020-04-16 2020-08-13 株式会社三菱Ufj銀行 Control program

Similar Documents

Publication Publication Date Title
JP2825550B2 (en) Multiple virtual space address control method and computer system
EP0062165B1 (en) Multiprocessors including private and shared caches
JP4082612B2 (en) Multiprocessor computer system with multiple coherency regions and software process migration between coherency regions without cache purge
JPH0137773B2 (en)
JPH0512126A (en) Device and method for address conversion for virtual computer
JPH0285960A (en) Information processing system
US5339397A (en) Hardware primary directory lock
JPH02288927A (en) Shared memory management system
JPH05257796A (en) Distributed and shared memory managing system
US6898677B2 (en) Dynamic software accessibility to a microprocessor system with a high speed memory cloner
US7502917B2 (en) High speed memory cloning facility via a lockless multiprocessor mechanism
JPS6079446A (en) Processor for multiple virtual storage data
JPS63240653A (en) Translation between memory management unit and virtual-real address
KR920008602A (en) Computer system with multiple input / output devices sharing address space and communication management method between input / output device and processor
JPH0589056A (en) Multi processor communication system and device therefor
JPS59173828A (en) Data processing system
JPH0336648A (en) Electronic computer, tlb device and microprocessor chip
JPH0750466B2 (en) Parallel computer cache memory control system
JPH03127146A (en) Information processor
JPH01243146A (en) System for accessing shared memory
JP3457535B2 (en) Communication device between processors
JP2696899B2 (en) Multiprocessor system
JPH02114346A (en) Tlb entry control system
JPH0659980A (en) Cache device
JPH0118457B2 (en)

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: 19990518