Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 May 2006 21:50:55 -0500
From:      Eric Anderson <anderson@centtech.com>
To:        Darren Pilgrim <darren.pilgrim@bitfreak.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Core Duo - only one cpu being used
Message-ID:  <445ABD8F.4060208@centtech.com>
In-Reply-To: <445ABCB7.5020301@bitfreak.org>
References:  <445AB56F.8090907@centtech.com> <445ABCB7.5020301@bitfreak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?445ABD8F.4060208>