[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Re: xm sched-credit not work



Not a problem any more. Lei

On Wed, Sep 14, 2011 at 8:15 PM, Lei Lu <lulei.wm@xxxxxxxxx> wrote:
> Hi all,
>
> I am trying to dynamically change the CPU cap for one guest domain,
> but I cannot. The following is one example:
> The CPU cap is shown at first
> [root@llu]# xm sched-credit
> Name                                ID Weight  Cap
> Domain-0                             0    256    0
> vm8                                    13    256   40
> -----------------------------------------------------------
> Then, I try to change its CPU cap to 90%, so, I run the command
> -----------------------------------------------------------
> [root@asds64 local_VMs]# xm sched-credit -d 13 90
> Name                                ID Weight  Cap
> vm8                                    13    256   40
> -----------------------------------------------------------
> But it is not worked.
>
> I am wondering whether it is a common issue or just for me. The
> version of xen is 3.3.1. The vm configuration file is here:
>
> kernel = "/boot/vmlinuz-2.6.18.8-xen"
> ramdisk = "/boot/initrd-2.6.18.8-xen.img"
> extra = "3"
> extra = "xencons=tty"
> memory = 1024
> vcpus = 1
> name = "vm8"
> vif = [ 'ip=172.16.2.108,bridge=xenbr0' ]
> disk = ['tap:aio:/root/local_VMs/vm8.img,sda1,w']
> root = "/dev/sda1"
>
> Best,
> Lei
>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.