From owner-freebsd-threads@FreeBSD.ORG Thu Feb 19 12:05:12 2004 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 54AF216A4CE for ; Thu, 19 Feb 2004 12:05:12 -0800 (PST) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E88D43D1D for ; Thu, 19 Feb 2004 12:05:12 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (sccrmhc12) with ESMTP id <2004021920050901200fqm0fe>; Thu, 19 Feb 2004 20:05:10 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id MAA09911; Thu, 19 Feb 2004 12:05:08 -0800 (PST) Date: Thu, 19 Feb 2004 12:05:07 -0800 (PST) From: Julian Elischer To: Daniel Eischen In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-threads@freebsd.org Subject: Re: libthr patch X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2004 20:05:12 -0000 This brings up something that I think we should discuss with Mike.. Mike, the libthr kernel code has lots of code (e.g. in the scheduler) to make libthr implement 1:1 syste, scope threads. this is "silly" necause we designed the KSE based kernel framework to support 1:1 system scoep threads.. one just needs to allocate a KSEGROUP with each thread and then everything would be right automatically. Do you know teh reason that this was not done? do you know how muvch work it would be to do this? if it was it would allow both threading pacakges to follow the same cade paths (KSE can be compiled to run in 1:1 mode and does it this way) and you coukld as Dan suggested, use the infrastructure we already have for this sort of thing... Julian On Thu, 19 Feb 2004, Daniel Eischen wrote: > On Thu, 19 Feb 2004, Mike Makonnen wrote: > > > Hello folks, > > > > The following patch stops libthr from using signals for syncronizng threads. > > I've tested it localy and have seen *really large* performance > > improvements in heavy thread/mutex contention situations. I'm interested > > in hearing your experiences. > > If you used KSEs, you could use kse_release() and kse_wakeup() :-) :-) > > -- > Dan > > _______________________________________________ > freebsd-threads@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-threads > To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org" >