[GHC] #1741: Threaded RTS must use processor affinity and processor information

GHC cvs-ghc at haskell.org
Wed Sep 15 08:39:24 EDT 2010


#1741: Threaded RTS must use processor affinity and processor information
-----------------------------+----------------------------------------------
  Reporter:  guest           |          Owner:  simonmar        
      Type:  task            |         Status:  closed          
  Priority:  high            |      Milestone:  7.0.1           
 Component:  Runtime System  |        Version:  6.6.1           
Resolution:  fixed           |       Keywords:                  
  Testcase:                  |      Blockedby:                  
Difficulty:  Unknown         |             Os:  Unknown/Multiple
  Blocking:                  |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown    |  
-----------------------------+----------------------------------------------
Changes (by simonmar):

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


Comment:

 I implemented affinity on Windows:

 {{{
 Tue Sep 14 16:58:44 BST 2010  Simon Marlow <marlowsd at gmail.com>
   * implement setThreadAffinity on Windows (#1741)
 }}}

 strangely it causes some parallel programs to go very slowly when using
 all the cores, though I'm confident it's doing the right thing.  I suspect
 the Windows scheduler is trying to keep one of the cores free or
 something.

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


More information about the Glasgow-haskell-bugs mailing list