#4322: High CPU usage during idle time due to GC
-------------------------------+--------------------------------------------
Reporter: hesselink | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Runtime System | Version: 6.12.3
Keywords: idle GC | Testcase:
Blockedby: | Difficulty:
Os: MacOS X | Blocking:
Architecture: x86 | Failure: Runtime performance bug
-------------------------------+--------------------------------------------
Comment(by hesselink):
Yes, that lead me to it! In happstack there is
Happstack.Server.HTTP.Clock, which starts a thread that fills an IORef
with the current time every second, using threadDelay. It is used for the
request headers. I don't know why it is there; perhaps some kind of
caching that improves performance over querying the time every request.
I imagine removing this would fix the problem, but haven't tried yet.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4322#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs