[GHC] #8027: Adding one call to getNumCapabilities triggers performance nose dive (6X slowdown)

GHC ghc-devs at haskell.org
Wed Jul 3 20:17:32 CEST 2013


#8027: Adding one call to getNumCapabilities triggers performance nose dive (6X
slowdown)
---------------------------------+------------------------------------------
    Reporter:  rrnewton          |       Owner:                         
        Type:  bug               |      Status:  new                    
    Priority:  normal            |   Milestone:                         
   Component:  Runtime System    |     Version:  7.6.3                  
    Keywords:                    |          Os:  Unknown/Multiple       
Architecture:  Unknown/Multiple  |     Failure:  Runtime performance bug
  Difficulty:  Unknown           |    Testcase:                         
   Blockedby:                    |    Blocking:                         
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by rrnewton):

 UPDATE: I found at least one other way to trigger the bug without calling
 those system functions.  This makes me think its some kind of compiler bug
 (or mis-optimization) rather than a runtime bug.

 I would love to know if anyone else can reproduce this problem...

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



More information about the ghc-tickets mailing list