Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2018 08:54:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 225579] CPU usage in top command not matching with VMWare Host's esxtop command's vCPU output
Message-ID:  <bug-225579-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225579

            Bug ID: 225579
           Summary: CPU usage in top command not matching with VMWare
                    Host's esxtop command's vCPU output
           Product: Base System
           Version: 11.0-STABLE
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: nirmalanandj@gmail.com

Created attachment 190217
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D190217&action=
=3Dedit
Schreenshot of top and esxtop with FreeBSD VM 10.3

Hello Experts,

VM: FreeBSD 11.0 Stable [Seen with FreeBSD 10.3 stable and lower version as
well]
Hypervisor : ESX 6.0  (ESXi-6.0.0-20171104001-standard (Build 6921384))

5 vCPUs are allocated for the VM, 10 GB RAM and 20 GB disk. vCPU pinning is
done for the VM.

Test Case: A shell script with the following commands:
dd if=3D</a_2gb_file> of=3D<an output file> &
dd if=3D</a_2gb_file> of=3D<an output file> &
dd if=3D</a_2gb_file> of=3D<an output file> &
dd if=3D</a_2gb_file> of=3D<an output file> &
dd if=3D</a_2gb_file> of=3D<an output file> &

The top command output and esxtop command output is attached for FreeBSD VM:
Freebsd_VM.jpg
If we compare the vCPU IDLE times, there is a difference of around 60%.

We would like understand why it is happening and fix it as needed.

Few additional notes:
- This issue is seen with XenServer 7.1. So issue is hypervisor agnostic.
- Another data point, we do not observe similar issue with a Ubuntu VM on t=
he
same ESX hypervisor.


Let us know.

Regards,
Nirmal

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225579-8>