From owner-freebsd-threads@FreeBSD.ORG Tue Sep 30 12:22:13 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3884216A4C1 for ; Tue, 30 Sep 2003 12:22:13 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 182894401E for ; Tue, 30 Sep 2003 12:22:12 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id h8UJMBgG006411; Tue, 30 Sep 2003 15:22:11 -0400 (EDT) Date: Tue, 30 Sep 2003 15:22:11 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Kai Mosebach In-Reply-To: <000501c38786$40bf4470$0400a8c0@dread> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: threads@freebsd.org Subject: Re: AW: Need SMP access (FreeBSD port of SAPDB aka MaxDB (fwd)) X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: deischen@freebsd.org List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2003 19:22:13 -0000 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