patch applied (ghc): Run sparks in batches,
instead of creating a new thread for each one
Don Stewart
dons at galois.com
Thu Nov 6 14:14:16 EST 2008
simonmarhaskell:
> Thu Nov 6 03:36:39 PST 2008 Simon Marlow <marlowsd at gmail.com>
> * Run sparks in batches, instead of creating a new thread for each one
> Signficantly reduces the overhead for par, which means that we can
> make use of paralellism at a much finer granularity.
>
> M ./compiler/prelude/primops.txt.pp +6
> M ./includes/StgMiscClosures.h +1
> M ./rts/Capability.c -7 +22
> M ./rts/Capability.h -1 +5
> M ./rts/Linker.c +1
> M ./rts/Prelude.h +1
> M ./rts/PrimOps.cmm +22
> M ./rts/Schedule.c -30 +4
> M ./rts/Sparks.c -4 +6
> M ./rts/Sparks.h -2 +2
> M ./rts/package.conf.in -5 +3
AWESOME
More information about the Cvs-ghc
mailing list