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

When computing virtual attestation, digest incrementally rather than slurping the entire package into memory #6809

Conversation

eddyashton
Copy link
Member

When I added virtual attestations, I blew up the memory use in our virtual nodes, because I slurped the entire package to digest it. That's daft - we can digest incrementally (NB: Most reads we are wary of doing incrementally to avoid TOCTOUs, but this is insecure virtual path with no risks).

@eddyashton eddyashton requested a review from a team as a code owner February 5, 2025 16:45
@maxtropets maxtropets added the run-long-test Run Long Test job label Feb 5, 2025
@achamayou achamayou added this pull request to the merge queue Feb 5, 2025
Merged via the queue into microsoft:main with commit 969cd93 Feb 5, 2025
29 checks passed
@achamayou achamayou deleted the incremental_digest_for_virtual_attestation branch February 5, 2025 21:16
@achamayou
Copy link
Member

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run-long-test Run Long Test job
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants