发明名称 Method and system for restoring consumed memory after memory consolidation
摘要 One embodiment of the system disclosed herein facilitates reduction of latency associated with accessing content of a memory page that has been swapped out by a guest operating system in a virtualized computer system. During operation, a hypervisor detects an I/O write command issued by the guest operating system at a swap location within the guest operating system's swap file and records the swap location. The hypervisor then prefetches contents of a page stored at the swap location within the guest operating system's swap file into a prefetch cache in host machine memory. Subsequently, the hypervisor detects an I/O read command issued by the guest operating system at the swap location within the swap file. In response, the hypervisor provides contents of the page to the guest operating system from the prefetch cache, thereby avoiding accessing the guest operating system's swap file.
申请公布号 US9547600(B2) 申请公布日期 2017.01.17
申请号 US201414447238 申请日期 2014.07.30
申请人 VMware, Inc. 发明人 Tarasuk-Levin Gabriel;Holler Anne
分类号 G06F12/08;G06F12/12 主分类号 G06F12/08
代理机构 代理人
主权项 1. A method for reducing latency associated with accessing content of a memory page that has been previously swapped out by a guest operating system in a virtualized computer system, comprising: identifying content of the memory page that has been previously swapped out by the guest operating system to a swap file; prefetching the identified content in the guest operating system's swap file; caching the prefetched content in a prefetch cache in host machine memory; detecting an I/O read command which is associated with the cached content and issued by the guest operating system; and providing the cached content from the prefetch cache, thereby avoiding accessing the guest operating system's swap file.
地址 Palo Alto CA US