logo       

[GHC] #693: dynamic locking: msg#00040

lang.haskell.glasgow.bugs

Subject: [GHC] #693: dynamic locking

#693: dynamic locking
-------------------------------+--------------------------------------------
Reporter: simonmar | Owner:
Type: task | Status: new
Priority: normal | Milestone: 6.6
Component: Runtime System | Version: 6.4.1
Severity: normal | Keywords:
Os: Unknown | Difficulty: Moderate (1 day)
Architecture: Unknown |
-------------------------------+--------------------------------------------
Now that the SMP and threaded runtimes are the same, there is some
unnecessary locking going on in the single threaded case. For example,
MVar operations now require an atomic memory operation, which can be quite
slow. It might be a good idea to dynamically turn on these locks if we're
running multi-threaded (ie. +RTS -N2 or greater). ToDo: measure the
difference.

--
Ticket URL: <http://cvs.haskell.org/trac/ghc/ticket/693>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise