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

Re: [Xen-users] CPU pinning on Xen


  • To: Tapas Mishra <mightydreams@xxxxxxxxx>
  • From: Ravi Giri <ravi.giri@xxxxxxxxx>
  • Date: Wed, 14 Apr 2010 11:43:14 +0530
  • Cc: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>, linux-poweredge@xxxxxxxx
  • Delivery-date: Tue, 13 Apr 2010 23:14:27 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=R+d0Hm1kDgCDgF/PSzVdsXI7KIOVW/XLmn6byNcWAGZwUurDbWJqPN4C1D2zeapB7Z upKKO9ajf2Ys5TG5uPwlkkhF7epeSagmbeppY9mt3kSfK5t5Twl7RT7eXkHa6KZVWAKb lM72fv8i+EmtfxV23yaocTCu9nDeb+RUM5rV0=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Wed, Apr 14, 2010 at 10:59 AM, Tapas Mishra <mightydreams@xxxxxxxxx> wrote:
> Hi,I have a Quad Core CPU Dell PowerEdge R710 which has 4 Virtual
> Hosts running on top of it.
> I want to allocate a CPU core to each of the hosts.How can I do that
> on Xen.I am using Debian Lenny.

I guess you mean 'pin' specific cores to specific VM's ?

Assuming the 4 VMs are vmA, vmB, vmC and vmD and that Core 0 is
allocated to Dom0

syntax (as provided in xm man page as well) is xm vcpu-pin <Domain>
<VCPU> <CPUs>

xm vcpu-pin vmA 0 1
xm vcpu-pin vmB 0 2
xm vcpu-pin vmC 0 3
xm vcpu-pin vmD 0 4

Hope this helps.

Regards,
--
Ravi

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

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