From owner-freebsd-hardware Fri May 30 18:33:24 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA20643 for hardware-outgoing; Fri, 30 May 1997 18:33:24 -0700 (PDT) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA20630 for ; Fri, 30 May 1997 18:33:21 -0700 (PDT) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id SAA12025; Fri, 30 May 1997 18:27:08 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpd012004; Sat May 31 01:26:57 1997 Message-ID: <338F7E36.446B9B3D@whistle.com> Date: Fri, 30 May 1997 18:26:14 -0700 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0Gold (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: "Jin Guojun[ITG]" CC: hardware@FreeBSD.ORG Subject: Re: SMP (3.0-970527-SNAP) on dual pentium machines References: <199705310027.RAA29428@george.lbl.gov> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-hardware@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Jin Guojun[ITG] wrote: > > Does any one have tested some dual pentium motherboards? > > I have two different dual pentium motherboards: > 1) ASUS P/I-P65UP5 with C-P55T2D > 2) TYAN S1563D > > neither of them really gets worked for SMP. Here is the testing result by > using pthread library -lc_r: the pthread library does not yet utilise multiple kernel threads.. they are all still on one process and thus one processor. people are working on it, but don't hold your breath too much.. fork() however will work on separate processors.. > > ----------------------- > > FreeBSD with single CPU: > 60 /data/src: vfft mri.b128 > /dev/null > 9.7u 0.1s 0:09.95 99.3% 97+11132k 0+0io 0pf+0w > > FreeBSD with dual CPU + pthread (failure SMP): > 62 /data/src: vfft.mt < mri.b128 > /dev/null > 9.5u 0.2s 0:09.83 99.1% 77+11822k 0+0io 0pf+0w > > ----------------------- > > Solaris 2.5.1.u8 with single CPU: > 67 /home/data/src: vfft mri.b128 > /dev/null > 12.0u 0.0s 0:13 87% 0+0k 0+0io 0pf+0w > > Solaris 2.5.1.u8 with dual CPU + thread (SMP): > 69 /home/data/src: vfft.mt mri.b128 > /dev/null > 12.0u 0.0s 0:07 168% 0+0k 0+0io 0pf+0w > > ----------------------- > > We can see that Solaris does make SMP work, but FreeBSD 3.0-SNAP does not. > Does this fail at pthread library (-lc_r)? I have not use fork() for a while. > I will test it sometimes later. > > I saw some message early that said SMP works. Would some one please tell me > how was the SMP tested (fork() or pthread)? pthreads and fork() are two different things. > > Thanks, > > -Jin