[GHC] #4307: Default to all cores for executables compiled with -threaded

GHC cvs-ghc at haskell.org
Wed Sep 15 06:46:23 EDT 2010


#4307: Default to all cores for executables compiled with -threaded
------------------------------+---------------------------------------------
  Reporter:  tim.v2.0         |          Owner:                  
      Type:  feature request  |         Status:  closed          
  Priority:  normal           |      Milestone:                  
 Component:  Compiler         |        Version:  6.12.3          
Resolution:  wontfix          |       Keywords:                  
  Testcase:                   |      Blockedby:                  
Difficulty:                   |             Os:  Unknown/Multiple
  Blocking:                   |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown     |  
------------------------------+---------------------------------------------
Changes (by simonmar):

  * status:  new => closed
  * resolution:  => wontfix


Comment:

 My take on this is that we're not ready to default to using all the cores
 yet.  I'd prefer people to have to ask for it, because often the effect on
 performance can be surprising.  Using ''all'' the cores is often not what
 you want, either.

 There are uses for `-threaded` beyond just multicore: the main ones being
 able to interact with multi-threaded foreign code and being able to make
 foreign calls without blocking other Haskell threads.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4307#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list