On Sun, Jul 26, 2020, at 11:21 PM, Adam Carter wrote:
> On Mon, Jul 27, 2020 at 1:35 PM Ashley Dixon <a...@suugaku.co.uk> wrote:
> > On Mon, Jul 27, 2020 at 01:23:46PM +1000, Adam Carter wrote:
> > > Having performance issues on a linux vmware guest that doesnt run vmtools
> > > because its an 'appliance', but it does allow shell access. I assume CPU
> > > utilisation shown by top etc is the utilisation of the vCPUs. Is there any
> > > way to discover or infer host CPU issues?
> > 
> > Do you mean that you want to monitor the host system from the guest? Can 
> > you not
> > just SSH into the host from the guest?  You can also infer CPU  usage  from 
> >  the
> > /proc/stat file on the host system, if you can share  files  over  NFS  or  
> > some
> > other file-sharing means.
> 
> I have ssh access (including root) to the guest but no access to the host.

Compare realtime it to measured CPU time. If one realtime second is shorter 
than a
CPU second then you know the host is pausing your VM. There are other ways to
check, but this should always work if you can contact an asynchronous time 
standard.
You may need to average the time over tens of seconds or a minute.

This method will allow you to figure out that AWS spot instances are
oversubscribed ~1.5x.

Reply via email to