[GHC] #3869: RTS GC Statistics from -S should be logged via the eventlog system

GHC trac at galois.com
Mon Feb 8 01:38:13 EST 2010


#3869: RTS GC Statistics from -S should be logged via the eventlog system
---------------------------------+------------------------------------------
    Reporter:  cjs               |       Owner:                                    
        Type:  feature request   |      Status:  new                               
    Priority:  normal            |   Component:  Runtime System                    
     Version:  6.12.1            |    Keywords:  gc, garbage collection, statistics
          Os:  Unknown/Multiple  |    Testcase:                                    
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown                      
---------------------------------+------------------------------------------
 The -Sfilename option to the RTS gives useful GC statistics, but it's hard
 to correlate these with other events, particularly to see if GC is
 interrupting critical sections in mutator threads. If the same information
 were instead logged via the eventlog system (perhaps enabled via a "-lg"
 option) one could get more insight into the garbage generation and
 collection behaviour of one's program.

 Note that it's probably not necessary also to store the information given
 at the end of the run with both "-s" and "-S", though it may be
 interesting to contemplate moving this sort of thing into the eventlog
 file as well.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3869>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list