Skip to content

runtime: reported CPU time of STW phases is low #22725

Closed
@aclements

Description

@aclements

The gctrace in https://blog.cloudflare.com/go-dont-collect-my-garbage/ shows CPU times of STW phases that are only a small multiple of the wall-clock time, even though GOMAXPROCS is 48. It should be min(ncpu, GOMAXPROCS) * wallTime.

This also causes the overall GC CPU fraction reported in the gctrace to be much too low, since it's based on these CPU times.

/cc @RLH

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions