[Haskell-cafe] Problems with threading?
Don Stewart
dons at galois.com
Thu Jun 10 16:18:59 EDT 2010
igouy2:
> > > > In particular, use thread pinning to improve
> > locality.
> > >
> > > -qw -qm ?
> > >
> > > How's that going to work out when applied to the other
> > Haskell programs?
> > >
> >
> > I'm sure it does bad things to them.
>
>
> Yep, earlier in the week I measured the programs using +RTS -N4 -qw
> -qm which is why I wonder how you would approach programs that have a
> mix of performance characteristics? Maybe there aren't large Haskell
> programs like that?
Partioning different parallel components of the application has been
studied in large scale systems. I'm not aware of work done on this in
Haskell yet.
If different phases of a algorithm need to use more or less parallelism,
that's certainly a lot easier (mixtures of forkOnIO and (forkIO or
par)).
-- Don
More information about the Haskell-Cafe
mailing list