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
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 onITManagersJournal> Use IT products in your business? Tell us what you think of them. Giveus> 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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel