JPH08161230A - Look-ahead method in on-demand paging - Google Patents

Look-ahead method in on-demand paging

Info

Publication number
JPH08161230A
JPH08161230A JP6300501A JP30050194A JPH08161230A JP H08161230 A JPH08161230 A JP H08161230A JP 6300501 A JP6300501 A JP 6300501A JP 30050194 A JP30050194 A JP 30050194A JP H08161230 A JPH08161230 A JP H08161230A
Authority
JP
Japan
Prior art keywords
page
fault
storage device
history information
pages
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
JP6300501A
Other languages
Japanese (ja)
Inventor
Takurou Kitayama
卓郎 喜多山
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP6300501A priority Critical patent/JPH08161230A/en
Publication of JPH08161230A publication Critical patent/JPH08161230A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE: To lower a page fault generation rate at the time of program execution for noncontinuously referring to pages and to accelerate a processing speed. CONSTITUTION: A program 1 during execution accesses a main memory unit 2, and when a page fault is generated, several pages including the page concerned are read. In this case, the page referred to next the page concerned in the past is stored in fault history information 8. Thus, when the page fault is generated, the pages are looked ahead in the order when the fault history information 8 is present and the pages are looked ahead in the order of storage in a secondary storage device in the other case.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、いわゆるオンデマンド
ページング方式を用いたオペレーティングシステムにお
いて、ページフォールトを生じた際のページの先読みを
効率的に行うオンデマンドページングにおける先読み方
法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an on-demand paging prefetching method for efficiently prefetching a page when a page fault occurs in an operating system using a so-called on-demand paging system.

【0002】[0002]

【従来の技術】情報処理装置において、アプリケーショ
ンプログラムが各種の処理を実行する場合、プログラム
やデータは主記憶装置に格納される。しかしながら、主
記憶装置はハードウェアの構成により限定されたアドレ
ス空間しか持たない。これに比し、アプリケーションプ
ログラムを大きなものにすると、主記憶装置内にアプリ
ケーションプログラム全てを格納することができなくな
る。そこで、従来、仮想記憶方式によって、ハードウェ
ア量に制限されない自由な仮想アドレス空間を設定する
ようにしている。このような方式では、実行中のプログ
ラムは主記憶装置の物理アドレス空間に関わらず、より
広い仮想アドレス空間をアクセスし、必要とするページ
が存在しない場合には、2次記憶装置から該当するペー
ジを主記憶装置に転送する。このような方式をオンデマ
ンドページング方式と呼び、情報処理装置のオペレーテ
ィングシステムに広く普及している。
2. Description of the Related Art In an information processing apparatus, when an application program executes various processes, the program and data are stored in a main storage device. However, the main storage device has only an address space limited by the hardware configuration. On the other hand, if the application program is large, it becomes impossible to store all the application programs in the main storage device. Therefore, conventionally, a virtual storage system is used to set a free virtual address space that is not limited by the amount of hardware. In such a method, the program being executed accesses a wider virtual address space regardless of the physical address space of the main storage device, and if the required page does not exist, the corresponding page from the secondary storage device is accessed. To the main storage device. Such a method is called an on-demand paging method and is widely used in operating systems of information processing devices.

【0003】[0003]

【発明が解決しようとする課題】ところで、ページフォ
ールトが発生した場合、該当するページを2次記憶装置
から主記憶装置に転送するだけでなく、そのページに続
く数ページを一括して主記憶装置に転送し、ページフォ
ールトが頻繁に発生するのを防止する方法がある。これ
をページの先読みと呼んでいるが、実際のプログラムで
は同一の処理の繰り返しや分岐等が数多く存在し、必ず
しも2次記憶装置に格納されたページ順(仮想アドレス
順)に従って処理が進められるとは限らない。また、デ
ータ領域等は格納順を無視してアクセスされることが多
く、非連続的なページ参照が多く発生する。従って、従
来のように連続的なページの参照を考慮したページ先読
み処理は必ずしもプログラムの高速処理に有効に作用す
るとは限らないといった問題があった。
By the way, when a page fault occurs, not only the corresponding page is transferred from the secondary storage device to the main storage device, but also several pages following the page are collectively sent to the main storage device. To prevent frequent page faults. This is called page prefetching, but in an actual program there are many repetitions and branches of the same processing, and it is assumed that processing proceeds in accordance with the page order (virtual address order) stored in the secondary storage device. Not necessarily. Further, the data area and the like are often accessed ignoring the storage order, and many non-continuous page references occur. Therefore, there has been a problem that the page read-ahead process in consideration of continuous page references as in the past does not always work effectively for high-speed processing of a program.

【0004】[0004]

【課題を解決するための手段】本発明は上記の点を解決
するため次の構成を採用する。この方法は、主記憶装置
をアクセスし、主記憶装置に格納されていないページへ
のアクセスがあったときページフォールトを発生させ
て、該当するページを含む一群のページを2次記憶装置
から主記憶装置へ転送する先読みを行う場合において、
予め設定されたフォールト履歴情報が存在する場合に
は、フォールト履歴情報に表された転送ページ順に従っ
て一群のページを先読みして2次記憶装置から主記憶装
置へ転送し、その他の場合には、ページフォールトを発
生したページと、そのページに連続して2次記憶装置に
格納されたページ順に先読みして、主記憶装置に転送す
る。
The present invention adopts the following constitution in order to solve the above problems. According to this method, a main memory is accessed, a page fault is generated when a page not stored in the main memory is accessed, and a group of pages including the corresponding page are stored in the main memory from the main memory. When performing prefetch to transfer to the device,
If there is preset fault history information, a group of pages is prefetched according to the transfer page order represented in the fault history information and transferred from the secondary storage device to the main storage device. In other cases, The page in which a page fault has occurred and the pages sequentially stored in the secondary storage device that follow the page are prefetched and transferred to the main storage device.

【0005】なお、発生したページフォールトに対し
て、2次記憶装置に格納された該当するページととも
に、他の任意のページを先読みして転送したにも関わら
ず、先読みしたページが参照されないままページフォー
ルトが発生したとき、該当するページと、その直後に参
照されたページとを、順に連続して先読みされるべきペ
ージとして対応付けて、フォールト履歴情報を生成する
とよい。
It should be noted that, with respect to the generated page fault, the page read without reference to the page read in advance is transferred in addition to the corresponding page stored in the secondary storage device and other arbitrary pages have been read in advance. When a fault occurs, the relevant page and the page referenced immediately after that may be associated with each other as pages to be prefetched successively in order, and the fault history information may be generated.

【0006】また、実行されるプログラムを予め解析
し、仮想アドレス順と異なる不連続なページ参照が行わ
れる場合をリストアップしてテーブル化し、該当するペ
ージ毎に次に読み出すべきページを対応付けたフォール
ト履歴情報を生成してもよい。
Further, the program to be executed is analyzed in advance, a case where discontinuous page references different from the virtual address order are made is listed and tabulated, and a page to be read next is associated with each relevant page. Fault history information may be generated.

【0007】[0007]

【作用】実行中プログラムが主記憶装置をアクセスし、
ページフォールトが発生するとそのページを含む数ペー
ジが読み出される。この場合に、過去にそのページの次
に参照されたページをフォールト履歴情報の中に格納し
ておく。従って、ページフォールトが発生したときに、
フォールト履歴情報が存在する場合にはその順にページ
を先読みし、その他の場合には2次記憶装置に格納され
た順にページを先読みする。これにより、非連続的にペ
ージを参照するプログラム等のページフォールト発生率
を低下させ、処理速度の向上を図る。
[Function] The running program accesses the main memory,
When a page fault occurs, several pages including the page are read. In this case, the page referenced next to the page in the past is stored in the fault history information. So when a page fault occurs,
If the fault history information is present, the pages are prefetched in that order, and in other cases, the pages are prefetched in the order stored in the secondary storage device. As a result, the page fault occurrence rate of a program or the like that refers to pages discontinuously is reduced, and the processing speed is improved.

【0008】[0008]

【実施例】以下、本発明を図の実施例を用いて詳細に説
明する。図1は、本発明のオンデマンドページングにお
ける先読み方法実施のための装置の機能ブロック図であ
る。図において、実行中プログラム1は主記憶装置2に
格納されたプログラムやデータを参照しながら一定の処
理を実行する。この主記憶装置2には2次記憶装置3に
格納されたプログラムやデータの一部が写像される。実
行中プログラム1によるアクセスでページフォールトが
発生したとき、所定のページングを制御するためにオン
デマンドページング制御部4が設けられる。このオンデ
マンドページング制御部4には、ページフォールト管理
部5、ページフォールト履歴保持部6、先読み管理部7
が設けられている。
The present invention will be described in detail below with reference to the embodiments shown in the drawings. FIG. 1 is a functional block diagram of an apparatus for implementing a prefetch method in on-demand paging according to the present invention. In the figure, the running program 1 executes a certain process while referring to the programs and data stored in the main storage device 2. A part of the programs and data stored in the secondary storage device 3 is mapped in the main storage device 2. An on-demand paging control unit 4 is provided to control predetermined paging when a page fault occurs due to access by the executing program 1. The on-demand paging control unit 4 includes a page fault management unit 5, a page fault history holding unit 6, and a prefetch management unit 7.
Is provided.

【0009】ページフォールト管理部5は実行中プログ
ラム1がページフォールトを発生した場合に、後で説明
するページングや先読み処理を実行させるための制御部
分である。ページフォールト履歴保持部6は、本発明に
おいて新たに設けられたもので、過去に発生したページ
フォールトの内容に従って、あるページが参照された場
合に、その次に参照されたページを検出し、一定のフォ
ーマットで格納しておく部分である。先読み管理部7は
ページフォールトが発生した場合、2次記憶装置3から
ページフォールトが発生したページのみならずその次に
参照されると予測されるページを数ページ一括して主記
憶装置2に転送する制御を行う部分である。
The page fault management unit 5 is a control unit for executing paging and prefetching, which will be described later, when the running program 1 causes a page fault. The page fault history holding unit 6 is newly provided in the present invention. When a page is referred to in accordance with the content of a page fault that occurred in the past, the page referred to next is detected, and the page is kept constant. It is a part to be stored in the format of. When a page fault occurs, the prefetch management unit 7 collectively transfers not only the page in which the page fault has occurred but also the page predicted to be referred to next from the secondary storage device 3 to the main storage device 2 in a batch. This is the part that controls.

【0010】図2に、仮想記憶方式とページングの説明
図を示す。この図に示すように、主記憶装置2によって
設定される物理アドレス空間2Aに対し、実行中プログ
ラム1の参照するプログラムやデータが大きいとき、実
行中プログラム1は仮想アドレス空間3Aを想定してア
クセスし、主記憶装置2に参照すべきページが存在しな
い場合、ページフォールトを発生させる。即ち、仮想ア
ドレス空間3Aの主記憶装置2に写像されていない部分
がアクセスされた場合、ページフォールトが発生する。
そして、その部分のプログラムやデータは、図1に示す
2次記憶装置3に格納されており、これが主記憶装置2
に転送される。この場合に、オンデマンドページング方
式ではページ単位でプログラムやデータが主記憶装置2
に転送され、更に本発明の場合、先読み方式を採用する
ことにより所定の数ページが一括して転送される。
FIG. 2 is an explanatory diagram of the virtual storage system and paging. As shown in this figure, when the program or data referenced by the executing program 1 is larger than the physical address space 2A set by the main memory 2, the executing program 1 accesses the virtual address space 3A assuming the virtual address space 3A. However, if there is no page to be referred to in the main storage device 2, a page fault is generated. That is, when a portion of the virtual address space 3A that is not mapped in the main memory 2 is accessed, a page fault occurs.
The programs and data of that portion are stored in the secondary storage device 3 shown in FIG. 1, and this is the main storage device 2.
Transferred to. In this case, in the on-demand paging method, the program and data are stored in the main storage device 2 page by page.
Further, in the case of the present invention, a predetermined number of pages are collectively transferred by adopting the prefetching method.

【0011】図3に、フォールト履歴情報の参照動作を
示す。この図の右側には仮想アドレス空間の各ページに
それぞれ一連番号を1から11まで付したものを表示し
た。また、左側にはフォールト履歴情報の内容を示し
た。このフォールト履歴情報の左側の番号は右側の番号
のページを参照する直前に参照されていたページ番号で
ある。即ち、例えばこの例では、1ページの次に2ペー
ジが参照され、2ページの次には4ページが参照されて
いる。このようなフォールト履歴情報は、実際にプログ
ラムを実行させ、その参照順を検出して記録することに
より生成される。また、あるいは、予め実行されるプロ
グラムを解析し、仮想アドレス順と異なる不連続なペー
ジ参照が行われる場合をリストアップしてマニュアルで
作成する。
FIG. 3 shows a reference operation of fault history information. On the right side of this figure, the page numbers in the virtual address space with serial numbers 1 to 11 are displayed. The content of fault history information is shown on the left side. The number on the left side of this fault history information is the page number that was referenced immediately before the page with the number on the right side was referenced. That is, for example, in this example, two pages are referenced after page 1, and four pages are referenced after page 2. Such fault history information is generated by actually executing the program and detecting and recording the reference order. Alternatively, a program to be executed in advance is analyzed, and cases where discontinuous page references different from the virtual address order are listed are created manually.

【0012】例えば、この例では、仮想アドレス空間の
第4ページを参照した場合にページフォールトが発生し
たものとする。通常の場合には、例えばこの第4ページ
と共に第5ページと第6ページが先読みされて主記憶装
置に転送される。一方、本発明においては、ここでフォ
ールト履歴情報を参照する。フォールト履歴情報によれ
ば第4ページの次は第10ページが参照されている。ま
た、第10ページの次は第8ページが参照されている。
従って、本発明においては、第4ページ、第10ペー
ジ、第8ページの順に先読みを行う。このようにすれ
ば、過去の履歴等から考慮した最適な順にページが参照
され、ページフォールトの発生率が十分に低く抑えられ
る。
For example, in this example, it is assumed that a page fault occurs when the fourth page of the virtual address space is referenced. In the normal case, for example, the fifth page and the sixth page are prefetched together with the fourth page and transferred to the main storage device. On the other hand, in the present invention, the fault history information is referred to here. According to the fault history information, the 10th page is referred to after the 4th page. Also, after the 10th page, the 8th page is referred to.
Therefore, in the present invention, prefetching is performed in order of the fourth page, the tenth page, and the eighth page. In this way, the pages are referred to in the optimum order in consideration of the past history and the like, and the occurrence rate of page faults can be suppressed sufficiently low.

【0013】図4には、このようなフォールト履歴情報
の更新方法説明図を示す。例えば、過去のプログラムの
実行履歴によって、このフォールト履歴情報を生成する
場合においては、最初は従来通り仮想アドレス順に4、
5、6ページというようにページを先読みし、主記憶装
置に転送する。しかしながら、その後再びページフォー
ルトが発生した場合、その経過を認識して先に説明した
ようなフォールト履歴情報を得る。
FIG. 4 is an explanatory view of a method of updating such fault history information. For example, in the case of generating this fault history information based on the past program execution history, it is initially 4 in virtual address order as before,
Pages are read ahead such as pages 5 and 6 and transferred to the main storage device. However, when a page fault occurs again after that, the progress is recognized and the fault history information described above is obtained.

【0014】例えば、この図に示すように、第4ページ
がアクセスされてページフォールトF1が発生したと
き、第4ページと第5ページと第6ページを先読みし、
主記憶装置に転送する。このとき、第4ページの次にフ
ェッチされた第5ページ、第6ページについてはページ
テーブルエントリーの更新を行わない。即ち、第4ペー
ジの参照中は、その状態を保持しておく。そして、その
次に第5ページあるいは第6ページが参照された場合は
よいが、第10ページが参照された場合には、ページフ
ォールトF2が発生する。ここで、第10ページと第1
1、第12ページが再び通常の手順で先読みされる。こ
のとき、直前まで保持していたページテーブルエントリ
ーを取り出し、第4ページの次に第10ページが参照さ
れたことを検出する。その結果がフォールト履歴情報と
して図1に示すページフォールト履歴保持部6に格納さ
れる。
For example, as shown in this figure, when the fourth page is accessed and a page fault F1 occurs, the fourth page, the fifth page, and the sixth page are prefetched,
Transfer to main memory. At this time, the page table entry is not updated for the fifth page and the sixth page fetched after the fourth page. That is, the state is maintained while referring to the fourth page. Then, although it is preferable that the fifth page or the sixth page is referred to next, a page fault F2 occurs when the tenth page is referred to. Here, page 10 and page 1
Pages 1 and 12 are read ahead again in the normal procedure. At this time, the page table entry held until immediately before is taken out, and it is detected that the 10th page is referred to after the 4th page. The result is stored as fault history information in the page fault history holding unit 6 shown in FIG.

【0015】同様にして、第10ページ、第11ページ
及び第12ページが転送された後、再び第8ページにつ
いてページフォールトが発生すると、第10ページの後
に第8ページが参照されたことが検出され、同様にして
ページフォールト履歴保持部に格納される。こうして、
フォールト履歴情報が次々に更新され、効率のよいペー
ジの先読み処理が実行される。
Similarly, when the page fault occurs again for the eighth page after the tenth page, the eleventh page and the twelfth page are transferred, it is detected that the eighth page is referenced after the tenth page. And similarly stored in the page fault history holding unit. Thus
The fault history information is updated one after another, and efficient page prefetch processing is executed.

【0016】一方、予めプログラムを解析してフォール
ト情報を生成して準備しておくこともできる。この場
合、これは図1に示したファイル管理部9によって処理
される。即ち、ファイル管理部9に予め用意されたフォ
ールト履歴情報がプログラム実行直前に初期値としてペ
ージフォールト履歴保持部6に読み込まれる。これによ
って、プログラム実行開始直後から、本発明による効率
的なページの先読み処理が可能となる。なお、プログラ
ムの実行に従って、図4を用いて説明したようにフォー
ルト履歴情報が更新され、その結果がプログラム終了後
再びファイル管理部9に格納される。これによって、フ
ァイル管理部9に格納されたフォールト履歴情報がプロ
グラムの実行を繰り返す度に最適化されより効率的な処
理が可能となる。なお、このようなフォールト履歴情報
はプログラムのコンパイルの際にコンパイラによって作
成することが可能である。
On the other hand, it is also possible to analyze the program in advance and generate and prepare fault information. In this case, this is processed by the file management unit 9 shown in FIG. That is, the fault history information prepared in advance in the file management unit 9 is read into the page fault history holding unit 6 as an initial value immediately before the program execution. As a result, the efficient page prefetching process according to the present invention becomes possible immediately after the start of program execution. The fault history information is updated as described with reference to FIG. 4 according to the execution of the program, and the result is stored again in the file management unit 9 after the program ends. As a result, the fault history information stored in the file management unit 9 is optimized each time the program is repeatedly executed, and more efficient processing becomes possible. Note that such fault history information can be created by a compiler when compiling a program.

【0017】本発明は以上の実施例に限定されない。本
発明は仮想記憶方式を使用したページングを採用する各
種の構成の情報処理装置に適用が可能であって、オンデ
マンドページング制御部の構成や機能ブロックはその情
報処理装置の構成に従って自由に選定して差し支えな
い。また、フォールト履歴情報等の形式も、例えば直前
に参照したページと、その次に参照したページとを関連
付けるようにしたが、数ページ一括して先読みし転送を
行う場合、数ページ分を連結した内容の情報とし、先読
み処理を効率的に行うといった実施態様も可能である。
The present invention is not limited to the above embodiments. INDUSTRIAL APPLICABILITY The present invention can be applied to information processing apparatuses having various configurations that employ paging using a virtual memory system, and the configuration and functional blocks of the on-demand paging control unit can be freely selected according to the configuration of the information processing apparatus. It doesn't matter. In addition, the format of the fault history information, for example, is such that the page referred to immediately before is associated with the page referred to next, but when prefetching and transferring several pages in a batch, several pages are linked. An embodiment in which the prefetch processing is efficiently performed by using the content information is also possible.

【0018】[0018]

【発明の効果】以上説明した本発明のオンデマンドペー
ジングにおける先読み方法は、プログラムが仮想アドレ
ス順でなく、不連続的にページを参照するような場合
に、その参照履歴をフォールト履歴情報として格納し、
これが存在する場合には、そのフォールト履歴情報に表
された転送ページ順に従って一群のページを先読みし2
次記憶装置から主記憶装置に転送する構成にしたので、
無条件に仮想アドレス順にページを先読みする場合に比
べてページフォールト発生率を減少させる。また、プロ
グラム実行速度を速めその効率化を図ることができる。
As described above, the prefetch method for on-demand paging according to the present invention stores the reference history as fault history information when the program refers to pages discontinuously, not in virtual address order. ,
If this exists, the group of pages is prefetched according to the transfer page order represented in the fault history information.
Since it is configured to transfer from the next storage device to the main storage device,
The page fault occurrence rate is reduced as compared with the case where pages are prefetched unconditionally in order of virtual addresses. In addition, the program execution speed can be increased and its efficiency can be improved.

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

【図1】本発明の方法実施のための装置ブロック図であ
る。
1 is a block diagram of an apparatus for performing the method of the present invention.

【図2】仮想記憶方式とページングの説明図である。FIG. 2 is an explanatory diagram of a virtual storage system and paging.

【図3】フォールト履歴情報の参照動作説明図である。FIG. 3 is an explanatory diagram of a reference operation of fault history information.

【図4】フォールト履歴情報更新方法説明図である。FIG. 4 is an explanatory diagram of a method of updating fault history information.

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

1 実行中プログラム 2 主記憶装置 3 2次記憶装置 4 オンデマンドページング制御部 5 ページフォールト管理部 6 ページフォールト履歴保持部 7 先読み管理部 8 フォールト履歴情報 9 ファイル管理部 1 Program in Execution 2 Main Storage Device 3 Secondary Storage Device 4 On-Demand Paging Control Unit 5 Page Fault Management Unit 6 Page Fault History Holding Unit 7 Prefetch Management Unit 8 Fault History Information 9 File Management Unit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 主記憶装置をアクセスし、主記憶装置に
格納されていないページへのアクセスがあったときペー
ジフォールトを発生させて、該当するページを含む一群
のページを2次記憶装置から主記憶装置へ転送する先読
みを行う場合において、 予め設定されたフォールト履歴情報が存在する場合に
は、前記フォールト履歴情報に表された転送ページ順に
従って前記一群のページを先読みして2次記憶装置から
主記憶装置へ転送し、 その他の場合には、ページフォールトを発生したページ
と、そのページに連続して2次記憶装置に格納されたペ
ージ順に先読みして、前記主記憶装置に転送することを
特徴とするオンデマンドページングにおける先読み方
法。
1. A main memory is accessed, a page fault is generated when a page not stored in the main memory is accessed, and a group of pages including the corresponding page is transferred from the secondary memory to the main memory. In the case of performing pre-reading for transfer to the storage device, if preset fault history information exists, the group of pages is pre-read in accordance with the transfer page order represented in the fault history information, and the pre-reading is performed from the secondary storage device. Transfer to the main storage device, and in other cases, prefetch the page in which the page fault has occurred and the pages stored in the secondary storage device consecutively to that page, and transfer to the main storage device. A prefetch method for on-demand paging.
【請求項2】 発生したページフォールトに対して、2
次記憶装置に格納された該当するページとともに、他の
任意のページを先読みして転送したにも関わらず、先読
みしたページが参照されないままページフォールトが発
生したとき、前記該当するページと、その直後に参照さ
れたページとを、順に連続して先読みされるべきページ
として対応付けて、フォールト履歴情報を生成すること
を特徴とする請求項1記載のオンデマンドページングに
おける先読み方法。
2. For a generated page fault, 2
When a page fault occurs without referencing the prefetched page even though the other page is prefetched and transferred together with the relevant page stored in the next storage device, the relevant page and immediately after that. The prefetch method for on-demand paging according to claim 1, wherein the page referred to in (1) is associated with each other as a page to be prefetched successively in order to generate fault history information.
【請求項3】 実行されるプログラムを予め解析し、仮
想アドレス順と異なる不連続なページ参照が行われる場
合をリストアップしてテーブル化し、該当するページ毎
に次に読み出すべきページを対応付けたフォールト履歴
情報を生成することを特徴とする請求項1記載のオンデ
マンドページングにおける先読み方法。
3. The program to be executed is analyzed in advance, a case where discontinuous page references different from the virtual address order are made is listed and tabulated, and a page to be read next is associated with each corresponding page. The prefetching method for on-demand paging according to claim 1, wherein fault history information is generated.
JP6300501A 1994-12-05 1994-12-05 Look-ahead method in on-demand paging Pending JPH08161230A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6300501A JPH08161230A (en) 1994-12-05 1994-12-05 Look-ahead method in on-demand paging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6300501A JPH08161230A (en) 1994-12-05 1994-12-05 Look-ahead method in on-demand paging

Publications (1)

Publication Number Publication Date
JPH08161230A true JPH08161230A (en) 1996-06-21

Family

ID=17885581

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6300501A Pending JPH08161230A (en) 1994-12-05 1994-12-05 Look-ahead method in on-demand paging

Country Status (1)

Country Link
JP (1) JPH08161230A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7337278B2 (en) 2004-04-15 2008-02-26 International Business Machines Corporation System, method and storage medium for prefetching via memory block tags
US7386679B2 (en) 2004-04-15 2008-06-10 International Business Machines Corporation System, method and storage medium for memory management
JP2010257173A (en) * 2009-04-24 2010-11-11 Nec Corp System, and method for managing memory, and program
JP2012533135A (en) * 2009-07-13 2012-12-20 アップル インコーポレイテッド TLB prefetching
JP2017091512A (en) * 2015-11-06 2017-05-25 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Method, system, and program for reducing reactivation time of services
KR20170065276A (en) * 2015-12-03 2017-06-13 삼성전자주식회사 The control method of a page fault in the non-volatile main memory system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7337278B2 (en) 2004-04-15 2008-02-26 International Business Machines Corporation System, method and storage medium for prefetching via memory block tags
US7386679B2 (en) 2004-04-15 2008-06-10 International Business Machines Corporation System, method and storage medium for memory management
US7493453B2 (en) 2004-04-15 2009-02-17 International Business Machines Corporation System, method and storage medium for prefetching via memory block tags
US7617364B2 (en) 2004-04-15 2009-11-10 International Business Machines Corporation System, method and storage medium for prefetching via memory block tags
US7783837B2 (en) 2004-04-15 2010-08-24 International Business Machines Corporation System and storage medium for memory management
JP2010257173A (en) * 2009-04-24 2010-11-11 Nec Corp System, and method for managing memory, and program
JP2012533135A (en) * 2009-07-13 2012-12-20 アップル インコーポレイテッド TLB prefetching
JP2017091512A (en) * 2015-11-06 2017-05-25 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Method, system, and program for reducing reactivation time of services
US10834228B2 (en) 2015-11-06 2020-11-10 International Business Machines Corporation Method to reduce reactivation time of cloud based services
KR20170065276A (en) * 2015-12-03 2017-06-13 삼성전자주식회사 The control method of a page fault in the non-volatile main memory system

Similar Documents

Publication Publication Date Title
JP3718319B2 (en) Hardware mechanism for optimizing instruction and data prefetching
JP3717212B2 (en) Information processing apparatus and information processing unit
US6785772B2 (en) Data prefetching apparatus in a data processing system and method therefor
US5875318A (en) Apparatus and method of minimizing performance degradation of an instruction set translator due to self-modifying code
US6684319B1 (en) System for efficient operation of a very long instruction word digital signal processor
US6507895B1 (en) Method and apparatus for access demarcation
US5946492A (en) Compiler that reduces call stack size through identification of stackless variables
JPH08161230A (en) Look-ahead method in on-demand paging
EP1040412B1 (en) Processor executing a computer instruction which generates multiple data-type results
US6308242B1 (en) Apparatus for adaptively controlling a prefetch queue based on various flush conditions
KR100871185B1 (en) Dedicated cache memory
KR19990087830A (en) Computing Devices, Compiler Methods, and Multiple Cache Line Preloading Methods
KR20010102285A (en) Methods and apparatus for facilitating direct memory access
JP3718667B2 (en) Information processing apparatus and information processing unit
JPH04365133A (en) Preload instruction executing device and program correcting device
JP3576992B2 (en) Image processing apparatus, image processing method, and program
JP2727023B2 (en) Information processing device
JP2902847B2 (en) Self-modifying code execution method
JPH11249959A (en) Method and device for cache memory control
JPS63141130A (en) Instruction prefetching device
JPH0444139A (en) Prefetch control system
JPH03119424A (en) Information processing system and its device
JPH1145180A (en) Cache control system
JPH0397032A (en) Instruction prefetch system
JPS6191725A (en) Address matching control system