Showing posts with label CPU. Show all posts
Showing posts with label CPU. Show all posts

Wednesday, October 9, 2019

vRealize Operations Manager 7.5 - Part8 - Super Metrics

In this article, I will briefly explain about using super metrics in vROps 7.5. For example, I will take the VM NUMA optimization super metric which was released recently. You can download the super metric JSON file from the VMware sample exchange

Once the JSON file is downloaded, login to your vROps instance. Navigate to Administration - Configuration and select Super Metrics. Click on Import Super Metric.


Browse and select the JSON super metric file that you downloaded. Click DONE.


Once it is done, you can see the two super metrics. 


To enable the super metric in a policy:
Select the super metric - Edit Selected Super Metric - Goto Enable in a Policy  - Select vSphere Solution's Default Policy and click FINISH.


Now after the default collection interval, you can see the super metric tab as shown below. 


As you can see in the above screenshot, for this virtual machine "lustre01", recommendations are: 
  • NUMA optimal CPU socket: 1 
  • NUMA optimal CPU cores per socket: 8

Hope it was useful. Cheers!

References


Related posts

Saturday, November 17, 2018

Real time VMware VM resource monitoring using PowerShell

This post is about monitoring resource usage of a list of virtual machines hosted on VMware ESXi clusters using PowerCLI. Output format is given below which gets refreshed automatically every few seconds.

Prerequisites:
  • VMware.PowerCLI module should be installed on the node from which you are running the script
  • You can verify using: Get-Module -Name VMware.PowerCLI -ListAvailable
  • If not installed, you can find the latest version from the PSGallery: Find-Module -Name VMware.PowerCLI
  • Install the module: Install-Module -Name VMware.PowerCLI
Note:
  • I am using PowerCLI Version 11.0.0.10380590

Latest version of the project and code available at: github.com/vineethac/vmware_vm_monitor

    Sample screenshot of output:


    Notes:

    VMware guidance: CPU Ready time and Co-Stop values per core greater than 5% and 3% respectively could  be a performance concern.

    Hope this will be useful for resource monitoring as well as right sizing of VMs. Cheers!

    References:

    Sunday, July 10, 2016

    What happens when you enable Intel VT

    Lets consider the difference between virtualized and non-virtualized platforms.


    Here VMM refers to Hypervisor. There are different privilege levels in the processor for instruction execution. These levels are called Rings (Ring 0, 1, 2, 3).

    When you enable Intel VT:
    • In a non-virtualized environment OS runs on ring 0. A single operating system controls all hardware resources
    • Four privilege levels (rings) are employed on VT platforms
    • When it is enabled hypervisor now runs on Ring 0 instead of an OS. Guest OS runs in Ring 1 or Ring 3
    • VT allows the hypervisor to present each guest OS a virtual machine (VM) environment that emulates the hardware environment needed by the guest OS

    When you enable Intel VT-x:
    • Intel (VT-x) - is a hardware assisted virtualization technology
    • Hardware support for processor virtualization enables system vendors to provide simple, robust, and reliable hypervisor software
    • VT-x consists of a set of virtual machine extensions (VMX) that support virtualization of processor hardware for multiple software environments using virtual machine
    • A hypervisor written to take advantage of the Intel®Virtualization Technology runs in a new CPU mode called “VMX Root” mode and the guest OS in the “VMX Non-root” mode. The VMM will manage the virtual machines through the VM Exit and VM Entry mechanism
    • Hypervisor has its own privileged level (VMX Root) where it executes

    Below figure shows difference in Ring levels of Intel VT and Intel VT-x


    Reference: Intel