[GHC] #8594: sysctl name "hw.ncpu" (HW_NCPU) is deprecated in Mac OS X

GHC ghc-devs at haskell.org
Thu Dec 5 05:31:45 UTC 2013


#8594: sysctl name "hw.ncpu" (HW_NCPU) is deprecated in Mac OS X
-----------------------------------+------------------------------------
        Reporter:  kseo            |            Owner:  simonmar
            Type:  task            |           Status:  new
        Priority:  normal          |        Milestone:
       Component:  Runtime System  |          Version:  7.6.3
      Resolution:                  |         Keywords:
Operating System:  MacOS X         |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown    |       Difficulty:  Unknown
       Test Case:                  |       Blocked By:
        Blocking:                  |  Related Tickets:
-----------------------------------+------------------------------------

Comment (by carter):

 benchmark suite for which? using the physical cpu count? thats be like
 using -N2 rather than -N4 (as our default value of -N).

 In performance sensitive applications, using the physical core count can
 sometimes be a win because of better cache behavior, but defualting to
 using the logical cpu count is the right default for general purpose
 applications.

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


More information about the ghc-tickets mailing list