Default value for numCapabilities?

Dimitry Golubovsky golubovsky at
Tue Apr 27 12:09:49 EDT 2010


As a followup to the discussion [1] about the portable way to find the
number of CPUs/cores: how is the default value of numCapabilities [2]
set when +RTS -N is not on the command line?

Does GHC runtime figure out the number of cores itself, or it is by
default 1 unless specified on the command line?



Dimitry Golubovsky

Anywhere on the Web

More information about the Glasgow-haskell-users mailing list