[Haskell-cafe] Google Summer of Code - Lock-free data structures
rrnewton at gmail.com
Mon Mar 19 12:46:45 CET 2012
The MichaelScott lockefree queues in that repository pass tests and should
work. Additional stress testing and feedback would be appreciated. There
are some other queues in the literature that might be worth implementing
but I think other data structures are higher priority.
As Adam Foltzer mentioned in the trac ticket a really good structure would
be the concurrent bags from this paper:
We separately did a C implementation of those and they performed really
well in our bake-off of producer consumer data structures (vs. TBB queues,
and many other implementations). By the way, we can share the code for
this little bake-off as a performance baseline for the Haskell versions.
I'm less familiar with the literature on concurrent hash tables. TBB's
have been a little bit underwhelming in performance. But it's definitely
an important structure. Ditto for priority queues.
In any case, I welcome your interest in the topic, Florian!
On Mon, Mar 19, 2012 at 7:33 AM, Florian Hartwig <
florian.j.hartwig at gmail.com> wrote:
> On 19 March 2012 09:56, Gregory Collins <greg at gregorycollins.net> wrote:
> > A lock-free concurrent queue alone would be worth a summer project IMO.
> > G
> Ryan Newton is already doing that
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe