Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better stats #20

Open
kuszmaul opened this issue Jun 8, 2015 · 1 comment
Open

better stats #20

kuszmaul opened this issue Jun 8, 2015 · 1 comment

Comments

@kuszmaul
Copy link
Owner

kuszmaul commented Jun 8, 2015

We would like the following statistics

  • How much rss has been given to the user (assuming the user touches all of what she has requested). This is not the sum of the sizes of the allocations, since, for example, we round up to the next size bin. This is not a multiple of the page size either, since we have unallocated objects not counted here.
  • How much rss is currently used for unallocated objects on pages shared with allocated objects.
  • How much rss is currently used for supermalloc data structures. If you sum this with the previous two you should get the total rss that supermalloc thinks is in use.
  • How much virtual memory is currently allocated by supermalloc. (This only grows)
@kuszmaul
Copy link
Owner Author

kuszmaul commented Jun 8, 2015

Mark Callaghan says that he wants to know

  1. how much memory my app is using
  2. how much memory the allocator is using to provide make large mallocs work #1
  3. how this changes over time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant