#3039: strange space usage
-----------------------------------------+----------------------------------
    Reporter:  igloo                     |        Owner:                  
        Type:  run-time performance bug  |       Status:  new             
    Priority:  normal                    |    Milestone:  6.12 branch     
   Component:  Compiler                  |      Version:  6.10.1          
    Severity:  normal                    |   Resolution:                  
    Keywords:                            |   Difficulty:  Unknown         
    Testcase:                            |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple          |  
-----------------------------------------+----------------------------------
Changes (by igloo):

  * milestone:  => 6.12 branch

Comment:

 One thing here that I think is a profiling bug is the biographical profile
 output. One odd thing is that the amount of memory shown on the graph is
 only half that shown on the `-hy` graph. The other thing is that it is
 shown as all VOID, but if this is the filename then surely it should all
 be DRAG?

 Memory use drops by a factor of 10 when using `-C0`, and runtime drops a
 little too:
 {{{
 ./base +RTS -t
 'z'
 <<ghc: 35419752392 bytes, 43721 GCs, 445058/578064 avg/max bytes residency
 (867 samples), 3M in use, 0.00 INIT (0.00 elapsed), 13.90 MUT (17.42
 elapsed), 3.47 GC (3.40 elapsed) :ghc>>
 ./base +RTS -t  17.37s user 3.46s system 100% cpu 20.821 total

 ./base +RTS -t -C0
 'z'
 <<ghc: 35413940264 bytes, 43716 GCs, 45837/46328 avg/max bytes residency
 (20 samples), 4M in use, 0.00 INIT (0.00 elapsed), 13.85 MUT (17.17
 elapsed), 1.92 GC (1.89 elapsed) :ghc>>
 ./base +RTS -t -C0  15.78s user 3.28s system 99% cpu 19.062 total
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3039#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to