-
公开(公告)号:US11543988B1
公开(公告)日:2023-01-03
申请号:US17384469
申请日:2021-07-23
申请人: VMware, Inc.
发明人: Arunachalam Ramanathan , Yury Baskakov , Anurekh Saxena , Ying Yu , Rajesh Venkatasubramanian , Michael Robert Stunes
摘要: A method of preserving the contiguity of large pages of a workload during migration of the workload from a source host to a destination host includes the steps of: detecting at the destination host, receipt of a small page of zeros from the source host, wherein, at the source host, the small page is part of one of the large pages of the workload; and upon detecting the receipt of the small page of zeros, storing, at the destination host, all zeros in a small page that is part of one of the large pages of the workload.
-
公开(公告)号:US09529609B2
公开(公告)日:2016-12-27
申请号:US14101796
申请日:2013-12-10
申请人: VMware, Inc.
发明人: Xavier DeGuillard , Ishan Banerjee , Qasim Ali , Yury Baskakov , Kiran Tati , Rajesh Venkatasubramanian
CPC分类号: G06F9/455 , G06F9/45558 , G06F9/5016 , G06F9/5077 , G06F2009/45583 , G06F2212/152
摘要: A system and method are disclosed for improving operation of a memory scheduler operating on a host machine supporting virtual machines (VMs) in which guest operating systems and guest applications run. For each virtual machine, the host machine hypervisor categorizes memory pages into memory usage classes and estimates the total number of pages for each memory usage class. The memory scheduler uses this information to perform memory reclamation and allocation operations for each virtual machine. The memory scheduler further selects between ballooning reclamation and swapping reclamation operations based in part on the numbers of pages in each memory usage class for the virtual machine. Calls to the guest operating system provide the memory usage class information. Memory reclamation not only can improve the performance of existing VMs, but can also permit the addition of a VM on the host machine without substantially impacting the performance of the existing and new VMs.
摘要翻译: 公开了一种系统和方法,用于改进在支持客机操作系统和来宾应用运行的虚拟机(VM)的主机上运行的存储器调度器的操作。 对于每个虚拟机,主机管理程序将内存页分为内存使用类,并估计每个内存使用类的总页数。 内存调度器使用该信息为每个虚拟机执行内存回收和分配操作。 存储器调度器还部分地基于虚拟机的每个存储器使用类别中的页数来选择气球回收和交换回收操作之间。 对客户机操作系统的调用提供了内存使用类信息。 内存回收不仅可以提高现有虚拟机的性能,还可以允许在主机上添加虚拟机,而不会对现有和新的虚拟机造成实质性的影响。
-
公开(公告)号:US09053065B2
公开(公告)日:2015-06-09
申请号:US13710215
申请日:2012-12-10
申请人: VMware, Inc.
发明人: Alexander Thomas Garthwaite , Yury Baskakov , Irene Zhang , Kevin Scott Christopher , Jesse Pool
CPC分类号: G06F12/16 , G06F9/45558 , G06F9/461 , G06F2009/45575 , G06F2009/45583
摘要: A process for lazy checkpointing is enhanced to reduce the number of read/write accesses to the checkpoint file and thereby speed up the checkpointing process. The process for restoring a state of a virtual machine (VM) running in a physical machine from a checkpoint file that is maintained in persistent storage includes the steps of detecting access to a memory page of the virtual machine that has not been read into physical memory of the VM from the checkpoint file, determining a storage block of the checkpoint file to which the accessed memory page maps, writing contents of the storage block in a buffer, and copying contents of a block of memory pages that includes the accessed memory page from the buffer to corresponding locations of the memory pages in the physical memory of the VM. The storage block of the checkpoint file may be compressed or uncompressed.
摘要翻译: 增强了用于延迟检查点的过程,以减少对检查点文件的读/写访问次数,从而加快了检查点处理过程。 从维护在持久存储器中的检查点文件恢复在物理机器中运行的虚拟机(VM)的状态的过程包括以下步骤:检测对尚未被读入物理存储器的虚拟机的存储器页面的访问 从所述检查点文件确定所述VM的存储块,确定所访问的存储器页映射到的所述检查点文件的存储块,将所述存储块的内容写入缓冲器,以及将包括所访问的存储器页的存储器页块的内容从 缓冲区到VM的物理内存中的内存页的相应位置。 检查点文件的存储块可以被压缩或未压缩。
-
公开(公告)号:US11586371B2
公开(公告)日:2023-02-21
申请号:US17384382
申请日:2021-07-23
申请人: VMware, Inc.
发明人: Yury Baskakov , Ying Yu , Anurekh Saxena , Arunachalam Ramanathan , Frederick Joseph Jacobs , Giritharan Rashiyamany
IPC分类号: G06F12/1009 , G06F3/06 , G06F9/455 , G06F12/109
摘要: A method of populating page tables of an executing workload during migration of the executing workload from a source host to a destination host includes the steps of: before resuming the workload at the destination host, populating the page tables of the workload at the destination host, wherein the populating comprises inserting mappings from virtual addresses of the workload to physical addresses of system memory of the destination host; and upon completion of populating the page tables, resuming the workload at the destination host.
-
公开(公告)号:US09977747B2
公开(公告)日:2018-05-22
申请号:US15051940
申请日:2016-02-24
申请人: VMware, Inc.
发明人: Yury Baskakov , Alexander Thomas Garthwaite , Rajesh Venkatasubramanian , Irene Zhang , Seongbeom Kim , Nikhil Bhatia , Kiran Tati
IPC分类号: G06F12/00 , G06F12/121 , G06F12/1009 , G06F12/02 , G06F9/455 , G06F12/1027
CPC分类号: G06F12/121 , G06F9/45558 , G06F12/023 , G06F12/1009 , G06F12/1027 , G06F2009/45583 , G06F2212/1016 , G06F2212/1044
摘要: Memory performance in a computer system that implements large page mapping is improved even when memory is scarce by identifying page sharing opportunities within the large pages at the granularity of small pages and breaking up the large pages so that small pages within the large page can be freed up through page sharing. In addition, the number of small page sharing opportunities within the large pages can be used to estimate the total amount of memory that could be reclaimed through page sharing.
-
公开(公告)号:US09342248B2
公开(公告)日:2016-05-17
申请号:US14265062
申请日:2014-04-29
申请人: VMware, Inc.
CPC分类号: G06F3/0611 , G06F3/0647 , G06F3/0664 , G06F3/0685 , G06F9/45533 , G06F12/1081 , G06F12/109 , G06F2212/657
摘要: A computer implemented method for reducing the latency of an anticipated read of disk blocks from a swap file in a virtualized environment. The environment includes a host swap file maintained by a host operating system and a guest swap file maintained but a guest operating system. First, the method identifies a sequence of disk blocks that was written in the guest swap file. The method then detects within the sequence of blocks a first disk block that contains a reference to a second disk block that is stored in the host swap file. The method then replaces the first disk block in the guest swap file with the second disk block.
摘要翻译: 一种计算机实现的方法,用于减少虚拟化环境中的交换文件中磁盘块预期读取的延迟。 环境包括由主机操作系统维护的主机交换文件和维护客机操作系统的客户交换文件。 首先,该方法识别在客户交换文件中写入的一系列磁盘块。 该方法然后在块序列内检测包含对存储在主机交换文件中的第二磁盘块的引用的第一磁盘块。 然后,该方法将客户交换文件中的第一个磁盘块替换为第二个磁盘块。
-
公开(公告)号:US20150309736A1
公开(公告)日:2015-10-29
申请号:US14265062
申请日:2014-04-29
申请人: VMware, Inc.
CPC分类号: G06F3/0611 , G06F3/0647 , G06F3/0664 , G06F3/0685 , G06F9/45533 , G06F12/1081 , G06F12/109 , G06F2212/657
摘要: A computer implemented method for reducing the latency of an anticipated read of disk blocks from a swap file in a virtualized environment. The environment includes a host swap file maintained by a host operating system and a guest swap file maintained but a guest operating system. First, the method identifies a sequence of disk blocks that was written in the guest swap file. The method then detects within the sequence of blocks a first disk block that contains a reference to a second disk block that is stored in the host swap file. The method then replaces the first disk block in the guest swap file with the second disk block.
摘要翻译: 一种计算机实现的方法,用于减少虚拟化环境中的交换文件中磁盘块预期读取的延迟。 环境包括由主机操作系统维护的主机交换文件和维护客机操作系统的客户交换文件。 首先,该方法识别在客户交换文件中写入的一系列磁盘块。 该方法然后在块序列内检测包含对存储在主机交换文件中的第二磁盘块的引用的第一磁盘块。 然后,该方法将客户交换文件中的第一个磁盘块替换为第二个磁盘块。
-
公开(公告)号:US11995459B2
公开(公告)日:2024-05-28
申请号:US17002233
申请日:2020-08-25
申请人: VMware, Inc.
发明人: Arunachalam Ramanathan , Yanlei Zhao , Anurekh Saxena , Yury Baskakov , Jeffrey W. Sheldon , Gabriel Tarasuk-Levin , David A. Dunn , Sreekanth Setty
IPC分类号: G06F9/455 , G06F9/50 , G06F12/1027
CPC分类号: G06F9/45558 , G06F9/5077 , G06F12/1027 , G06F2009/4557 , G06F2009/45583 , G06F2212/152
摘要: A virtual machine (VM) is migrated from a source host to a destination host in a virtualized computing system, the VM having a plurality of virtual central processing units (CPUs). The method includes copying, by VM migration software executing in the source host and the destination host, memory of the VM from the source host to the destination host by installing, at the source host, write traces spanning all of the memory and then copying the memory from the source host to the destination host over a plurality of iterations; and performing switch-over, by the VM migration software, to quiesce the VM in the source host and resume the VM in the destination host. The VM migration software installs write traces using less than all of the virtual CPUs, and using trace granularity larger than a smallest page granularity.
-
公开(公告)号:US09501422B2
公开(公告)日:2016-11-22
申请号:US14302069
申请日:2014-06-11
申请人: VMware, Inc.
发明人: Yury Baskakov , Peng Gao , Joyce Kay Spencer
CPC分类号: G06F12/1009 , G06F9/45558 , G06F9/5077 , G06F12/1027 , G06F12/12 , G06F12/121 , G06F2009/45583 , G06F2212/1024 , G06F2212/652 , G06F2212/702
摘要: Large pages that may impede memory performance in computer systems are identified. In operation, mappings to selected large pages are temporarily demoted to mappings to small pages and accesses to these small pages are then tracked. For each selected large page, an activity level is determined based on the tracked accesses to the small pages included in the large page. By strategically selecting relatively low activity large pages for decomposition into small pages and subsequent memory reclamation while restoring the mappings to relatively high activity large pages, memory consumption is improved, while limiting performance impact attributable to using small pages.
-
公开(公告)号:US09330015B2
公开(公告)日:2016-05-03
申请号:US14302051
申请日:2014-06-11
申请人: VMware, Inc.
发明人: Yury Baskakov , Peng Gao , Joyce Kay Spencer
CPC分类号: G06F12/1009 , G06F9/45558 , G06F9/5077 , G06F12/0253 , G06F12/1027 , G06F12/12 , G06F2009/45583 , G06F2212/1024 , G06F2212/651 , G06F2212/652 , G06F2212/657
摘要: Large pages that may impede memory performance in computer systems are identified. In operation, mappings to selected large pages are temporarily demoted to mappings to small pages and accesses to these small pages are then tracked. For each selected large page, an activity level is determined based on the tracked accesses to the small pages included in the large page. By strategically selecting relatively low activity large pages for decomposition into small pages and subsequent memory reclamation while restoring the mappings to relatively high activity large pages, memory consumption is improved, while limiting performance impact attributable to using small pages.
摘要翻译: 确定可能阻碍计算机系统中的记忆性能的大页面。 在操作中,与所选大页面的映射临时降级到小页面的映射,然后跟踪对这些小页面的访问。 对于每个选定的大页面,基于对包含在大页面中的小页面的跟踪访问来确定活动级别。 通过战略性地选择相对较低的活动大页面进行分解为小页面和随后的内存回收,同时将映射恢复到相对较高的活动大页面,提高了内存消耗,同时限制了使用小页面的性能影响。
-
-
-
-
-
-
-
-
-