Re: SMP doesn?t work the way i want.
Patrik Hansson <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.smp |
|---|---|
| Message-ID | <971856141.1044607374555.JavaMail.webmail@webmail4> |
Den 7 Feb 2003 skrev Martin Husemann: > 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 Talked to a friend of mine. In his system systat vmstat displays both his cpu´s.