Pod Snapshot Benchmark - #6900
Open
george-kalisse-sada wants to merge 1 commit into
Open
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.
Files: 1 new file
perfkitbenchmarker/linux_benchmarks/kubernetes/agentic/k8s_snapshot_benchmark.pyDescription: Adds the GKE Pod Snapshot saturation benchmark:
Pod Snapshot: Measures GKE Pod Snapshot create/restore latency under varying memory preload sizes. Creates source pods with configurable memory footprints, triggers CRIU checkpoints to GCS-backed storage, restores from snapshots, and measures TTFE (Time To First Execution) for restored pods. Includes:
--skip_snapshotmode for cold-start TTFE measurement (no snapshot/restore)--preload_mode=script:<path>for custom startup scripts (vibe coding simulation)DeploySnapshots()integration for GCS bucket, managed folder, KSA, and IAM setupThis is the only benchmark that uses GKE Pod Snapshots (CRIU + GCS), PodSnapshotManualTrigger CRDs, and creates its own SandboxTemplates per measurement (rather than using the shared warm pool).