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] [PATCH] Displaying scheduler related information using xm

To: xen-users@xxxxxxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] [PATCH] Displaying scheduler related information using xm
From: "Subhabrata Bhattacharya" <xions.microcosm@xxxxxxxxxxxxxx>
Date: Mon, 13 Mar 2006 11:37:51 +0530
Delivery-date: Mon, 13 Mar 2006 06:08:58 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=KFz5HSxf8rUJPjnqJtjEvbN/Sv/0JuZpX0nBdOTsMsfseTDcOnEKMxUSALgmeSNFyMMIHeychgRrboozArUgGhLqdBu4aQD5D+Tbpa2LCgHTRlzENrmTwN39EM7WbdrmDFxKKGeisS4algCJbrcRNUg9R0y1hXEf/byuMpEYQeg=
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/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
Hi All,

The attached patch adds two simple scheduler related capabilities to
the xm tool.

$ xm sched-info
## Displays the name of the current scheduler (sedf/bvt)

$ xm sched-param [domid]
## If domid is supplied, then the scheduler parameters for the
corresponding domain is displayed, else scheduler parameters for all
the domains are displayed.

Example:

[root@tux06 ~]# xm sched-info
Domain Scheduler : bvt

[root@tux06 ~]# xm sched-param

Scheduler : bvt
---------------
Domain  MCuAdv  WarpBack        WarpValue       WarpL           WarpU
 0              20           80                       99           
2000000          9000000
88             20           80                       91           
2000000          9000000
90             10             0                        0  
2000000000000000 1000000000000000


The above commands will aid an administrator in monitoring and
modifying scheduler related parameters for a pool of Xen virtual
machines.

Please review and let me know your comments on this patch.

Regards, Subh

Attachment: xen-3.0.0-sched-inf-par.patch
Description: Binary data

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>