Improve the default parallel GC settings, and sanitise the flags (#3340)
authorSimon Marlow <marlowsd@gmail.com>
Tue, 15 Sep 2009 08:40:00 +0000 (08:40 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 15 Sep 2009 08:40:00 +0000 (08:40 +0000)
commit53628e913632cac29d54da914040e39add334784
treecff3c068f60d5580fe4e452e044b5b2c6af352b9
parenteca1e7e7becd3d444be45850031e3fa35bccd55d
Improve the default parallel GC settings, and sanitise the flags (#3340)

Flags (from +RTS -?):

  -qg[<n>]  Use parallel GC only for generations >= <n>
            (default: 0, -qg alone turns off parallel GC)
  -qb[<n>]  Use load-balancing in the parallel GC only for generations >= <n>
            (default: 1, -qb alone turns off load-balancing)

these are good defaults for most parallel programs.  Single-threaded
programs that want to make use of parallel GC will probably want +RTS
-qg1 (this is documented).

I've also updated the docs.
docs/users_guide/runtime_control.xml
docs/users_guide/using.xml
includes/rts/Flags.h
rts/RtsFlags.c
rts/sm/GC.c