
#13830: '+RTS -s' gives incorrect value for work balance in some cases -------------------------------------+------------------------------------- Reporter: duog | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Runtime | Version: 8.0.1 System | Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: Debugging Unknown/Multiple | information is incorrect Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- The formula for work balance as printed by the rts -s flag does not account for the possibility of the number of capabilities changing. Nor does it account for the number of garbage collection threads being other than n_capabilities. The attached program demonstrates the first problem, with instructions for replication in comments. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13830 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler