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: "Larry Ludwig" <larrylud@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Allocate xm sched-credit at boot time?
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Fri, 16 Mar 2007 17:34:35 +0100
Delivery-date: Fri, 16 Mar 2007 09:34:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <000301c767e8$354a8be0$7905a8c0@tank>
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: Acdn12JorAzIuXiJSEaeAQnHu07vQAADPepQAAAoIuAAAMZ0cAAAIuvA
Thread-topic: [Xen-users] Allocate xm sched-credit at boot time?
> -----Original Message-----
> From: Larry Ludwig [mailto:larrylud@xxxxxxxxx] 
> Sent: 16 March 2007 16:29
> To: Petersson, Mats; xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [Xen-users] Allocate xm sched-credit at boot time?
> 
> 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.

Yes, from what I can tell, 12181 was the changeset that added this
feature, which is a few changesets after the 11775 or so that is the
latest changeset in 3.0.3. 

So you need 3.0.4 for that to work. In my opinion, 3.0.4 fixes a fair
few other things too, so it's probably not a bad idea to upgrade (unless
you're holding back for 3.0.5 that's due out any week now). 

--
Mats

> 
> -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