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

[Xen-devel] [PATCH] Save scheduler parameters of managed domain to confi

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Save scheduler parameters of managed domain to config.sxp
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Tue, 03 Jul 2007 14:49:52 +0900
Delivery-date: Mon, 02 Jul 2007 22:49:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

When I restarted xend, the scheduler parameters of the managed 
domain were reverted to the first value. 

 # xm new /xen/vm1.conf 
 Using config file "/xen/vm1.conf".
 # xm start vm1
 # xm sched-credit -d vm1
 Name                                ID Weight  Cap
 vm1                                  1    512  100
 # xm sched-credit -d vm1 -w 256 -c 50
 # xm sched-credit -d vm1
 Name                                ID Weight  Cap
 vm1                                  1    256   50
 # xm shutdown vm1
 # xend stop
 # xend start
 # xm start vm1
 # xm sched-credit -d vm1
 Name                                ID Weight  Cap
 vm1                                  3    512  100


This patch saves the scheduler parameters of the managed domain 
to config.sxp. 

Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>

Best regards,
 Kan

 

Attachment: save_sched_params.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Save scheduler parameters of managed domain to config.sxp, Masaki Kanno <=