On 3/12/2011 9:53 AM, Todd And Margo Chester wrote:
-------- Original message --------
Subject: Re: Can I configure cores instead of CPU's
From: Todd And Margo Chester<toddandmargo@xxxxxxxxx>
To: "libvirt-users@xxxxxxxxxx"<libvirt-users@xxxxxxxxxx>
CC:
Hi All,
Scientific Linux 6.1 x64
qemu-kvm-0.12.1.2-2.160.el6_1.2.x86_64
My XP-Pro guest will only let me use two CPUs.
Is there a way I can tell Virt-Manager to use
one CPU with six cores instead of four separate
CPUs?
I can manually insert things with
virsh edit KVM-WinXP
Currently, I have:
<vcpu>6</vcpu>
I found an example of a run string:
-smp 2,sockets=2,cores=1,threads=1
But I will be darned if I can figure out the virsh xml syntax.
Many thanks,
-T
On 12/02/2011 05:32 PM, Frank Hauptle wrote:
> Yes under advanced in cpu in virt manager are socket /core
> settings. i use a fedora virt manager to connect to sl61
> libvirt. more options that way.
I configured my processor in virt-mamager:
CPU's: Current Allocation: 2
Manual set CPU Topology:
Sockets: 1
Cores: 6
Threads: 1
or from my XML file
<vcpu>1</vcpu>
<cpu>
<topology sockets='1' cores='6' threads='1'/>
</cpu>
I still get two CPUs in my guest XP-Pro.
What am I doing wrong?
-T
On 12/03/2011 07:40 PM, Frank Hauptle wrote:
I'm not even sure XP could differentiate
between a core and a socket as multicore CPU's were not common to x86 in
2000 when XP was released.
If you want to see if it really worked, download a knoppix CD and mount
the ISO in the CDrom of that
VM, then set it to boot from the CDROM.
When knoppix boots up, open a terminal and type:
cat /proc/cpuinfo
See what it gives you.
I think the hardware info GUI app in knoppix will give you more info too.
cheers
Frank
Hi Frank,
I have FC16 live CD as a guest. /proc/cpuinfo said I had four cpu's.
Given a bit of time I can give you the full report if that would help.
My host CPU is an i7-960 (four real cores, eight hyperthreaded cores.)
-T