[GHC] #10728: Add e.g. "-N<=4" in addition to the fixed "-N4" and variable "-N" RTS options

GHC ghc-devs at haskell.org
Wed Aug 5 12:54:08 UTC 2015


#10728: Add e.g. "-N<=4" in addition to the fixed "-N4" and variable "-N" RTS
options
-------------------------------------+-------------------------------------
        Reporter:  rrnewton          |                   Owner:  simonmar
            Type:  feature request   |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Runtime System    |                 Version:  7.10.2
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:  #9221, #8224      |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by simonmar):

 Yes, I think this would be good.  I've actually used `setNumCapabilities`
 and `getNumProcessors` to do this as @rrnewton suggests, but having a flag
 would be easier.  Any takers?  It's not hard.

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


More information about the ghc-tickets mailing list