JPS62262159A - Electronic computer - Google Patents

Electronic computer

Info

Publication number
JPS62262159A
JPS62262159A JP61105206A JP10520686A JPS62262159A JP S62262159 A JPS62262159 A JP S62262159A JP 61105206 A JP61105206 A JP 61105206A JP 10520686 A JP10520686 A JP 10520686A JP S62262159 A JPS62262159 A JP S62262159A
Authority
JP
Japan
Prior art keywords
data
bus
arithmetic processing
memory
main memory
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
JP61105206A
Other languages
Japanese (ja)
Inventor
Masaru Nagayasu
勝 永安
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP61105206A priority Critical patent/JPS62262159A/en
Publication of JPS62262159A publication Critical patent/JPS62262159A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To decrease the frequency of making reference to a main memory, by loading an instruction and a data to a memory used exclusively for an arithmetic processing which requires them at the same time with the loading of the instruction and the data to a main memory from a secondary storage device. CONSTITUTION:Arithmetic processors 1-4, a main memory 13 and a secondary storage control device 15 are connected by a data bus 16 and an address but, and the memory 13 can be referred to by obtaining these buses. Also, in case a data to which the processors 1-4 execute an access does not exist in the memory, the processors 1-4 request a data existing in a secondary storage device 14, to the device 15. The device 15 outputs the requested data and the address to the bus 16 and the bus 17, respectively. From the device 14, the data is transferred by a page unit by which the memory 13 is managed, and a size of page memories 5-8 is set to this page size.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、電子計算機の処理速度を向上させる目的のた
めに、演算処理装置とメインメモリ間、あるいは演算処
理装置と二次記憶装置間のデータの転送に関するもので
あり、特に複数個の演算処理装置が存在するシステムに
おいて有効に利用されるものである。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to data transfer between an arithmetic processing unit and a main memory, or between an arithmetic processing unit and a secondary storage device, for the purpose of improving the processing speed of an electronic computer. It relates to transfer, and is particularly effectively used in systems where a plurality of arithmetic processing units exist.

従来の技術 通常データはメインメモリ内に格納されており、一つの
処理をするために演算処理装置は、データをメインメモ
リからフェッチすることになる。また、演算処理装置が
必要とするデータがメインメモリ内に存在しない場合、
二次記憶装置上に保持されているデータを必要に応じて
ページやブロック等と呼ばれる物理的な単位で二次記憶
装置からメインメモリヘロードする。
BACKGROUND OF THE INVENTION Data is usually stored in a main memory, and in order to perform one process, a processing unit fetches the data from the main memory. Also, if the data required by the processing unit does not exist in the main memory,
The data held on the secondary storage device is loaded from the secondary storage device to the main memory in physical units called pages, blocks, etc., as needed.

発明が解決しようとする問題点 演算処理装置は、メインメモリ内に格納されているデー
タを頻繁にフェッチすることになり、特に複数個の演算
処理装置で構成されたシステムにおいては、これらの演
算処理装置との間メインメモリとを結ぶ命令やデータの
転送経路をある特定の演算処理装置が占有することにな
り、その間他の演算処理装置はデータを得ることができ
なくなる。また、演算処理装置が必要とするデータがメ
インメモリ内に存在しない場合、二次記憶装置上に保持
されているデータを必要に応じて二次記憶装置からメイ
ンメモリヘロードする。
Problems to be Solved by the Invention Arithmetic processing units frequently fetch data stored in main memory, and especially in systems composed of multiple processing units, these arithmetic processing A specific arithmetic processing unit occupies the instruction and data transfer path between the device and the main memory, and during that time, other arithmetic processing units are unable to obtain data. Furthermore, if data required by the arithmetic processing unit does not exist in the main memory, the data held on the secondary storage device is loaded from the secondary storage device to the main memory as necessary.

本発明は、かかる点に鑑みてなされたもので、演算処理
装置が直接メインメモリからデータをフェッチする頻度
を減らす手段を提供することを目的としている。
The present invention has been made in view of this point, and an object of the present invention is to provide a means for reducing the frequency with which an arithmetic processing unit directly fetches data from the main memory.

問題点を解決するための手段 本発明は上記目的を達成するため、二次記憶装置からメ
インメモリへ命令およびデータをロードする際に、これ
を必要とした演算処理装置専用のメモリへ同時にロード
するよう構成したものである。
Means for Solving the Problems In order to achieve the above object, the present invention simultaneously loads instructions and data into the memory dedicated to the arithmetic processing unit that requires them when loading instructions and data from the secondary storage device to the main memory. It is structured like this.

作  用 本発明は、−個又は複数個存在する演算処理装置のそれ
ぞれが自分自身のページメモリ内を参照し、ページメモ
リ内に欲しいデータが存在しない場合のみメインメモリ
を直接参照することでメインメモリを参照する頻度を減
らすことができる。
Effects of the present invention The present invention allows each of one or more arithmetic processing units to refer to its own page memory, and directly refers to the main memory only when the desired data does not exist in the page memory. You can reduce the frequency of reference.

実施例 演算処理装置が4個存在する場合の本発明の実施例を第
1図に示す。1〜4は命令を解釈し実行する演算処理装
置であり、5〜8は演算処理装置1〜4にそれぞれ対応
して設けられたページメモリであり、9〜12は1個の
演算処理装置と1個のページメモリを中心として構成さ
れた処理ブロックである。14は磁気ディスク装置など
で実現される二次記憶装置であり、15は記憶装置はD
MA機能を持ったディスクコントローラなどで実現され
る二次記憶制御装置である。演算処理装置1〜4とメイ
ンメモリ13と二次記憶制御装置15とはデータバス1
6およびアドレスバス17で接続されており、これらの
バスを獲得することでメインメモリ13を参照すること
ができる。また、演算処理装置1〜4がアクセスしよう
とするデータがメインメモリ13に存在しない場合、演
算処理装置1〜4は二次記憶制御装置16に対し二次記
憶装置14にあるデータを要求する。二次記憶制御装置
15は、要求されたデータをデータバス16に、アドレ
スをアドレスバス17Vc出力する。二次記憶装置14
からはメインメモリが管理されているページ単位でデー
タが転送されており、ページメモリの大きさはこのペー
ジサイズとする。ページサイズとしては、例えば4にバ
イト〜8にバイトなどで実現される。
Embodiment FIG. 1 shows an embodiment of the present invention in which there are four arithmetic processing units. 1 to 4 are arithmetic processing units that interpret and execute instructions, 5 to 8 are page memories provided corresponding to the arithmetic processing units 1 to 4, respectively, and 9 to 12 are one arithmetic processing unit and This is a processing block configured around one page memory. 14 is a secondary storage device realized by a magnetic disk device, etc. 15 is a storage device D
It is a secondary storage control device realized by a disk controller with MA function. The arithmetic processing units 1 to 4, the main memory 13, and the secondary storage control unit 15 are connected to the data bus 1.
6 and an address bus 17, and by acquiring these buses, the main memory 13 can be referenced. Furthermore, when the data that the processing units 1 to 4 attempt to access does not exist in the main memory 13, the processing units 1 to 4 request the secondary storage control device 16 for the data in the secondary storage device 14. The secondary storage control device 15 outputs the requested data to the data bus 16 and the address to the address bus 17Vc. Secondary storage device 14
Data is transferred from the main memory in units of pages managed by the main memory, and the size of the page memory is assumed to be this page size. The page size is realized, for example, from 4 bytes to 8 bytes.

次に、第2図に処理ブロックの具体的実施例を示す。第
2図は処理ブロック9の具体的実施例であり、処理ブロ
ック10〜12も同様の構造である。処理ブロック9は
演算処理装置1とページメモリ6とページメモリ管理装
置18を持っている。
Next, FIG. 2 shows a concrete example of the processing block. FIG. 2 shows a specific embodiment of the processing block 9, and the processing blocks 10 to 12 have a similar structure. The processing block 9 has an arithmetic processing unit 1, a page memory 6, and a page memory management unit 18.

演算処理装置1とページメモリ管理装置18はデータバ
ス19とアドレスバス20(これらを合わせてバスAと
呼ぶ)で、ページメモリ6とページメモリ管理装置18
は、データバス21とアドレスバス22(これらを合わ
せてバスBと呼ぶ)で、それぞれ信号を伝達し、ページ
メモリ制御装置18はデータバス16へはデータバス2
3で、アドレスバス17へはアドレスバス24でそれぞ
れ信号を出力する(データバス23とアートレスバス2
4を合わせてバスdと呼ぶ)。
The arithmetic processing unit 1 and the page memory management device 18 are connected to the page memory 6 and the page memory management device 18 via a data bus 19 and an address bus 20 (together referred to as bus A).
transmits signals through a data bus 21 and an address bus 22 (together referred to as bus B), and the page memory control device 18 transmits signals to the data bus 16 through data bus 2
3, the address bus 24 outputs signals to the address bus 17 (data bus 23 and artless bus 2).
4 together are called bus d).

演算処理装置1が参照しようとするデータがページメモ
リ5に存在すれば、演算処理装置1は、ページメモリ管
理装置18に対し、バスAからの信号をバスBに、バス
Bからの信号をバスAにそれぞれ伝達するよう要求して
ページメモリ5を参照し、演算処理装置1がページメモ
リ管理装置18に対し、データバス16とアドレスバス
17Q51° 得し、メインメモリ13をアクセスする
ことt避ける。
If the data that the arithmetic processing unit 1 attempts to refer to exists in the page memory 5, the arithmetic processing unit 1 instructs the page memory management unit 18 to transfer the signal from the bus A to the bus B, and the signal from the bus B to the bus B. The arithmetic processing unit 1 requests the data bus 16 and the address bus 17Q51° to the page memory management unit 18 by referring to the page memory 5 and avoids accessing the main memory 13.

・ ページメモリ6の内容を書き換える場合、演算処理
装置1はページメモリ管理装e18に対し、データバス
16とアドレスバス17を獲得し、バスAからの信号を
バスBとバスCの両方に伝達することを要求してページ
メモリ6とメインメモリ13を同時に書き換える。
- When rewriting the contents of page memory 6, arithmetic processing unit 1 acquires data bus 16 and address bus 17 from page memory management unit e18, and transmits the signal from bus A to both bus B and bus C. The page memory 6 and the main memory 13 are rewritten at the same time.

必要とするデータがページメモリ5に存在しない場合、
演算処理装置1はページメモリ管理装置18に対し、デ
ータバス16とアドレスバス17を獲得し、バスAから
の信号をバスCへ、バスCからの信号をバスAへ伝達す
ることを要求してメインメモリ13を参照する。
If the required data does not exist in the page memory 5,
The arithmetic processing unit 1 requests the page memory management unit 18 to acquire the data bus 16 and address bus 17, and to transmit signals from bus A to bus C and signals from bus C to bus A. Refer to main memory 13.

必要とするデータがメインメモリ13に存在しない場合
、演算処理装置1はページメモリ管理装置18に対し、
データバス16とアドレスバス17を獲得し、バスAか
らの信号をバスCへ、バスCからの信号をバスAとバス
Bの両方へそれぞれ伝達することを要求する。さらに演
算処理装置1は二次記憶制御装置16に対し、二次記憶
装置14をアクセスし、データを二次記憶装置14から
データバス16へ、そのデータのアドレスをアドレスバ
ス17に書き出すことを要求する。
If the required data does not exist in the main memory 13, the arithmetic processing unit 1 requests the page memory management unit 18 to
It acquires data bus 16 and address bus 17 and requests to transmit signals from bus A to bus C and signals from bus C to both bus A and bus B, respectively. Furthermore, the processing unit 1 requests the secondary storage control device 16 to access the secondary storage device 14, write data from the secondary storage device 14 to the data bus 16, and write the address of the data to the address bus 17. do.

ページメモリ管理装置18はページメモリ6にあるペー
ジのページ番号を持っており演算処理装置1が二次記憶
装置14のデータを要求していない間ハ、アドレスバス
17上のアドレスを取り込みページメモリ5に保持して
いるページが変更されないかを確かめ、変更されること
が分かったらページ番号をクリアしページメモリ5の内
容を無効にする。これにより、他の演算処理装置がメイ
ンメモリ13の内容を変更してしまってもその後の処理
に支障をきたすことがない。
The page memory management device 18 has the page number of the page in the page memory 6, and while the arithmetic processing device 1 is not requesting data in the secondary storage device 14, the page memory management device 18 takes in the address on the address bus 17 and stores the page memory 5 in the page memory 6. It is checked whether the page held in the page has been changed, and if it is found that the page has been changed, the page number is cleared and the contents of the page memory 5 are invalidated. Thereby, even if another arithmetic processing device changes the contents of the main memory 13, subsequent processing will not be hindered.

なお、本実施例は演算処理装置の個数が4個の場合につ
いてであるが、勿論本発明は、演算処理装置の個数に制
限されることなく容易に実施できる。
Although this embodiment deals with the case where the number of arithmetic processing units is four, it goes without saying that the present invention can be easily implemented without being limited to the number of arithmetic processing units.

発明の効果 以上のことにより、演算処理装置がアドレスバスおよび
データバスを使う回数を減らすことが可能になり、また
この効果はより多くの演算処理装置が共通のメインメモ
リを参照するような場合によシ有効であり、マルチプロ
セッサ・システムなどのコンピュータに応用したとき極
めて高い効果を発揮するものである。
More than just the effects of the invention, it is possible to reduce the number of times a processing unit uses the address bus and data bus, and this effect is even more effective when more processing units refer to a common main memory. It is very effective and exhibits extremely high effects when applied to computers such as multiprocessor systems.

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

第1図は、演算処理装置が4個存在する場合の本発明の
実施例の計算機のブロック図、第2図は処理ブロックの
具体的実施例を示すブロック図である。 1〜4・・・・・・演算処理装置、5〜8・・・・・・
ページメモリ、9〜12・・・・・・処理ブロック、1
3・・・・・・メインメモリ、14・・・・−・二次記
憶装置、16・・・・・・二次記憶制御装置、16・・
・・・・データバス、17・・・・・・アドレスバス、
18・・・・・・ページメモリ管理装置、19.21.
23・・・・・・データバス、20 、22 。 24・・・・・・アドレスバス。 代理人の氏名 弁理士 中 尾 敏 男 ほか1名菓 
1 図
FIG. 1 is a block diagram of a computer according to an embodiment of the present invention when there are four arithmetic processing units, and FIG. 2 is a block diagram showing a specific embodiment of processing blocks. 1-4... Arithmetic processing unit, 5-8...
Page memory, 9-12...Processing block, 1
3...Main memory, 14...-Secondary storage device, 16...Secondary storage control device, 16...
...Data bus, 17...Address bus,
18...Page memory management device, 19.21.
23...Data bus, 20, 22. 24...Address bus. Name of agent: Patent attorney Toshio Nakao and one other name
1 figure

Claims (1)

【特許請求の範囲】[Claims] 命令を解釈し実行する一個又は複数個の演算処理装置と
、前記演算処理装置が共通にアクセスするメインメモリ
と、前記演算処理装置それぞれに一対一対応する一個又
は複数個のページメモリと、二次記憶装置とを具備し、
前記演算処理装置が対応する前記ページメモリか又は前
記メインメモリにあるデータをアクセスする過程におい
て、前記演算処理装置が前記アクセスしようとするデー
タが前記ページメモリ内に存在しない場合に前記メイン
メモリをアクセスし、さらに前記アクセスしようとする
データが前記メインメモリ内に存在しない場合に前記二
次記憶装置から前記アクセスしようとするデータを前記
メインメモリへロードすると同時に、前記アクセスしよ
うとするデータを要求している前記演算処理装置に対応
する前記ページメモリへロードすることを特徴とする電
子計算機。
one or more arithmetic processing units that interpret and execute instructions; a main memory that is commonly accessed by the arithmetic processing units; one or more page memories that have one-to-one correspondence with each of the arithmetic processing units; and a storage device;
In the process in which the arithmetic processing unit accesses data in the corresponding page memory or the main memory, the arithmetic processing unit accesses the main memory if the data to be accessed does not exist in the page memory. Further, if the data to be accessed does not exist in the main memory, the data to be accessed is loaded from the secondary storage device to the main memory, and at the same time, the data to be accessed is requested. An electronic computer characterized in that the page memory is loaded to the page memory corresponding to the arithmetic processing unit.
JP61105206A 1986-05-08 1986-05-08 Electronic computer Pending JPS62262159A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61105206A JPS62262159A (en) 1986-05-08 1986-05-08 Electronic computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61105206A JPS62262159A (en) 1986-05-08 1986-05-08 Electronic computer

Publications (1)

Publication Number Publication Date
JPS62262159A true JPS62262159A (en) 1987-11-14

Family

ID=14401192

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61105206A Pending JPS62262159A (en) 1986-05-08 1986-05-08 Electronic computer

Country Status (1)

Country Link
JP (1) JPS62262159A (en)

Similar Documents

Publication Publication Date Title
US4173783A (en) Method of accessing paged memory by an input-output unit
JPH04246745A (en) Memory access system
JPH0354660A (en) Shared memory management system for multiprocessor system
US5727179A (en) Memory access method using intermediate addresses
JPH01169557A (en) Storage control system for computer
JPS63253448A (en) Multi-computer device
JPS62262159A (en) Electronic computer
JPS593774A (en) Access processing system
JPS6345669A (en) Multi-processor system
JPH01142846A (en) Cache memory control system for information processor
JPH06274415A (en) Shared memory system
JPS6010336B2 (en) Address comparison method
JPH04181454A (en) Data access controller
JPH0612363A (en) Memory controller and multiprocessor system
JPS63286959A (en) Memory access system
JPH10247182A (en) Multiprocessor system
JPS6349257B2 (en)
JPH02226447A (en) Computer system and memory access therefor
JPS63217460A (en) Buffer control circuit
JPH02101552A (en) Address conversion buffer processing system
JPH0573518A (en) Memory mapped cpu system
JPH04291642A (en) Cache control system
JPH0752423B2 (en) Data transfer control method
JPS63231650A (en) Cache memory control system
JPH028946A (en) Cache memory control system