[Haskell-cafe] SMP parallelism increasing GC time dramatically

Tom Thorne thomas.thorne21 at gmail.com
Wed Oct 12 13:48:12 CEST 2011


Thanks, I would except that my code, whilst pure, uses hmatrix, and hmatrix
uses lapack internally and so presumably calls FFI functions. As far as I
know lapack ought to be thread safe, but potentially the way it interfaces
with haskell in hmatrix isn't. I don't want to blame hmatrix since it is an
excellent library but I can't rule it out and I'm not sure how to pinpoint
where exactly it is happening.

I'm going to try and modify my code to use a pure haskell implementation and
see if the segfaults go away..

On Mon, Oct 10, 2011 at 4:25 PM, Simon Marlow <marlowsd at gmail.com> wrote:

>
> Please report the bug.  General rule: if in doubt, report it.  We'll decide
> whether it's a bug or not.  If it's a segfault, and you're not doing any FFI
> or unsafe stuff, and your hardware isn't faulty, then it's definitely a bug.
>
> Cheers,
>        Simon
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20111012/3fc24e52/attachment.htm>


More information about the Haskell-Cafe mailing list