All of lore.kernel.org
 help / color / mirror / Atom feed
* monitoring domain resource usage
@ 2004-10-19 19:17 Diwaker Gupta
  0 siblings, 0 replies; 7+ messages in thread
From: Diwaker Gupta @ 2004-10-19 19:17 UTC (permalink / raw)
  To: xen-devel

Hi,

I'm interested in monitoring the CPU and memory consumption for each
xenU domain. 'top' doesn't really report anything. Is there some neat
way of doing this?

TIA
-- 
Diwaker Gupta
http://resolute.ucsd.edu/diwaker


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

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

* RE: monitoring domain resource usage
@ 2004-10-19 20:52 Neugebauer, Rolf
  2004-10-19 23:53 ` Diwaker Gupta
  0 siblings, 1 reply; 7+ messages in thread
From: Neugebauer, Rolf @ 2004-10-19 20:52 UTC (permalink / raw)
  To: Diwaker Gupta, xen-devel

There currently is no such tool, however xen exports via the control
interface to dom0 the relevant information. E.g. 'xm list' reports cpu
time consumed per VM. It should be straight forward to implement a tool
periodically calling this interface and compute CPU percentages. This
could either be done via the 'xm' interface or the xen.lowlevel.xc
interface. The latter should have less overhead.

Rolf



> -----Original Message-----
> From: xen-devel-admin@lists.sourceforge.net [mailto:xen-devel-
> admin@lists.sourceforge.net] On Behalf Of Diwaker Gupta
> Sent: 19 October 2004 20:18
> To: xen-devel@lists.sourceforge.net
> Subject: [Xen-devel] monitoring domain resource usage
> 
> Hi,
> 
> I'm interested in monitoring the CPU and memory consumption for each
> xenU domain. 'top' doesn't really report anything. Is there some neat
> way of doing this?
> 
> TIA
> --
> Diwaker Gupta
> http://resolute.ucsd.edu/diwaker
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on
ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give
us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out
> more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

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

* Re: monitoring domain resource usage
  2004-10-19 20:52 Neugebauer, Rolf
@ 2004-10-19 23:53 ` Diwaker Gupta
  2004-10-20 14:32   ` Matthieu PATOU
  2004-10-20 17:49   ` Rolf Neugebauer
  0 siblings, 2 replies; 7+ messages in thread
From: Diwaker Gupta @ 2004-10-19 23:53 UTC (permalink / raw)
  To: Neugebauer, Rolf; +Cc: xen-devel

On Tue, 19 Oct 2004 21:52:59 +0100, Neugebauer, Rolf
<rolf.neugebauer@intel.com> wrote:
> There currently is no such tool, however xen exports via the control
> interface to dom0 the relevant information. E.g. 'xm list' reports cpu
> time consumed per VM. It should be straight forward to implement a tool
> periodically calling this interface and compute CPU percentages. This
> could either be done via the 'xm' interface or the xen.lowlevel.xc
> interface. The latter should have less overhead.

I played around with 'xm list' but soon ran into problems. I'm not
sure if this is specific to a particular CPU scheduler, or a general
problem that others have noticed too.

Right now I have xen (booted using sched=atropos) running two VMs,
each running a CPU intensive job. However, the cpu-time (as reported
by xm list -l) does not seem to be changing *at all*, even across runs
lasting for minutes. The uptime gets updated properly, though.

Is this a known issue?
-- 
Diwaker Gupta
http://resolute.ucsd.edu/diwaker


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

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

* Re: monitoring domain resource usage
  2004-10-19 23:53 ` Diwaker Gupta
@ 2004-10-20 14:32   ` Matthieu PATOU
  2004-10-20 16:00     ` Diwaker Gupta
  2004-10-20 17:49   ` Rolf Neugebauer
  1 sibling, 1 reply; 7+ messages in thread
From: Matthieu PATOU @ 2004-10-20 14:32 UTC (permalink / raw)
  To: Diwaker Gupta; +Cc: xen-devel

On October 20, 1:53 am Diwaker Gupta <diwakergupta@gmail.com> wrote:
> On Tue, 19 Oct 2004 21:52:59 +0100, Neugebauer, Rolf
> <rolf.neugebauer@intel.com> wrote:
> >  There currently is no such tool, however xen exports via the control
> >  interface to dom0 the relevant information. E.g. 'xm list' reports cpu
> >  time consumed per VM. It should be straight forward to implement a
> >  tool periodically calling this interface and compute CPU percentages.
> >  This could either be done via the 'xm' interface or the
> >  xen.lowlevel.xc interface. The latter should have less overhead.
>
> I played around with 'xm list' but soon ran into problems. I'm not
> sure if this is specific to a particular CPU scheduler, or a general
> problem that others have noticed too.
>
> Right now I have xen (booted using sched=atropos) running two VMs,
> each running a CPU intensive job. However, the cpu-time (as reported
> by xm list -l) does not seem to be changing *at all*, even across runs
> lasting for minutes. The uptime gets updated properly, though.
>
> Is this a known issue?
> --
Does your domain really use cpu ? if not cpu usage should not vary a lot in
a couple of minutes ... run a find / to see if you see something moving ...


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

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

* Re: monitoring domain resource usage
  2004-10-20 14:32   ` Matthieu PATOU
@ 2004-10-20 16:00     ` Diwaker Gupta
  0 siblings, 0 replies; 7+ messages in thread
From: Diwaker Gupta @ 2004-10-20 16:00 UTC (permalink / raw)
  To: Matthieu PATOU; +Cc: xen-devel

> Does your domain really use cpu ? if not cpu usage should not vary a lot in
> a couple of minutes ... run a find / to see if you see something moving ...

Like I mentioned, both domains are running CPU intensive jobs. Between
measurements I opened consoles to both domains, ran top, closed the
console. The cpu-time values are reported to the 8th decimal place or
something -- and the values hadn't changed by even a single bit.

-- 
Diwaker Gupta
http://resolute.ucsd.edu/diwaker


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

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

* Re: monitoring domain resource usage
  2004-10-19 23:53 ` Diwaker Gupta
  2004-10-20 14:32   ` Matthieu PATOU
@ 2004-10-20 17:49   ` Rolf Neugebauer
  2004-10-20 18:23     ` Diwaker Gupta
  1 sibling, 1 reply; 7+ messages in thread
From: Rolf Neugebauer @ 2004-10-20 17:49 UTC (permalink / raw)
  To: Diwaker Gupta; +Cc: rolf.neugebauer, xen-devel

On Wed, 2004-10-20 at 00:53, Diwaker Gupta wrote:
> On Tue, 19 Oct 2004 21:52:59 +0100, Neugebauer, Rolf
> <rolf.neugebauer@intel.com> wrote:
> > There currently is no such tool, however xen exports via the control
> > interface to dom0 the relevant information. E.g. 'xm list' reports cpu
> > time consumed per VM. It should be straight forward to implement a tool
> > periodically calling this interface and compute CPU percentages. This
> > could either be done via the 'xm' interface or the xen.lowlevel.xc
> > interface. The latter should have less overhead.
> 
> I played around with 'xm list' but soon ran into problems. I'm not
> sure if this is specific to a particular CPU scheduler, or a general
> problem that others have noticed too.
> 
> Right now I have xen (booted using sched=atropos) running two VMs,
> each running a CPU intensive job. However, the cpu-time (as reported
> by xm list -l) does not seem to be changing *at all*, even across runs
> lasting for minutes. The uptime gets updated properly, though.
> 
> Is this a known issue?

I can not reproduce this. I run two while one loops in two domains and
cpu time goes up...i have not tested with different scheduling
parameters. This is on a machine with xen 2.0 as off a week or so ago. 

In general atropos is not really tested that much.

Rolf



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

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

* Re: monitoring domain resource usage
  2004-10-20 17:49   ` Rolf Neugebauer
@ 2004-10-20 18:23     ` Diwaker Gupta
  0 siblings, 0 replies; 7+ messages in thread
From: Diwaker Gupta @ 2004-10-20 18:23 UTC (permalink / raw)
  To: rolf.neugebauer; +Cc: xen-devel

> I can not reproduce this. I run two while one loops in two domains and
> cpu time goes up...i have not tested with different scheduling
> parameters. This is on a machine with xen 2.0 as off a week or so ago.

And this is using the atropos scheduler? Quite weird. I'm running some
more tests, and I'll get back with some more results once I'm done.

-- 
Diwaker Gupta
http://resolute.ucsd.edu/diwaker


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

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

end of thread, other threads:[~2004-10-20 18:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-19 19:17 monitoring domain resource usage Diwaker Gupta
  -- strict thread matches above, loose matches on Subject: below --
2004-10-19 20:52 Neugebauer, Rolf
2004-10-19 23:53 ` Diwaker Gupta
2004-10-20 14:32   ` Matthieu PATOU
2004-10-20 16:00     ` Diwaker Gupta
2004-10-20 17:49   ` Rolf Neugebauer
2004-10-20 18:23     ` Diwaker Gupta

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.