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:42:26 -0400
Delivery-date: Fri, 16 Mar 2007 09:41:41 -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=s4hYOMfdpbqV0Bhbgvl6Nx3P5mq2zMr/kHQtkfdNlhabU0WkaRUgayQFkJ6cx96eFvOO76t6wZakhlA5ujlJzvLP1l8TfuVW7o70NKeg17sXJv8GYOpHPWbhDBmTCGogaLkxGhHbcGa29p+gO7wIWT5WncuBmw1VY3nLIMISqpY=
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=EE1uRu3VkylIBbOcqCNy51lXUIQx6HNNn7Y3d6Lnm4H4fAe1PuXwJ0+wl6/yUK7QarcTAtm8c2jBjKjdQWLyAaZ9132XFbTvo5oI0y3+ECFG6RQlrDuua0XC5IJwPT6LscbFObEyDFmliPMcVd0eWxseXdiy/alSlfJQLM+J/co=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B018E1AB8@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: Acdn12JorAzIuXiJSEaeAQnHu07vQAADPepQAAAoIuAAAMZ0cAAAIuvAAABWbiA=
Waiting for centos 5 actually :-) Does anyone know which version of xen will
be in that one?  Currently using FC 6 with xen 3.0.3

-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:35 PM
> To: Larry Ludwig; xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [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