From owner-freebsd-questions@FreeBSD.ORG Tue Nov 14 23:45:10 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 968FE16A415 for ; Tue, 14 Nov 2006 23:45:10 +0000 (UTC) (envelope-from lists@webtent.net) Received: from esmtp.webtent.net (esmtp.webtent.net [208.38.145.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id E999443D60 for ; Tue, 14 Nov 2006 23:45:09 +0000 (GMT) (envelope-from lists@webtent.net) Received: from localhost (localhost.webtent.net [127.0.0.1]) by esmtp.webtent.net (WebTent ESMTP Postfix Internet Mail Gateway) with ESMTP id 552E2800F2 for ; Tue, 14 Nov 2006 18:45:09 -0500 (EST) X-Virus-Scanned: amavisd-new at webtent.net Received: from esmtp.webtent.net ([127.0.0.1]) by localhost (esmtp.webtent.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6a98cO-eZ1Ce for ; Tue, 14 Nov 2006 18:45:02 -0500 (EST) Received: from columbus.webtent.org (static-70-110-70-43.tampfl.fios.verizon.net [70.110.70.43]) by esmtp.webtent.net (WebTent ESMTP Postfix Internet Mail Gateway) with ESMTP id E8DE6802A4 for ; Tue, 14 Nov 2006 18:45:01 -0500 (EST) From: Robert Fitzpatrick To: FreeBSD In-Reply-To: <8cb6106e0611141504sa4fbe00q8aeda6f869422d26@mail.gmail.com> References: <1163545085.492.20.camel@columbus.webtent.org> <8cb6106e0611141504sa4fbe00q8aeda6f869422d26@mail.gmail.com> Content-Type: text/plain Organization: WebTent Networking, Inc. Date: Tue, 14 Nov 2006 18:46:56 -0500 Message-Id: <1163548016.492.26.camel@columbus.webtent.org> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit Subject: Re: Dual core processors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2006 23:45:10 -0000 On Tue, 2006-11-14 at 15:04 -0800, Josh Carroll wrote: > > up in the 'C' column of top after I've rebooted with the newly compiled > > kernel. > > Run top with the -S argument. You should then see two "idle" > processes, one for each CPU: > > 11 root 1 171 52 0K 8K CPU0 0 72.1H 91.70% idle: cpu0 > 10 root 1 171 52 0K 8K RUN 1 72.2H 90.97% idle: cpu1 > > Can you confirm whether you see that or not? I do not have APIC_IO in > my kernel either, and it is showing both cores in top (Core 2 Duo > CPU). > Thanks, yes, I see both cpu0 and cpu1 and cpu1 is 100% idle compared to cpu0 only 45-50% idle at this time. I did some googling for hyperthreadin after reading Bill's response and checked sysctl to find these settings: esmtp# sysctl machdep.hlt_logical_cpus machdep.hlt_logical_cpus: 0 esmtp# sysctl machdep.smp_cpus sysctl: unknown oid 'machdep.smp_cpus' esmtp# sysctl machdep.hlt_cpus machdep.hlt_cpus: 2 Looks like my hyperthreading is enabled and it is in the BIOS. I was told there was a dual-core in the machine, but not confirmed. But there should be two with HT anyway as seen, correct? -- Robert