Swap encryption pr5 app workloads#6788
Open
DevVegeta wants to merge 9 commits into
Open
Conversation
…5); manifest moved to data/cluster and rendered via vm_util
- Add _configure_eks_kubelet_swap() stub (deferred to PR GoogleCloudPlatform#6780) - DaemonSet: aligned with PR4 slim (no redis/memtier/esrally/opensearch) - Kernel source pre-fetch retained for Phase 3b kernel build - Fix COS_CONTAINERD -> UBUNTU_CONTAINERD (r3472549985) - re import retained (used in _parse_redis_benchmark)
ebf8a21 to
84bd9d7
Compare
…e logic - Prepare() uses SwapNodePool + SwapDaemonSet from spec.resources - Cleanup() is empty - PKB framework auto-deletes spec.resources - All _pod_exec(pod, ...) calls replaced with daemonset.PodExec(...) - Remove Phase 3a (Redis/memtier): duplicated kubernetes_redis_memtier_benchmark; run that benchmark on the swap-enabled cluster instead - Remove Phase 3c (OpenSearch): fragile in-pod JVM launch; use esrally_benchmark on the swap-enabled cluster instead - Keep Phase 3b (kernel build under cgroup memory cap): unique to this benchmark; kernel_compile_benchmark.py is VM-based and cannot run in a K8s pod - Add _configure_eks_kubelet_swap() stub (deferred to PR GoogleCloudPlatform#6780) - Fix COS_CONTAINERD -> UBUNTU_CONTAINERD (r3472549985)
Inherits PR1 framework changes (swap_config as NodepoolSpec field). - Prepare(): deploy SwapDaemonSet + _delete_default_pool(cluster) - Phase 3b: kernel build slowdown ratio under cgroup memory cap - Remove Phase 3a/3c (Redis/OpenSearch): use existing PKB benchmarks - Add _configure_eks_kubelet_swap() stub (deferred to PR GoogleCloudPlatform#6780)
531662f to
ab074b3
Compare
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.
feat(swap_encryption/pr5): Phase 3b — kernel build slowdown under cgroup memory cap
Stacked PR 5/5. Inherits PR1 framework (swap_config as NodepoolSpec field).
Benchmark nodepool provisioned automatically by GKE cluster creation.
Phase 3b additions:
kernel_build_slowdown_ratio— unique measurement of swap encryption cost on real compile workloadskernel_compile_benchmark.pyis VM-based and cannot run inside a K8s pod; this is the only PKB path for this measurementPhases not included (handled by separate PKB benchmarks on a swap-enabled cluster):
kubernetes_redis_memtier_benchmarkwithswap_confignodepool from PR1esrally_benchmarkon a swap-enabled cluster