From owner-freebsd-threads@FreeBSD.ORG Mon Nov 15 21:53:15 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 11C4A16A4CE for ; Mon, 15 Nov 2004 21:53:15 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED41543D45 for ; Mon, 15 Nov 2004 21:53:14 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id D64D57A403; Mon, 15 Nov 2004 13:53:14 -0800 (PST) Message-ID: <4199254A.8030607@elischer.org> Date: Mon, 15 Nov 2004 13:53:14 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030516 X-Accept-Language: en, hu MIME-Version: 1.0 To: Petri Helenius References: <419914F0.1010308@he.iki.fi> <41991A87.6010803@elischer.org> <41991B66.4090801@elischer.org> <419922B9.7050603@he.iki.fi> <41992403.8040308@he.iki.fi> In-Reply-To: <41992403.8040308@he.iki.fi> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-threads@freebsd.org Subject: Re: performance tuning 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: Mon, 15 Nov 2004 21:53:15 -0000 Petri Helenius wrote: > Petri Helenius wrote: > > > Julian Elischer wrote: > > > >> > >>> > >>> > >>> There is work proceeding on 3 fronts. > >>> > >>> * libthr continues to be improved by Mike. > >> > >> > >> > > Is there a guideline when one should consider using libthr? I > > haven't tried libthr for quite a while. > > > > To comment myself, just tried libthr and it seems to get stuck on > umtx fairly easily and the application just sits idle. I just > libmap.conf:ed pthread->thr. Average lifetime was around five seconds > before it hung. On libpthread the same piece of software runs for > months uninterrupted. > The good thing about libthr is that, being so different, it tends to provide a good second string for helping diagnose problems.. For those applications that run with it, they tend to run well. It has its own problems as you noticed, but it's always worth checking it now and then. > Pete