#886: Profiling doesn't work with SMP execution
----------------------------+-----------------------------------------------
Reporter: Lemmih | Owner:
Type: task | Status: new
Priority: normal | Milestone: _|_
Component: Runtime System | Version: 6.5
Severity: normal | Resolution:
Keywords: | Difficulty: Difficult (1 week)
Testcase: | Architecture: Multiple
Os: Multiple |
----------------------------+-----------------------------------------------
Changes (by simonmar):
* difficulty: Moderate (1 day) => Difficult (1 week)
* summary: Profiling doesn't work with -threaded => Profiling doesn't
work with SMP execution
* milestone: 6.10 branch => _|_
Comment:
I've now enabled -prof -threaded, it turns out that there weren't any
major problems preventing their use together, we were just being
conservative.
However, it is certainly a lot of work to make profiling work with SMP
(+RTS -N2), and I don't think this is a high priority: you can just
profile on a single CPU. Profiling parallel performance is another
problem altogether (which is certainly on our radar). I've added a note
to the profiling section of the user guide to mention that `+RTS -N2` is
not supported with profiling.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/886#comment:13>
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