Skip to content

SegSetGrey is dominating the critical path #137

@rptb1

Description

@rptb1

SegSetGrey is occupying a lot of CPU time on the critical path in sampling profiles.

keybase://chat/ravenbrook#mps/2232 by @rptb1 of 2022-12-14 16:59 UTC says:

Hmm... gprof says

  %   cumulative   self              self     total           
  4.96      3.09     0.24 15165864     0.00     0.00  SegSetGrey

which is a bit surprising. Changing the AVERs in SegSetGrey to CRITICAL. Before:

rb@plover:~/git/mps/code$ time lii6gc/hot/gcbench -x 6415986 amc
amc: 7.37883

real	0m7,398s
user	0m7,196s
sys	0m0,201s

after:

rb@plover:~/git/mps/code$ time lii6gc/hot/gcbench -x 6415986 amc
amc: 5.70199

real	0m5,729s
user	0m5,353s
sys	0m0,376s

Do I understand this properly? Nope!

Metadata

Metadata

Assignees

No one assigned

    Labels

    optionalWill cause failures / of benefit. Worth assigning resources.performanceAffects the speed or space efficiency of the MPS in production

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions