[Haskell-cafe] Performance problems with parallelizing QuickCheck using channels (Control.Concurrent.Chan)

Don Stewart dons at galois.com
Sun Nov 18 18:43:00 EST 2007


gwern0:
> (My previous email showed up as mangled in
> <http://www.haskell.org/pipermail/haskell-cafe/2007-November/034717.html>;
> I think the PGP signature was the problem; I removed it and sent it
> again, but it was put into moderation for size, and hasn't been
> released yet - so I'm sending this a third time but I'm removing
> attachments so it'll be under the annoying 20k size limit)
> 
> 
> So I've been trying to get my QuickCheck tests to run in parallel. I
> did take a look at Don's Parallel QuickCheck library
> <http://www.cse.unsw.edu.au/~dons/pqc.html>, but I didn't like how
> much code it had in it and I figured it'd be a good exercise to try to
> do myself.
> 

Did you compare it against the multicore performance of the original
pqc? (Which I've found fairly good). The trick is to ensure enough
work is done per thread, so you don't get overwhelmed by communication.

-- Don


More information about the Haskell-Cafe mailing list