BSD vs Linux Threads

Michael Vince mv at roq.com
Sun Dec 4 02:58:52 PST 2005


Michael Vince wrote:

> Giorgos Keramidas wrote:
>
>> On 2005-12-02 14:00, Michael Vince <mv at roq.com> wrote:
>>  
>>
>>> For 6 Linux threads from my benchmarking and from what I have seen
>>> some peoples posts gives poor performance compared to libthr or
>>> libpthread I am using more of libthr over libpthread in 6.0 and have
>>> been benchmarking best results.
>>>
>>> Try this in /etc/libmap.conf
>>> [mysqld]
>>> libpthread.so.2         libthr.so.2
>>> libpthread.so           libthr.so
>>>   
>>
>>
>> Unfortunately, "I have best results with libthr" is completely
>> worthless, unless you also describe the exact process of the
>> benchmark and why this particular benchmark is considered very
>> important for your specific application vs. other types of
>> workload :/
>>  
>>
> OK well to put it in another way libthr has beaten libpthread (and 
> everything else you can do in FreeBSD such as linux threads) in ANY 
> MySQL benchmark test I have done.

And just to add to that I have probably spent about 20 hours at least 
worth of benchmarking MySQL.

Mike



More information about the freebsd-questions mailing list