Page compressibility checker
Abstract
Techniques for checking the compressibility of a memory page that is allocated to a virtual machine (VM) running on a host system are provided. In one embodiment, the host system can determine a compression ratio for the memory page by compressing the memory page using a first compression algorithm. The host system can then compare the compression ratio to a threshold. If the compression ratio does not exceed the threshold, the host system can predict that the memory page is compressible by a second compression algorithm that is distinct from the first compression algorithm. On average, the second compression algorithm can be slower, but achieve a lower compression ratio, than the first compression algorithm.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 21 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for checking the compressibility of virtual machine (VM) memory pages for facilitating host swapping on a host system, the method comprising: identifying a swap target VM that a hypervisor of the host system has determined to be a target for host swapping; determining, by the host system, a target number of swap candidate pages to be swapped to disk from an allocated memory space of the swap target VM; selecting, by the host system, a memory page at random from the allocated memory space of the swap target VM; determining, by the host system, a compression ratio for the memory page by
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (21)
Non-Patent Literature (5)
- B. Agrawal et al., "Vmware view planner: Measuring true virtual desktops experience at scale", VMware Tech Journal, Dec. 2012.
- Dell DVD Store. http://en.community.dell.com/techcenter/extras/w/wiki/dvd-store.aspx.
- LZ4, Extremely Fast Compression Algorithm, https://code.google.com/p/lz4/, viewed Apr. 16, 2014.
- LZO, Version 2.06, Aug. 12, 2011, http://www.oberhumer.com/opensource/lzo.
- Molina et al, "Addressing Memory Exhaustion Failures in Virtual Machines in a Cloud", 2013 IEEE, 6 pages.