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

Enable checkpoint/restore auto deduplication of memory images #105

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

austinvazquez
Copy link
Contributor

@austinvazquez austinvazquez commented Oct 29, 2023

Issue

Closes #73

Description

This PR adds runc checkpoint --auto-dedup <id> and runc restore --auto-dedup <id> support.

Signed-off-by: Austin Vazquez [email protected]

@codecov-commenter
Copy link

codecov-commenter commented Oct 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (4a6db15) 21.40% compared to head (c7a99a6) 25.34%.

❗ Current head c7a99a6 differs from pull request most recent head aa7c06c. Consider uploading reports for the commit aa7c06c to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #105      +/-   ##
==========================================
+ Coverage   21.40%   25.34%   +3.93%     
==========================================
  Files           7        7              
  Lines         724      726       +2     
==========================================
+ Hits          155      184      +29     
+ Misses        528      474      -54     
- Partials       41       68      +27     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@austinvazquez austinvazquez marked this pull request as ready for review October 29, 2023 06:06
defer cancel()

okRunc := &Runc{
Command: "/bin/true",
Copy link
Contributor Author

@austinvazquez austinvazquez Oct 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also tried /bin/echo thinking I could validate the command by having it returned in output for a better assertion; however, runOrError only returns output as error when non-zero exit code.

@austinvazquez austinvazquez changed the title Enable checkpoint auto deduplication of memory images Enable checkpoint/restore auto deduplication of memory images Feb 9, 2024
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

Successfully merging this pull request may close these issues.

Enable passing the --auto-dedup flag
2 participants