System and method for efficient swap space allocation in a virtualized environment
Abstract
A technique for efficient swap space management creates a swap reservation file using thick provisioning to accommodate a maximum amount of memory reclamation from a set of one or more associated virtual machines (VMs). A VM swap file is created for each VM using thin provisioning. When a new block is needed to accommodate page swaps to a given VM swap file, a block is removed from the swap reservation file and a block is added to the VM swap file, thereby maintaining a net zero difference in overall swap storage. The removed block and the added block may be the same storage block if a block move operation is supported by a file system implementing the swap reservation file and VM swap files. The technique also accommodates swap space management of resource pools.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 4.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
In a computing system having a plurality of processes running therein, each process having a memory space that is backed by machine memory of the computer system and a corresponding thinly-provisioned swap file, a method for swapping out contents of a page of memory from the machine memory to a thinly-provisioned swap file, said method comprising: determining that the thinly-provisioned swap file needs additional capacity to store the contents of the page; moving a storage block from a thickly-provisioned swap reservation file to the thinly-provisioned swap file; and storing the contents of th
- Claim 2Depends on #1
The method of claim 1 , wherein the computing system is coupled to a mass storage system, and a file system for the thinly-provisioned swap files and the thickly-provisioned swap reservation file is associat
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗