* memory and cpu usage
@ 2004-11-22 14:05 Flavio Leitner
2004-11-23 17:42 ` Rik van Riel
0 siblings, 1 reply; 8+ messages in thread
From: Flavio Leitner @ 2004-11-22 14:05 UTC (permalink / raw)
To: xen-devel
Is there a way to discovery how much free memory I still have
to use in a new domain?
Another question is about cpu usage. I guess that xen scheduler
allocate a fixed time slice for all virtual machines and does not
make any idea if the virtual machine is using or not using all
this time, right? How I can identify if CPU is the bottleneck?
Thanks!
--
Flávio Bruno Leitner <fbl@conectiva.com.br>
[ E74B 0BD0 5E05 C385 239E 531C BC17 D670 7FF0 A9E0 ]
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: memory and cpu usage
2004-11-22 14:05 memory and cpu usage Flavio Leitner
@ 2004-11-23 17:42 ` Rik van Riel
2004-11-23 16:04 ` Flavio Leitner
0 siblings, 1 reply; 8+ messages in thread
From: Rik van Riel @ 2004-11-23 17:42 UTC (permalink / raw)
To: Flavio Leitner; +Cc: xen-devel
On Mon, 22 Nov 2004, Flavio Leitner wrote:
> Is there a way to discovery how much free memory I still have
> to use in a new domain?
xm info
> Another question is about cpu usage. I guess that xen scheduler
> allocate a fixed time slice for all virtual machines and does not
> make any idea if the virtual machine is using or not using all
> this time, right? How I can identify if CPU is the bottleneck?
Actually, I think that a Xen virtual machine that is not using
the CPU is just giving it up to the hypervisor, which can then
give the cpu to others.
--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: memory and cpu usage
2004-11-23 17:42 ` Rik van Riel
@ 2004-11-23 16:04 ` Flavio Leitner
2004-11-23 18:10 ` Mike Wray
0 siblings, 1 reply; 8+ messages in thread
From: Flavio Leitner @ 2004-11-23 16:04 UTC (permalink / raw)
To: Rik van Riel; +Cc: xen-devel
On Tue, Nov 23, 2004 at 12:42:29PM -0500, Rik van Riel wrote:
> Actually, I think that a Xen virtual machine that is not using
> the CPU is just giving it up to the hypervisor, which can then
> give the cpu to others.
Sounds good, then we can have an 'xen uptime' to see the load of
every virtual machine.
Someone that knows how XEN works may help us here.
--
Flávio Bruno Leitner <fbl@conectiva.com.br>
[ E74B 0BD0 5E05 C385 239E 531C BC17 D670 7FF0 A9E0 ]
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: memory and cpu usage
2004-11-23 16:04 ` Flavio Leitner
@ 2004-11-23 18:10 ` Mike Wray
2005-01-18 19:14 ` calling vif-script Grzegorz Milos
0 siblings, 1 reply; 8+ messages in thread
From: Mike Wray @ 2004-11-23 18:10 UTC (permalink / raw)
To: Flavio Leitner; +Cc: xen-devel
Flavio Leitner wrote:
> On Tue, Nov 23, 2004 at 12:42:29PM -0500, Rik van Riel wrote:
>
>>Actually, I think that a Xen virtual machine that is not using
>>the CPU is just giving it up to the hypervisor, which can then
>>give the cpu to others.
>
>
> Sounds good, then we can have an 'xen uptime' to see the load of
> every virtual machine.
>
> Someone that knows how XEN works may help us here.
>
>
'xm list' shows the cpu time used by each domain.
'xm list -l' includes cpu_time, up_time and start_time for each domain.
Mike
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 8+ messages in thread
* calling vif-script
2004-11-23 18:10 ` Mike Wray
@ 2005-01-18 19:14 ` Grzegorz Milos
2005-01-18 22:33 ` Keir Fraser
0 siblings, 1 reply; 8+ messages in thread
From: Grzegorz Milos @ 2005-01-18 19:14 UTC (permalink / raw)
To: xen-devel
Hi there!
I am just writing some documents on vif setup (network and vif setup scripts)
and I noticed that xend does not supply ip parameter (and therefore vif-route
script is so dumb). You might already know about the issue.
What are the chances of having this added? (Unfortunatelly I do not know
Python - otherwise I would try to do it myslef).
Cheers
Gregor
--
Quidquid latine dictum sit, altum viditur --- Anon
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: calling vif-script
2005-01-18 19:14 ` calling vif-script Grzegorz Milos
@ 2005-01-18 22:33 ` Keir Fraser
2005-01-19 1:12 ` Kero-Chan
0 siblings, 1 reply; 8+ messages in thread
From: Keir Fraser @ 2005-01-18 22:33 UTC (permalink / raw)
To: Grzegorz Milos; +Cc: xen-devel
> Hi there!
>
> I am just writing some documents on vif setup (network and vif setup scripts)
> and I noticed that xend does not supply ip parameter (and therefore vif-route
> script is so dumb). You might already know about the issue.
>
> What are the chances of having this added? (Unfortunatelly I do not know
> Python - otherwise I would try to do it myslef).
It supplies the ip parameter if you specify it as part of the 'vif'
configuration in your config file. It's another sub-option, like
specifying the MAC address.
-- Keir
> Cheers
> Gregor
> --
> Quidquid latine dictum sit, altum viditur --- Anon
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel
>
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: calling vif-script
2005-01-18 22:33 ` Keir Fraser
@ 2005-01-19 1:12 ` Kero-Chan
2005-01-19 2:11 ` Kero-Chan
0 siblings, 1 reply; 8+ messages in thread
From: Kero-Chan @ 2005-01-19 1:12 UTC (permalink / raw)
To: Keir Fraser; +Cc: Grzegorz Milos, xen-devel
On Tue, 18 Jan 2005 22:33:06 +0000, Keir Fraser
<Keir.Fraser@cl.cam.ac.uk> wrote:
> > Hi there!
> >
> > I am just writing some documents on vif setup (network and vif setup scripts)
> > and I noticed that xend does not supply ip parameter (and therefore vif-route
> > script is so dumb). You might already know about the issue.
> >
> > Cheers
> > Gregor
>
> It supplies the ip parameter if you specify it as part of the 'vif'
> configuration in your config file. It's another sub-option, like
> specifying the MAC address.
>
> -- Keir
vif-route does not currently work. It's OK for a single domU, but if I
start more domains, all the vifs get the same IP! Each vif would need
a separate IP for routing to work.
vif-route doesn't set up the route either.
So what would be a good scheme? 169.254.X.Y for vifX.Y?
A domain may get different vifs at different times, and a different IP
for the vif would interfere with using NFS root from dom0 (nfs_server
would be always different).
What about a vif_ip or similar option in the domain configuration file?
--
/Varga Péter/
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: calling vif-script
2005-01-19 1:12 ` Kero-Chan
@ 2005-01-19 2:11 ` Kero-Chan
0 siblings, 0 replies; 8+ messages in thread
From: Kero-Chan @ 2005-01-19 2:11 UTC (permalink / raw)
To: xen-devel
On Wed, 19 Jan 2005 02:12:18 +0100, Kero-Chan <kerochan2@gmail.com> wrote:
> vif-route does not currently work. It's OK for a single domU, but if I
> start more domains, all the vifs get the same IP! Each vif would need
> a separate IP for routing to work.
> vif-route doesn't set up the route either.
> So what would be a good scheme? 169.254.X.Y for vifX.Y?
> A domain may get different vifs at different times, and a different IP
> for the vif would interfere with using NFS root from dom0 (nfs_server
> would be always different).
> What about a vif_ip or similar option in the domain configuration file?
OK sorry. I realised my previous post is plain wrong.
--
/Varga Péter/
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-01-19 2:11 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-22 14:05 memory and cpu usage Flavio Leitner
2004-11-23 17:42 ` Rik van Riel
2004-11-23 16:04 ` Flavio Leitner
2004-11-23 18:10 ` Mike Wray
2005-01-18 19:14 ` calling vif-script Grzegorz Milos
2005-01-18 22:33 ` Keir Fraser
2005-01-19 1:12 ` Kero-Chan
2005-01-19 2:11 ` Kero-Chan
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.