8222720: Provide extended VMWare/vSphere virtualization related info in the hs_error file on linux/windows x86_64
Robbin Ehn
robbin.ehn at oracle.com
Tue Apr 30 07:04:27 UTC 2019
Hi Matthias,
If the guest env. we are running in have correct values, what can the host
values be used for in a hs_err context?
Thanks, Robbin
On 2019-04-29 13:02, Baesken, Matthias wrote:
> Hello,
> please review the following enhancement to the VMWare/vSphere virtualization related info in the hs_error file on linux/windows x86_64 .
>
> In case the guest library from VMWare SDK 6.0 (or higher) is present (libvmGuestLib) or the open-vm-tools guest library is present
> (libguestlib), we add the host and initial and current resource related metrics information to the hs_err file .
> The resource info (current and first) is taken twice to see diffs over the VM runtime.
>
> Example output for host and resource information :
> host:
> ------
> host.cpu.processorMHz = 2194
> host.cpu.coresPerPkg = 10
> host.cpu.packages = 4
> host.cpu.cores = 40
> host.cpu.threads = 80
> host.dmi.product = UCSC-C460-M4
> host.dmi.vendor = Cisco Systems Inc
>
> resource:
> ----------
> vm.cpu.reserved = 0
> vm.cpu.limit = -1
> vm.cpu.used = 2290006442390
> vm.cpu.contention.cpu = 1436489771
> vm.cpu.contention.mem = 0
> vm.numa.local = 16775168
> vm.numa.remote = 0
> guest.mem.reserved = 0
> guest.mem.limit = 3221225456
> guest.mem.mapped = 16775168
> guest.mem.consumed = 16699172
> guest.mem.swapped = 0
> guest.mem.ballooned = 0
> guest.mem.swapIn = 0
> guest.mem.swapOut = 0
> ovhd.mem.swapped = 0
> ovhd.mem.swapIn = 0
> ovhd.mem.swapOut = 0
>
>
> (details on the metrics meaning can be found in the VMWare SDK programming guide
>
> https://code.vmware.com/docs/6629/guest-and-ha-application-monitoring-sdk-programming-guide/
>
> see the subsections of "Tools for Extended Guest Statistics" )
>
>
> bug/webrev :
>
> https://bugs.openjdk.java.net/browse/JDK-8222720
>
> http://cr.openjdk.java.net/~mbaesken/webrevs/8222720.1/
>
>
> Thanks, Matthias
>
More information about the hotspot-dev
mailing list