JPS6049349B2 - Address translation versus control method - Google Patents

Address translation versus control method

Info

Publication number
JPS6049349B2
JPS6049349B2 JP55122726A JP12272680A JPS6049349B2 JP S6049349 B2 JPS6049349 B2 JP S6049349B2 JP 55122726 A JP55122726 A JP 55122726A JP 12272680 A JP12272680 A JP 12272680A JP S6049349 B2 JPS6049349 B2 JP S6049349B2
Authority
JP
Japan
Prior art keywords
address
address translation
information processing
information
processing device
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
Application number
JP55122726A
Other languages
Japanese (ja)
Other versions
JPS5746374A (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.)
NEC Corp
Original Assignee
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP55122726A priority Critical patent/JPS6049349B2/en
Publication of JPS5746374A publication Critical patent/JPS5746374A/en
Publication of JPS6049349B2 publication Critical patent/JPS6049349B2/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/10Address translation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Description

【発明の詳細な説明】 本発明は仮想記憶方式を採用している複数個の情報処理
装置を共有するマルチプロセッサシステムのためのアド
レス変換対制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an address translation pair control method for a multiprocessor system that shares a plurality of information processing devices that employ a virtual memory method.

一般に、仮想記憶方式をとる情報処理装置においては、
仮想記憶空間を指す仮想アドレスと実記憶空間における
実アドレスとの対応を処理装置内のアドレス変換対バッ
ファに登録しておき、主記憶参照時に毎回主記憶装置の
アドレス変換テーブルを参照することなく、前記アドレ
ス変換対バッファを利用して短時間に仮想アドレスから
実アドレスヘの変換を行なつている。また、処理装置が
参照しようとした主記憶上のエリアに、外部記憶装置か
らデータがまだ転送されていないと、外部記憶装置から
主記憶装置へのデータ転送を行う。このとき、主記憶上
に新たに外部記憶装置からのデータを取り込む空ページ
がない場合には、使用されなくなつたかまたは使用頻度
の少ないページ・を外部記憶装置にスワツプアウトし、
主記憶上に空エリアを確保し、そのエリアに新しいデー
タを外部記憶装置からスワツプインしている。仮想記憶
方式を採用した複数の情報処理装置が同一の主記憶装置
を共有している場合、ある情報処理装置フがスワツプア
ウトしようとしたページ対応アドレスが他の情報処理装
置内のアドレス変換バッファに登録されていることがあ
る。前述したように、情報処理装置は主記憶参照の際目
的のアドレス変換対がアドレス変換対バッファに登録さ
れている5かどうか調べ、登録されていれば、その実ア
ドレスを使用する。したがつて、他方の情報処理装置の
アドレス変換対バッファに登録されているアドレスのペ
ージを一方の情報処理装置がスワツプアウトしてしまう
と、他方の情報処理装置は正しい情報を使用できなくな
つてしまう。このため、従来の情報処理装置においては
、以下のようにしてこの問題に対処している。(1)
一方の情報処理装置は、主記憶上のエリアをスワツプア
ウトする前に、他の情報処理装置に対し、専用の制御線
を介して外部割込みをかけ、他方の情報処理装置は外部
割込みプログラムでアドレス変換対を無効としてから専
用の制御線を介して、一方の情報処理装置に外部割込み
プログラムの処理の終了を連絡する。
Generally, in an information processing device that uses a virtual memory method,
The correspondence between the virtual address pointing to the virtual memory space and the real address in the real memory space is registered in the address translation pair buffer in the processing unit, so that the address translation table in the main memory is not referenced every time the main memory is referenced. The address translation pair buffer is utilized to perform translation from a virtual address to a real address in a short time. Further, if data has not yet been transferred from the external storage device to the area on the main memory that the processing device attempts to refer to, the data is transferred from the external storage device to the main storage device. At this time, if there are no empty pages in the main memory to newly import data from the external storage device, pages that are no longer used or are used infrequently are swapped out to the external storage device,
An empty area is secured on the main memory, and new data is swapped in from the external storage device into that area. When multiple information processing devices that use virtual memory share the same main memory, the page-corresponding address that one information processing device attempts to swap out is registered in the address translation buffer in the other information processing device. There are some things that have been done. As described above, when referring to the main memory, the information processing device checks whether the target address translation pair is registered in the address translation pair buffer, and if so, uses its real address. Therefore, if one information processing device swaps out a page with an address registered in the address translation buffer of the other information processing device, the other information processing device will no longer be able to use the correct information. . Therefore, in conventional information processing apparatuses, this problem is dealt with as follows. (1)
Before swapping out an area on main memory, one information processing device issues an external interrupt to the other information processing device via a dedicated control line, and the other information processing device converts the address using an external interrupt program. After invalidating the pair, one information processing device is notified of the termination of the external interrupt program processing via a dedicated control line.

一方の情報処理装置はこの連絡を受けて始めてスワツプ
アウトを実行する。(2) 一方の情報処理装置が主記
憶上のエリアをスワツプアウトするとき、そのエリアを
示すアドレス情報を主記憶上の特定番地に格納し、他の
処理装置は、主記憶の前記特定番地を参照して処理装置
内の登録されているアドレス変換対のうちの該当する変
換対のみを有効とする。
One of the information processing devices executes swap-out only after receiving this notification. (2) When one information processing device swaps out an area on the main memory, address information indicating the area is stored at a specific address on the main memory, and the other processing device refers to the specific address on the main memory. Among the registered address translation pairs in the processing device, only the corresponding translation pair is made valid.

しかし、(1)の方式には、スワツプアウト毎に毎回接
続されている全ての情報処理装置に対して外部割込みを
かける必要があり、接続する情報処理装置の台数ととも
に、専用の制御線が増加し、ハードウェア量が大きくな
るという欠点がある。また、(2)の方式には、ある情
報処理装置が5スワツプアウトを行うごとに、他の情報
処理装置は、主記憶のアクセスを行わねばならないため
、処理時間が大きいという欠点がある。また、緩衝記憶
装置(キャッシュ)を有する複数の情報処理装置からな
るマルチプロセッサ・シこステムにおいては、ある情報
処理装置が主記憶上のエリアを書き換えると、他の情報
処理装置のキャッシュに前記エリアが登録されている場
合、キャッシュの該当する部分を消去しなければならな
い。
However, method (1) requires an external interrupt to be applied to all connected information processing devices each time a swap-out is performed, and the number of dedicated control lines increases with the number of connected information processing devices. However, the disadvantage is that the amount of hardware increases. Furthermore, method (2) has the disadvantage that every time a certain information processing device performs five swap-outs, other information processing devices must access the main memory, so that the processing time is long. Furthermore, in a multiprocessor system consisting of a plurality of information processing devices each having a buffer storage device (cache), when one information processing device rewrites an area in the main memory, the area is written to the cache of another information processing device. is registered, the corresponding part of the cache must be cleared.

もし、消去しないと、主記憶装置内のデータ3と異なる
データがキャッシュ上に登録されていることになり、以
後正しい処理が行われなくなつてしまう。このために従
来、情報処理装置間には、上記の消去のために、キャッ
シュー致処理のためのインタフェースラインと呼ばれる
特別なインタ4rフェースラインがこのインタフェース
ラインは、通常のデータ転送とは別に設けられており、
使用頻度の割に、ハード量が大きいという欠点がある。
本発明の目的な上述の欠点を除去したアドレス変換制御
方式を提供することにあ。
If it is not erased, data different from data 3 in the main memory will be registered on the cache, and correct processing will no longer be possible. For this reason, conventionally, a special interface line called an interface line for cache match processing is provided between information processing devices for the above-mentioned erasure, and this interface line is separate from normal data transfer. has been
The disadvantage is that the amount of hardware is large considering the frequency of use.
SUMMARY OF THE INVENTION It is an object of the present invention to provide an address translation control system that eliminates the above-mentioned drawbacks.

本発明の方式は、主記憶装置と、 この主記憶装置を共用し該主記憶装置の輪理アドレス情
報と物理アドレス情報とからなるアドレス変換対を複数
格納するアドレス変換対バッファおよび特定命令の指示
により前記主記憶装置の記憶内容を一の情報処理装置が
書き換えたときに他の情報処理装置のキャッシュ記憶の
記憶内容を消フ去するように指示するためのインタフェ
ース線に前記主記憶装置のアドレス情報を送出する手段
を有する第1の情報処理装置と、前記主記憶装置を共用
し該主記憶装置の論理アドレス情報と物理アドレス情報
とからなるアドレ門ス変換対を複数記憶するアドレス変
換対バッファおよび、前記第1の情報処理装置から前記
インタフェース線を介して送られてきたアドレス情報に
より該アドレス変換バッファに格納されている複数のア
ドレス変換対のうちの該指定のアドレス変・換対のみを
無効とする手段を有する第2の情報処理装置とを含む。
The system of the present invention includes a main storage device, an address translation pair buffer that shares the main storage device and stores a plurality of address translation pairs consisting of circular address information and physical address information of the main storage device, and instructions for specific instructions. The address of the main storage device is connected to an interface line for instructing to erase the storage contents of the cache memory of another information processing device when one information processing device rewrites the storage contents of the main storage device. a first information processing device having means for transmitting information; and an address translation pair buffer that shares the main storage device and stores a plurality of address translation pairs each consisting of logical address information and physical address information of the main storage device. and only the specified address translation/translation pair out of the plurality of address translation pairs stored in the address translation buffer is determined by the address information sent from the first information processing device via the interface line. and a second information processing device having invalidation means.

次に本発明について図面を参照して詳細に説明する。Next, the present invention will be explained in detail with reference to the drawings.

第1図に示す本発明の一実施例は、情報処理装置1,2
および3,主記憶5,キャッシュー致処理用インタフェ
ースライン6,7,8,9,10および11,キャッシ
ュー致処理用情報またはアドレス変換対制御情報のいず
れかを保持しキャッシュー致処理用インタフェースライ
ン6〜11に送出するためのレジスタ13,14および
15,キャッシュー致処理用インタフェースライン8お
よび10上の情報のいずれかを選択する選択回路19,
選択回路19の出力を保持するレジスタ16,キャッシ
ュー致処理用インタフェースライン6および11の情報
のいずれかを選択する選択回路20,選択回路20の出
力を保持するレジスタ17,キャッシュー致処理用イン
タフェースライン9および7上の情報のいずれかを選択
する選択回路21,選択回路21の出力を保持するレジ
スタ18および情報処理装置1,2および3と主記憶5
との間のインタフェースライン52,53および54か
ら構成されている。
An embodiment of the present invention shown in FIG.
and 3, main memory 5, cache match processing interface lines 6, 7, 8, 9, 10 and 11, cache match processing interface that holds either cache match processing information or address translation pair control information. registers 13, 14 and 15 for sending to lines 6 to 11; a selection circuit 19 for selecting one of the information on interface lines 8 and 10 for cache match processing;
A register 16 that holds the output of the selection circuit 19, a selection circuit 20 that selects one of the information on interface lines 6 and 11 for cache match processing, a register 17 that holds the output of the selection circuit 20, and an interface for cache match processing. A selection circuit 21 that selects one of the information on lines 9 and 7, a register 18 that holds the output of the selection circuit 21, information processing devices 1, 2, and 3, and a main memory 5
It consists of interface lines 52, 53, and 54 between.

第2図に示す前記情報処理装置1,2および3iま、第
1図のレジスタ16,17または18に受取られたアド
レス変換対制御用アドレス情報の一部を保持するレジス
タ22その残りを保持するレジスタ23,n個の仮想ア
ドレスとそれに対応するn個の実アドレスとその変換対
の有効性を示すビット(Vビット)を変換対の数nだけ
有するアドレス変換対バッファ24,レジスタ23の内
容により指されるアドレス変換対の仮想アドレスとレジ
スタ22の内容とを比較する比較回路25,アドレス変
換対を有効/有効にするために■ビットを゜゜1゛/゜
“0゛にするためのレジスタ26および比較回路25の
出力と■ビットとの論理積を作るアンド回路27から構
成されている。
The information processing apparatuses 1, 2, and 3i shown in FIG. 2 each have a register 22 that holds a part of the address translation control address information received by the register 16, 17, or 18 of FIG. According to the contents of register 23, address translation pair buffer 24, which has n virtual addresses, n real addresses corresponding thereto, and a bit (V bit) indicating the validity of the translation pairs, for the number n of translation pairs. A comparison circuit 25 that compares the virtual address of the pointed address translation pair with the contents of the register 22, and a register 26 that sets the bit to ゜゜1゛/゜“0゛” in order to enable/enable the address translation pair. and an AND circuit 27 which performs a logical product of the output of the comparison circuit 25 and the ■ bit.

次に情報処理装置1や主記憶5上のページを外部記憶装
置ヘスワツプアウトする動作を詳細に説明する。
Next, the operation of swapping out pages on the information processing device 1 and the main memory 5 to the external storage device will be explained in detail.

情報処理装置1は、レジスタ13に、スワツプアウトさ
れるべき仮想空間のエリアを示す仮想アドレスを保持す
る。
The information processing device 1 holds in the register 13 a virtual address indicating the area of the virtual space to be swapped out.

この仮想アドレスは、キャッシュー致処理用インタフェ
ースライン6および9を介して、情報処理装置2および
3に転送される。情報処理装置2および3は転送されて
きた仮想アドレスを選択回路20,21で選び、レジス
タ17,18へ保持する。さらにこの仮想アドレスが自
分のアドレス変換対バッファ24に登録されているかど
うかを調べる。すなわち、レジスタ17または18に格
納された仮想アドレスの一部がレジスタ22に、残りが
レジスタ23に格納される。レジスタ23の内容がアド
レス変換対バッファ24にアドレスとして与えられ、該
当する仮想アドレスが読み出される。この読み出された
仮想アドレスと、レジスタ22の内容とが比較回路25
により比較される。同時に、Vビットも読み出され、ア
ンド回路27により、比較回路25の出力と、■ビット
との論理積が取られる。アンド回路27の出力が“゜1
゛であれば、該当するアドレス変換対が登録されている
ことを示す。アンド回路27の出力がもし“1゛であれ
ば、制御回路28のインバータ29を介してレジスタ2
6に゜“0゛が取入れられて、さらに、レジスタ26の
内容が該当するVビットに書込まれて、そのアドレス変
換対が無効にされる。もし、アンド回路27の出力が゜
゜0゛であれば、該当する仮想アドレスは登録されてい
ないので、何も行われない。このようにして、情報処理
装置2および3において、該当するアドレス変換対の無
効化が終了すると、情報処理装置2および3は、主記憶
5の特定エリアに終了情報を書込む。情報処理装置1は
、アドレス情報転送後、たびたび主記憶5の特定エリア
の内容を読み出し、終了情報が書込まれているかどうか
調べる。情報処理装置1は、終了情報が書込まれている
ことを確認して、はじめて、スワツプアウトを行う。本
発明には、アドレス変換対無効化をキャッシュー致処理
用インタフェースラインを使用して行なうことによりア
ドレス変換対無効化のために独自のインタフェースライ
ンを設けないためハード量は増加せずキャッシュー致処
理とアドレス変換対無効化との2つの目的でキャッシュ
ー致処理用インタフェースが使用でき、また、該当アド
レスを主記憶に書込んでおく方法に比較して短時間で処
理できるという効果がある。
This virtual address is transferred to the information processing devices 2 and 3 via the cache match processing interface lines 6 and 9. The information processing devices 2 and 3 select the transferred virtual addresses using selection circuits 20 and 21 and hold them in registers 17 and 18. Furthermore, it is checked whether this virtual address is registered in its own address translation pair buffer 24. That is, part of the virtual address stored in register 17 or 18 is stored in register 22, and the rest is stored in register 23. The contents of the register 23 are given as an address to the address translation pair buffer 24, and the corresponding virtual address is read out. This read virtual address and the contents of the register 22 are compared to the comparison circuit 25.
compared by. At the same time, the V bit is also read out, and the AND circuit 27 performs a logical product between the output of the comparator circuit 25 and the ■ bit. The output of the AND circuit 27 is “゜1
゛ indicates that the corresponding address translation pair is registered. If the output of the AND circuit 27 is "1", the register 2
6 is taken in as ``0'', and the contents of the register 26 are written to the corresponding V bits, invalidating the address translation pair.If the output of the AND circuit 27 is ゜゜0゛, If there is, the corresponding virtual address is not registered, so nothing is done.In this way, when the invalidation of the corresponding address translation pair is completed in the information processing devices 2 and 3, the information processing devices 2 and 3 complete the invalidation of the corresponding address translation pair. 3 writes end information in a specific area of the main memory 5. After transferring the address information, the information processing device 1 frequently reads the contents of the specific area of the main memory 5 to check whether end information has been written. The information processing device 1 performs swap-out only after confirming that the end information has been written.The present invention includes the use of an interface line for cache matching processing to perform address translation and invalidation. Since no unique interface line is provided for address translation vs. invalidation, the amount of hardware does not increase, and the cache match processing interface can be used for two purposes: cache matching processing and address translation vs. invalidation. This method has the advantage that it can be processed in a shorter time than the method of writing the corresponding address in the main memory.

q図面の簡単な説明 第1図は本発明の一実施例を示す図および第2図はアド
レス変換対バッファを示す図である。
q Brief Description of the Drawings FIG. 1 is a diagram showing one embodiment of the present invention, and FIG. 2 is a diagram showing an address translation pair buffer.

第1図および第2図において、1,2,3・・・・・・
情報処理装置、5・・・・・・主記憶、76,7,8・
・・・・・データ転送ライン、9,10,11・・・・
・・キャッシュー致処理用インタフェースライン、13
,14,15,16,17,18,22,23・・・・
・ルジスタ、19,20,21・・・・・切換回路、2
4・・・・アドレス変換対バッファ、255・・・・・
・比較回路、26・ ・・フリップフロップ、52,5
3,54・・・・・情報処理装置一主記憶間インタフェ
ースライン。
In Figures 1 and 2, 1, 2, 3...
Information processing device, 5... Main memory, 76, 7, 8.
...Data transfer line, 9, 10, 11...
・Interface line for cache matching processing, 13
, 14, 15, 16, 17, 18, 22, 23...
・Lujistar, 19, 20, 21...Switching circuit, 2
4...Address conversion vs. buffer, 255...
・Comparison circuit, 26...Flip-flop, 52,5
3, 54...Interface line between information processing device and main memory.

Claims (1)

【特許請求の範囲】 1 システム制御装置を持たないマルチプロセッサシス
テムのためのアドレス変換対制御方式において、主記憶
装置と、 この主記憶装置を共用し該主記憶装置の論理アドレス情
報と物理アドレス情報とからなるアドレス変換対を複数
格納するアドレス変換対バッファおよび、特定命令の指
示により前記主記憶装置の記憶内容を一の情報処理装置
が書き換えたときに他の情報処理装置内のキャッシュ記
憶内容を消去するように指示するためのインタフェース
線に前記主記憶装置のアドレス情報を送出する手段を有
する第1の情報処理装置と、前記主記憶装置を共用し該
主記憶装置の論理アドレス情報と物理アドレス情報とか
らなるアドレス変換対を複数記憶するアドレス変換対バ
ッファおよび、前記第1の情報処理装置から前記インタ
フェース線を介して送られてきたアドレス情報により該
アドレス変換バッファに格納されている複数のアドレス
変換対のうちの該指定のアドレス変換対のみを無効とす
る手段を有する第2の情報処理装置とを含むことを特徴
とするアドレス変換対制御方式。
[Scope of Claims] 1. In an address conversion pair control method for a multiprocessor system without a system control device, a main storage device, and logical address information and physical address information of the main storage device that share this main storage device. an address translation pair buffer that stores a plurality of address translation pairs consisting of; and an address translation pair buffer that stores a plurality of address translation pairs consisting of; a first information processing device having means for sending address information of the main storage device to an interface line for instructing erasure; and a first information processing device that shares the main storage device and transmits logical address information and physical address information of the main storage device. an address translation pair buffer that stores a plurality of address translation pairs consisting of information; and a plurality of addresses stored in the address translation buffer based on address information sent from the first information processing device via the interface line. and a second information processing device having means for invalidating only the specified address translation pair among the translation pairs.
JP55122726A 1980-09-04 1980-09-04 Address translation versus control method Expired JPS6049349B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP55122726A JPS6049349B2 (en) 1980-09-04 1980-09-04 Address translation versus control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP55122726A JPS6049349B2 (en) 1980-09-04 1980-09-04 Address translation versus control method

Publications (2)

Publication Number Publication Date
JPS5746374A JPS5746374A (en) 1982-03-16
JPS6049349B2 true JPS6049349B2 (en) 1985-11-01

Family

ID=14843061

Family Applications (1)

Application Number Title Priority Date Filing Date
JP55122726A Expired JPS6049349B2 (en) 1980-09-04 1980-09-04 Address translation versus control method

Country Status (1)

Country Link
JP (1) JPS6049349B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59112356A (en) * 1982-12-20 1984-06-28 Yamatake Honeywell Co Ltd Controlling system of multiprocessor system

Also Published As

Publication number Publication date
JPS5746374A (en) 1982-03-16

Similar Documents

Publication Publication Date Title
US4158227A (en) Paged memory mapping with elimination of recurrent decoding
JP3687990B2 (en) Memory access mechanism
US4736293A (en) Interleaved set-associative memory
EP0113612B1 (en) Address conversion unit for multiprocessor system
EP0387644B1 (en) Multiprocessor system with global data replication and two levels of address translation units
CN107818052B (en) Memory access method and device
US5905905A (en) System for copying IOBS from FIFO into I/O adapter, writing data completed IOB, and invalidating completed IOB in FIFO for reuse of FIFO
JPS589277A (en) Data processor
US5619677A (en) Data processing system with an enhanced cache memory control
JPH0137773B2 (en)
EP0175620B1 (en) Access verification arrangement for digital data processing system which has demand-paged memory
JPS62145340A (en) Cache memory control system
US7069394B2 (en) Dynamic data routing mechanism for a high speed memory cloner
EP0229932A2 (en) High-capacity memory for multiprocessor systems
JPH0312339B2 (en)
US7343469B1 (en) Remapping I/O device addresses into high memory using GART
EP0480858A2 (en) Hardware primary directory lock
WO2008031678A1 (en) Dmac address translation miss handling mechanism
EP0291557A1 (en) Hardware demand fetch cycle system interface
JPS6049349B2 (en) Address translation versus control method
US6516343B1 (en) Computer system and method for enhancing memory-to-memory copy transactions by utilizing multiple system control units
US5983307A (en) Electrical circuit for exchanging data between a microprocessor and a memory and computer comprising a circuit of this type
JPS6049348B2 (en) Address translation versus control method
JPS59173828A (en) Data processing system
JPH01149153A (en) Address converting index mechanism invalidating device