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