WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Dynamically assign Hardware Resources

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Dynamically assign Hardware Resources
From: Dominik Klein <dk@xxxxxxxxxxxxxxxx>
Date: Thu, 15 Mar 2007 11:01:47 +0100
Delivery-date: Thu, 15 Mar 2007 03:00:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.9 (X11/20070103)
Hi xen-users

from what I understood, RAM and the number of CPUs cannot be increased for a running guest, but decreased and re-increased later.

So in order to have some headroom later, I want to assign (ie) 2 VCPUs and 512 MB of RAM in the config file, but reduce those settings to 1 VCPU and 256 MB at boot time. So if the machine requires more power, I can assign more RAM or one more VCPU later.

So what I'm thinking about is writing a startup script in order to do this if nothing like that is available yet. Another thing I want to integrate is to set sched-credit weight and cap at boot time.

It would be even nicer to have this in xm, but unfortunately, I am not a C-programmer myself.

Any thoughts/wishes about what else one might want to
do with such a script?

Regards
Dominik

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>