JPS63186347A - Memory device - Google Patents

Memory device

Info

Publication number
JPS63186347A
JPS63186347A JP62019373A JP1937387A JPS63186347A JP S63186347 A JPS63186347 A JP S63186347A JP 62019373 A JP62019373 A JP 62019373A JP 1937387 A JP1937387 A JP 1937387A JP S63186347 A JPS63186347 A JP S63186347A
Authority
JP
Japan
Prior art keywords
page
storage area
page address
extended
storage 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.)
Pending
Application number
JP62019373A
Other languages
Japanese (ja)
Inventor
Kiyoshi Senba
仙波 清
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 JP62019373A priority Critical patent/JPS63186347A/en
Publication of JPS63186347A publication Critical patent/JPS63186347A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To omit the transfer of data between memories and to realize a high- speed access to the memory by using simultaneously a main memory area and an extended memory area and at the same time adding the memories to both memory areas to store data for each page. CONSTITUTION:The storing subjects such as the processing programs, the data to be processed, etc., are stored for each page into a main memory area and an extended memory area in a memory 1. The head address of each page and the page addresses of each memory area are held in each entry of both a main memory area page address conversion table 11 and an extend memory area page address conversion table 21 respectively. When an access is given to the memory 1, the entry numbers of the table 11 are set at an entry holding register 12 and at the same time the intra-page addresses are set at an intra-page address holding register 14. Then the main memory page addresses held in the entries of the table 11 are read out and held by a page address holding register 13. These page addresses and the addresses given from the register 14 are used for accesses given to the memory 1.

Description

【発明の詳細な説明】 発明の目的 産業上の利用分野。[Detailed description of the invention] purpose of invention Industrial applications.

・本発明は、電子計算機システムで使用される記憶装置
に関するものである。
- The present invention relates to a storage device used in an electronic computer system.

従来の技術 一般に、電子計算機システムでは、主記憶装置が高速の
半導体メモリで構成されるのに対し、二次記憶装置は磁
気ディスクなど低速のメモリで構成される。このため、
ページ入換えにかかる時間によってメモリアクセス速度
、ひいてはデータ処理速度が制限されてしまう。
2. Description of the Related Art In general, in electronic computer systems, the main storage device is composed of a high-speed semiconductor memory, whereas the secondary storage device is composed of a low-speed memory such as a magnetic disk. For this reason,
The time it takes to replace pages limits memory access speed and, by extension, data processing speed.

そこで、処理速度の向上を図るため、主記憶装置と二次
記憶装置との間に半導体メモリなどを使用した高速の拡
張記憶装置を設置し、主記憶装置との間の高速データ転
送によりページの入換え時間を短縮するという階層化メ
モリ構成も採用されている。典型的には、スーパーコン
ピュータなどでは、拡張記憶装置と主記憶装置との間で
IGバイト/秒程度もの高速データ転送が行われる。
Therefore, in order to improve processing speed, a high-speed expansion storage device using semiconductor memory or the like is installed between the main storage device and the secondary storage device. A layered memory configuration is also used to reduce replacement time. Typically, in a supercomputer or the like, high-speed data transfer of about IG bytes/second is performed between an extended storage device and a main storage device.

発明が解決しようとする問題点 上記従来の記憶装置では、拡張記憶装置と主記憶装置間
のデニタ転送をかなりの高速で行うとしてもこの転送に
かかる時間だけ確実にアクセス速度が低下するという問
題がある。
Problems to be Solved by the Invention In the above-mentioned conventional storage devices, even if the data transfer between the expanded storage device and the main storage device is performed at a fairly high speed, the access speed is definitely reduced by the time taken for this transfer. be.

発明の構成 問題点を解決するための手段 本発明に係わる記憶装置は、主記憶領域と拡張記憶領域
を混在させつつ各記憶領域にページ単位のデータを記憶
する記憶装置を備え、従来は物理的に分離された主記憶
装置と拡張記憶装置との間で分散管理していたデータを
大容量化しつつある単一の記憶装置上で集中管理するこ
とにより、記憶装置間のデータ転送を不要としてアクセ
スの高速化を図るように構成されている。
A storage device according to the present invention includes a storage device that stores data in units of pages in each storage area while having a main storage area and an extended storage area. By centrally managing data that was previously managed in a distributed manner between separate main storage and expanded storage on a single, increasingly large-capacity storage device, access is now possible without the need for data transfer between storage devices. The system is configured to speed up the process.

さらに、本発明の記憶装置は、主記憶領域及び拡張記憶
領域それぞれのページアドレス変換テーブルとこれら各
変換テーブルの保持内容を入換えることによって任意の
ページを主記憶領域と拡張記憶領域との間で入換える手
段とを備え、上記tα装置と拡張記憶装置とが物理的に
分離されていた従来装置におけるソフトウェアをほとん
ど変更することなく、極めて簡易なハードウェア構成の
もとに高速なページ管理を可能とするように構成されて
いる。
Furthermore, the storage device of the present invention swaps the page address conversion tables for each of the main storage area and extended storage area and the contents held in each of these conversion tables, thereby converting any page between the main storage area and the extended storage area. The present invention is equipped with means for replacing the tα device and the extended storage device, and enables high-speed page management based on an extremely simple hardware configuration, with almost no changes to the software in conventional devices in which the tα device and the extended storage device were physically separated. It is configured so that.

以下、本発明の更に詳細を実施例と共に説明する。Hereinafter, further details of the present invention will be explained together with examples.

実施例 第1図は、本発明の一実施例に係わる記憶装置の構成を
示すブロック図である。
Embodiment FIG. 1 is a block diagram showing the configuration of a storage device according to an embodiment of the present invention.

図中、1は主記憶領域と拡張記憶領域とが混在される記
憶装置、11は主記憶領域ページアドレス変換テーブル
、12はエントリ保持レジスタ、13はページアドレス
保持レジスタ、14はページ内アドレス保持レジスタで
ある。また、21は拡張記憶領域ページアドレス変換テ
ーブル、22はエントリ保持レジスタ、23はページア
ドレス保持レジスタである。
In the figure, 1 is a storage device in which a main storage area and an extended storage area are mixed, 11 is a main storage area page address conversion table, 12 is an entry holding register, 13 is a page address holding register, and 14 is an intra-page address holding register. It is. Further, 21 is an extended storage area page address conversion table, 22 is an entry holding register, and 23 is a page address holding register.

記憶装置1内に混在される主舵+!!領域と拡張記憶領
域には、処理プログラムや処理対象のデータなどの記憶
対象がページ単位で格納される。主記憶領域ページアド
レス変換テーブル11内の各エントリには、主記憶領域
に属する各ページの先頭アドレス(「主記憶領域のペー
ジアドレス」と称する)が保持される。また、拡張記憶
領域ページアドレス変換テーブル21内の各エントリに
は、拡張記憶領域に属する各ページのページアドレスが
保持される。
Main rudder + mixed in storage device 1! ! In the area and the extended storage area, storage objects such as processing programs and data to be processed are stored in units of pages. Each entry in the main storage area page address conversion table 11 holds the start address of each page belonging to the main storage area (referred to as "main storage area page address"). Furthermore, each entry in the extended storage area page address conversion table 21 holds the page address of each page belonging to the extended storage area.

中央処理装置などの上位装置(図示せず)は、記憶装置
1へのアクセスに際し、アクセス対象ページの先頭アド
レスを保持中の主記憶領域ページアドレス変換テーブル
11内のエントリ番号をエントリ保持レジスタ12に設
定すると共に、そのページ内アドレスをページ内アドレ
ス保持レジスタ14に設定する。エントリ保持レジスタ
12に設定されたエントリ番号を有する主記憶ページア
ドレス変換テーブル11内のエントリからそこに保持中
の主記憶ページアドレスが読出され、ページアドレス保
持レジスタ13に保持され、上位アドレとして記憶装置
1に供給される。これと同時に、ページ内アドレス保持
レジスタ14に保持中のページ内アドレスが下位アドレ
スとして記憶装置1に供給され、上位装置による記憶装
置1のアクセスが行われる。
When accessing the storage device 1, a host device such as a central processing unit (not shown) stores the entry number in the main storage page address conversion table 11, which holds the start address of the page to be accessed, in the entry holding register 12. At the same time, the intra-page address is set in the intra-page address holding register 14. The main memory page address held there is read from the entry in the main memory page address conversion table 11 having the entry number set in the entry holding register 12, is held in the page address holding register 13, and is sent to the storage device as an upper address. 1. At the same time, the intra-page address held in the intra-page address holding register 14 is supplied to the storage device 1 as a lower address, and the storage device 1 is accessed by the upper device.

例えば、図示のように、主記憶領域ページアドレス変換
テーブル11の各エントリには、主記憶領域に格納中の
各ページのページアドレスal。
For example, as shown in the figure, each entry of the main storage area page address conversion table 11 contains the page address al of each page stored in the main storage area.

a2・・・・が格納されているものとすれば、エントリ
保持レジスタ12に設定されるエントリ番号に応じてペ
ージアドレスal、a2・・・・がページアドレス保持
レジスタ13に読出される。
If the page addresses a2, . . . are stored, the page addresses al, a2, .

また、図示のように、拡張記憶領域ページアドレス変換
テーブル21の各エントリには、拡張記憶S]iMに格
納中の各ページのページアドレスa 2 +a4・・・
・が格納されているものとすれば、エン、トリ保持レジ
スタ22に設定されるエントリ番号に応じて各エントリ
に格納されているページアドレスa2.a4・・・・が
ページアドレス保持レジスタ23に読出される。
Further, as shown in the figure, each entry of the extended storage area page address conversion table 21 contains the page address a 2 +a4 . . . of each page stored in the extended storage S]iM.
. is stored, the page address a2 . a4 . . . are read to the page address holding register 23.

アクセス対象のページが主記憶領域にではなく拡張記憶
領域に存在する場合には、そのページへのアクセスに先
立って、拡張記憶領域から主記憶領域へのページの入換
えが行われる。ただし、この記憶装置では主記憶領域と
拡張記憶領域とが物理的に同一の記憶装置内に混在され
ているため・ページの入換えにはデータ転送が伴わず、
両記憶領域の変換テーブル11と21の保持内容の交換
だけでページの入換えが実現される。
If the page to be accessed exists not in the main storage area but in the extended storage area, the page is swapped from the expanded storage area to the main storage area prior to accessing the page. However, in this storage device, the main storage area and extended storage area are physically coexisted within the same storage device, and page swapping does not involve data transfer.
Page swapping is achieved simply by exchanging the contents held in the conversion tables 11 and 21 in both storage areas.

例えば、主記憶領域に属すると共にページアドレスa1
を有するページと、拡張記憶領域に属すると共にページ
アドレスa3を有するページとが入換えられるものとす
る。まず、ページ入換えに関連する各エントリ番号がエ
ントリ保持レジスタ12と22のそれぞれに設定される
。これに伴い、拡張記憶領域から新たに主記憶領域側に
変更されるページのページアドレスa3がページアドレ
ス保持レジスタ23に読出される共に、これと入れ換わ
りに主記憶領域側から拡張記憶領域、側に退避されるペ
ージのページアドレスa1がページアドレス保持レジス
タ13に読出される。ページアドレス保持レジスタ23
と13のそれぞれに読出されたページアドレスa3とa
lは、エントリ保持レジスタ12と22のそれぞれによ
って指定されている主記憶領域ページアドレス変換テー
ブルll内のエントリと拡張記憶領域ページアドレス変
換テーブル21内のエントリに書込まれる。この結果、
主記憶領域と拡張記憶領域間のページの入換えに伴う変
換テーブル11と21の内容の更新が完了する。
For example, it belongs to the main storage area and the page address a1
It is assumed that the page having the page address a3 and the page belonging to the extended storage area and having the page address a3 are exchanged. First, each entry number related to page replacement is set in the entry holding registers 12 and 22, respectively. Along with this, the page address a3 of the page to be newly changed from the extended storage area to the main storage area side is read to the page address holding register 23, and in place of this, the page address a3 of the page to be changed from the main storage area side to the extended storage area side is read out. The page address a1 of the page to be saved is read to the page address holding register 13. Page address holding register 23
and page addresses a3 and a read to 13, respectively.
l is written to the entry in the main storage area page address translation table 11 and the entry in the extended storage area page address translation table 21 specified by the entry holding registers 12 and 22, respectively. As a result,
The updating of the contents of the conversion tables 11 and 21 due to the exchange of pages between the main storage area and the extended storage area is completed.

発明の効果 以上詳細に説明したように、本発明の記憶装置は、主記
憶領域と拡張記憶領域を混在させつつ各記憶領域にペー
ジ単位のデータを記憶する記憶装置を備える構成である
から、記憶装置間のデータ転送が不要となり、高速のア
クセスを実現できる効果がある。
Effects of the Invention As explained in detail above, the storage device of the present invention has a configuration including a storage device that stores data in units of pages in each storage area while having a main storage area and an extended storage area. This eliminates the need for data transfer between devices and has the effect of realizing high-speed access.

さらに、本発明の記憶装置は、主記憶領域及び拡張記憶
領域のそれぞれのページアドレス変換テーブルと、これ
らの保持内容を入換えることによヮて任意のページを主
記憶領域と拡張記憶領域との間で入換える手段とを備え
る構成であるから、主記憶装置と拡張記憶装置とが物理
的に分離されていた従来装置のソフトウェアをほとんど
変更することなく、極めて簡易なハードウェア構成のも
とて高速なページ管理を実現できる。
Furthermore, the storage device of the present invention can transfer any page between the main storage area and the extended storage area by exchanging the page address conversion tables of the main storage area and the extended storage area and their retained contents. Since the configuration is equipped with a means for exchanging between the main storage device and the extended storage device, it is possible to create an extremely simple hardware configuration without changing the software of conventional devices in which the main storage device and the extended storage device are physically separated. Achieves high-speed page management.

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

第1図は本発明の一実施例の記憶装置の構成を示すブロ
ック図である。 l・・・主記憶領域と拡張記憶領域が混在される記憶装
置、11・・・主記憶領域ページアドレス変換テーブル
、21・・・拡張記憶領域ページアドレス変換テーブル
、12.22・・・エントリ保持レジスタ、13.23
・・・ページアドレス保持レジスタ。
FIG. 1 is a block diagram showing the configuration of a storage device according to an embodiment of the present invention. l...Storage device in which main storage area and extended storage area are mixed, 11...Main storage area page address conversion table, 21...Extended storage area page address conversion table, 12.22... Entry holding Register, 13.23
...Page address holding register.

Claims (1)

【特許請求の範囲】 主記憶領域と拡張記憶領域を混在させつつ各記憶領域に
ページ単位のデータを記憶する記憶装置と、 前記主記憶領域のページアドレスを各エントリに保持す
ると共にアクセスの際に指定されたエントリに保持中の
主記憶領域のページアドレスを読出して前記記憶装置に
供給する主記憶領域ページアドレス変換テーブルと、 前記拡張記憶領域のページのアドレスを各エントリに保
持する拡張記憶領域ページアドレス変換テーブルと、 前記主記憶領域ページアドレス変換テーブルと拡張記憶
領域ページアドレス変換テーブルの保持内容を入換える
ことにより、任意のページを主記憶領域と拡張記憶領域
間で入換える手段とを備えたことを特徴とする記憶装置
[Scope of Claims] A storage device that stores page-by-page data in each storage area while having a main storage area and an extended storage area mixed together; A main storage area page address conversion table that reads out the page address of the main storage area held in a designated entry and supplies it to the storage device; and an extended storage area page that holds the address of the page of the expanded storage area in each entry. an address conversion table; and means for exchanging any page between the main storage area and the extended storage area by exchanging the contents held in the main storage area page address conversion table and the extended storage area page address conversion table. A storage device characterized by:
JP62019373A 1987-01-29 1987-01-29 Memory device Pending JPS63186347A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62019373A JPS63186347A (en) 1987-01-29 1987-01-29 Memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62019373A JPS63186347A (en) 1987-01-29 1987-01-29 Memory device

Publications (1)

Publication Number Publication Date
JPS63186347A true JPS63186347A (en) 1988-08-01

Family

ID=11997524

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62019373A Pending JPS63186347A (en) 1987-01-29 1987-01-29 Memory device

Country Status (1)

Country Link
JP (1) JPS63186347A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0285942A (en) * 1988-09-21 1990-03-27 Hitachi Ltd Data processing system
JP2008130092A (en) * 2006-11-16 2008-06-05 Samsung Electronics Co Ltd Apparatus and method for managing data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0285942A (en) * 1988-09-21 1990-03-27 Hitachi Ltd Data processing system
JP2008130092A (en) * 2006-11-16 2008-06-05 Samsung Electronics Co Ltd Apparatus and method for managing data

Similar Documents

Publication Publication Date Title
JP4562919B2 (en) Method and apparatus for implementing dynamic display memory
US8185716B2 (en) Memory system and method for using a memory system with virtual address translation capabilities
US5864876A (en) DMA device with local page table
CA2111600A1 (en) Parallel Processing System
JPH04308953A (en) Virtual address computer system
JPS63186347A (en) Memory device
JP2004530962A (en) Cache memory and addressing method
GB2221066A (en) Address translation for I/O controller
JPH1091527A (en) Storage device and storage medium
JPS6237754A (en) Virtual extension storage system
JP3157673B2 (en) Virtual storage system
WO1993009497A3 (en) Memory unit including a multiple write cache
JPS5815877B2 (en) Buffer memory control method
JPS6349771Y2 (en)
JPH0652056A (en) Cache memory system
JPS5995661A (en) Storage system
SU1541623A1 (en) Device for interfacing computer with peripheral device
JPS60181946A (en) Virtual storing system
JPS61165156A (en) Storage key controlling system
JPS6349807B2 (en)
JPH04205535A (en) Copy on write system
JPS61246850A (en) Buffer storage control system
JPS56145583A (en) Buffer memory device
JPS6138506B2 (en)
JPH0159611B2 (en)