Pre-fetching of pages prior to a hard page fault sequence
Abstract
A method for pre-fetching of pages prior to a hard page fault sequence is described. A scenario file comprising a list of pages that need to be pre-fetched may be created. A scenario that requires pre-fetching may be automatically detected when process creation begins (such as at application startup or system boot). The scenario begins and it is determined whether or not a scenario file exists for the scenario. If not, the process continues (for example, the application is started up and run, the system is booted, etc.). If a scenario file does exist, the pages in the scenario file are pre-fetched to RAM. The process continues (application is started up and run, the system is booted, etc.). Pages that are used by the application are logged into a scenario log. The scenario log is also used to log page faults. An end scenario timer is started and it is determined whether a page fault (soft or hard) has been detected. Page faults are logged into memory (the scenario log) and the end scenario timer is reset each time a new page fault is encountered. If the end scenario timer has reached a predetermined threshold, the scenario ends and a work item is queued to post-process the scenario
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 34.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
In a computer system, a method for avoiding hard page faults during the booting of an operating system, the method comprising the steps of: prior to booting the operating system, determining which pages will be retrieved from disk; detecting that the operating system needs to be booted; and in response to detecting that the operating system needs to be booted, fetching the determined pages into a RAM of the computer system, whereby the determined pages will be available in the RAM and hard page faults will not occur during the booting of the operating system.
- Claim 2Depends on #1
The method of claim 1 , wherein the step of determining which pages will be retrieved from disk comprises the steps of: creating a log of hard page faults that occur during the booting of the operating system; analyzing the log to find a
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 34 total)
References Cited — Backward Prior Art (4)
Non-Patent Literature (5)
- <ITALIC>An architecture for software-controlled data prefetching</ITALIC><PDAT>; Alexander C. Klaiber and Henry M. Levy; <HIL><PDAT>Proceedings of the 18</ITALIC><HIL><th </SP><HIL><PDAT>annual international symposium on Computer architecture</ITALIC><PDAT>, 1991, pp. 43-53. </STEXT>
- <ITALIC>An effective on-chip preloading scheme to reduce data access penalty</ITALIC><PDAT>; Jean-Loup Baer and Tien-Fu Chen; <HIL><PDAT>Proceedings of the 1991 conference on Supercomputing</ITALIC><PDAT>, 1991, pp. 176-186. </STEXT>
- <ITALIC>An effective programmable prefetch engine for on-chip caches</ITALIC><PDAT>; Tien-Fu Chen; <HIL><PDAT>Proceedings of the 28</ITALIC><HIL><th </SP><HIL><PDAT>annual international symposium on Microarchitecture</ITALIC><PDAT>, 1995, pp. 237-242. </STEXT>
- <ITALIC>Distributed, configurable memory management in an operating system supporting quality of service</ITALIC><PDAT>; I. McDonald; <HIL><PDAT>Proceedings of the 7</ITALIC><HIL><th </SP><HIL><PDAT>IEEE Workshop on Future Trends of Distributed Computing Systems</ITALIC><PDAT>, 1999, pp. 191-196. </
- <ITALIC>How to pack trees</ITALIC><PDAT>; J. Gil and A. Itai; <HIL><PDAT>Journal of Algorithms</ITALIC><PDAT>, 1999, V.32, N2 (AUG) pp. 108-132.</STEXT>