AW: Need SMP access (FreeBSD port of SAPDB aka MaxDB (fwd))

Daniel Eischen eischen at vigrid.com
Tue Sep 30 12:22:13 PDT 2003


On Tue, 30 Sep 2003, Kai Mosebach wrote:

> Hi,
> 
> We can do most of the single processor stuff on our own test machines,
> but we do not know yet, how it behaves (or even if it behaves) on a SMP
> using kse. The more important aspect to us though is, that some of the
> threading specialists can take a look on some behaviours and
> misbehaviours, and mabe tell us whether its from the code, nor from the
> kse implementation ;).

Well, just get it working under FreeBSD with native threading
(KSE) and modify the port to respect PTHREAD_LIBS instead of
linuxthreads.  Others can help you test on SMP, but in theory
it should behave no differently than on UP.  You can simulate
KSE/SMP on a UP system by setting the following sysctls:

	kern.threads.debug: 0 -> 1
	kern.threads.virtual_cpu: 1 -> 2

Let us know if you have any problems.

-- 
Dan Eischen



More information about the freebsd-threads mailing list