Experiment with Cloud Hypervisor differential snapshots - #401
Draft
sjmiller609 wants to merge 1 commit into
Draft
Conversation
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.
summary
validation
go test ./lib/hypervisor/cloudhypervisor./lib/instancesgo test ./lib/vmmon KVM-enabled Linuxcargo check -p cloud-hypervisorbenchmark
For 25 simultaneous 8 GiB Chromium standbys, the v51.1 fork with 64 KiB dirty-range coalescing:
A full snapshot writes 8.60 GB per VM, or about 215 GB for 25 VMs. The differential run reduced device-level writes by about 96%. Coalescing reduced the extent count by 85% and wall time by 41% versus the uncoalesced differential run, though the two fresh runs had somewhat different dirty-page totals.
status
This remains behind
HYPEMAN_EXPERIMENTAL_CH_DIFF_SNAPSHOTSand requires the corresponding Cloud Hypervisor v51.1 fork. It is intended for benchmarking and design validation, not rollout. Production hardening still needs per-instance eligibility enforcement, crash-atomic baseline publication, a controlled dirty-logging overhead benchmark, and an owned build/release path for the fork.