|
[GHC] #693: dynamic locking: msg#00040lang.haskell.glasgow.bugs
#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> |
|---|---|---|
| Previous by Date: | Re: [GHC] #490: object code blow up by minor source code change, GHC |
|---|---|
| Next by Date: | [GHC] #694: lawbreaker in HughesPJ, GHC |
| Previous by Thread: | [GHC] #692: Incorporate programs from the shootout in nofib, GHC |
| Next by Thread: | [GHC] #694: lawbreaker in HughesPJ, GHC |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |