Skip to contentSkip to conversation

What are the rules for hyperthreaded CPUs?

DISCUSSION Todd And Margo Chester 2 participants 2 messages Dec 5, 2011 KVM

lore
Share & tools
lore
#0 lore raw
Quoted 5 lines

Hi All,

My host has an i7-960 processor (4 cores, 8 hypterthreaded cores.) /proc/cpuinfo on my host shows 8 processors.

Quoted 7 lines

On my Fedora Core 16 guest, /proc/cpuinfo shows 4 processors.

Question: what is the maximum number of processors I can assign to my guest? 4 or 8? What are the rules for Hyperthreading?

Many thanks,
-T

Figured it out. The max cores is the number of hyperthreaded cores (eight in my case).

My mistake was that in virt-manager, processor, I was not clicking on "Copy host CPU configuration" button. Without that, everything I tried to configure came out as single CPUs.

-T

#1 lore raw
Quoted 7 lines · Todd And Margo Chester
Quoted 7 lines

Hi All,

My host has an i7-960 processor (4 cores, 8 hypterthreaded cores.) /proc/cpuinfo on my host shows 8 processors.

On my Fedora Core 16 guest, /proc/cpuinfo shows 4 processors.

Quoted 8 lines
Quoted 5 lines

Question: what is the maximum number of processors I can assign to my guest? 4 or 8? What are the rules for Hyperthreading?

Many thanks,
-T

Figured it out. The max cores is the number of hyperthreaded cores (eight in my case).

The maximum number of guest vCPUs is unlimited - you can assign, say, 100 cores - each vCPU core is just a thread on host, it does not correspond to any physical characteristics of your host.

/mjt