JPS60124755A - Information processing unit - Google Patents

Information processing unit

Info

Publication number
JPS60124755A
JPS60124755A JP58233983A JP23398383A JPS60124755A JP S60124755 A JPS60124755 A JP S60124755A JP 58233983 A JP58233983 A JP 58233983A JP 23398383 A JP23398383 A JP 23398383A JP S60124755 A JPS60124755 A JP S60124755A
Authority
JP
Japan
Prior art keywords
address
storage device
circuit
write
central processing
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
JP58233983A
Other languages
Japanese (ja)
Inventor
Iwao Negishi
根岸 巌
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
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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP58233983A priority Critical patent/JPS60124755A/en
Publication of JPS60124755A publication Critical patent/JPS60124755A/en
Pending 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

Landscapes

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

Abstract

PURPOSE:To improve the processing speed by providing a means supported by a cache memory to also a common storage device to run the program in the common storage device at the same performance of the program in the main storage. CONSTITUTION:A write signal fed from a bus 1 to the common storage device 3 is fed to an address converting circuit 120, where the address is converted into an internal address from an external address. Then the address is decided by an area deciding circuit 100 via a multiplexer 130 and when it is decided as a data area 220, and fed to a storage circuit 200 where a prescribed write is performed when the address is decided as a data area 220. When the area of the circuit 100 is decided as a program run area 210, an reverse conversion command signal is fed from the circuit 100 to an address reversed conversion circuit 111. Thus, the address is converted reversely from the inner address to the external address, fed to a bus 2 so as to start a write bus cycle. As a result, the coincidence between the contents of the cache memory and the contents of the area 210 is guaranteed, the cache memory is supported even to the storage device 3, allowing to improe the processing speed.

Description

【発明の詳細な説明】 (技術分野) 本発明は情報処理装置に関し、特にそれぞれ個別のバス
に接続されるキャッジ−メモIJ (r持つ中央処理装
置により共有される記憶装置を備えた情報処理装置に関
する。
DETAILED DESCRIPTION OF THE INVENTION (Technical Field) The present invention relates to an information processing apparatus, and more particularly to an information processing apparatus equipped with a storage device shared by a central processing unit having a cache-memo IJ connected to each individual bus. Regarding.

(従来技術) 従来複数のバスに接続可能な記憶装置−i共有しマルチ
プロセッサシステムを構成する情報処理装置においては
、共有される記憶装置は次の理由によりキャッジ−メモ
リのサポートを得る事が出来ない。キャッシュメモリは
記憶装置の一部のコピーを保持し中央処理装置が前記記
憶装置に読み出1−堺會′&1涜11i!i−七の尊重
アドレスのデータをギャッシーメモリが持つ場合、主記
憶に替って高速に該当データを中央処理装置に転送する
役目を持つ。
(Prior Art) Conventionally, in information processing devices that share a storage device connectable to multiple buses and configure a multiprocessor system, the shared storage device cannot obtain cache memory support for the following reasons. do not have. The cache memory holds a copy of a portion of the storage device that the central processing unit reads into the storage device. When the gassy memory has data at the respected address of i-7, it has the role of transferring the data to the central processing unit at high speed in place of the main memory.

従ってキャッシュメモリの持つデータは常に前記記憶装
置と同一でなく“ではならない。この内容の一致を保証
するため、従来の情報処理装置ではキャッジ−メモリは
前記記憶装置に対する書き込ミハスサイクルをモニター
し、キャッジ−メモリ内に格納されているデータが前記
記憶装置に占めていたアドレスと同一アドレスの前記記
憶装置のロケーションに書き込みがあった場合、キャッ
ジ−メモリ内の該当データも同時に更新している。
Therefore, the data held by the cache memory must always be the same as the data stored in the storage device. When data stored in the cache memory is written to a location in the storage device having the same address as the address occupied in the storage device, the corresponding data in the cache memory is also updated at the same time.

しかしこのような従来の情報処理装置でマルチプロセッ
サシステムを構成し共有される記憶装置をキャッシュメ
モリがサポートすると共有される記憶装置の内容が一方
のプロセッサ系から変更される場合は、他方のプロセッ
サ系バスに対し書き込みバスサイクルが起動されないた
め、他方のプロセッサ系バスに接続されたキャッシュメ
モリはデータの変更を知ることが出来ず、共有される記
憶装置の内容と他方のプロセッサ系のキャッジ−メモリ
の内容とに不一致が発生する。
However, when a multiprocessor system is configured with such conventional information processing devices and the cache memory supports a shared storage device, if the contents of the shared storage device are changed from one processor system, the other processor system Because no write bus cycles are initiated for the bus, the cache memory connected to the other processor's bus is unaware of the data changes, and the contents of the shared storage device and the cache memory of the other processor's A discrepancy occurs with the content.

このため従来の情報処理装置では共有される記憶装置が
持つアドレス領域はキャッジ−メモリがサポートせず、
読み出し要求は常に共有記憶装置よりデータを読み出し
ている。従って共有記憶装置上をプログラムが走行する
場合、性能が低下するという欠点がある。
For this reason, in conventional information processing devices, the cache memory does not support the address area of the shared storage device.
A read request always reads data from the shared storage device. Therefore, when a program runs on a shared storage device, there is a drawback that performance deteriorates.

(発明の目的) 本発明の目的は共有記憶装置に対してもキャッシュメモ
リがサポートできる手段を備えることにより、主記憶上
のプログラムと同じ性能で共有記憶装置上をプログラム
が走行できるようにし処理速度を格段に速くした情報処
理装置を提供する事にある。
(Objective of the Invention) The object of the present invention is to provide a means by which a cache memory can support a shared storage device, so that a program can run on the shared storage device with the same performance as a program on the main memory, and the processing speed is increased. The purpose of the present invention is to provide an information processing device that significantly speeds up the processing.

(発明の構成) 本発明の装置は、それぞれ別々のバスに接続されるキャ
ッジ−メモリを有する複数の中央処理装置により共有さ
れる記憶装置を含む情報処理装置において、前記共有記
憶装置の内部アドレスに対応する前記複数の中央処理装
置の任意の−の中央処理装置の外部アドレスを任意の他
の中央処理装置の外部アドレスに変換するアドレス変換
手段ビ、前記−の中央処理装置から前記共有記憶装置に
書込みバスサイクルがあった場合に前記アドレス変換手
段を動作せしめて前記他の中央処理装置が接続されてい
る前記バスに書込みバスサイクルを起動させる書込みバ
スサイクル起動手段とを含んで構成される。
(Structure of the Invention) The device of the present invention is an information processing device including a storage device shared by a plurality of central processing units each having a cache memory connected to a separate bus. an address conversion means for converting an external address of any - central processing unit of the plurality of corresponding central processing units to an external address of any other central processing unit, from the - central processing unit to the shared storage device; and write bus cycle activation means for activating the address conversion means to activate a write bus cycle on the bus to which the other central processing unit is connected when there is a write bus cycle.

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

第1図は本発明の一実施例を示すブロック図である。第
1図の情報処理装置はバス1に関与する中央処理装置1
1と、キャッシュメモリ12と、に共有される共有記憶
i置3とから構成される。
FIG. 1 is a block diagram showing one embodiment of the present invention. The information processing device in FIG. 1 is a central processing unit 1 involved in a bus 1.
1, a cache memory 12, and a shared storage space 3 shared by the storage system 1 and the cache memory 12.

第2図に第1図に使用される共有記憶装置3の詳細ブロ
ック図を示す。第2図の共有記憶装置3はプログラム走
行領域210とデータ領域220とからなる記憶回路2
00と、記憶回路200の何れの領域への書込みである
かを判定しプログラム走行領域への書込みのときには逆
変換指令信号を発生する領域判定回路100と、共通記
憶装置3への書込み時に、書込み指令と書込むべきデー
タと各中央処理装置から見た共通記憶装置3の書込むべ
きアドレス(この3つの情@を総称して以後書込み信号
と称す)との供給をうけて書込み信号中の書込むべきア
ドレスを各中央処理装置から見た共通記憶装置3のアド
レス(これを以後および特許請求の範囲で外部アドレス
と称す)から共通記憶装置の実アドレス(これを以後お
よび特許請求の範囲で内部アドレスと称す)に変換する
アドレス変換回路120および121と、噛込み信号と
逆変換指令信号との供給に応答して内部アドレス塾汎熟
了ド1ノスv:tft亦廟1猫亦蜘θ】ふ姦W糾対応す
るアドレス変換回路の動作tl−禁止する制御信号を発
生するアドレス逆変換回路110および111と、供給
される2つの書込み信号の一つを選択するマルチプレク
サ130とから構成される。
FIG. 2 shows a detailed block diagram of the shared storage device 3 used in FIG. 1. The shared storage device 3 in FIG. 2 is a storage circuit 2 consisting of a program running area 210 and a data area 220.
00, an area determination circuit 100 that determines which area of the memory circuit 200 the write is to be made and generates an inverse conversion command signal when writing to the program running area, and a write The write signal in the write signal is supplied with the command, the data to be written, and the address to be written in the common storage device 3 as seen from each central processing unit (these three pieces of information are hereinafter collectively referred to as the write signal). The address to be loaded is calculated from the address of the common storage device 3 seen from each central processing unit (hereinafter referred to as an external address in the claims) to the real address of the common storage device (hereinafter referred to as an internal address in the claims). Address conversion circuits 120 and 121 convert the addresses into addresses (referred to as addresses), and internal addresses in response to the supply of the input signal and the reverse conversion command signal. It is composed of address inverse conversion circuits 110 and 111 that generate control signals for inhibiting the operation tl of the address conversion circuit corresponding to the rape, and a multiplexer 130 that selects one of the two supplied write signals.

ここに記憶回路200のプログラム走行領域210とは
、各中央処理装置のプログラムと該プログラムによシ操
作されるデータと、他糸中央処理装置により変更される
データとを格納する領域である。各々の中央処理装置は
該領域内のデータを操作し、他系中央処理装置へ割込を
かけ、割込を受けた中央処理装置が該データを読み出す
事により情報伝達が可能となる。
The program running area 210 of the memory circuit 200 is an area for storing programs for each central processing unit, data operated by the programs, and data changed by other thread central processing units. Each central processing unit manipulates data in the area, interrupts another central processing unit, and the central processing unit that receives the interrupt reads the data, making it possible to transmit information.

また記憶回路200のデータ領域220とは主にDMA
転送で扱うデータでありかつプログラムで直接変更しな
いデータと中央処理装置が自装置だけで使用しかつ使用
頻度の少いデータとを格納する領域である。
Furthermore, the data area 220 of the memory circuit 200 is mainly a DMA
This is an area for storing data that is handled by transfer and not directly changed by the program, and data that is used only by the central processing unit itself and is used infrequently.

共有記憶装置3は読み出しも当然可能であるが、本発明
には読み出しは直接関係はないので、第2図には書き込
みに関係する要部のみを示す。
Although the shared storage device 3 can naturally be read, reading is not directly related to the present invention, so FIG. 2 shows only the main parts related to writing.

次に第1図および第2図を参照して本実施例の動作につ
いて説明する。
Next, the operation of this embodiment will be explained with reference to FIGS. 1 and 2.

第1のシステムにより共有記憶装置3に対しバス1に書
込み信号が出されると、キャッシュメモリ12は書込み
バスサイクルをモニターし、キャッジ−メモリ12内に
構納されているデータが共有記憶装置3に占めていた内
部アドレスと同一アドレスに書込みされるものであるが
どうかをWdべろ。同一アドレスへの書込みであること
が判明すると、キャッジ−メモリ12内の該当データを
バス1上の書込みデータを用いて更新する。この動作は
従来の情報処理装置と同様である。
When the first system issues a write signal to the shared storage device 3 on the bus 1, the cache memory 12 monitors the write bus cycle and the data stored in the cache memory 12 is transferred to the shared storage device 3. Check Wd to see if it will be written to the same address as the internal address it was occupying. When it is determined that the write is to the same address, the corresponding data in the cache memory 12 is updated using the write data on the bus 1. This operation is similar to that of a conventional information processing device.

バス1から共有記憶装置3に供給された書込み信号はア
ドレス変換回路120に供給され、ここで書込み信号の
中のアドレスは外部アドレスから内部アドレスに変換さ
れ、マルチプレクサ130と他のシステムのアドレス逆
変換回路111とに供給される。ついでマルチプレクサ
130にょp前記書込み信号が選択され、領域判定回路
100に供給されて該書込み信号がプログラム走行領域
210に対するものか、データ領域220に対するもの
か判定されると同時に、該1込み信号は記憶回路200
に供給され所定の曹込みが行なわれる。
The write signal supplied from the bus 1 to the shared storage device 3 is supplied to an address translation circuit 120, where the address in the write signal is translated from an external address to an internal address, and a multiplexer 130 and other systems address inverse translation. The signal is supplied to the circuit 111. The write signal is then selected by the multiplexer 130 and supplied to the area determination circuit 100 to determine whether the write signal is for the program running area 210 or the data area 220, and at the same time the 1 write signal is stored. circuit 200
A predetermined leveling process is performed.

領域判定回路100での判定は内部アドレスでときには
、領域判定回路100より逆変換指令信号がアドレス逆
変換回路110および111に供給される。ここで書込
み信号と逆変換指令信号との供給をうけたアドレス逆変
換回路111のみが動作を開始し、誓込み信号中のアド
レスを内部アドレスから外部アドレスに逆変換してバス
2へ供給し、書込みバスサイクルを起動するとともにI
tlrシステムのアドレス変換回路121に制御信号4
01を供給してアドレス変換動作を禁止せしめる。
When the determination by the area determination circuit 100 is based on an internal address, an inverse conversion command signal is supplied from the area determination circuit 100 to the address inverse conversion circuits 110 and 111. Here, only the address inverse conversion circuit 111 that has been supplied with the write signal and the inverse conversion command signal starts operating, inversely converts the address in the pledge signal from an internal address to an external address, and supplies it to the bus 2. Initiating a write bus cycle and I
Control signal 4 is sent to the address conversion circuit 121 of the tlr system.
01 is supplied to inhibit the address translation operation.

バス2に接続され°Cいるキャッジ−メモリ22は書込
みバスサイクルをモニターし、キャッジ、−メモリ22
内に格納されているデータが記憶回路200に占めてい
た内部アドレスと同一アドレスのロケーションに書込み
があると判明したときには、キャッジ−メモリ22内の
該当データを更新する。この動作は前述のように従来装
置と同一である。
A cache-memory 22 connected to bus 2 monitors write bus cycles and a cache-memory 22
When it is determined that the data stored in the cache memory 22 has been written to the same address as the internal address occupied by the memory circuit 200, the corresponding data in the cache memory 22 is updated. This operation is the same as the conventional device as described above.

以上の説明は第1のシステムで書込み動作が行なわれた
場合についてであるが、第2のシステムでの書込み動作
についてもそれがプログラム走行領域210への書込み
の場合には、必要なときにはキャッジ−メモリ12のデ
ータの更新が行なわれることは前述と同様であるので説
明を省略する。
The above explanation is about the case where a write operation is performed in the first system, but when the write operation in the second system is also to the program running area 210, the carriage The updating of the data in the memory 12 is the same as described above, so the explanation will be omitted.

以上のようにプログラム走行領域210に対し、書き込
み信号があったときに、両系のノ(スに対し書き込みパ
スサイクルを起動し、両糸のキャッジ−メモリに必要な
ときには内容の更新を行なうことにより、キャッシュメ
モリ12および22の内容と共有記憶装置3内のプログ
ラム走行領域210の内容との一致を保証することが出
来、共有記憶装置3に対しキャッシュメモ1月2および
22がサポートできることとなり情報処理装置の処理速
度を格段に改善できる。
As described above, when a write signal is received for the program running area 210, a write pass cycle is activated for the threads of both systems, and the contents are updated when necessary in the cache memory of both threads. As a result, it is possible to guarantee that the contents of the cache memories 12 and 22 match the contents of the program running area 210 in the shared storage device 3, and the shared storage device 3 can support cache memos 2 and 22. The processing speed of the processing device can be significantly improved.

(発明の効果) 本発明には共有記憶装置に対してもキャッジ−メモリが
サポートできるようにすることにより処理速度を格段に
速くできるという効果がある。
(Effects of the Invention) The present invention has the effect that the processing speed can be significantly increased by supporting the cache memory even for a shared storage device.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図本発明の一実施例を示すブロック図、第2図は第
1図に使用される共有記憶装置の詳細ブロック図である
。 1.2・・・・・・バス、3・・・・・・共有記憶装置
、11゜21・・・・・・中央処理装置(CPU)、1
2.22・・・・°°キャッシュメモ1ハ 13,23
・・・・・・周辺機器制御部、14.24・・・・・・
主記憶、100・・・・・・領域判定回路、110,1
11・・・・・・アドレス逆変換回路、120.121
・・・・・・アドレス変換回路、130・・・・°°マ
ルチプレクサ、200・・・・・・記憶回路、210・
・・・・・プログラム走行領域、220・・・・・・デ
ータ領域、300.301・・・・・・書込み信号、4
00.401・・・・・・制御信号。
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG. 2 is a detailed block diagram of the shared storage device used in FIG. 1. 1.2...Bus, 3...Shared storage device, 11゜21...Central processing unit (CPU), 1
2.22...°°Cache Memo 1c 13,23
......Peripheral device control section, 14.24...
Main memory, 100...Area determination circuit, 110,1
11...Address inverse conversion circuit, 120.121
...address conversion circuit, 130...°° multiplexer, 200...memory circuit, 210...
...Program running area, 220...Data area, 300.301...Write signal, 4
00.401... Control signal.

Claims (1)

【特許請求の範囲】[Claims] (1)それぞれ別々のバスに接続されるキャッジ−メモ
リを有する複数の中央処理装置により共有される記憶装
置を含む情報処理装置において、前記共有記憶装置の内
部アドレスに対応する前記複数の中央処理装置の任意の
−の中央処理装置の外部アドレスを任意の他の中央処理
装置の外部アドレスに変換するアドレス変換手段ヒ、前
記−の中央処理装置から前記共有記憶装置に書込みバス
サイクルがあった場合に前記アドレス変換手段を動作せ
しめて前記他の中央処理装置が接続されている前記バス
に書込みバスサイクルを起動させる書込みバスサイクル
起動手段とを含むことを特徴とする情報処理装置。 スサイクルであることを判定し変換指令信号を発生する
領域判定手段を備え前記変換指令信号に応答して書込み
バスサイクル起動手段を動作せしめることを特徴とする
特許請求の範囲第(1)項記載の情報処理装置。
(1) In an information processing device including a storage device shared by a plurality of central processing units each having a cache memory connected to a separate bus, the plurality of central processing units correspond to an internal address of the shared storage device. an address translation means for converting an external address of any central processing unit of - to an external address of any other central processing unit, when there is a write bus cycle from the central processing unit of said - to said shared storage device; An information processing device comprising write bus cycle activation means for activating the address conversion means to activate a write bus cycle on the bus to which the other central processing unit is connected. Claim 1, further comprising area determination means for determining that the bus cycle is a bus cycle and generating a conversion command signal, and operating a write bus cycle starting means in response to the conversion command signal. information processing equipment.
JP58233983A 1983-12-12 1983-12-12 Information processing unit Pending JPS60124755A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58233983A JPS60124755A (en) 1983-12-12 1983-12-12 Information processing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58233983A JPS60124755A (en) 1983-12-12 1983-12-12 Information processing unit

Publications (1)

Publication Number Publication Date
JPS60124755A true JPS60124755A (en) 1985-07-03

Family

ID=16963693

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58233983A Pending JPS60124755A (en) 1983-12-12 1983-12-12 Information processing unit

Country Status (1)

Country Link
JP (1) JPS60124755A (en)

Similar Documents

Publication Publication Date Title
EP0258559B1 (en) Cache memory coherency control provided with a read in progress indicating memory
US8669992B2 (en) Shared virtual memory between a host and discrete graphics device in a computing system
JPH1031625A (en) Write back buffer for improved copy back performance in multiprocessor system
KR0175983B1 (en) Data processing system having demand based write through cache with enforced ordering
JP2561261B2 (en) Buffer storage access method
US5727179A (en) Memory access method using intermediate addresses
JP3066753B2 (en) Storage controller
JPH1091521A (en) Duplex directory virtual cache and its control method
JP2813182B2 (en) Multiprocessor computer multifunction device
JPS60124755A (en) Information processing unit
JPS60173655A (en) Memory system of multiprocessor
JP4965974B2 (en) Semiconductor integrated circuit device
JPS59173828A (en) Data processing system
JP2008123333A5 (en)
JPH1091527A (en) Storage device and storage medium
JPH0553912A (en) Control method for cache memory
JPS59135684A (en) Data bypass system between buffer memories
JP3219422B2 (en) Cache memory control method
JPH02297656A (en) Data control system
JPS63266572A (en) Data processing system
JPH0612363A (en) Memory controller and multiprocessor system
JPH04199242A (en) Cache storage device
JPH05151104A (en) Data processor
JPH02226447A (en) Computer system and memory access therefor
JPH04205535A (en) Copy on write system