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

Monitor memory usage of VT components #1009

Closed
lifflander opened this issue Aug 31, 2020 · 1 comment · Fixed by #1013
Closed

Monitor memory usage of VT components #1009

lifflander opened this issue Aug 31, 2020 · 1 comment · Fixed by #1013

Comments

@lifflander
Copy link
Collaborator

What Needs to be Done?

We've been trying to solve some memory growth in EMPIRE. However, it's difficult to tell where memory increase might occur. Thus, the idea is to add a virtual component method for reporting memory usage across the all the VT components. To do this, we should add serializers (that count the size at the least---doesn't have to serialize properly) to the VT components and then invoke checkpoint::getSize on the component.

cz4rs added a commit that referenced this issue Sep 11, 2020
problematic types (see members not serialized):
- LBType (ambiguous call)
- LoadModel (pure abstract interface)
@PhilMiller
Copy link
Member

Following on this, we'll want to expand on our test suite to

  • Run the serialization sanitizer over all of the components
  • Add tests that exercise essentially everything over many iterations, to hunt for growth

cz4rs added a commit that referenced this issue Sep 15, 2020
problematic types (see members not serialized):
- LBType (ambiguous call)
- LoadModel (pure abstract interface)
cz4rs added a commit that referenced this issue Sep 16, 2020
problematic types (see members not serialized):
- LBType (ambiguous call)
- LoadModel (pure abstract interface)
cz4rs added a commit that referenced this issue Nov 21, 2020
Serialize static templated container using type-erased lambdas.
cz4rs added a commit that referenced this issue Nov 21, 2020
After removing virtual serialization, these serializers are no longer
used.
cz4rs added a commit that referenced this issue Nov 21, 2020
Remove unnecessary checkpoint headers and enabe_ifs (virtual serialization
leftovers).
cz4rs added a commit that referenced this issue Nov 21, 2020
Verify no errors in CI with memory footprinting turned on by default.
Note: switch back to disabled by default before merging.
cz4rs added a commit that referenced this issue Nov 21, 2020
- use standard formatting
- remove superfluous blank lines
cz4rs added a commit that referenced this issue Nov 21, 2020
Add any missing members to existing serializers and add serializers for
classes involved.
cz4rs added a commit that referenced this issue Nov 21, 2020
Add serializer for DiagnosticStatsPack and use it in derived classes.
cz4rs added a commit that referenced this issue Nov 24, 2020
cz4rs added a commit that referenced this issue Nov 25, 2020
#1009 add memory footprinting support for VT components
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants