patch applied (ghc): Initial parallel GC support
Simon Marlow
simonmarhaskell at gmail.com
Tue Jun 17 10:33:20 EDT 2008
Wed Oct 31 06:07:18 PDT 2007 Simon Marlow <simonmar at microsoft.com>
* Initial parallel GC support
eg. use +RTS -g2 -RTS for 2 threads. Only major GCs are parallelised,
minor GCs are still sequential. Don't use more threads than you
have CPUs.
It works most of the time, although you won't see much speedup yet.
Tuning and more work on stability still required.
M ./includes/ClosureTypes.h -1 +2
M ./rts/ClosureFlags.c -2 +3
M ./rts/StgMiscClosures.cmm -4 +1
M ./rts/sm/BlockAlloc.c -2 +4
M ./rts/sm/Evac.c -136 +211
M ./rts/sm/GC.c -45 +196
M ./rts/sm/GC.h -1 +10
M ./rts/sm/Scav.c -10 +55
M ./rts/sm/Scav.h -2 +3
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20071031130718-760e2-feaa160e2073fb3214bb704c113ab40e9e757c01.gz
More information about the Cvs-ghc
mailing list