Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 1997 18:26:14 -0700
From:      Julian Elischer <julian@whistle.com>
To:        "Jin Guojun[ITG]" <jin@george.lbl.gov>
Cc:        hardware@FreeBSD.ORG
Subject:   Re: SMP (3.0-970527-SNAP) on dual pentium machines
Message-ID:  <338F7E36.446B9B3D@whistle.com>
References:  <199705310027.RAA29428@george.lbl.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?338F7E36.446B9B3D>