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/
Home Products Support Community News


RE: [Xen-users] shared cpu resources

To: "Marco Strullato" <marco.strullato@xxxxxxxxx>
Subject: RE: [Xen-users] shared cpu resources
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <b9f669850709192342ocfe82b1sb0037520e33740ca@xxxxxxxxxxxxxx>
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>
References: <b9f669850709190326j3177ba55wce53752925cc46bf@xxxxxxxxxxxxxx> <b9f669850709192342ocfe82b1sb0037520e33740ca@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

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