X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fusers_guide%2Fusing.xml;h=eb6b0c00b8bf13cb83311a935af2b36a7432a52c;hb=46c673a70fe14fe05d7160b456925b8591b5f779;hp=af7950cd80b2d1c23203cc81efb8e273f74f993e;hpb=eca1e7e7becd3d444be45850031e3fa35bccd55d;p=ghc-hetmet.git diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml index af7950c..eb6b0c0 100644 --- a/docs/users_guide/using.xml +++ b/docs/users_guide/using.xml @@ -1667,6 +1667,26 @@ f "2" = 2 + + + + + Turns off the float-in transformation. + + + + + + + + + + Turns off the automatic specialisation of overloaded functions. + + + + + @@ -1951,6 +1971,10 @@ f "2" = 2 There is no means (currently) by which this value may vary after the program has started. + + The current value of the option + is available to the Haskell program + via GHC.Conc.numCapabilities. @@ -1960,6 +1984,17 @@ f "2" = 2 + + RTS + option + + Use the OS's affinity facilities to try to pin OS + threads to CPU cores. This is an experimental feature, + and may or may not be useful. Please let us know + whether it helps for you! + + + RTS option @@ -1967,9 +2002,16 @@ f "2" = 2 Disable automatic migration for load balancing. Normally the runtime will automatically try to schedule threads across the available CPUs to make use of idle - CPUs; this option disables that behaviour. It is probably - only of use if you are explicitly scheduling threads onto - CPUs with GHC.Conc.forkOnIO. + CPUs; this option disables that behaviour. Note that + migration only applies to threads; sparks created + by par are load-balanced separately + by work-stealing. + + + This option is probably only of use for concurrent + programs that explicitly schedule threads onto CPUs + with GHC.Conc.forkOnIO. +