From owner-freebsd-threads@FreeBSD.ORG Wed Jul 9 11:59:55 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 271A337B401 for ; Wed, 9 Jul 2003 11:59:55 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89AA743F85 for ; Wed, 9 Jul 2003 11:59:54 -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.8/8.12.1) with ESMTP id h69IxrAI027476; Wed, 9 Jul 2003 14:59:53 -0400 (EDT) Date: Wed, 9 Jul 2003 14:59:53 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Kai Mosebach In-Reply-To: <001b01c3463a$0f907a00$0100a8c0@alpha> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-threads@freebsd.org Subject: Re: AW: LinuxThreads replacement 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: Wed, 09 Jul 2003 18:59:55 -0000 On Wed, 9 Jul 2003, Kai Mosebach wrote: > Currently, im porting the SapDB (www.sapdb.org) to FreeBSD > (www.komadev.de/sapdb), which makes heavy use of the lthreads, but > > 1.) isnt running stable on 5.1 (not sure whether its a lthreads problem) > 2.) is not the fastest (i guess) > 3.) has more (especially memory) overhead > > for example, for on database instance, there are about 80 (lthread) > processes hanging around. > > So i thought of a simple complete recompiling. > > Would you more likely use libthr or libkse, > as kse is not complete yet, isnt it ? KSE seems to be working pretty well for me. I'd suggest giving it a try. Once you compile with either libthr or libkse, you can easily use the other library just by copying one over the other or by using libmap.conf. To date, both libthr and libkse can be drop-in replacements for the other (and libc_r). If you have problems getting SapDB to compile with libthr or libkse, try libc_r (due to some autoconfig and libtool assumptions, it may be easier to use libc_r). Once you get it built with libc_r, you can drop-in libthr or libkse for libc_r. -- Dan Eischen