All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] Watching Resource consumption of guest from Qemu ?
@ 2013-10-17 14:25 Sunil
  0 siblings, 0 replies; 3+ messages in thread
From: Sunil @ 2013-10-17 14:25 UTC (permalink / raw)
  To: qemu-devel

Hello List,

I am a graduate student trying to learn about virtualization. I wanted
to understand if there is any way to tell about resource consumption
of guest through Qemu ? e.g. if guest starts doing something cpu
intensive, would qemu be aware of that ? or is there a way to detect
that from qemu ?

--
Sunil

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Qemu-devel] Watching Resource consumption of guest from Qemu ?
@ 2013-10-17 14:33 Sunil Agham
  2013-10-18 13:32 ` Alex Bennée
  0 siblings, 1 reply; 3+ messages in thread
From: Sunil Agham @ 2013-10-17 14:33 UTC (permalink / raw)
  To: qemu-devel

Hello List,

I am a graduate student trying to learn about virtualization. I wanted
to understand if there is any way to tell about resource consumption
of guest through Qemu ? e.g. if guest starts doing something cpu
intensive, would qemu be aware of that ? or is there a way to detect
that from qemu ?

--
Sunil

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] Watching Resource consumption of guest from Qemu ?
  2013-10-17 14:33 [Qemu-devel] Watching Resource consumption of guest from Qemu ? Sunil Agham
@ 2013-10-18 13:32 ` Alex Bennée
  0 siblings, 0 replies; 3+ messages in thread
From: Alex Bennée @ 2013-10-18 13:32 UTC (permalink / raw)
  To: Sunil Agham; +Cc: qemu-devel


sunil.agham@gmail.com writes:

> Hello List,
>
> I am a graduate student trying to learn about virtualization. I wanted
> to understand if there is any way to tell about resource consumption
> of guest through Qemu ? e.g. if guest starts doing something cpu
> intensive, would qemu be aware of that ? or is there a way to detect
> that from qemu ?

I assume your talking about a KVM quest rather than a system emulated
guest within QEMU? KVM guests will appear as normal user-space tasks to
the host OS so your normal top/htop/iotop tools will show activity
associated with that guest.

I don't think qemu directly monitors CPU utilisation but I could be
wrong. Other information is available though - see
docs/virtio-ballon-stats.txt for example.

Things that trap to QEMU (i.e. hardware access, virtio) however can
certainly be tracked. The the guest is in a pure CPU loop then qemu
won't know about it until the next event it has to deal with.

-- 
Alex Bennée

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-18 13:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-17 14:33 [Qemu-devel] Watching Resource consumption of guest from Qemu ? Sunil Agham
2013-10-18 13:32 ` Alex Bennée
  -- strict thread matches above, loose matches on Subject: below --
2013-10-17 14:25 Sunil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.