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

RE: [Xen-users] shared cpu resources

  • To: "Marco Strullato" <marco.strullato@xxxxxxxxx>
  • From: "Fischer, Anna" <anna.fischer@xxxxxx>
  • Date: Thu, 20 Sep 2007 08:19:38 +0100
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 20 Sep 2007 00:20:38 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: Acf7UYs2TOHrGV9jSHGQNzNJlh4mRAAA2sWg
  • Thread-topic: [Xen-users] shared cpu resources

I would recommend to have a look at chapter "4.2.2 Domain Scheduling
Management Commands" of the Xen user manual

If you use the standard Xen scheduler, you can limit the maximum amount
of CPU a guest is allowed to use with the "xm sched-credit -d <domain>
-c <cap>" command. So you could restrict a domain to only use 25%/75% of
the CPU. You can as well use other Xen schedulers to eventually optimize
CPU utilization.


        From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Marco
        Sent: 20 September 2007 07:43
        To: xen-users@xxxxxxxxxxxxxxxxxxx
        Subject: [Xen-users] shared cpu resources
        Hi all!
        I have a doubt about shared resources:
        If I have a Dom-0 and two virtual machines Dom1 and Dom2, how
can I split cpu resources? I mean how can I assign exactly 25% of cpu to
Dom1 and 75% of cpu to Dom1? (I assume that Dom-0 uses 0% of cpu). 
        Can I also choose which is the virtual machine I assign the disk
I/O speed?
        Thanks very much!

Xen-users mailing list



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