#4285: STM bug on Windows?
-------------------------------+--------------------------------------------
Reporter: eevar | Owner:
Type: bug | Status: new
Priority: normal | Component: Runtime System
Version: 6.12.3 | Keywords:
Testcase: | Blockedby:
Os: Windows | Blocking:
Architecture: x86_64 (amd64) | Failure: Runtime performance bug
-------------------------------+--------------------------------------------
I think I've found a bug in the RTS or STM library for Windows (HP
2010.2.0.0 on Vista x64), after running the
[http://www.fatvat.co.uk/2010/08/speeding-up-ants-program.html ants
program from fatvat.co.uk].
After some random period (0-10 seconds), the ant activity suddenly drops
by 90% or so. I guess it's a deadlock issue, as ram usage doesn't change
much.
Recompiling with -threaded seems to fix the problem. I don't see the same
issue on my Linux pc.
I've attached a zip archive containing binaries compiled without
threading, with threading, and with profiling support.
There's also output from a 10-sec profiling run (I have no idea what
options would make sense..), where said slowdown occurs after about 3 sec.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4285>
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