From owner-freebsd-hackers@FreeBSD.ORG Fri May 5 13:03:51 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B8A516A400 for ; Fri, 5 May 2006 13:03:51 +0000 (UTC) (envelope-from bra@fsn.hu) Received: from people.fsn.hu (people.fsn.hu [195.228.252.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 208DB43D46 for ; Fri, 5 May 2006 13:03:50 +0000 (GMT) (envelope-from bra@fsn.hu) Received: from localhost (localhost [127.0.0.1]) by people.fsn.hu (Postfix) with ESMTP id D457284425; Fri, 5 May 2006 15:03:48 +0200 (CEST) Received: from people.fsn.hu ([127.0.0.1]) by localhost (people.fsn.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 90439-01; Fri, 5 May 2006 15:03:42 +0200 (CEST) Received: from [IPv6:::1] (unknown [192.168.2.3]) by people.fsn.hu (Postfix) with ESMTP id A483F8441E; Fri, 5 May 2006 15:03:41 +0200 (CEST) Message-ID: <445B4D2D.8070502@fsn.hu> Date: Fri, 05 May 2006 15:03:41 +0200 From: Attila Nagy User-Agent: Thunderbird 1.5.0.2 (X11/20060502) MIME-Version: 1.0 To: Scott Long References: <445AB56F.8090907@centtech.com> <445AC174.5050102@pacific.net.sg> <445AC46F.30702@centtech.com> <445AD048.80305@pacific.net.sg> <445AD1AC.1070902@centtech.com> <445AD300.1020808@pacific.net.sg> <445AD50B.2060107@centtech.com> <445AD6B4.7050407@pacific.net.sg> <445AD83A.7090607@samsco.org> In-Reply-To: <445AD83A.7090607@samsco.org> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at fsn.hu Cc: freebsd-hackers@freebsd.org Subject: Re: Core Duo - only one cpu being used X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 May 2006 13:03:51 -0000 Hello, On 05/05/06 06:44, Scott Long wrote: > CPU1 is being treated as a hyperthreading core instead of a real core, > and is being disabled per our policy on Intel hyperthreading. By > 'disabled' I mean that it is started, but it is being excluded from > scheduling decisions, and thus is only running its idle proc. It's > also handling any interrupts that come to it, such as timer and IPI > interrupts, so it's at 99% instead of 100% for the idle proc. There > is nothing broken about the number you are seeing, your system is > just running under a scheduling policy that it should not be. > > This should have been fixed a week or so ago by a commit to HEAD, > RELENG_6, and RELENG_6_1 by Colin Percival. How old is kernel? Isn't this fixed by jkim's commit? I don't have any Core Duos here, but on a Xeon LV (Sossaman) with CURRENT, everything is OK: http://www.freebsd.org/cgi/query-pr.cgi?pr=96203 BTW, just set machdep.hyperthreading_allowed=1 until the fix arrives. -- Attila Nagy e-mail: Attila.Nagy@fsn.hu Free Software Network (FSN.HU) phone: +3630 306 6758 http://www.fsn.hu/