[GHC] #13654: Optimize casMutVar# for single-threaded runtime

#13654: Optimize casMutVar# for single-threaded runtime -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: (none) Type: feature | Status: new request | Priority: normal | Milestone: 8.4.1 Component: Runtime | Version: 8.2.1-rc1 System | Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: Runtime Unknown/Multiple | performance bug Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- When using the non-threaded RTS, `stg_casMutVarzh`, `stg_atomicModifyMutVarzh`, etc., shouldn't need to actually use atomic instructions, but they seem to do so. I believe this makes them substantially slower than necessary in that context. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13654 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13654: Optimize casMutVar# for single-threaded runtime -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: (none) Type: feature request | Status: new Priority: normal | Milestone: 8.4.1 Component: Runtime System | Version: 8.2.1-rc1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Runtime | Unknown/Multiple performance bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Description changed by dfeuer: @@ -1,4 +1,4 @@ - When using the non-threaded RTS, `stg_casMutVarzh`, - `stg_atomicModifyMutVarzh`, etc., shouldn't need to actually use atomic - instructions, but they seem to do so. I believe this makes them - substantially slower than necessary in that context. + In the non-threaded RTS, `stg_casMutVarzh`, `stg_atomicModifyMutVarzh`, + etc., shouldn't need to actually use atomic instructions, but they seem to + do so. I believe this makes them substantially slower than necessary in + that context. New description: In the non-threaded RTS, `stg_casMutVarzh`, `stg_atomicModifyMutVarzh`, etc., shouldn't need to actually use atomic instructions, but they seem to do so. I believe this makes them substantially slower than necessary in that context. -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13654#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13654: Optimize casMutVar# for single-threaded runtime -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: (none) Type: feature request | Status: new Priority: normal | Milestone: 8.4.1 Component: Runtime System | Version: 8.2.1-rc1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Runtime | Unknown/Multiple performance bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Description changed by dfeuer: @@ -1,4 +1,3 @@ - In the non-threaded RTS, `stg_casMutVarzh`, `stg_atomicModifyMutVarzh`, - etc., shouldn't need to actually use atomic instructions, but they seem to - do so. I believe this makes them substantially slower than necessary in - that context. + In the non-threaded RTS, `stg_casMutVarzh`, etc., shouldn't need to + actually use atomic instructions, but they seem to do so. I believe this + makes them substantially slower than necessary in that context. New description: In the non-threaded RTS, `stg_casMutVarzh`, etc., shouldn't need to actually use atomic instructions, but they seem to do so. I believe this makes them substantially slower than necessary in that context. -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13654#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13654: Optimize casMutVar# for single-threaded runtime -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: (none) Type: feature request | Status: closed Priority: normal | Milestone: 8.4.1 Component: Runtime System | Version: 8.2.1-rc1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Runtime | Unknown/Multiple performance bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => closed * resolution: => fixed * milestone: 8.6.1 => 8.4.1 Comment: This was carried out in ff7a3c4f9034af0aca1119c1c1e8f7187460bbad. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13654#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC