Subject: Re: SMP doesn?t work the way i want.
To: Patrik Hansson <padde@beta.telenordia.se>
From: Martin Husemann <martin@duskware.de>
List: tech-smp
Date: 02/07/2003 09:06:45
On Fri, Feb 07, 2003 at 08:45:43AM +0100, Patrik Hansson wrote:
> Wy can't i see both in systat ?
Because systat has not been updated for multiple CPU display yet.
It should, I guess.
> when i recompile a kernel only one cpu gets the load, and top
> reports 50% idle. Is tha normal ?
Yes. If the system only has one process (or more precise: thread) to run, it
can't realy use the second CPU. But for all makefiles in the NetBSD source
treee, you can add a "-j X" argument to make, i.e. "make -j 4", to make it
run multiple processes (compilers) at the same time.
If you have enough memory, this works great.
Martin