feat: reduce memory consumption of Scout#1876
Merged
Merged
Conversation
Signed-off-by: Stoo Davies <189670495+stoo-davies@users.noreply.github.com>
Signed-off-by: Stoo Davies <189670495+stoo-davies@users.noreply.github.com>
Contributor
Author
|
Will set this to draft, I need to fix the "Verify mnv_cli" workflow step to use "unsquashfs -l". |
Signed-off-by: Stoo Davies <189670495+stoo-davies@users.noreply.github.com>
Signed-off-by: Stoo Davies <189670495+stoo-davies@users.noreply.github.com>
lachen-nv
approved these changes
May 22, 2026
Contributor
Author
Changes made, mnv_cli test passes now. |
yoks
reviewed
May 22, 2026
Contributor
|
Maybe i would try to zero empty space at very end, so image compression would work better, but need to be tested is there any material difference, example could be: dd if=/dev/zero of=/zero.file bs=1M status=progress || true
rm -f /zero.file |
Contributor
Author
I'm converting a cpio file to squashfs, no intermediate loop/block filesystem, so that shouldn't be necessary. |
Signed-off-by: Stoo Davies <189670495+stoo-davies@users.noreply.github.com>
yoks
approved these changes
May 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Addresses issue 1839, where scout running in VMs uses 10+ GiB of memory.
I've cleaned up the image, and switched to a compressed squashfs based root, rather than decompressing/extracting a cpio image to the ramdisk.
Compatibility with cpio images is retained, as that's being used for some other work, such as the validation image.
Type of Change
Related Issues (Optional)
#1839
Breaking Changes
Testing
Booted on a x86_64 host, booted/dcgmi run on a H100 and GB200.
Additional Notes