JPH07200407A - Virtual storage system - Google Patents

Virtual storage system

Info

Publication number
JPH07200407A
JPH07200407A JP5355490A JP35549093A JPH07200407A JP H07200407 A JPH07200407 A JP H07200407A JP 5355490 A JP5355490 A JP 5355490A JP 35549093 A JP35549093 A JP 35549093A JP H07200407 A JPH07200407 A JP H07200407A
Authority
JP
Japan
Prior art keywords
page
storage device
address
virtual
secondary storage
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.)
Granted
Application number
JP5355490A
Other languages
Japanese (ja)
Other versions
JP3157673B2 (en
Inventor
Shigeru Furusawa
茂 古沢
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 JP35549093A priority Critical patent/JP3157673B2/en
Publication of JPH07200407A publication Critical patent/JPH07200407A/en
Application granted granted Critical
Publication of JP3157673B2 publication Critical patent/JP3157673B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To increase secondary storage capacity without increasing the size of a page descriptor. CONSTITUTION:Plural page tables 200 indicated with logical addresses 100 contain secondary storage device numbers for selecting one of plural secondary storage devices 300. When page absence information indicates 'page absence', a secondary storage device 300 indicated with a secondary storage device number is accessed with the page address paired with the page absence information. When the page absence information indicates 'page presence', a main storage device 400 is accessed by using the page address paired with the page absence information as a physical address.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、情報処理装置における
仮想記憶システムに関し、特に大容量の二次記憶装置を
管理する仮想記憶システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a virtual storage system in an information processing device, and more particularly to a virtual storage system for managing a large capacity secondary storage device.

【0002】[0002]

【従来の技術】従来の仮想記憶システムでは、仮想アド
レスを物理アドレスに変換するページテーブル内にペー
ジ記述子というページごとの管理情報を備え、このペー
ジ記述子によって二次記憶装置内の格納位置等の情報を
管理していた。
2. Description of the Related Art In a conventional virtual memory system, a page table for converting a virtual address into a physical address is provided with management information for each page called a page descriptor, and the page descriptor stores the storage position in a secondary storage device. Was managing information.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の仮想記
憶システムでは、管理できる二次記憶装置の総容量がペ
ージ記述子のサイズによって制限され、二次記憶装置の
容量を増加することが困難であった。また、逆にページ
記述子のサイズを増やすことはページテーブルのサイズ
に大きな影響を与えるため、ページ記述子のサイズ自体
を増やすことも困難であった。
In the above-mentioned conventional virtual storage system, the total capacity of the secondary storage devices that can be managed is limited by the size of the page descriptor, and it is difficult to increase the capacity of the secondary storage device. there were. On the contrary, increasing the size of the page descriptor has a great influence on the size of the page table, so it is difficult to increase the size of the page descriptor itself.

【0004】[0004]

【課題を解決するための手段】上記課題を解決するた
め、本願発明は、仮想記憶空間を管理する仮想記憶シス
テムであって、一定の大きさのページごとに分割された
前記仮想記憶空間の一部を格納する主記憶装置と、前記
ページごとに分割された仮想記憶空間のうち前記主記憶
装置に格納されていない記憶空間を格納する複数の二次
記憶装置と、前記主記憶装置を前記ページごとに管理す
る主記憶管理テーブルと、前記複数の二次記憶装置の一
つを識別する二次記憶装置番号と前記ページごとに分割
された仮想記憶空間を管理する複数のページ記述子とを
含む複数のページテーブルとを含むまた、前記ページ記
述子の各々は、前記ページごとに分割された仮想記憶空
間が前記主記憶装置に格納されているか否かを表すペー
ジ不在情報と、前記ページごとに分割された仮想記憶空
間が前記主記憶装置に格納されている場合には前記主記
憶装置の物理アドレスを保持し前記ページごとに分割さ
れた仮想記憶空間が前記主記憶装置に格納されていない
場合には前記二次記憶装置内のアドレスを保持するペー
ジアドレス情報とを含む。
In order to solve the above-mentioned problems, the present invention is a virtual memory system for managing a virtual memory space, wherein the virtual memory space is divided into pages of a certain size. A main storage device that stores a copy, a plurality of secondary storage devices that store a storage space that is not stored in the main storage device in the virtual storage space that is divided for each page, and the main storage device that stores the page A main memory management table for managing each of the plurality of secondary storage devices, a secondary storage device number for identifying one of the plurality of secondary storage devices, and a plurality of page descriptors for managing the virtual storage space divided for each page. Each of the page descriptors includes a plurality of page tables, and page fault information indicating whether a virtual storage space divided for each page is stored in the main storage device, and When a virtual memory space divided for each page is stored in the main memory device, the physical address of the main memory device is held and the virtual memory space divided for each page is stored in the main memory device. If not, the page address information holding the address in the secondary storage device is included.

【0005】[0005]

【実施例】次に本願発明の仮想記憶システムの一実施例
について図面を参照して詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the virtual storage system of the present invention will be described in detail with reference to the drawings.

【0006】図1を参照すると、本願発明の一実施例で
ある仮想記憶システムは、論理アドレス100によって
指示されるページテーブル200と、主記憶装置400
と、主記憶装置400を管理する主記憶管理テーブル5
00と、主記憶装置400に格納しきれない記憶領域を
退避する複数の二次記憶装置300とを含んでいる。
Referring to FIG. 1, a virtual storage system according to an embodiment of the present invention includes a page table 200 designated by a logical address 100 and a main storage device 400.
And a main memory management table 5 for managing the main memory 400
00 and a plurality of secondary storage devices 300 that save the storage area that cannot be stored in the main storage device 400.

【0007】論理アドレス100は、ページとよばれる
一定の大きさの記憶空間を単位として管理される。論理
アドレス100は、例えば、図2に示すようにセグメン
トアドレス110と、セグメント内ページアドレス12
0と、ページ内アドレス130とから成る。セグメント
アドレス110は複数のページテーブル200の一つを
選択するために使用され、セグメント内ページアドレス
120は選択されたページテーブル内でページを選択す
るために使用される。ページ内アドレス130は主記憶
装置400上のページアドレスまたは二次記憶装置30
0上のページアドレスが決定された後にページ内のアド
レスとして使用される。
The logical address 100 is managed in units of a storage space of a certain size called a page. The logical address 100 is, for example, a segment address 110 and an intra-segment page address 12 as shown in FIG.
It consists of 0 and an in-page address 130. The segment address 110 is used to select one of the plurality of page tables 200, and the in-segment page address 120 is used to select a page in the selected page table. The in-page address 130 is the page address on the main storage device 400 or the secondary storage device 30.
It is used as the address within the page after the page address on 0 has been determined.

【0008】ページテーブル200は、システム内に複
数存在し、各ページテーブルは複数のページを管理す
る。この各ページテーブルに割り当てられるページ群の
各々をセグメントとよぶ。このセグメント内の複数のペ
ージの各々に対応して、ページテーブル200には、ペ
ージ不在情報とページアドレスから成るページ記述子を
含んでいる。ページ記述子のページ不在情報は、該当す
るページが主記憶上に存在するか否かを示すものであ
る。本実施例では、主記憶上に存在する場合を”1”と
し、二次記憶上に退避されている場合には”0”とする
が、これは逆であるように規定しても構わないことはい
うまでもない。また、ページ記述子のページアドレスに
は、ページが主記憶上に存在する場合には主記憶上の物
理アドレスが格納され、ページ不在状態の場合には二次
記憶装置上の二次記憶装置アドレスが格納される。
A plurality of page tables 200 exist in the system, and each page table manages a plurality of pages. Each page group assigned to each page table is called a segment. Corresponding to each of the plurality of pages in this segment, the page table 200 includes a page descriptor including page absence information and a page address. The page absent information of the page descriptor indicates whether or not the corresponding page exists in the main memory. In the present embodiment, "1" is set when it exists in the main memory and "0" when it is saved in the secondary storage, but it may be specified to be the opposite. Needless to say. The page address of the page descriptor stores the physical address in the main memory when the page exists in the main memory, and the secondary storage device address in the secondary storage device when the page does not exist. Is stored.

【0009】さらに、各ページテーブル200は、複数
の二次記憶装置300から一つを選択するために二次記
憶装置番号を有している。従って、実際の二次記憶装置
上の位置は、この二次記憶装置番号と上述の二次記憶装
置アドレスとを組み合わせることによって確定すること
ができる。
Further, each page table 200 has a secondary storage device number for selecting one from a plurality of secondary storage devices 300. Therefore, the actual position on the secondary storage device can be determined by combining this secondary storage device number and the above-mentioned secondary storage device address.

【0010】これら複数のページテーブル200から一
つを選択するためには、例えば図2のセグメントアドレ
スを使用する。そして、選択されたページテーブル20
0においてページ記述子を選択するためには、セグメン
ト内ページアドレス120を使用する。
To select one from the plurality of page tables 200, the segment address shown in FIG. 2 is used, for example. Then, the selected page table 20
To select a page descriptor at 0, the page address within segment 120 is used.

【0011】主記憶装置400は、(図示しない)処理
装置からアクセスされる記憶装置であり、ページテーブ
ル200によってページごとに、物理アドレスによりア
クセスされる。
The main storage device 400 is a storage device accessed by a processing device (not shown), and is accessed by a physical address for each page by the page table 200.

【0012】主記憶装置管理テーブル500は、主記憶
装置400を管理するための情報を格納するものであ
る。この主記憶装置管理テーブル500に格納される管
理情報の一つとして、主記憶装置400上の各ページが
二次記憶装置300上に退避される際の二次記憶装置ア
ドレスを含んでいる。
The main storage device management table 500 stores information for managing the main storage device 400. As one of the management information stored in the main storage device management table 500, a secondary storage device address when each page in the main storage device 400 is saved in the secondary storage device 300 is included.

【0013】二次記憶装置300は、仮想記憶空間領域
の内、主記憶装買に格納しきれなかった領域を退避する
ためのものである。この二次記憶装置300は、システ
ム内に複数存在し、いずれの二次記憶装置300にアク
セスすべきかはページテーブル200内の二次記憶装置
番号により決定される。
The secondary storage device 300 is for evacuating an area of the virtual storage space area that could not be stored in the main storage device. There are a plurality of secondary storage devices 300 in the system, and which secondary storage device 300 should be accessed is determined by the secondary storage device number in the page table 200.

【0014】次に本願発明の一実施例である仮想記憶シ
ステムにおける記憶アクセスの処理の流れについて説明
する。
Next, the flow of storage access processing in the virtual storage system according to the embodiment of the present invention will be described.

【0015】図3を参照すると、本願発明の一実施例に
おける記憶アクセスでは、まず、論理アドレス100の
セグメントアドレス110によりページテーブル200
を選択する(ステップ201)。そして、論理アドレス
100のセグメント内ページアドレス120により、ペ
ージテーブル200内のページ記述子を選択する(ステ
ップ202)。
Referring to FIG. 3, in the memory access according to the embodiment of the present invention, first, the page table 200 is set by the segment address 110 of the logical address 100.
Is selected (step 201). Then, the page descriptor in the page table 200 is selected according to the in-segment page address 120 of the logical address 100 (step 202).

【0016】上記処理により選択されたページテーブル
200内のページ記述子において、ページ不在情報が
「ページ存在」(”1”)を示していれば(ステップ2
03)、そのページ記述子のページアドレスには主記憶
装置400の物理アドレスが格納されている。この場合
には、この物理アドレスを用いることにより(ステップ
209)、主記憶装置400にアクセスすることができ
る(ステップ208)。
In the page descriptor in the page table 200 selected by the above process, if the page absent information indicates "page exists"("1") (step 2)
03), the physical address of the main memory 400 is stored in the page address of the page descriptor. In this case, by using this physical address (step 209), the main memory 400 can be accessed (step 208).

【0017】上記処理により選択されたページテーブル
200内のページ記述子において、ページ不在情報が
「ページ不在」(”0”)を示している場合には(ステ
ップ203)、そのページ記述子のページアドレスには
二次記憶装置300内の二次記憶装置アドレスが格納さ
れている。この場合には、そのページテーブルの二次記
憶装置番号により、いずれの二次記憶装置300である
かを決定する(ステップ204)。そして、そのページ
記述子のページアドレスに格納されている二次記憶装置
アドレスによって二次記憶装置内のアドレスを決定する
(ステップ205)。
In the page descriptor in the page table 200 selected by the above processing, if the page fault information indicates "page fault"("0") (step 203), the page of the page descriptor. The secondary storage device address in the secondary storage device 300 is stored in the address. In this case, which secondary storage device 300 is determined by the secondary storage device number of the page table (step 204). Then, the address in the secondary storage device is determined by the secondary storage device address stored in the page address of the page descriptor (step 205).

【0018】続いて、このようにして決定された二次記
憶装置300の該当ページを主記憶装置400上に転送
(以下、ページイン処理という)する(ステップ20
6)。このページ転送に伴って、ページテーブル200
の該当ページ記述子を書き換える(ステップ207)。
すなわち、ページ不在情報を「ページ存在」(”1”)
にして、そのページ記述子のページアドレスに格納され
ている二次記憶装置アドレスを主記憶管理テーブル50
0に退避した後、そのページ記述子のページアドレスに
主記憶装置400の物理アドレスを設定する。その後、
主記憶装置400に転送されたそのページにアクセスす
ることができる(ステップ208)。
Subsequently, the relevant page of the secondary storage device 300 thus determined is transferred to the main storage device 400 (hereinafter referred to as page-in processing) (step 20).
6). Along with this page transfer, the page table 200
The corresponding page descriptor of is rewritten (step 207).
That is, the page absence information is set to "page exists"("1").
Then, the secondary storage device address stored in the page address of the page descriptor is set to the main storage management table 50.
After saving to 0, the physical address of the main storage device 400 is set to the page address of the page descriptor. afterwards,
The page transferred to the main memory 400 can be accessed (step 208).

【0019】尚、上記ページイン処理に先立って、主記
憶装置400に空きがない場合は、周知技術であるLR
U制御等によって主記憶装置400内のページを選択
し、二次記憶装置300に書き出しておく(以下、ペー
ジアウト処理という)必要がある。このページアウト処
理の際には、主記憶管理テーブル500に格納されてい
た二次記憶装置アドレスを使用して二次記憶装置300
に書出しを行なう。また、この二次記憶装置アドレスは
そのページ記述子のページアドレスに格納される。さら
に、そのページ記述子のページ不在情報を「ページ不
在」(”0”)に設定する。
Prior to the page-in processing, if there is no free space in the main storage device 400, the well-known technique LR is used.
It is necessary to select a page in the main storage device 400 by U control or the like and write it to the secondary storage device 300 (hereinafter referred to as page-out processing). At the time of this page-out processing, the secondary storage device 300 stored by using the secondary storage device address stored in the main storage management table 500 is used.
Write to. The secondary storage device address is stored in the page address of the page descriptor. Further, the page fault information of the page descriptor is set to "page fault"("0").

【0020】[0020]

【発明の効果】以上説明したように本発明によれば、ペ
ージテーブルごとに二次記憶装置番号を格納することに
より、セグメントごとに別々の二次記憶装置上に二次記
憶を確保することができる。これにより、ページ記述子
のサイズを増やすことなく二次記憶容量を増加すること
ができるという効果を有する。
As described above, according to the present invention, by storing the secondary storage device number for each page table, it is possible to secure the secondary storage on a separate secondary storage device for each segment. it can. This has the effect that the secondary storage capacity can be increased without increasing the size of the page descriptor.

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

【図1】本発明の仮想記憶システムの一実施例を表すブ
ロック図である。
FIG. 1 is a block diagram showing an embodiment of a virtual storage system of the present invention.

【図2】本発明の一実施例における論理アドレス構成の
一例である。
FIG. 2 is an example of a logical address configuration according to an embodiment of the present invention.

【図3】本発明の一実施例の仮想記憶システムの記憶ア
クセス処理の動作を表す図である。
FIG. 3 is a diagram illustrating an operation of a storage access process of the virtual storage system according to the embodiment of this invention.

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

100 論理アドレス 110 セグメントアドレス 120 セグメント内アドレス 130 ページ内アドレス 200 ページテーブル 300 二次記憶装置 400 主記憶装置 500 主記憶装置管理テーブル 100 logical address 110 segment address 120 segment address 130 page address 200 page table 300 secondary storage device 400 main storage device 500 main storage device management table

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】仮想記憶空間を管理する仮想記憶システム
であって、 一定の大きさのページごとに分割された前記仮想記憶空
間の一部を格納する主記憶装置と、 前記ページごとに分割された仮想記憶空間のうち前記主
記憶装置に格納されていない記憶空間を格納する複数の
二次記憶装置と、 前記主記憶装置を前記ページごとに管理する主記憶管理
テーブルと、 前記複数の二次記憶装置の一つを識別する二次記憶装置
番号と前記ページごとに分割された仮想記憶空間を管理
する複数のページ記述子とを含む複数のページテーブル
とを含むことを特徴とする仮想記憶システム。
1. A virtual memory system for managing a virtual memory space, the main memory device storing a part of the virtual memory space divided into pages of a certain size, and the main memory device divided into pages. A plurality of secondary storage devices that store a storage space that is not stored in the main storage device in the virtual storage space, a main storage management table that manages the main storage device for each page, and the plurality of secondary storage devices. A virtual storage system including a plurality of page tables including a secondary storage device number for identifying one of the storage devices and a plurality of page descriptors for managing a virtual storage space divided for each page. .
【請求項2】前記ページ記述子の各々は、前記ページご
とに分割された仮想記憶空間が前記主記憶装置に格納さ
れているか否かを表すページ不在情報と、前記ページご
とに分割された仮想記憶空間が前記主記憶装置に格納さ
れている場合には前記主記憶装置の物理アドレスを保持
し前記ページごとに分割された仮想記憶空間が前記主記
憶装置に格納されていない場合には前記二次記憶装置内
のアドレスを保持するページアドレス情報とを含むこと
を特徴とする請求項1に記載の仮想記憶システム。
2. Each of the page descriptors includes page absence information indicating whether or not a virtual storage space divided for each page is stored in the main storage device, and virtual information divided for each page. When the storage space is stored in the main storage device, the physical address of the main storage device is held, and when the virtual storage space divided for each page is not stored in the main storage device, the virtual storage space is stored in the main storage device. The virtual memory system according to claim 1, further comprising page address information that holds an address in the next memory device.
JP35549093A 1993-12-29 1993-12-29 Virtual storage system Expired - Fee Related JP3157673B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35549093A JP3157673B2 (en) 1993-12-29 1993-12-29 Virtual storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35549093A JP3157673B2 (en) 1993-12-29 1993-12-29 Virtual storage system

Publications (2)

Publication Number Publication Date
JPH07200407A true JPH07200407A (en) 1995-08-04
JP3157673B2 JP3157673B2 (en) 2001-04-16

Family

ID=18444251

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35549093A Expired - Fee Related JP3157673B2 (en) 1993-12-29 1993-12-29 Virtual storage system

Country Status (1)

Country Link
JP (1) JP3157673B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019144921A (en) * 2018-02-22 2019-08-29 富士通株式会社 Information processing apparatus and information processing method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01200451A (en) * 1988-02-05 1989-08-11 Fanuc Ltd Internal data control method
JPH01223544A (en) * 1988-03-02 1989-09-06 Fujitsu Ltd Page control processing system in data processing system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01200451A (en) * 1988-02-05 1989-08-11 Fanuc Ltd Internal data control method
JPH01223544A (en) * 1988-03-02 1989-09-06 Fujitsu Ltd Page control processing system in data processing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019144921A (en) * 2018-02-22 2019-08-29 富士通株式会社 Information processing apparatus and information processing method

Also Published As

Publication number Publication date
JP3157673B2 (en) 2001-04-16

Similar Documents

Publication Publication Date Title
US10474575B2 (en) Cache-based communication between execution threads of a data processing system
EP0032956B1 (en) Data processing system utilizing hierarchical memory
KR900002189A (en) Method and apparatus for improving data reliability in computer system
JP3157673B2 (en) Virtual storage system
JPS5847784B2 (en) key storage system
US7181587B1 (en) Mapping an arbitrary number of contiguous memory pages at an arbitrary alignment
US5845330A (en) Using an intermediate storage medium in a database management system
KR920005296B1 (en) Information processing device
JP3456727B2 (en) Data processing device
JP2583403B2 (en) Backing store management method
JPH0237443A (en) Main storage management system for electronic computer system
JPH0329041A (en) Decentralized paging control system
JPS59146344A (en) Advance control system of virtual stack
JPH07152710A (en) Multi-processor system
JPH04172541A (en) Record storage unit
JPS63291145A (en) Method for managing file
JPH046985B2 (en)
JPH04205635A (en) Virtual storage device
JPS61272821A (en) Magnetic disc controller
JPH0424751A (en) Disk cache system
JPS63186347A (en) Memory device
JPH01223544A (en) Page control processing system in data processing system
JPS6174040A (en) Address expansion method
JPS6243737A (en) Interrupt control method
JPS61175725A (en) Storing system for seal impression file

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19970311

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080209

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090209

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100209

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100209

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110209

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110209

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120209

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees