From owner-freebsd-hackers@FreeBSD.ORG Fri May 5 02:50:56 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 D683716A40A for ; Fri, 5 May 2006 02:50:56 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8363543D48 for ; Fri, 5 May 2006 02:50:56 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.21] (andersonbox1.centtech.com [192.168.42.21]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k452osS2068249; Thu, 4 May 2006 21:50:54 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <445ABD8F.4060208@centtech.com> Date: Thu, 04 May 2006 21:50:55 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5 (X11/20060402) MIME-Version: 1.0 To: Darren Pilgrim References: <445AB56F.8090907@centtech.com> <445ABCB7.5020301@bitfreak.org> In-Reply-To: <445ABCB7.5020301@bitfreak.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1444/Thu May 4 16:21:06 2006 on mh2.centtech.com X-Virus-Status: Clean 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 02:50:56 -0000 Darren Pilgrim wrote: > Eric Anderson wrote: >> Forgive me if I've missed this on a list somewhere, but My new laptop >> with a Core Duo doesn't seem to use both CPU's. It sees both, but I >> never see anything on cpu 1. Here's a top snippet: > > Your top output shows a single process eating the CPU. A single process > can't span CPUs, so you're only going to see one CPU in use. You need > to do something in parallel, like make -j N where N > 1. I understand that a single process won't span cpu's, but there isn't a single process on the second cpu, and running multiple: cat /dev/random | md5 Still slams one cpu. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------