Selectively retaining a topmost subpool expansion to prevent thrashing
Abstract
A method and program product to selectively retain or discard subpool expansions. When a subpool has been tuned to its limit (a maximum extension size is established), then a subsequent expansion allocation of this tuned expansion is queued on top of a memory subpool. Otherwise, expansions are queued on the bottom of the subpool. All expansions other than the topmost one, which is retained by the system, are rapidly returned to the system when their storage is no longer needed by the various processes that have finished. The topmost expansion is retained as long as the subpool remains tuned to the maximum extension size. By permitting the topmost expansion to remain available to the subpool for storage allocation, the topmost expansion is retained beyond a short term period typical of expansions, which allows the topmost expansion to stay around for a sufficient time to prevent subpool thrashing.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for preventing subpool thrashing comprising: determining an appropriate subpool expansion size needed to satisfy storage requests by processes able to utilize a subpool of memory; dynamically repeating the determining of the appropriate subpool expansion size as storage requirements change; selectively adding an expansion to the subpool to satisfy storage requests when additional storage is needed; queuing the added expansion on top of the subpool when a value of the subpool expansion size is a maximum size at a time that the added expansion is to be queued; queuing the added expansio
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗