Re: SMP doesn´t work the way i want.

David Laight <[email protected]>
Newsgroups gmane.os.netbsd.devel.smp
Message-ID <[email protected]>
> 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: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.