[Haskell-cafe] What could possibly be the reason of new GC-related problems after upgrading from ghc-7.6 to ghc-7.8.3 ?

Edward Z. Yang ezyang at mit.edu
Tue Nov 18 22:35:30 UTC 2014


Hello Ducis,

It's hard to say without more information.  This sort of
resembles behavior from "Thread behavior in 7.8.3"; you
might try modifying the RTS flag -C to have a lower number
(like 0.001).

Edward

Excerpts from ducis's message of 2014-11-18 03:27:18 -0800:
> Recently I revived one of my projects set aside a year ago. As I'm an archlinux user, the ghc version has now inevitably become 7.8.3.  Unfortunatly, the program starts to somehow have very bad GC performance (less than 50% productivity) . While I don't have the statistics of the older versions I'm pretty sure the current version has become visually less responsive. And if the user performs a series of actions in quick succession, the heap is not garbage collected in time and overflows. If the user performs the same actions with longer pauses then everything is fine.  The GC seems to have become more loose in 7.8.
> There is quite a large underdocumented pile of code so I don't think posting it here would help.  But can anyone give me a hint about what could be the reason?


More information about the Haskell-Cafe mailing list