[GHC] #1741: Threaded RTS must use processor affinity and
processor information
GHC
trac at haskell.org
Thu Sep 27 10:47:21 EDT 2007
#1741: Threaded RTS must use processor affinity and processor information
-------------------------+--------------------------------------------------
Reporter: guest | Owner:
Type: task | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.6.1
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: Multiple | Testcase:
Architecture: Multiple |
-------------------------+--------------------------------------------------
Changes (by guest):
* cc: bos at serpentine.com (added)
Comment:
It would be nice if -N''k'' wasn't needed by default. SimonM, if you
want, I can write a patch against 6.8 that sets the right value of ''k''
by default, letting -N''k'' override it.
I'm not concerned about setting affinity. It's usually better to let the
OS choose this by default, as it's almost impossible to get highly
pertinent information out of the kernel, such as whether two cores are in
the same physical package or not. If the OS is scheduling two runnable
processes on a single core while another one lies idle, that's a kernel
scheduler bug.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1741#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list