Skip to content

JIT: implement memory pystats collection #128842

Description

@diegorusso

Feature or enhancement

Proposal:

In order to improve the JIT memory allocation, we need to know how much memory it uses.

Specifically it would be useful to know the following metrics:

  • code total memory
  • data total memory
  • trampoline total memory
  • padding total memory
  • memory that we free

Also print and histogram of the traces total size.
Use the pystats infrastructure to collect these stats.

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

This feature has been discussed with @brandtbucher in the past months.

Linked PRs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions