JPS63216146A - Management system for main storage device - Google Patents

Management system for main storage device

Info

Publication number
JPS63216146A
JPS63216146A JP62048889A JP4888987A JPS63216146A JP S63216146 A JPS63216146 A JP S63216146A JP 62048889 A JP62048889 A JP 62048889A JP 4888987 A JP4888987 A JP 4888987A JP S63216146 A JPS63216146 A JP S63216146A
Authority
JP
Japan
Prior art keywords
page
main memory
storage area
main storage
address
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
JP62048889A
Other languages
Japanese (ja)
Inventor
Yoshitaka Ofusa
大房 義隆
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 JP62048889A priority Critical patent/JPS63216146A/en
Publication of JPS63216146A publication Critical patent/JPS63216146A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To prevent a fixed page from being concentrated onto a specific main storage address by selecting the page fixing to a specific main storage address according to the attribute of a virtual storage area and page fixing to an unspecified main storage address not depending on the attribute of the virtual storage area. CONSTITUTION:When a page fixing request comes to a virtual storage area in page residence, if the main storage address assigned at present is an address in matching with the attribute of the virtual storage area, the page fixing is applied as it is. On the other hand, the main storage address assigned at present is not in matching with the attribute of the virtual storage area, the other main storage area in matching with the attribute is selected and the present content is copied to a new main storage area and page fixing is applied. Thus, the concentration of page fixing request to a specific main storage area is avoided.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はオペレーションシステムの主記憶装置の管理方
式に係り、特に仮想記憶方式を採用するオペレーティン
グシステムにおいて、アドレッシング方式の異なるプロ
グラムを一つのオペレーティングシステム内で同時に実
行可能とするために好適な主記憶装置の管理方式に関す
る。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a main memory management method of an operating system, and particularly in an operating system that adopts a virtual memory method, programs with different addressing methods can be integrated into one operating system. The present invention relates to a main storage management method suitable for enabling simultaneous execution within a main storage device.

〔従来の技術〕[Conventional technology]

従来の仮想記憶方式を採用するオペレーティングシステ
ムのページ固定方式については、「大型オペレーティン
グ・システムMVSの機能と構造J 1986年6月5
日発行、近代科学社、千田正彦著、の第48頁から第5
1頁に論じられている。上記文献によれば、従来の仮想
記憶領域に対するページ固定手段では、当該仮想記憶領
域の確保時の属性(24ビットアドレッシング方式等)
に従って特定の主記憶アドレスにページの内容を固定し
ていた。
Regarding the page fixing method of operating systems that employ conventional virtual memory methods, see ``Function and Structure of Large Operating System MVS J, June 1986, 5.
Published by Nippon, Kindai Kagakusha, written by Masahiko Senda, pages 48 to 5.
Discussed on page 1. According to the above literature, in the conventional page fixing means for a virtual storage area, the attributes (24-bit addressing method, etc.) when securing the virtual storage area are
The content of the page was fixed to a specific main memory address according to the following.

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

上記従来技術においては、例えば24ビットアドレッシ
ング方式で作成されたプログラムは、そのプログラム自
身では24ビツトの仮想アドレスと24ビツトの実アド
レスしかアドレス操作を行えないため、当該プログラム
の領域を主記憶装置上にページ固定する場合には、特定
の、即ち24ビツトの主記憶アドレスで表現できる領域
に自動的にページ固定する方式となっていた。
In the above conventional technology, for example, a program created using a 24-bit addressing method can only perform address operations on 24-bit virtual addresses and 24-bit real addresses, so the area of the program is stored in the main memory. When a page is fixed to a specific area, that is, a 24-bit main memory address, the page is automatically fixed to a specific area.

しかし、上記プログラム領域をページ固定する目的が、
24ビツトの主記憶アドレスをアクセスする必要が無い
場合においても、例えば単に仮想記憶に対するページア
ウトを禁止し、ページ不在の割り込みによる性能低下を
防止するような場合でも、従来技術では24ビツトの主
記憶アドレス内に割り当てていた。そのため、多重アド
レス空間方式によって多数のプログラムを同時に実行す
ると、24ビツトの主記憶領域に対する使用要求の競合
が激しく、システム性能の隘路となることがあった。
However, the purpose of page fixing the above program area is
Even when there is no need to access a 24-bit main memory address, for example, when page-out to virtual memory is simply prohibited to prevent performance degradation due to page-missing interrupts, conventional technology uses a 24-bit main memory address. It was assigned within the address. Therefore, when a large number of programs are executed simultaneously using the multiple address space method, there is intense competition for requests to use the 24-bit main memory area, which can sometimes become a bottleneck in system performance.

この様な24ビツトの主記憶領域に対する使用要求の競
合を回避するため、従来技術においても、24ビツトの
仮想アドレス領域の内容を24ビツトを超える主記憶ア
ドレスにページ固定するような属性を、仮想記憶領域の
確保時に設定することを可能にしている。しかし、この
場合、プログラム領域中の一部分だけに24ビツトの主
記憶アドレスでページ固定しなければならない領域が含
まれていると、プログラム領域の確保時に全領域を24
ビツトの主記憶アドレスにページ固定する属性を設定す
るか、あるいは24ビツトの主記憶アドレスに依存しな
いようにプログラムを作り直すなどの対策が必要となる
。従って、従来技術においては、主記憶装置を効率よく
利用するためのきめの細かな制御が行えなかったり、プ
ログラムの作り直しに多大の労力と時間を必要とすると
いう問題点があった。
In order to avoid such conflicting requests for use of the 24-bit main memory area, in the conventional technology, an attribute that fixes the contents of the 24-bit virtual address area to a main memory address exceeding 24 bits is set to the virtual address area. It is possible to set this when securing storage area. However, in this case, if only a portion of the program area contains an area that must be page-fixed using a 24-bit main memory address, the entire area must be fixed at 24 bits when allocating the program area.
It is necessary to take measures such as setting an attribute that fixes the page to a 24-bit main memory address, or rewriting the program so that it does not depend on a 24-bit main memory address. Therefore, the conventional technology has problems in that it is not possible to perform fine-grained control to efficiently utilize the main storage device, and that it requires a great deal of effort and time to re-create the program.

本発明は、上記した従来技術の問題点に鑑みなされたも
ので、従来技術によるページ固定に先立って、仮想記憶
領域の属性、即ち、24ビツトの主記憶アドレスでペー
ジ固定しなければならないが、又は24ビツトを超える
主記憶アドレスにページ固定しなければならないか等に
無関係に、任意の主記憶アドレスにページ固定する事に
よって、大半のページ固定の目的を達成させ、更に真に
仮想記憶領域の属性に従ったページ固定が必要となった
時点で、従来技術によるページ固定を行うという2段構
えのページ固定を行なう事を可能にして。
The present invention was developed in view of the problems of the prior art described above, and prior to page fixing in the prior art, the page must be fixed using the attributes of the virtual storage area, that is, the 24-bit main memory address. By fixing a page to an arbitrary main memory address, regardless of whether the page must be fixed to a main memory address with more than 24 bits, most of the objectives of page fixing can be achieved, and even more truly the virtual storage area can be fixed. It is possible to perform two-stage page fixing in which page fixing is performed using conventional technology when page fixing according to attributes is required.

24ビツトの主記憶アドレス領域に対するページ固定量
を減少せしめて競合をなくし、主記憶装置の効率的な利
用を図ることを目的としている。
The purpose of this invention is to reduce the page fixation amount for the 24-bit main memory address area, eliminate contention, and achieve efficient use of the main memory.

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

本発明の主記憶装置の管理方式は、仮想記憶と主記憶の
対応を固定してページアウトの発生を禁止するページ固
定処理機能を用するものであり。
The main memory management method of the present invention uses a page fixation processing function that fixes the correspondence between virtual memory and main memory and prohibits page-out from occurring.

特に、仮想記憶領域の属性に従って特定の主記憶アドレ
スに対するページ固定と、仮想記憶領域の属性に従がう
事なく不特定の主記憶アドレスに対するページ固定とを
、選択して行なう事を特徴としている。
In particular, it is characterized by selectively performing page fixation to a specific main memory address according to the attributes of the virtual storage area, and page fixation to an unspecified main memory address without following the attributes of the virtual storage area. .

〔作用〕[Effect]

即ち1本発明によれば、特定の主記憶アドレスにページ
固定が集中するのを防止するため、仮想記憶領域の属性
とは無関係に、任意の主記憶アドレスに対するページ固
定を可能にし、更に真に特定の主記憶アドレスにページ
固定が必要とされるものだけを、当該特定の主記憶アド
レスにページ固定するものである。以後の説明において
は、上記の任意の主記憶アドレスに対するページ固定要
求をページ常駐要求と称する。
That is, according to the present invention, in order to prevent page fixing from concentrating on a specific main memory address, page fixing can be performed on any main memory address regardless of the attributes of the virtual storage area, and Only those that require page fixation to a specific main memory address are page fixed to that specific main memory address. In the following description, the page fixation request for the above-mentioned arbitrary main memory address will be referred to as a page resident request.

従来技術によるページ固定要求と、新たなページ常駐要
求は、同一仮想記憶領域に同時に各々の要求を施しても
、各々の目的が正しく達成されねばならない。
The purpose of the page fixing request according to the prior art and the new page resident request must be correctly achieved even if each request is made to the same virtual storage area at the same time.

ページ常駐されている仮想記憶領域にページ固定要求が
あった場合、現在割り当てられている主記憶アドレスが
当該仮想記憶領域の属性に合致したアドレスであれば、
そのままページ固定する。
When a page fixation request is made to a page-resident virtual storage area, if the currently allocated main memory address matches the attributes of the virtual storage area,
Fix the page as it is.

一方、現在割り当てられている主記憶アドレスが当該仮
想記憶領域の属・性に合致していなければ、属性に合致
する別の主記憶領域を選択し、かつ、現在の内容を新た
な主記憶領域に複写した後にページ固定することにより
、ページ常駐要求とページ固定要求の両方の目的を達成
することができる。
On the other hand, if the currently allocated main memory address does not match the attributes of the virtual storage area, another main storage area that matches the attributes is selected, and the current contents are transferred to the new main storage area. By fixing the page after copying to the page, the purpose of both the page resident request and the page fixation request can be achieved.

〔実施例〕〔Example〕

以下、添付の図面に示す実施例により、更に詳細に本発
明について説明する。
Hereinafter, the present invention will be explained in more detail with reference to embodiments shown in the accompanying drawings.

第1図は本発明の主記憶装置の管理方式の一実施例を示
すブロック図である。同図において、11はページ常駐
要求プログラム、12は主記憶解析部。
FIG. 1 is a block diagram showing an embodiment of the main storage device management method of the present invention. In the figure, 11 is a page residency request program, and 12 is a main memory analysis section.

13は主記憶選択部、14は主記憶複写部、15はペー
ジ常駐表示部を示している。
13 is a main memory selection section, 14 is a main memory copy section, and 15 is a page resident display section.

また、第2図は第1図に示すページ常駐要求プログラム
の内容を示すフローチャートである。
2 is a flowchart showing the contents of the page residency request program shown in FIG. 1.

ページ常駐要求プログラム11は、仮想記憶領域に対し
て主記憶ページを割り付けたままの状態にする必要が生
じた時に、オペレーティングシステムの主記憶解析部1
2に対して、ページ常駐要求を行う。主記憶解析部12
は、ページ常駐を要求された仮想記憶領域に対する主記
憶装置の割り付は状況を解析する。既に、要求された仮
想記憶領域に対して、主記憶装置のアドレスが割り付け
られていて、かつ、当該主記憶装置の割り付けに対して
既にページ固定手段が講じられているか、24ビツトア
ドレスを超える主記憶アドレス上に割り付けられている
場合には、当該主記憶領域のままページ常駐しても良い
ことをページ常駐表示部15に通知する。また、主記憶
装置のアドレスがまだ割り付けられていなかったり、割
れ付けられていても24ビツト以下の主記憶アドレスで
、かつページ固定されていない場合には、新たに主記憶
装置に最適な割り付けを行なうために主記憶選択部13
に通知する。
The page residency request program 11 is executed by the main memory analysis unit 1 of the operating system when it is necessary to keep the main memory page allocated to the virtual storage area.
A page resident request is made to 2. Main memory analysis unit 12
analyzes the main memory allocation situation for the virtual storage area requested to be page resident. Either a main memory address has already been allocated to the requested virtual storage area, and a page fixing method has already been taken for the main memory allocation, or the main memory address exceeds 24 bits. If it is allocated on a storage address, the page resident display unit 15 is notified that the page may remain resident in the main storage area. In addition, if the main memory address has not been allocated yet, or even if it has been allocated, the main memory address is 24 bits or less and the page is not fixed, a new optimal allocation for the main memory will be performed. Main memory selection unit 13
to notify.

主記憶選択部13は、システム内の主記憶装置の金主記
憶領域の中から、24ビツトを超える主記憶アドレスを
持つ空きページを優先的に選択する。
The main memory selection unit 13 preferentially selects an empty page having a main memory address exceeding 24 bits from the main memory area of the main memory in the system.

もし空きが無ければ、24ビツト以下の主記憶アドレス
を持つ空きページを選択する。ページ常駐を要求さ九た
仮想記憶領域に対して、初めて主記憶領域を割り付ける
場合には、主記憶選択部13は。
If there is no free page, select a free page with a main memory address of 24 bits or less. When allocating a main storage area for the first time to a virtual storage area for which page residency is requested, the main storage selection unit 13.

ここで選、択した主記憶領域をページ常駐しても良いこ
とをページ常駐表示部15に通知する。既に主記憶領域
が割れ付けられた仮想記憶領域に対して、新たな最適な
主記憶アドレスを持つ主記憶領域を割り付は直す場合に
は、主記憶選択部13は、主記憶複写部I4に対して、
領域の内容の複写を指示する。
The page resident display unit 15 is notified that the selected main storage area may be page resident. When reallocating a main memory area with a new optimal main memory address to a virtual storage area to which a main memory area has already been allocated, the main memory selection unit 13 sends a message to the main memory copying unit I4. for,
Instructs to copy the contents of an area.

主記憶複写部14は、ページ常駐要求時に既に割り付け
られていた主記憶領域の内容を、主記憶選択部13が選
択した最適の主記憶領域に複写し、かつ、当該仮想アド
レス領域用の動的アドレス変換テーブルにセットされて
いる主記憶アドレスも新しい主記憶アドレスに変更する
。変更前の複写の原本となる主記憶領域は、主記憶複写
部14でのすべての処理が完了した時点で、空きページ
として登録する。
The main memory copy unit 14 copies the contents of the main memory area that was already allocated at the time of the page residency request to the optimal main memory area selected by the main memory selection unit 13, and The main memory address set in the address conversion table is also changed to a new main memory address. The main storage area, which is the original copy before change, is registered as a free page when all processing in the main storage copying unit 14 is completed.

ページ常駐表示部I5は、主記憶解析部12.主記憶選
択部13あるいは主記憶複写部14によって決定した主
記憶領域のページ毎に、当該ページがページ常駐状態と
なっていることを表示する。これにより当該主記憶領域
は、ページアウトが抑止される′。この後、制御はペー
ジ常駐要求プログラム11に戻される。
The page resident display section I5 includes the main memory analysis section 12. For each page of the main memory area determined by the main memory selection unit 13 or the main memory copy unit 14, it is displayed that the page is in a page-resident state. This prevents the main storage area from being paged out'. After this, control is returned to the page residency request program 11.

また、オペレーティングシステムの主記憶解析部12に
24ビツトの主記憶アドレスへのページ固定要求が入力
された場合には、主記憶解析部12はページ固定要求さ
れた仮想記憶領域に対する主記憶装置の割り付は状態を
解析し、24ビツトアドレスを超える主記憶アドレス上
に割り付けられている等の場合には、主記憶選択部13
に対して24ビツトの主記憶アドレス上に割り付ける様
に指示する。
Furthermore, when a page fixation request to a 24-bit main memory address is input to the main memory analysis unit 12 of the operating system, the main memory analysis unit 12 allocates the main storage device to the virtual storage area for which the page fixation request has been made. The allocation analyzes the status, and if the address is allocated to a main memory address exceeding 24 bits, the main memory selection unit 13
It is instructed to allocate it on a 24-bit main memory address.

主記憶選択部13は、24ビツトの主記憶アドレスの空
きページを優先的に選択し、主記憶複写部14が当該空
ページに複写する処理を行なう。
The main memory selection unit 13 preferentially selects an empty page at a 24-bit main memory address, and the main memory copying unit 14 performs a process of copying to the empty page.

以上の説明から明らかな様に、本実施例によれば24ビ
ツトアドレスの主記憶領域に対するページ固定状態の集
中を避けることができ、システム全体として特定の主記
憶領域に対する競合の緩和が図れるため、システム性能
の向上に効果がある。
As is clear from the above explanation, according to this embodiment, it is possible to avoid concentration of page fixed states on the main storage area of 24-bit addresses, and the contention for a specific main storage area can be alleviated in the system as a whole. Effective in improving system performance.

尚、上記の実施例においては、24ビツトの主記憶アド
レスに対するページ固定を例にして説明したが、本発明
はこれに限定されるものではなく、31ビツトアドレス
等の他の主記憶アドレスにも適用できるものである。
In the above embodiment, page fixation for a 24-bit main memory address was explained as an example, but the present invention is not limited to this, and may be applied to other main memory addresses such as a 31-bit address. It is applicable.

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

本発明によれば、アドレッシング方式の異なるプログラ
ムを同時に一つのオペレーティングシステム内で実行す
る場合において、仮想記憶領域の内容を主記憶装置上に
ページ固定する際の主記憶アドレスを当該プログラムの
アドレッレング方式に依存しない位置に選択することが
できるので、同一アドレッシング方式のプログラムを大
量に実行することによる。特定の主記憶領域に対するペ
ージ固定要求の集中を回避することができ、主記憶領域
の負荷分散によるシステム性能の向上に効果がある。
According to the present invention, when programs with different addressing methods are simultaneously executed within one operating system, the main memory address when page-fixing the contents of the virtual storage area on the main memory device is set according to the addressing method of the program. This is because a large number of programs with the same addressing scheme can be executed, since they can be selected at independent locations. It is possible to avoid concentration of page fixing requests on a specific main storage area, and this is effective in improving system performance by distributing the load on the main storage area.

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

第1図は本発明の一実施例を示すブロック図、第2図は
第1図に示すページ常駐要求プログラムのフローチャー
トである。 11・・・ページ常駐要求プログラム、12・・・主記
憶解析部、13・・・主記憶選択部、14・・・主記憶
複写部、15・・・ページ常駐表示部。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a flowchart of the page residency request program shown in FIG. DESCRIPTION OF SYMBOLS 11... Page resident request program, 12... Main memory analysis section, 13... Main memory selection section, 14... Main memory copying section, 15... Page resident display section.

Claims (1)

【特許請求の範囲】[Claims] 1、仮想記憶と主記憶の対応を固定してページアウトの
発生を禁止するページ固定処理機能を有する主記憶装置
の管理方式において、仮想記憶領域の属性に従って特定
の主記憶アドレスに対するページ固定と、仮想記憶領域
の属性に従がう事なく不特定の主記憶アドレスに対する
ページ固定とを選択して行なう事を特徴とする主記憶装
置の管理方式。
1. In a main storage management system having a page fixing processing function that fixes the correspondence between virtual memory and main memory and prohibits the occurrence of page out, page fixation is performed for a specific main memory address according to the attributes of the virtual storage area; A main storage management method characterized by selectively fixing a page to an unspecified main storage address without following the attributes of a virtual storage area.
JP62048889A 1987-03-05 1987-03-05 Management system for main storage device Pending JPS63216146A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62048889A JPS63216146A (en) 1987-03-05 1987-03-05 Management system for main storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62048889A JPS63216146A (en) 1987-03-05 1987-03-05 Management system for main storage device

Publications (1)

Publication Number Publication Date
JPS63216146A true JPS63216146A (en) 1988-09-08

Family

ID=12815844

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62048889A Pending JPS63216146A (en) 1987-03-05 1987-03-05 Management system for main storage device

Country Status (1)

Country Link
JP (1) JPS63216146A (en)

Similar Documents

Publication Publication Date Title
US6023749A (en) Object and method for providing efficient multi-user access to shared operating system kernal code using instancing
US4403283A (en) Extended memory system and method
US5884077A (en) Information processing system and method in which computer with high load borrows processor of computer with low load to execute process
US5835775A (en) Method and apparatus for executing a family generic processor specific application
US7830395B2 (en) Virtualization of graphics resources
US6681239B1 (en) Computer system having shared address space among multiple virtual address spaces
US4730249A (en) Method to operate on large segments of data in a virtual memory data processing system
US6088779A (en) System and method for execution management of computer programs
JPS623359A (en) Virtual storage system
JPH11505653A (en) Operating system for use with protection domains in a single address space
US7940276B2 (en) Virtualization of graphics resources
US20060262124A1 (en) Virtualization of graphics resources
US6600493B1 (en) Allocating memory based on memory device organization
JPS63216146A (en) Management system for main storage device
JP2000148577A (en) Method and device for controlling access
JP2001075824A (en) Accessing method and recording medium with access processing program recorded thereon
JPS6345669A (en) Multi-processor system
JPH02178856A (en) Access method for graphic vram in multitask operating system
JPH04145554A (en) Real memory assigning system
JPH02178747A (en) Memory control system for virtual storage computer system
JPH04362766A (en) Shared resource control method
JPS63103344A (en) Generation system for real address continuous idle memory
JPS6180336A (en) Testing method of program
JPH02130653A (en) Area division type coordination garbage collection system
JPS6167158A (en) Address converting mechanism for electronic computer