Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 2004 08:00:02 +0800
From:      David Xu <davidxu@freebsd.org>
To:        Julian Elischer <julian@elischer.org>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: performance tuning
Message-ID:  <41994302.6020806@freebsd.org>
In-Reply-To: <41991B66.4090801@elischer.org>
References:  <419914F0.1010308@he.iki.fi> <41991A87.6010803@elischer.org> <41991B66.4090801@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer wrote:

>
>
> Julian Elischer wrote:
>
>>
>>
>> Petri Helenius wrote:
>>
>>>
>>>  Now that 5.3 is the first STABLE release, is the future focus on
>>>  -threads towards performance, so that benchmarks and profiling, etc.
>>>  would be appreciated somewhat more than they might have been
>>>  previously when the development was more in the "just get it working
>>>  right" mode?
>>>
>> Basically, yes.
>> there is still work to do in the "get it right" field but
>> it's working "right enough" now that performance is
>> starting to be an issue.
>>
>> There is work proceeding on 3 fronts.
>>
>> * libthr continues to be improved by Mike.
>>
>> * libpthread is being scrutinised for ineffiencies and problems.
>>   In particular M:N performance has a lot to be desired.
>>
>> * (from left field) David has been working on a hybrid of libpthread and
>>  libthr.  As a private project, David is playing w 
>
>
> oops accidentally deleted some of my own mail..
>
>
>
> -- with a version of libpthread optimised for 1:1 using libthr 
> entrypoints.
>
You can try:
http://people.freebsd.org/~davidxu/kern_thr.c
http://people.freebsd.org/~davidxu/kern_umtx.c
http://people.freebsd.org/~davidxu/libfptl.tgz
I can run all applications current libpthread can run.
Performance still needs to be tuned in kern_umtx.c, but it
already beats current libpthread performance using supersmacks
with 100 clients.   :-)

David Xu



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