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

Re: [Xen-users] CPU management

To: Christoph Kaminski <mangel@xxxxxx>
Subject: Re: [Xen-users] CPU management
From: Vladislav Karpenko <vladislav@xxxxxxxxxxxxxx>
Date: Sat, 23 May 2009 21:51:03 +0300
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 23 May 2009 11:51:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A17B4C3.2050200@xxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4A17B4C3.2050200@xxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
U may read my tread for understand

http://markmail.org/search/?q=VCPU+amount&x=0&y=0#query:VCPU%20amount +page:1+mid:hewkscf3ouib755x+state:results


23 мая 2009, в 11:33, Christoph Kaminski написал(а):

Hi!


I have a system with i7 cpu. Quad core + hyperthreading == 4 cores and 8 cpu's. I want to attach to a one domU exclusive 1 core == 2 cpus. With this:

vcpus = 2
cpus = [ '3', '7' ]

I attach the 4th core and ht on this core to this domU. But if I do xm vcpu-list, I see this:

Name ID VCPU CPU State Time(s) CPU Affinity Domain-0 0 0 4 r-- 24725.7 any cpu Domain-0 0 1 1 -b- 414.5 any cpu Domain-0 0 2 1 -b- 410.6 any cpu Domain-0 0 3 2 -b- 1745.6 any cpu Domain-0 0 4 1 -b- 382.8 any cpu Domain-0 0 5 1 -b- 347.1 any cpu Domain-0 0 6 7 -b- 977.1 any cpu Domain-0 0 7 0 -b- 1843.5 any cpu linux1 2 0 5 -b- 1761.8 any cpu linux2 4 0 6 -b- 5045.3 any cpu minixp-crypted 16 0 0 -b- 1330.7 any cpu minixp-test-crypted 17 0 6 -b- 1677.7 any cpu
linux-important                      3     0     3   -b-    5897.5 3
linux-important                      3     1     7   -b-    3903.6 7

so the domU linux-important gets these cpu's but all other get any cpu!
I can attach all other cpu's to other domU's with

vcpus = 1
cpus = '0-2,4-6'

but how can I block these cpu's to dom0?

It is generally a good idea? Or it is better to attach to this domU 2 vcpus and leave the cpu management in xen?

Greetz

PS: sorry for my english

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


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

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