Methods, apparatus, and articles of manufacture to virtualize performance counters

    公开(公告)号:US10452417B2

    公开(公告)日:2019-10-22

    申请号:US14721461

    申请日:2015-05-26

    Applicant: VMware, Inc.

    Abstract: Methods, apparatus, and articles of manufacture to virtualize performance counters are disclosed. An example method includes dividing performance events to be counted into a plurality of classes; assigning a first virtual performance counter of a virtual machine to a first performance event type in a first one of the classes; assigning a second virtual performance counter of the virtual machine to a second performance event type in a second one of the classes different from the first class; incrementing the first virtual performance counter in response to a first occurrence of the first performance event type during direct execution of guest instructions by the virtual machine; and not incrementing the first virtual performance counter in response to a second occurrence of the first performance event type during execution of emulated instructions by a hypervisor on behalf of the virtual machine.

    MONITORING AND DYNAMIC CONFIGURATION OF VIRTUAL-MACHINE MEMORY-MANAGEMENT
    9.
    发明申请
    MONITORING AND DYNAMIC CONFIGURATION OF VIRTUAL-MACHINE MEMORY-MANAGEMENT 审中-公开
    虚拟机记忆管理监控与动态配置

    公开(公告)号:US20150378762A1

    公开(公告)日:2015-12-31

    申请号:US14319231

    申请日:2014-06-30

    Applicant: VMware, Inc.

    Abstract: The current document is directed to methods and systems for monitoring the performance of memory management in virtual machines. By accurately measuring the performance of memory management in virtual machines, a virtualization layer can dynamically reconfigure virtual machines to use more optimal memory-management methods, intelligently schedule execution of virtual machines to increase memory-management performance, and migrate virtual machines among different servers and computer systems to increase memory-management performance.

    Abstract translation: 当前文档针对的是监视虚拟机内存管理性能的方法和系统。 通过准确测量虚拟机中的内存管理性能,虚拟化层可以动态重新配置虚拟机,以使用更优化的内存管理方法,智能地调度虚拟机的执行以提高内存管理性能,并在不同的服务器之间迁移虚拟机, 计算机系统增加内存管理性能。

    VIRTUAL PERFORMANCE MONITORING DECOUPLED FROM HARDWARE PERFORMANCE-MONITORING UNITS
    10.
    发明申请
    VIRTUAL PERFORMANCE MONITORING DECOUPLED FROM HARDWARE PERFORMANCE-MONITORING UNITS 有权
    五金性能监测单位进行的虚拟性能监测

    公开(公告)号:US20150312116A1

    公开(公告)日:2015-10-29

    申请号:US14263640

    申请日:2014-04-28

    Applicant: VMware, Inc.

    CPC classification number: H04L67/10 H04L43/00 H04L67/1097

    Abstract: The current document is directed to virtualized PMUs provided by virtualization layers. The currently disclosed virtualized PMUs are decoupled from the underlying PMU hardware features of processors on which the virtualization layer executes. The decoupling is achieved, in part, by time multiplexing the underlying hardware PMU registers to provide a greater number of virtualized PMU registers than the number of hardware-PMU registers provided by at least some of the underlying hardware PMUs. The decoupling is also achieved by providing for monitoring, by the virtualized PMU registers, of computed processor events and approximated processor events in addition to the processor events monitored by the underlying hardware PMUs. In addition, the virtualized PMU registers are implemented, in certain implementations, to support a variety of different monitoring modes, including monitoring of processor events that occur only during execution of the virtualization layer and monitoring of hardware-thread-specific processor events.

    Abstract translation: 当前文档针对虚拟化层提供的虚拟化PMU。 目前公开的虚拟化PMU与虚拟化层执行的处理器的底层PMU硬件特征分离。 解耦是部分地通过时间复用底层硬件PMU寄存器来实现的,以提供比由至少一些底层硬件PMU提供的硬件PMU寄存器的数量更多的虚拟化PMU寄存器。 还可以通过虚拟化PMU寄存器监视计算的处理器事件和近似处理器事件以及底层硬件PMU监控的处理器事件之外的其他方式实现去耦。 此外,在某些实现中,虚拟化PMU寄存器被实现以支持各种不同的监视模式,包括监视仅在执行虚拟化层期间发生的处理器事件以及监视硬件线程特定处理器事件。

Patent Agency Ranking