[GHC] #3553: parallel gc suffers badly if one thread is descheduled

GHC ghc-devs
Fri Oct 11 08:41:08 UTC 2013


#3553: parallel gc suffers badly if one thread is descheduled
-------------------------------------+------------------------------------
        Reporter:  simonmar          |            Owner:  simonmar
            Type:  bug               |           Status:  closed
        Priority:  normal            |        Milestone:  6.12.2
       Component:  Runtime System    |          Version:  6.10.4
      Resolution:  fixed             |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by simonmar):

 Replying to [comment:14 parcs]:
 > If so, would the earlier commits that helped mitigate this particular
 slowdown be undone (like the one that makes `ACQUIRE_SPIN_LOCK()` call
 `yieldThread()` every 1000 spins)?

 No, the problem is still very real, and the `yieldThread()` helps a lot.
 Making the main thread non-bound would just make it less likely to
 manifest in some cases.

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



More information about the ghc-tickets mailing list