[GHC] #8623: Strange slowness when using async library with FFI callbacks

GHC ghc-devs at haskell.org
Sun Dec 22 11:26:37 UTC 2013


#8623: Strange slowness when using async library with FFI callbacks
--------------------------------------------+------------------------------
        Reporter:  JohnWiegley              |            Owner:  simonmar
            Type:  bug                      |           Status:  new
        Priority:  normal                   |        Milestone:  7.8.1
       Component:  Runtime System           |          Version:  7.6.3
      Resolution:                           |         Keywords:
Operating System:  MacOS X                  |     Architecture:
 Type of failure:  Runtime performance bug  |  Unknown/Multiple
       Test Case:                           |       Difficulty:  Unknown
        Blocking:                           |       Blocked By:
                                            |  Related Tickets:
--------------------------------------------+------------------------------

Comment (by hvr):

 fwiw, I suspect some kind of lock contention issue, as the runtime goes
 down as soon as there's some delay involved (such as `putStr` or even
 using `threadDelay` which causes the thread to yield) as well as using
 more than one HEC via `+RTS -N2`

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


More information about the ghc-tickets mailing list