Pre-fetching of pages prior to a hard page fault sequence
Abstract
Hard page fault patterns of an application program module are analyzed in order to determine the pages that will be retrieved from disk storage during a common hard page fault scenario. Copies of, or references to, the determined pages are stored in a scenario file, along with an index referred to as a page sequence. The scenario file may also include a prologue indicating events that lead to a hard page fault scenario and an epilogue that may indicate subsequent hard page fault scenarios. Execution of the application program module is monitored to detect the occurrence of a hard page fault scenario. When a hard page fault scenario is detected, a corresponding scenario file is fetched from disk storage and the determined pages, or copies thereof, are transferred into RAM. The determined pages, or copies thereof, may be placed on a stand-by list in RAM and later soft-faulted into the working set of the application program upon request by the application program module, thereby avoiding a sequence of hard page faults.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 19.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
In a computer system, a method for avoiding hard page faults during a hard page fault scenario of an application program module, the hard page fault scenario comprising a situation in which the application program module attempts to access one or more pages that are unavailable in RAM and must be retrieved from a disk storage, the method comprising the computer implemented steps of: prior to an occurrence of the hard page fault scenario, determining which pages will be retrieved from disk; detecting the occurrence of the hard page fault scenario; and in response to detecting the hard page faul
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗