JPS6345657A - Virtual memory control system for virtual computer system - Google Patents

Virtual memory control system for virtual computer system

Info

Publication number
JPS6345657A
JPS6345657A JP61188628A JP18862886A JPS6345657A JP S6345657 A JPS6345657 A JP S6345657A JP 61188628 A JP61188628 A JP 61188628A JP 18862886 A JP18862886 A JP 18862886A JP S6345657 A JPS6345657 A JP S6345657A
Authority
JP
Japan
Prior art keywords
virtual
real
address
memory management
memory control
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
JP61188628A
Other languages
Japanese (ja)
Other versions
JPH0740249B2 (en
Inventor
Terumi Hiwatari
日渡 輝美
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 JP61188628A priority Critical patent/JPH0740249B2/en
Publication of JPS6345657A publication Critical patent/JPS6345657A/en
Publication of JPH0740249B2 publication Critical patent/JPH0740249B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To secure same executing performance as a real computer for a virtual computer system by sharing a virtual memory control function with plural operating systems. CONSTITUTION:The address spaces of a real memory control means 51 and a real memory control table 52 produced by an operating system 2 are set equal to the address spaces of the means 51 and the table 52 produced by an operating system 3. Thus both systems 2 and 3 can share a virtual memory control part 5. Therefore the part 5 inputs a virtual address 20 of the system 2 or a virtual address 30 of the system 3 to execute the address conversion. Thus it is possible to obtain a real address in a real memory just with the dynamic conversion of virtual addresses of a single step.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、仮想計算機システムにおける仮想記憶制御方
式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a virtual storage control method in a virtual computer system.

〔従来の技術〕[Conventional technology]

従来の仮想計算機システムにおける仮想記憶制御方式に
ついて第3図をもとに説明する。仮想計算機c以下、ゲ
ストという)の仮想アドレス(301)はゲストの主記
憶に格納されているゲスト変換テーブルを用いた変換を
受ける(■)。
A virtual memory control method in a conventional virtual computer system will be explained based on FIG. 3. The virtual address (301) of virtual computer c (hereinafter referred to as guest) is converted using a guest conversion table stored in the main memory of the guest (■).

ゲストのプレフィックス変換を適用した後、ゲストの絶
対主記憶アドレス(302i得る。このアドレスがL1
で示された許容範囲内にあることを検証し2次いで”N
″で示したオフセット?加えて、実計算機C以下、ホス
トという)の仮想アドレス(303)へ変換する。■で
示されるようにホストの仮想アドレスは=ホストの変換
テーブルを用いてホストの絶対アドレス(304)への
変換を受ける。以上は、1日経エレクトロニクス198
4.4.23 (階341)ページ207〜233「シ
ステム/370拡張アーキテクチヤの仮想計算機」”に
出典されている。
After applying the guest's prefix conversion, we obtain the guest's absolute main memory address (302i. This address is L1
Verify that it is within the tolerance range indicated by ``N''
The offset indicated by ``?In addition, it is converted to the virtual address (303) of the actual computer C and below (hereinafter referred to as host).As shown by ■, the virtual address of the host is = the absolute address of the host using the host conversion table. (304).The above is 1 Nikkei Electronics 198
4.4.23 (Floor 341) Pages 207-233 "System/370 Extended Architecture Virtual Machine".

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来の仮想計算機システムにおける仮想記憶制
御方式は、仮想計算機のオペレーティングシステムの仮
想記憶管理機能による仮想アドレス変換を行った後、さ
らに仮想計算機システム用のオペレーティングシステム
の仮想記憶管理機能で再度仮想アドレス変換を行わなけ
ればならず、即ち、二段階のアドレス変換を行わなけれ
ばならないため実行性能が低下するという欠点があった
The virtual memory control method in the conventional virtual computer system described above first performs virtual address conversion using the virtual memory management function of the operating system of the virtual machine, and then converts the virtual address again using the virtual memory management function of the operating system for the virtual computer system. Since conversion has to be performed, that is, two-step address conversion has to be performed, execution performance has been degraded.

〔問題点を解決するための手段〕[Means for solving problems]

本発明による仮想計算機システムにおける仮想記憶制御
方式は、仮想記憶管理機能を有する計算機システムのう
ち、同一種類のオペレーティングシステムの動作する該
計算機システム全1つの実計算機システムで複数動作さ
せる仮想計算機システムの仮想記憶制御方式において。
The virtual memory control method in a virtual computer system according to the present invention is a virtual memory control method for a virtual computer system in which a plurality of computer systems having a virtual memory management function are operated on one real computer system running the same type of operating system. In memory control methods.

前記複数の計算機システムの前記オペレーティングシス
テムの前記仮想記憶管理機能をセグメンテーション方式
のシステム共有アドレス空間に置いて共用させる共用手
段と、共用された前記仮想記憶管理機能により各々の前
記オペレーティングシステムの仮想アドレス金実アドレ
スにアドレス変換する動的アドレス変換手段と。
a sharing means for placing and sharing the virtual memory management functions of the operating systems of the plurality of computer systems in a system shared address space using a segmentation method; Dynamic address translation means for converting addresses into real addresses.

前記動的アドレス変換手段によって得られた実記憶の実
アドレスを実記憶管理表に゛もとづき一元管理する実記
憶管理手段とを有し、一段階の仮想アドレス水動的アド
レス変換のみで実記憶の実アドレスが得られることを特
徴とする。
real memory management means for centrally managing the real addresses of the real memory obtained by the dynamic address conversion means based on a real memory management table, and real memory management means that centrally manages the real addresses of the real memory obtained by the dynamic address conversion means based on the real memory management table; The feature is that a real address can be obtained.

〔実施例〕〔Example〕

次に1図面を用いて本発明の詳細な説明する。 Next, the present invention will be explained in detail using one drawing.

本発明の一実施例を示す第1図を参照すると。Referring to FIG. 1, which shows one embodiment of the invention.

本実施例の仮想計算機システム1は実記憶6と仮想計算
機AおよびBi含む。仮想計算機AおよびBはそれぞれ
オペレーティングシステム2および3?含む。仮想記憶
管理機能共用手段4と、動的アドレス変換手段間、実記
憶管理手段51および実記憶管理表52からなる仮想記
憶管理部5とが仮想計算機AおよびBで共用される。
The virtual computer system 1 of this embodiment includes a real memory 6 and virtual computers A and Bi. Virtual machines A and B are operating systems 2 and 3 respectively? include. A virtual memory management function sharing means 4, a virtual memory management unit 5 consisting of a dynamic address conversion means, a real memory management means 51, and a real memory management table 52 are shared by the virtual machines A and B.

本実施例においては、仮想計算機システム上で動作する
仮想計算機すなわちオペレーティングシステムを2つし
か有していないが、2つ以上あってもよい。
In this embodiment, there are only two virtual machines, that is, operating systems that operate on the virtual machine system, but there may be two or more.

本実施例において、仮想記憶管理機能共用手段4は、仮
想記憶管理部5をオペレーティングシステム2および3
が仮想計算機システム1上で共用できるように、セグメ
ンテーション方式を使用してオペレーティングシステム
2および3のシステム共有アドレス空間上に位置づける
In this embodiment, the virtual memory management function sharing means 4 controls the virtual memory management unit 5 from the operating systems 2 and 3.
is located on the system shared address space of operating systems 2 and 3 using a segmentation method so that it can be shared on virtual machine system 1.

即ち、オペレーティングシステム2で作成された実記憶
管理手段51および実記憶管理表520アドレス空間と
オペレーティングシステム3で作成された実記憶管理手
段51および実記憶管理表52のアドレス空間と金同じ
にしておくことにより、オペレーティングシステム2お
よび3で仮想記憶管理部5は共用可能となる。
That is, the address space of the real memory management means 51 and real memory management table 520 created by the operating system 2 is the same as the address space of the real memory management means 51 and the real memory management table 52 created by the operating system 3. As a result, the virtual memory management unit 5 can be shared by the operating systems 2 and 3.

これにより、仮想記憶管理部5は、オペレーティングシ
ステム2の仮想アドレス加、あるいはオペレーティング
システム3の仮想アドレス31人力し、アドレス変換を
行う。
As a result, the virtual memory management unit 5 adds the virtual address of the operating system 2 or adds the virtual address 31 of the operating system 3 and performs address conversion.

動的アドレス変換手段間は、オペレーティングシステム
2の仮想アドレス20ヲ入力し、セグメンテーション・
ベージング方式でアドレス変換を行う。アドレス変換の
結果、実記憶6に存在したら実アドレス60ヲ直接アク
セスする。実記憶6に存在しなかったら実記憶管理手段
51にその旨を通知する。
Between the dynamic address translation means, the virtual address 20 of the operating system 2 is input, and the segmentation
Address translation is performed using the paging method. As a result of address conversion, if it exists in the real memory 6, the real address 60 is accessed directly. If it does not exist in the real memory 6, the real memory management means 51 is notified of this fact.

実記憶管理手段51は、4にバイトページ毎に実記憶6
の実アドレスの使用/未使用を管理している実記憶管理
表52ヲもとに未使用の実ページを割り当て、そこに仮
想アドレスで指定されるデータ等を二次記憶装置からロ
ードする。割り当てられた実記憶管理表52の実ページ
は「使用」状態となる。未使用の実ページがなければ。
The real memory management means 51 stores real memory 6 for each byte page in 4
An unused real page is allocated based on the real memory management table 52 that manages the use/unuse of real addresses, and data etc. specified by the virtual address are loaded therefrom from the secondary storage device. The allocated real page of the real storage management table 52 becomes in the "used" state. If there are no unused real pages.

「使用」状態の実ページのうち、最近もっとも使用され
ていない実ページを探し、その実ページを二次記憶装置
に実記憶6からはき出した後。
After searching for the least recently used real page among the real pages in the "used" state and ejecting that real page from the real memory 6 to the secondary storage device.

その実ページを未使用ページとし、上記未使用ページの
場合の動作を行う。その後、再度上記の動的アドレス変
換手段(資)からやシ直す。
The actual page is set as an unused page, and the operation for the unused page described above is performed. Thereafter, the above dynamic address translation means (material) is again used.

次に、第2図を参照して、システム共有アドレス空間上
に置かれる仮想記憶管理部5の共用手段である仮想記憶
管理機能共用手段4について、詳細な動作を説明する。
Next, with reference to FIG. 2, the detailed operation of the virtual memory management function sharing means 4, which is the sharing means of the virtual memory management unit 5 located on the system shared address space, will be explained.

仮想計算機AのプロセスAおよびBは、システム共有セ
グメントであるセグメントS−1の仮想記憶管理部5を
使用して動作する。このために、セグメン) S−1は
プロセスAにより IJンクされているセグメント表表
示語列5TWA−Aのに番目のエントリからセグメント
表5T−11へリンクされ、さらにセグメント表5T−
8(2)n番目のエントリからリンクされている。セグ
メント表5T−3のn番目のエントリにはセグメントの
属性としてシステム共有セグメントであることを定義し
である。同様に、プロセスBについても。
Processes A and B of virtual machine A operate using the virtual memory management unit 5 of segment S-1, which is a system shared segment. For this purpose, segment S-1 is linked to segment table 5T-11 from the second entry in segment table display word string 5TWA-A, which is linked by process A, and is further linked to segment table 5T-11.
8(2) Linked from the nth entry. The nth entry in the segment table 5T-3 defines the attribute of the segment as a system shared segment. Similarly for process B.

プロセスBによりリンクされているセグメント表表示語
列5TWA−Bのk(セグメント表表示語列5TWA−
Aのkと同一値)番目の二ン) IJからセグメント表
5T−8がリンクされている。
k of segment table display word string 5TWA-B linked by process B (segment table display word string 5TWA-
Segment table 5T-8 is linked from IJ.

仮想計算機BのプロセスXおよびYも仮想計算機Aのプ
ロセスAおよびBと同じ仮想記憶管理部5を使用させる
ために、即ち、セグメントS−1’iアクセスできるよ
うに、プロセスXによりリンクされているセグメント表
表示語列5TWA−Xのk(セグメント表表示語列S 
TWA −Aの1くと同一値)番目のエントリからセグ
メント表5T−8がリンクされている。同様に、プロセ
スYについても、プロセスYによりリンクされているセ
グメント表表示語列5TWA−yのk(セグメント表表
示語列5TWA−Aのkと同一値)番目のエントリから
5T−8がリンクされている。
Processes X and Y of virtual machine B are also linked by process X so that they can use the same virtual memory management unit 5 as processes A and B of virtual machine A, that is, so that they can access segment S-1'i. k of segment table display word string 5TWA-X (segment table display word string S
The segment table 5T-8 is linked from the 1-th entry of TWA-A. Similarly, for process Y, 5T-8 is linked from the kth entry (same value as k in segment table display word string 5TWA-A) of segment table display word string 5TWA-y linked by process Y. ing.

なお、セグメントA−1,B−1,X−1,Y−1はそ
れぞれプロセスA、B、X、Yの固有セグメントであり
、セグメントAB−1,XY−1はそれぞれプロセスA
およびB、プロセスXおよびYの共有セグメントである
Note that segments A-1, B-1, X-1, and Y-1 are unique segments of processes A, B, X, and Y, respectively, and segments AB-1 and
and B, the shared segment of processes X and Y.

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

以上説明した様に1本発明によれば、仮想記憶管理機能
を複数のオペレーティングシステムで共用することによ
り、一段階の動的アドレス変換で実アドレスを得ること
ができるため、仮想計算機システム上で動作す右場合で
も、実行性能が実計算機システムで動作する場合と同じ
になるという効果がある。
As explained above, according to the present invention, by sharing the virtual memory management function among multiple operating systems, a real address can be obtained through one-step dynamic address conversion. Even in this case, the execution performance is the same as when running on a real computer system.

【図面の簡単な説明】 第1図は本発明の一実施例のブロック図、第1・・・仮
想計算機シ′ステム、2,3・・・オペレーティングシ
ステム、4・・・仮想記憶管理機能共用手段、5・・・
仮想記憶管理部、6・・・実記憶、 20.30・・・
仮想アドレス、50・・・動的アドレス変換手段、51
・・・実記憶管理手段、52・・・実記憶管理表、60
・・・実アドレス。 郁U番訂11L儂シスアム 第3図
[Brief Description of the Drawings] Fig. 1 is a block diagram of an embodiment of the present invention, 1st...virtual computer system, 2, 3... operating system, 4... shared virtual memory management function. Means, 5...
Virtual memory management unit, 6... Real memory, 20.30...
Virtual address, 50...Dynamic address translation means, 51
. . . Real memory management means, 52 . . . Real storage management table, 60
...Real address. Iku U edition 11L my system figure 3

Claims (1)

【特許請求の範囲】[Claims] 1、仮想記憶管理機能を有する計算機システムのうち、
同一種類のオペレーティングシステムの動作する該計算
機システムを1つの実計算機システムで複数動作させる
仮想計算機システムの仮想記憶制御方式において、前記
複数の計算機システムの前記オペレーティングシステム
の前記仮想記憶管理機能をセグメンテーション方式のシ
ステム共有アドレス空間に置いて共用させる共用手段と
、共用された前記仮想記憶管理機能により各々の前記オ
ペレーティングシステムの仮想アドレスを実アドレスに
アドレス変換する動的アドレス変換手段と、前記動的ア
ドレス変換手段によって得られた実記憶の実アドレスを
実記憶管理表とにもとづき一元管理する実記憶管理手段
とを有し、一段階の仮想アドレスの動的アドレス変換の
みで実記憶の実アドレスが得られることを特徴とする仮
想計算機システムにおける仮想記憶制御方式。
1. Among computer systems with virtual memory management functions,
In a virtual memory control method for a virtual computer system in which a plurality of computer systems running the same type of operating system are operated on one real computer system, the virtual memory management function of the operating systems of the plurality of computer systems is controlled by a segmentation method. a shared means placed in a system shared address space for shared use; a dynamic address conversion means for converting a virtual address of each of the operating systems into a real address using the shared virtual memory management function; and the dynamic address conversion means. and a real memory management means for centrally managing the real addresses of the real memory obtained by the method based on the real memory management table, and the real address of the real memory can be obtained by only one step of dynamic address conversion of the virtual address. A virtual memory control method in a virtual computer system characterized by.
JP61188628A 1986-08-13 1986-08-13 Virtual memory control method in virtual computer system Expired - Lifetime JPH0740249B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61188628A JPH0740249B2 (en) 1986-08-13 1986-08-13 Virtual memory control method in virtual computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61188628A JPH0740249B2 (en) 1986-08-13 1986-08-13 Virtual memory control method in virtual computer system

Publications (2)

Publication Number Publication Date
JPS6345657A true JPS6345657A (en) 1988-02-26
JPH0740249B2 JPH0740249B2 (en) 1995-05-01

Family

ID=16227020

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61188628A Expired - Lifetime JPH0740249B2 (en) 1986-08-13 1986-08-13 Virtual memory control method in virtual computer system

Country Status (1)

Country Link
JP (1) JPH0740249B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5619153A (en) * 1979-07-25 1981-02-23 Fujitsu Ltd Virtual computer system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5619153A (en) * 1979-07-25 1981-02-23 Fujitsu Ltd Virtual computer system

Also Published As

Publication number Publication date
JPH0740249B2 (en) 1995-05-01

Similar Documents

Publication Publication Date Title
US6286092B1 (en) Paged based memory address translation table update method and apparatus
US5652853A (en) Multi-zone relocation facility computer memory system
US5584042A (en) Dynamic I/O data address relocation facility
US5077654A (en) Virtual machine system which translates virtual address from a selected virtual machine into real address of main storage
JPS6027964A (en) Memory access control circuit
JP2001134526A (en) Method and device for assigning resource to logical section cluster
JPH0195347A (en) System for converting address
CN115774701B (en) Data sharing method and device, electronic equipment and storage medium
JPS6345657A (en) Virtual memory control system for virtual computer system
JPS5856058A (en) Daso common-use control system for virtual computer system cp resident volume
JPS6327740B2 (en)
JP3304445B2 (en) Program generation processing device
JPS6269321A (en) Process switching system
JPS6143743B2 (en)
JPH09319856A (en) Structure data editing system
JPH01140342A (en) Virtual computer system
JPH03161852A (en) Memory control device
JPS6143744B2 (en)
JPS62160545A (en) System for managing unused area of direct access storage device
JPH0198043A (en) Dynamic link control system
JPH02304615A (en) Allocating system for parallel disk control buffer
JPH07210466A (en) Virtual computer system
JPH0740227B2 (en) Data overlay segment allocation method
JPH0553886A (en) Table access managing system
JPS62216042A (en) Memory allocating system for data area