From mboxrd@z Thu Jan 1 00:00:00 1970 From: Todd And Margo Chester Subject: What are the rules for hyperthreaded CPUs? Date: Sun, 04 Dec 2011 17:26:31 -0800 Message-ID: <4EDC1DC7.7030605@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from mail-yx0-f174.google.com ([209.85.213.174]:61618 "EHLO mail-yx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755958Ab1LEB0h (ORCPT ); Sun, 4 Dec 2011 20:26:37 -0500 Received: by yenm1 with SMTP id m1so1406014yen.19 for ; Sun, 04 Dec 2011 17:26:37 -0800 (PST) Sender: kvm-owner@vger.kernel.org List-ID: > 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. > > 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