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

[Xen-users] [PATCH] Displaying scheduler related information using xm

  • To: xen-users@xxxxxxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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.


[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

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



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