Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Sep 2007 23:59:20 +0200
From:      Kris Kennaway <kris@FreeBSD.org>
To:        josh.carroll@gmail.com
Cc:        Maxim Khitrov <mkhitrov@gmail.com>, Aryeh Friedman <aryeh.friedman@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: Building a new workstation - dual or quad-core CPU for FreeBSD 7?
Message-ID:  <46EC55B8.2090107@FreeBSD.org>
In-Reply-To: <8cb6106e0709151446x4c54a520u2d5cd543ba1541e@mail.gmail.com>
References:  <26ddd1750709141351i3646e9bdg8d8b7e93461167f9@mail.gmail.com>	 <bef9a7920709141441r5c228a8bu1fcf2ea15868c3c@mail.gmail.com>	 <26ddd1750709151014x2112b022r9bcb999fbf1e7e49@mail.gmail.com>	 <46EC270A.3020100@FreeBSD.org>	 <8cb6106e0709151421h7bfdeb6fo7dc671820294e9c7@mail.gmail.com>	 <46EC4F59.7070104@FreeBSD.org>	 <8cb6106e0709151435p72cd328by63895421f3a63ea4@mail.gmail.com>	 <46EC50DA.6000104@FreeBSD.org> <8cb6106e0709151446x4c54a520u2d5cd543ba1541e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Josh Carroll wrote:
>> That's good to know.  You should be using libthr for threaded
>> performance though :)  That benchmark is probably almost all userland
>> though, so performance may not suffer much from libpthread.
> 
> Oh I wasn't sure if libthr was the preferred thread library for 6.2
> also (I'd heard that was the case for -CURRENT).
> 
> I should look into whether ffmpeg can be built with libthr instead and
> compare performance. Somewhat off topic, so I'll leave it at that, but
> thanks again for the great info. I'm really looking forward to
> 7.0-RELEASE, obviously :)

Yeah, it is preferred on 6.x too (libkse has truly atrocious 
performance).  It's trivial to change it over, just add an entry to 
/etc/libmap.conf:

libpthread.so.2 libthr.so.2

Kris




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46EC55B8.2090107>