Subject: Re: =?iso-8859-1?Q?SMP_doesn=B4t_work_the_way_i_want=2E?=
To: Patrik Hansson <padde@beta.telenordia.se>
From: David Laight <david@l8s.co.uk>
List: tech-smp
Date: 02/07/2003 08:17:44
> My problem:
> I have compiled GENERIC.MPDEBUG and netbsd finds two cpus but if
> I start systat vmstat I can only see one cpu.
> If I start top I have CPU/0 CPU/1 etc etc. Why can't I see both in systat ?

Probably because noone has updated those programs to know about multiple
cpus.

> Another thing is the how the system uses the two cpus.
> when I recompile a kernel only one cpu gets the load, and top
> reports 50% idle. Is that normal ?

Probably with the default make options.
Getting -pipe onto the gcc command line would get both cpus active.
As would running make with '-j 2'.

	David

-- 
David Laight: david@l8s.co.uk