[GHC] #13362: GHC first generation of GC to be as large as largest cache size by default

GHC ghc-devs at haskell.org
Sat Mar 24 16:25:26 UTC 2018


#13362: GHC first generation of GC to be as large as largest cache size by default
-------------------------------------+-------------------------------------
        Reporter:  varosi            |                Owner:  sjakobi
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Runtime System    |              Version:  8.0.2
      Resolution:                    |             Keywords:  numa cache gc
                                     |  newcomers
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:                    |
-------------------------------------+-------------------------------------

Comment (by varosi):

 @klapaucius, "Multicore Garbage Collection with Local Heaps" by Simon
 Marlow and Simon Peyton Jones in chapter 6.1.1 state:
 "Nevertheless, we do find that on average there is a local minimum around
 1MB on **this hardware**. ... **staying within the cache** becomes more
 beneficial as contention for main memory increases."

 I could experiment more on different processors.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13362#comment:14>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list