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

RE: [Xen-users] Allocate xm sched-credit at boot time?

To: "'Petersson, Mats'" <Mats.Petersson@xxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Allocate xm sched-credit at boot time?
From: "Larry Ludwig" <larrylud@xxxxxxxxx>
Date: Fri, 16 Mar 2007 12:29:02 -0400
Delivery-date: Fri, 16 Mar 2007 09:28:19 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-mailer:in-reply-to:thread-index:x-mimeole; b=up9Hg81xwDyGw/aT0+xK41snWir2Sw1JVNWgkGgpl6mmG7BCkFtjZuFsRsc21+rdKaikCrSuh/FZbvWmjA37qYdgStpAk32awVGrKlrv0eApYxyXFRhUrrDHfms9DArYTVf2wMmyNFiDmdi6jjg07M7Dgk5NsTiC983MaycfvvU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-mailer:in-reply-to:thread-index:x-mimeole; b=Zfw2s4xjbP7YiuMSHOvUGKGssqOVMSLvAZd9y73gJzSgHf3qPwDcqWzj90vhNoHKGfphJ5iO8ZcO0iwBBxeV8FTLByTML/U6MO50ZeeJAORYc59Nwx8Mu5nMwbwaJqB+6QVxW6IHHZLEhX6oqSdVUHk3p/4P6FBPIYooM863UVE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B018E1AB6@xxxxxxxxxxxxxxxxx>
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
Thread-index: Acdn12JorAzIuXiJSEaeAQnHu07vQAADPepQAAAoIuAAAMZ0cA==
That didn't work at least with Xen 3.0.3.

It works at least via command line:

[root@node00 auto]# xm sched-credit -d eris
{'cap': 0, 'weight': 256}
[root@node00 auto]# xm sched-credit -d eris -c 50
[root@node00 auto]# xm sched-credit -d eris
{'cap': 50, 'weight': 256}

I donno if this is a 3.0.3 issue or what.

-L
 
--
Larry Ludwig
Empowering Media
1-866-792-0489 x600
Have you visited our customer service blog?
http://www.supportem.com/blog/
 

> -----Original Message-----
> From: Petersson, Mats [mailto:Mats.Petersson@xxxxxxx] 
> Sent: Friday, March 16, 2007 12:07 PM
> To: Larry Ludwig; xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [Xen-users] Allocate xm sched-credit at boot time?
> 
> > -----Original Message-----
> > From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> > [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> > Larry Ludwig
> > Sent: 16 March 2007 16:03
> > To: xen-users@xxxxxxxxxxxxxxxxxxx
> > Subject: [Xen-users] Allocate xm sched-credit at boot time?
> > 
> > Hi is there a way to assign weight and cap of a xen instance 
> > within a domU
> > configuration file? I want to assign these upon boot up of a 
> > xen instance.
> 
> Yes.
> > 
> > If so how?
> 
> "xm create --help_config" gives:
> cpu_cap = CAP
> cpu_weight = WEIGHT
> 
> --
> Mats
> > 
> > Thanks..
> > 
> > -L
> >  
> > --
> > Larry Ludwig
> > Empowering Media
> > 1-866-792-0489 x600
> > Have you visited our customer service blog?
> > http://www.supportem.com/blog/
> > 
> > 
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
> > 
> > 
> > 
> 
> 


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