JPH02238535A - Page number variable on-demand paging system - Google Patents
Page number variable on-demand paging systemInfo
- Publication number
- JPH02238535A JPH02238535A JP1061157A JP6115789A JPH02238535A JP H02238535 A JPH02238535 A JP H02238535A JP 1061157 A JP1061157 A JP 1061157A JP 6115789 A JP6115789 A JP 6115789A JP H02238535 A JPH02238535 A JP H02238535A
- Authority
- JP
- Japan
- Prior art keywords
- page
- pages
- history information
- access history
- access
- 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
Links
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、オンデマンドページングの仮想記憶方式のメ
モリ管理を有する電子計算機システムのOSにおけるペ
ージ数可変型オンデマンドページング方式に関するもの
である。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a page number variable type on-demand paging method in an OS of a computer system having on-demand paging virtual storage method memory management.
従来、オンデマンドページングを用いた仮想記憶方式の
メモリ管理でのページングページ数は、固定値であり、
動的に可変値を持つことはなかった。Conventionally, the number of paging pages in virtual memory memory management using on-demand paging is a fixed value.
It never had a dynamically variable value.
また、ページアウトページ数は、そのシステム内で、あ
る一定値であり、ページインページ数も固定値であり、
そのページ数をシステム運用中に動的に変更することは
できなかった。In addition, the number of page-out pages is a certain value within the system, and the number of page-in pages is also a fixed value.
It was not possible to dynamically change the number of pages during system operation.
上述した従来のオンデマンドページング方式ては、ペー
ジアウトページ数、ページインページ数のいずれも固定
値であり、システム運用中に動的に変更することはでき
なかった。このため、プログラムのメモリアクセスの状
態によって効率的にページングを行うために、ページン
グページ数を変更することはできないという問題点があ
った。In the conventional on-demand paging method described above, both the number of page-out pages and the number of page-in pages are fixed values, and cannot be dynamically changed during system operation. Therefore, there is a problem in that the number of paging pages cannot be changed in order to perform paging efficiently depending on the memory access state of the program.
本発明のページ数可変型オンデマンドページング方式の
構成は、電子計算機システム内のオペレーティングシス
テム(以後、OSと称す)における仮想記憶方式でペー
ジングを利用したオンデマンドページング方式において
、時間監視を行う時間監視機構と、この時間監視機構に
よりある時間間隔ことにページアクセス履歴情報を収集
するページアクセス履歴情報収集機構と、その収集した
ページアクセス履歴情報をもとに、一定時間当たりの論
理空間上にアクセスページ間隔を調べ、そのアクセスペ
ージ間隔にもとづき、ページアウトページ数とページイ
ンページ数を動的に決定するペーシ数決定機構と、その
決定されたページ数によりページアウト及びページイン
を実行するページアウト機構及びページイン機構とを備
えて構成される。The configuration of the on-demand paging method with a variable number of pages of the present invention is based on a time monitoring method that performs time monitoring in an on-demand paging method that uses paging in a virtual memory method in an operating system (hereinafter referred to as OS) in a computer system. a page access history information collection mechanism that collects page access history information at certain time intervals using this time monitoring mechanism; A page number determination mechanism that examines the interval and dynamically determines the number of page-out pages and page-in pages based on the access page interval, and a page-out mechanism that executes page-out and page-in based on the determined number of pages. and a page-in mechanism.
次に、本発明の一実施例について図面を用いて説明する
。Next, one embodiment of the present invention will be described using the drawings.
第1図は本発明の一実施例の全体の構成を示すブロック
図であり、A及ひBはOS上で走行しているプログラム
、1は時間監視機構、2はページアクセス履歴情報収集
機構、3はページ数決定機構、4はページアウト機構、
5はページイン機構、6は二次媒体である。FIG. 1 is a block diagram showing the overall configuration of an embodiment of the present invention, in which A and B are programs running on the OS, 1 is a time monitoring mechanism, 2 is a page access history information collection mechanism, 3 is a page number determination mechanism, 4 is a page out mechanism,
5 is a page-in mechanism, and 6 is a secondary medium.
OS上で走行しているプログラムA及びBが確保してい
るペーシにREAD/WRITE!,ながどうかのペー
ジアクセス履歴情報を、ページアクセス履歴情報収集機
構2が時間監視機構1を用いてある時間間隔ごとに収集
する。READ/WRITE! to the pages secured by programs A and B running on the OS. , etc., the page access history information collection mechanism 2 uses the time monitoring mechanism 1 to collect page access history information at certain time intervals.
ページ数決定機構3は、ページアクセス履歴情報収集機
構2が収集したページアクセス履歴情報にもとづき、プ
ログラムA及びBがアクセスしたページの空間上の連続
性をチェックし、一括で行うページアウトページ数及び
ページインページ数を決定する。The page number determination mechanism 3 checks the spatial continuity of pages accessed by programs A and B based on the page access history information collected by the page access history information collection mechanism 2, and determines the number of page out pages at once. Determine the number of page-in pages.
ペーシアウト機構4は、メモリ負荷が高くなってページ
アウト必要と判断した時点で、ページ数決定機構3か決
定したページアウトページ数分、一括でメモリ内の情報
を二次媒休6にページアウトする6
また、ページイン機構5は、ページインが必要となった
時点で、ページ数決定機構3が決定した、ページインペ
ージ数により、二次媒休6がらメモリ内に情報をページ
インする。When the page-out mechanism 4 determines that the memory load becomes high and page-out is necessary, the page-out mechanism 4 pages out the information in the memory at once to the secondary medium 6 for the number of page-out pages determined by the page number determination mechanism 3. 6 In addition, the page-in mechanism 5 pages in information into the memory using the secondary medium 6 according to the number of page-in pages determined by the page number determining mechanism 3 when page-in becomes necessary.
以上説明したように、本発明は、ある時間間隔ごとにペ
ーシアクセス履歴情報を収集し、その収集したペーシア
クセス情報により、ある一定時間間隔ごとの論理空間上
のアクセスページ間隔を調べ、そのページ間隔によりペ
ージアウトページ数及びページインページ数を動的に決
定し、その決定したペーシ数によりページアウト及びペ
ージインを行うことにより、効率的にページングを行う
ことがてきるという効果がある。As explained above, the present invention collects page access history information at each certain time interval, uses the collected page access information to check the access page interval in a logical space at each certain time interval, and calculates the page interval between pages. By dynamically determining the number of page-out pages and the number of page-in pages, and performing page-out and page-in according to the determined number of pages, there is an effect that paging can be performed efficiently.
第1図は本発明の一実施例の構成を示すブロック図であ
る。
A,B・・・プログラム、1・・・時間監視機構、2・
・・ページアクセス履歴情報収集機構、3・・・ページ
数決定機構、4・・ペーシアウト機構、5・・・ページ
イン機構。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. A, B...Program, 1...Time monitoring mechanism, 2.
. . . page access history information collection mechanism, 3 . . page number determination mechanism, 4 . . . page-out mechanism, 5 . . . page-in mechanism.
Claims (1)
後、OSと称す)における仮想記憶方式でページングを
利用したオンデマンドページング方式において、時間監
視を行う時間監視機構と、この時間監視機構によりある
時間間隔ごとにページアクセス履歴情報を収集するペー
ジアクセス履歴情報収集機構と、その収集したページア
クセス履歴情報をもとに、一定時間当たりの論理空間上
にアクセスページ間隔を調べ、そのアクセスページ間隔
にもとづき、ページアウトページ数とページインページ
数を動的に決定するページ数決定機構と、その決定され
たページ数によりページアウト及びページインを実行す
るページアウト機構及びページイン機構とを備えること
により、効率的にページングを行うことを特徴とするペ
ージ数可変型オンデマンドページング方式。In the on-demand paging method that uses paging in the virtual memory method of the operating system (hereinafter referred to as OS) in a computer system, there is a time monitoring mechanism that monitors time and page access at certain time intervals by this time monitoring mechanism. Based on the page access history information collection mechanism that collects history information and the collected page access history information, the access page interval is checked in a logical space per certain period of time, and the number of page-out pages is calculated based on the access page interval. and a page number determination mechanism that dynamically determines the number of page-in pages, and a page-out mechanism and a page-in mechanism that execute page-out and page-in based on the determined number of pages. This is an on-demand paging method with a variable number of pages.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1061157A JPH02238535A (en) | 1989-03-13 | 1989-03-13 | Page number variable on-demand paging system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1061157A JPH02238535A (en) | 1989-03-13 | 1989-03-13 | Page number variable on-demand paging system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02238535A true JPH02238535A (en) | 1990-09-20 |
Family
ID=13163023
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1061157A Pending JPH02238535A (en) | 1989-03-13 | 1989-03-13 | Page number variable on-demand paging system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02238535A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2004102401A1 (en) * | 2003-05-13 | 2004-11-25 | Fujitsu Limited | I/o device, computer, computer system, i/o control program, os, page management program, and page management method |
| JP2014182740A (en) * | 2013-03-21 | 2014-09-29 | Nec Corp | Swap file transfer device, swap file transfer method, swap file transfer program, virtual storage device, and operating system |
-
1989
- 1989-03-13 JP JP1061157A patent/JPH02238535A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2004102401A1 (en) * | 2003-05-13 | 2004-11-25 | Fujitsu Limited | I/o device, computer, computer system, i/o control program, os, page management program, and page management method |
| US7430649B2 (en) | 2003-05-13 | 2008-09-30 | Fujitsu Limited | Input/output device, computer, computer system, input/output control program, OS, page management program, and page management method |
| JP2014182740A (en) * | 2013-03-21 | 2014-09-29 | Nec Corp | Swap file transfer device, swap file transfer method, swap file transfer program, virtual storage device, and operating system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20030036883A1 (en) | Extending width of performance monitor counters | |
| JP2528604B2 (en) | Memory management method and apparatus utilizing multi-bit vector history list display | |
| JPH02238535A (en) | Page number variable on-demand paging system | |
| US6473848B2 (en) | Method for controlling memory access on a machine with non-uniform memory access and machine for implementing such a method | |
| US6917569B1 (en) | Method for determining seek times in a disk array storage device | |
| US4984150A (en) | Virtual memory control management system | |
| JPH0310343A (en) | Hot spot data management processing system | |
| JP2975253B2 (en) | Multiplexed volume device | |
| JPH08190537A (en) | Multiprocessor system and process scheduling method | |
| JPH10154092A (en) | Database management system | |
| JP3061001B2 (en) | Memory allocation method in computer system | |
| JP2682746B2 (en) | Virtual computer system | |
| CN121277984A (en) | Database preloading method and device based on hybrid architecture and hot zone prediction | |
| US8614799B2 (en) | Memory paging | |
| JP3097345B2 (en) | Paging information collection method | |
| JPH03125236A (en) | Memory dump collection system | |
| JPH07122857B2 (en) | Information processing equipment | |
| JP2535584B2 (en) | Real memory fixed processing computer | |
| JP2513328B2 (en) | Dump output method | |
| JP2001154860A (en) | Memory managing method for operating system | |
| JPH04116742A (en) | Memory allocation system in virtual storage system | |
| Stevens | Heuristics for Disk Drive Positioning in 4.3 BSD. | |
| JPH02109147A (en) | Memory dump collection system | |
| JPH0438011B2 (en) | ||
| JPH0230059B2 (en) |