From owner-freebsd-amd64@FreeBSD.ORG Mon Mar 13 15:59:55 2006 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7700D16A427 for ; Mon, 13 Mar 2006 15:59:54 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from mail.ticketswitch.com (mail.ticketswitch.com [194.200.93.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71D8243D9E for ; Mon, 13 Mar 2006 15:59:38 +0000 (GMT) (envelope-from petefrench@ticketswitch.com) Received: from [172.16.1.6] (helo=dilbert.firstcallgroup.co.uk) by mail.ticketswitch.com with esmtp (Exim 4.52 (FreeBSD)) id 1FIpSM-000NV9-5t; Mon, 13 Mar 2006 15:59:38 +0000 Received: from petefrench by dilbert.firstcallgroup.co.uk with local (Exim 4.52 (FreeBSD)) id 1FIpSK-0000Cs-UP; Mon, 13 Mar 2006 15:59:36 +0000 To: wmoran@collaborativefusion.com In-Reply-To: <20060313104137.5fcc80ea.wmoran@collaborativefusion.com> Message-Id: From: Pete French Date: Mon, 13 Mar 2006 15:59:36 +0000 Cc: bseklecki@collaborativefusion.com, freebsd-amd64@freebsd.org Subject: Re: How is hyperthreading handled on amd64? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Mar 2006 15:59:55 -0000 > Again, not what I'm seeing here. It appears as if the machine behaves > identically no matter what machdep.hyperthreading_allowed is set to. > The machine I'm testing on only has a single physical processor. > > I've been running ubench multiple times to test this, and I see processes > on CPUs 1 and 0 no matter what I set the above sysctl to. I also don't > see any difference in ubench's performance numbers. Actually, I just upgraded this machine to 6.1 and now I am seeing much the same thing - no matter what I set machdep.hyperthreading_allowed and machdep.hlt_logical_cpu to I still see stuff on both CPUs. I havent doe any performance measurements though. -pete.