[GHC] #16003: Average and maximum residency numbers in nofib broken

GHC ghc-devs at haskell.org
Thu Dec 6 10:03:53 UTC 2018


#16003: Average and maximum residency numbers in nofib broken
-------------------------------------+-------------------------------------
           Reporter:  sgraf          |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  ⊥
          Component:  NoFib          |           Version:  8.6.2
  benchmark suite                    |
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:  5793
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Measuring average and maximum residency in nofib is currently broken:

 {{{
 <<ghc: 55717832 bytes, 32 GCs (29 + 3), 0/0 avg/max bytes residency (0
 samples), 58859672 bytes GC work, ...
 }}}

 I think that
 [https://github.com/ghc/nofib/blob/f87d446b4e361cc82f219cf78917db9681af69b3/runstdtest/runstdtest.prl#L403
 this line] in runstdtest.prl was responsible for matching on `-S` output,
 but since
 [https://phabricator.haskell.org/rNOFIB4e12b05c76e98aa8e32c9f867519c8187e69e12b
 this commit], we only do `-s` for performance reasons. There's
 [https://github.com/ghc/nofib/blob/f87d446b4e361cc82f219cf78917db9681af69b3/runstdtest/runstdtest.prl#L417-L419
 this bit of outcommented code] that probably does what we want.

 It seems that residency numbers were the only metrics depending on `-S`. I
 don't think there's a way to recover average residency with `-s` alone.

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


More information about the ghc-tickets mailing list