Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jul 2006 17:23:38 +0800
From:      David Xu <davidxu@freebsd.org>
To:        kmacy@fsmware.com
Cc:        Daniel Eischen <deischen@freebsd.org>, threads@freebsd.org, Robert Watson <rwatson@freebsd.org>, Julian Elischer <julian@elischer.org>, freebsd-threads@freebsd.org
Subject:   Re: Strawman proposal: making libthr default thread implementation?
Message-ID:  <44B21C9A.3010800@freebsd.org>
In-Reply-To: <b1fa29170607100204q43a38aa7jfebe97eb18ca9e44@mail.gmail.com>
References:  <20060703101554.Q26325@fledge.watson.org>	<200607042204.52572.davidxu@freebsd.org>	<44AAC47F.2040508@elischer.org> <200607041819.05510.peter@wemm.org>	<b1fa29170607042101q4a1204c7o942d83edcec71eb7@mail.gmail.com>	<44AB4C22.3030109@elischer.org>	<20060705095450.O64340@fledge.watson.org> <b1fa29170607100204q43a38aa7jfebe97eb18ca9e44@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Kip Macy wrote:
> 
> Apart from real time scheduling functionality  I have yet to see any
> real-world technical deficiencies with libthr. I have, however, seen
> major stability issues with KSE.
> 
> Network Appliance abandoned FreeBSD as a platform for running their
> simulator due to frequent hangs caused by signals. More recently, on
> sun4v, when single stepping csup (or any multi-threaded app for that
> matter) the debuggee would often get the SIGTRAP and not GDB. When
> re-starting mysqld for the second or third time the process would
> become unkillable. These problems are not entirely surprising, KSE
> makes signal handling *very* complicated. I am disappointed that
> threads are currently unusable on sun4v with KSE.
> 
> I would be delighted if sometime in the very near future, one of the
> following happened:
> 1.
> a) Somebody steps up to work on KSE and fixes the signal issues that
> have long plagued it. John Birrell or Paul Saab can make a T2000
> available to any motivated developer.
> 
> 2.
> a) David Xu fixes static linking with libthr

I really want somebody who is familiar with weak symbol to help me,
since both libthr and libc are using weak symbols (our ABI), according
to what my fellows here said, weak symbols are picked up by linker
randomly, so how to fix it? I had dicussed this issue with dan, but
never got a satisfied answer.

> b) David Xu exports support for real-time scheduling via libthr

This can be implemented in short time.

> c) Peter Wemm checks in bike_sched
> 
> The second seems much more logical, given our desire to become
> performance competitive with Linux. However, sched_lock is not
> currently FreeBSD's biggest bottleneck, and thus the first would be
> acceptable. I would still be pleased at the possibility of sun4v
> someday being checked into CVS.
> 

I don't have objection. :-)

>                    -Kip


David Xu




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44B21C9A.3010800>