Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0353659B2 - - Google Patents
[go: Go Back, main page]

JPH0353659B2 - - Google Patents

Info

Publication number
JPH0353659B2
JPH0353659B2 JP59058244A JP5824484A JPH0353659B2 JP H0353659 B2 JPH0353659 B2 JP H0353659B2 JP 59058244 A JP59058244 A JP 59058244A JP 5824484 A JP5824484 A JP 5824484A JP H0353659 B2 JPH0353659 B2 JP H0353659B2
Authority
JP
Japan
Prior art keywords
address
virtual
memory
real
address translation
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 - Lifetime
Application number
JP59058244A
Other languages
Japanese (ja)
Other versions
JPS60204048A (en
Inventor
Toyofumi Tachibana
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP59058244A priority Critical patent/JPS60204048A/en
Publication of JPS60204048A publication Critical patent/JPS60204048A/en
Publication of JPH0353659B2 publication Critical patent/JPH0353659B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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)
  • Memory System Of A Hierarchy Structure (AREA)

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明はデータ処理システムにおける仮想記憶
方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a virtual storage scheme in a data processing system.

〔発明の背景〕[Background of the invention]

周知のように仮想記憶方式は、計算機システム
の融通性のある運用を困難にする要因の1つであ
る実記憶容量の制限を解除しつつ、実記憶の使用
率の向上が図れるという特長を有している。仮想
記憶システムでは、処理プログラムは仮想記憶に
ロードされ実行される。仮想記憶は一定サイズの
ページに分割されており、プログラムの実行にお
いては、実行に必要なページが実記憶上に取り込
まれ(ページイン)、必要でないページは補助記
憶装置にはき出される(ページアウト)。このペ
ージイン/ページアウト処理を含む実記憶と仮想
記憶の管理は、通常OS(オペレーテイングシステ
ム)が行つているが、処理プログラムの大規模化
と多重度増大により、ページ管理のためのオーバ
ヘツドは増大し、システムのスループツト低下を
まねいている。
As is well known, virtual memory systems have the advantage of being able to improve the utilization rate of real memory while removing the limitation on real memory capacity, which is one of the factors that makes it difficult to operate computer systems flexibly. are doing. In a virtual memory system, a processing program is loaded into virtual memory and executed. Virtual memory is divided into pages of a fixed size, and when a program is executed, pages necessary for execution are brought into real memory (page-in), and pages that are not needed are written out to auxiliary storage (page-out). . The management of real memory and virtual memory, including page-in/page-out processing, is normally performed by the OS (operating system), but as the processing programs become larger and the degree of multiplicity increases, the overhead for page management increases. This increases the throughput of the system.

ところで、処理プログラムは通常、アクセスの
範囲や頻度の点で異つた性質を持ついくつかの領
域(例えば命令群で占められる領域にデータ領
域、及び作業領域等)からなるが、近年、処理プ
ログラムの扱うデータ量の増大に伴い、命令群で
占められる領域に対して、データのために使用す
る領域は大きくなる傾向にある。そこで、ページ
管理のためのオーバヘツドを減らすためには、仮
想記憶の分割を粗くしてページ数を減らすことが
考えられるが、従来の方式ではページサイズは大
きな値に固定されるので、実記憶の使用効率が低
下し、ページ利用の融通性は悪くなる問題があつ
た。
By the way, processing programs usually consist of several areas with different characteristics in terms of access range and frequency (for example, an area occupied by a group of instructions, a data area, and a work area), but in recent years, processing programs As the amount of data handled increases, the area used for data tends to become larger than the area occupied by a group of instructions. Therefore, in order to reduce the overhead for page management, it is possible to reduce the number of pages by dividing the virtual memory coarsely, but in the conventional method, the page size is fixed to a large value, so the real memory There was a problem that usage efficiency decreased and page usage became less flexible.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、ページ管理のためのオーバヘ
ツドの削減と、実記憶の使用効率向上が図れると
いう効果を有する仮想記憶方式を提供することに
ある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a virtual storage system that is effective in reducing overhead for page management and improving the efficiency of using real storage.

〔発明の概要〕[Summary of the invention]

本発明は、仮想記憶と実記憶を異なるサイズの
ページからなる複数の領域に分割して、各領域毎
に、異なるサイズのページで仮想アドレスと実ア
ドレスを対応づけるアドレス変換テーブルを設け
たことを特徴とする。
The present invention divides virtual memory and real memory into a plurality of areas consisting of pages of different sizes, and provides an address translation table for each area that associates virtual addresses and real addresses in pages of different sizes. Features.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例につき図面を用いて詳
細に説明する。
Hereinafter, one embodiment of the present invention will be described in detail using the drawings.

第1図は本発明による仮想記憶システムの概念
図で、3種類のサイズのページで仮想記憶が分割
された例を示したものである。第1図において、
仮想記憶(VS)1は3つの領域VS0,VS1,
VS2に分割され、各領域のページサイズはそれ
ぞれPS0,PS1,PS2である。同様に、実記憶
(RS)2も3つの領域RS0,RS1,RS2に分
割され、各領域のページサイズはそれぞれPS0,
PS1,PS2である。RS0とVS0,RS1とVS
1,RS2とVS2はそれぞれ実領域と仮想領域の
対応関係を記憶したアドレス変換テーブル3−
0,3−1,3−2によつて対応付けられてい
る。レジスタ4−0,4−1,4−2はそれぞれ
アドレス変換テーブル3−0,3−1,3−2に
対応し、該当テーブルの先頭アドレスAD0,
AD1,AD2と長さを保持している。一方、演
算処理装置(BPU)5は、VS0上のアドレスを
RS0上のアドレスに、VS1上のアドレスをRS
1上のアドレスに、VS2上のアドレスをRS2上
のアドレスにアドレス変換するためのアドレス変
換制御ユニツト(TU)7−0,7−1,7−2
を含むアドレス変換機構6を持つている。
FIG. 1 is a conceptual diagram of a virtual storage system according to the present invention, showing an example in which virtual storage is divided into pages of three different sizes. In Figure 1,
Virtual memory (VS) 1 has three areas VS0, VS1,
It is divided into VS2, and the page sizes of each area are PS0, PS1, and PS2, respectively. Similarly, the real memory (RS) 2 is divided into three areas RS0, RS1, and RS2, and the page size of each area is PS0, respectively.
PS1 and PS2. RS0 and VS0, RS1 and VS
1. RS2 and VS2 are address translation tables 3- that store the correspondence between real areas and virtual areas, respectively.
0, 3-1, 3-2. Registers 4-0, 4-1, and 4-2 correspond to address conversion tables 3-0, 3-1, and 3-2, respectively, and the start addresses AD0, AD0, and AD0 of the corresponding tables, respectively.
The lengths are maintained as AD1 and AD2. On the other hand, the processing unit (BPU) 5 stores the address on VS0.
RS the address on VS1 to the address on RS0
Address translation control unit (TU) 7-0, 7-1, 7-2 for converting the address on VS2 to the address on RS2.
It has an address translation mechanism 6 including the following.

第2図は第1図におけるアドレス変換の動作例
であり、仮想アドレスAから実アドレスBへのア
ドレス変換が、アドレス変換制御ユニツト7−2
でもつてアドレス変換テーブル3−2を参照する
ことにより成功することを示している。
FIG. 2 is an example of the address translation operation in FIG. 1, in which address translation from virtual address A to real address B is performed by address translation control unit 7-2.
This shows that success is achieved by referring to the address translation table 3-2.

第3図は本発明の一実施例のブロツク図で、第
1図の概念図に対応するハード構成を示したもの
である。メモリ参照の仮想アドレスはアドレスレ
ジスタ8にセツトされ、アドレス変換制御ユニツ
ト7−0,7−1,7−2にそれぞれ送られる。
アドレス変換制御ユニツト7−0,7−1,7−
2では、それぞれアドレス変換テーブル3−0,
3−1,3−2を参照してアドレス変換を行い、
成功したときはレジスタ10−0,10−1ある
いは10−2に仮想アドレスに対応する実アドレ
スをセツトし、失敗したときは信号線9をハイと
する。セレクタ11はレジスタ10−0,10−
1,10−2中の信号線9がハイでないレジスタ
を選択し、その内容(実アドレス)をアドレスレ
ジスタ12にセツトする。また、全ての信号線9
がハイのときは、信号線13をハイにしてアドレ
ス変換例外を出す。なお、各アドレス変換制御ユ
ニツト7−0,7−1,7−2の構成自体は従来
と同様である。
FIG. 3 is a block diagram of an embodiment of the present invention, showing a hardware configuration corresponding to the conceptual diagram of FIG. 1. The virtual address for memory reference is set in the address register 8 and sent to address translation control units 7-0, 7-1, and 7-2, respectively.
Address conversion control unit 7-0, 7-1, 7-
2, address translation tables 3-0,
Perform address conversion with reference to 3-1 and 3-2,
If successful, the real address corresponding to the virtual address is set in register 10-0, 10-1 or 10-2, and if unsuccessful, signal line 9 is set high. Selector 11 is register 10-0, 10-
1 and 10-2, the register whose signal line 9 is not high is selected, and its contents (actual address) are set in the address register 12. Also, all signal lines 9
When is high, the signal line 13 is set high to generate an address conversion exception. Note that the configuration itself of each address translation control unit 7-0, 7-1, 7-2 is the same as the conventional one.

実施例は、3種類のサイズのページで仮想記憶
(VS)を分割した例であるが、アドレス変換テー
ブルの先頭アドレスと長さを記憶するレジスタ、
アドレス変換テーブル及びアドレス変換制御ユニ
ツトの追加によつて、ページサイズの種類を容易
に増やすことができる。また、アドレス変換テー
ブルを示すレジスタの内容を仮想アドレス空間の
切換え時に変更することによつて、本発明による
仮想記憶方式を使用した多重仮想記憶方式を容易
に実現することができる。
The embodiment is an example in which the virtual memory (VS) is divided into pages of three different sizes.
By adding an address translation table and an address translation control unit, the variety of page sizes can be easily increased. Further, by changing the contents of the register indicating the address translation table when switching virtual address spaces, it is possible to easily implement a multiple virtual memory system using the virtual memory system according to the present invention.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、処理プ
ログラムの性格に応じて仮想記憶を分割するペー
ジのページサイズと数を複数選択できるため、実
記憶の有効活用とページ管理のためのオーバヘツ
ドの大巾な削減が達成できる。
As explained above, according to the present invention, it is possible to select multiple page sizes and numbers of pages into which virtual memory is divided depending on the characteristics of the processing program, thereby effectively utilizing real memory and reducing overhead for page management. Wide reductions can be achieved.

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

第1図は本発明による仮想記憶システムの概念
図、第2図は第1図におけるアドレス変換の動作
例を示す図、第3図は本発明の一実施例のブロツ
ク図である。 1…仮想記憶、2…実記憶、3−0〜3−2…
アドレス変換テーブル、4−0〜4−2…レジス
タ、5…演算処理装置、7−0〜7−2…アドレ
ス変換制御ユニツト。
FIG. 1 is a conceptual diagram of a virtual storage system according to the present invention, FIG. 2 is a diagram showing an example of address translation operation in FIG. 1, and FIG. 3 is a block diagram of an embodiment of the present invention. 1...Virtual memory, 2...Real memory, 3-0 to 3-2...
Address conversion table, 4-0 to 4-2... register, 5... arithmetic processing unit, 7-0 to 7-2... address conversion control unit.

Claims (1)

【特許請求の範囲】[Claims] 1 仮想記憶方式をとるデータ処理システムにお
いて、仮想記憶および実記憶のそれぞれについて
各々が異なるサイズのページを単位とする複数の
領域に分割し、各々の領域に対応して設けられか
つ仮想アドレスと実アドレスとの対応関係を記憶
したアドレス変換テーブルによつて仮想アドレス
から実アドレスへのアドレス変換を行うことを特
徴とする仮想記憶方式。
1. In a data processing system that uses a virtual memory method, the virtual memory and real memory are each divided into a plurality of areas with pages of different sizes as units, and each area is provided with a virtual address and a real address. A virtual storage method characterized in that address translation from a virtual address to a real address is performed using an address translation table that stores correspondence relationships with addresses.
JP59058244A 1984-03-28 1984-03-28 Virtual storing system Granted JPS60204048A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59058244A JPS60204048A (en) 1984-03-28 1984-03-28 Virtual storing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59058244A JPS60204048A (en) 1984-03-28 1984-03-28 Virtual storing system

Publications (2)

Publication Number Publication Date
JPS60204048A JPS60204048A (en) 1985-10-15
JPH0353659B2 true JPH0353659B2 (en) 1991-08-15

Family

ID=13078702

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59058244A Granted JPS60204048A (en) 1984-03-28 1984-03-28 Virtual storing system

Country Status (1)

Country Link
JP (1) JPS60204048A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2858795B2 (en) * 1989-07-14 1999-02-17 株式会社日立製作所 Real memory allocation method
JPH05165715A (en) * 1991-12-12 1993-07-02 Nec Corp Information processor
US5446854A (en) * 1993-10-20 1995-08-29 Sun Microsystems, Inc. Virtual memory computer apparatus and address translation mechanism employing hashing scheme and page frame descriptor that support multiple page sizes
US20060136652A1 (en) * 2004-12-21 2006-06-22 Via Technologies, Inc. Electronic system with remap function and method for generating bank with remap function

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54143028A (en) * 1978-04-28 1979-11-07 Nec Corp Data transfer unit
JPS5919288A (en) * 1982-07-22 1984-01-31 Toshiba Corp Virtual storage control system

Also Published As

Publication number Publication date
JPS60204048A (en) 1985-10-15

Similar Documents

Publication Publication Date Title
JPS6027964A (en) Memory access control circuit
JPS61141055A (en) Address conversion method for information processing equipment
GB2165975A (en) Dynamically allocated local/global storage system
JPH0552540B2 (en)
JPH0812636B2 (en) Virtual memory control type computer system
JPH0353659B2 (en)
US5432917A (en) Tabulation of multi-bit vector history
EP0567420A1 (en) Multi-bit vector for page aging
EP0787326B1 (en) System and method for processing of memory data and communication system comprising such system
JP3456727B2 (en) Data processing device
JPH0237443A (en) Main storage management system for electronic computer system
JPS59146344A (en) Advance control system of virtual stack
JPS62274351A (en) Address conversion system
JP2522248B2 (en) Storage device access mechanism
JPH07152710A (en) Multi-processor system
JPS6362012B2 (en)
JPS6226550A (en) Saving system to external storage device for program under execution
JPS62126480A (en) Image processor
JPH0447344B2 (en)
JPS63142416A (en) Input/output control system
JPH02116940A (en) Page shared system using indirect pointer
JPS60243743A (en) Multiplex microprogram control system
JPH04557A (en) Vector processor
JPH03235149A (en) Address converter
JPH04116742A (en) Memory allocation system in virtual storage system