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

[Xen-users] xm sched-credit not work

To: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] xm sched-credit not work
From: Lei Lu <lulei.wm@xxxxxxxxx>
Date: Wed, 14 Sep 2011 20:15:38 -0400
Delivery-date: Wed, 14 Sep 2011 17:17:05 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=2RnOUnm1z/0I+JMNGsI27N6NbBgnnljwwtlFAE2cgvw=; b=YyMXqqPmR9lfcem1T/e5IdPqH/vjsmvDifFNy3YSqnP80VTrcyXYZO7cfmPVUVuIH7 uhauVZfFCmjjTVl9Lb2mpAiCxPXqKPs73daaRji7cLOXPw++UGfoNexJKb7Xe0beehfX YNR6YQW/OAw/b7/hn75xYFysx2BDNfo7Q3AaU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>