-
Notifications
You must be signed in to change notification settings - Fork 18.8k
LCOW: ApplyDiff() use tar2ext4, not SVM #37999
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
Conversation
Performance change on a test VM: After
Before
|
@dmcgowan @crosbymichael If one of you guys could take a look too, would be appreciated 😄 |
Signed-off-by: John Howard <jhoward@microsoft.com> This removes the need for an SVM in the LCOW driver to ApplyDiff. This change relates to a fix for moby#36353 However, it found another issue, tracked by moby#37955
Signed-off-by: John Howard <jhoward@microsoft.com>
Codecov Report
@@ Coverage Diff @@
## master #37999 +/- ##
=========================================
Coverage ? 36.1%
=========================================
Files ? 610
Lines ? 45159
Branches ? 0
=========================================
Hits ? 16305
Misses ? 26615
Partials ? 2239 |
Vendor check was failing as there were line-ending issues in HCSShim v0.7.8. Bumped to v0.7.9, hopefully that should now work. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SGTM
ping @simonferquel @tonistiigi PTAL |
oh, and @dmcgowan |
LGTM |
Thanks for reviewing @dmcgowan - I'll take your LGTM and merge 👍 |
Signed-off-by: John Howard jhoward@microsoft.com
Fixes #36353
This removes the need for an SVM in the LCOW driver to ApplyDiff. This has a significant performance improvement in docker pull (comparable to native Linux now), and also in build steps as no SVM is required for the ApplyDiff side, although it is still required on the Diff side.
This change relates to a fix for #36353
However, it found another issue, tracked by #37955.
The matching containerd PR submitted by @jterry75 is at containerd/containerd#2704
@johnstep PTAL