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

[Xen-users] Assign multiple cpu's to a single vcpu

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Assign multiple cpu's to a single vcpu
From: Shem Valentine <shemsp1@xxxxxxxxx>
Date: Tue, 21 Aug 2007 01:16:33 -0600
Delivery-date: Tue, 21 Aug 2007 00:17:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (X11/20070807)
Hello list,

This is my first attempt at running Xen, and so far it has been
incredible.  However, I don't think it's going to work for the specific
application I was trying to use it for.

We have a web management system which uses a MySQL backend.  We have put
the MySQL server on a dual cpu motherboard with 2 dual-core XEON's with
hyperthreading.  I noticed that MySQL would only run on one core with a
total CPU usage of 25% (due to performance issues I had disabled
hyperthreading).  While searching forums and such about MySQL threading
a few people had mentioned going VMWARE because MySQL did not support
threading natively.  However I am a big fan open source and I like that
Xen was not a userspace virtualization so I gave it a try.

I've been running into the same problem with Xen.  I cannot get it to
use more than one core with MySQL.  What I am looking to do is have the
DomU have one vcpu and have Xen thread it's vcpu across all 8 physical
cpus.  I am naive in thinking this is possible with any virtualization?

When doing my research the User Manual seems to say that this is possible:
" Xen allows a domain's virtual CPU(s) to be associated with one or more
host CPUs. This can be used to allocate real resources among one or more
guests, or to make optimal use of processor resources when utilizing
dual-core, hyperthreading, or other advanced CPU technologies."

If this is possible, how would one configure it?

Thank you for your time,
-Shem Valentine

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

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