Swap encryption pr4 cpu io overhead#6787
Open
DevVegeta wants to merge 8 commits into
Open
Conversation
…5); manifest moved to data/cluster and rendered via vm_util
…KS stub - Remove duplicate FLAGS = flags.FLAGS - Add _configure_eks_kubelet_swap() stub (deferred to PR GoogleCloudPlatform#6780) - DaemonSet: remove workload tools; separate PKB pods (r3457826290) - Remove cgroup v2 unlock hack (r3457928855) - Pre-fetch kernel source for Phase 3b - Fix COS_CONTAINERD -> UBUNTU_CONTAINERD (r3472549985)
79fc7be to
3162242
Compare
- 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(...) - DaemonSet: remove workload tools; separate PKB pods (r3457826290) - Remove cgroup v2 unlock hack (r3457928855) - Pre-fetch kernel source for Phase 3b - Fix COS_CONTAINERD -> UBUNTU_CONTAINERD (r3472549985)
Inherits PR1 framework changes (swap_config as NodepoolSpec field). - Prepare(): deploy SwapDaemonSet + _delete_default_pool(cluster) - Phase 2: stress-ng vmstat/pidstat sampling (kswapd/kcryptd CPU%) - DaemonSet: adds stress-ng + build tools, pre-fetches kernel source
375b070 to
bce82f7
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/pr4): Phase 2 — CPU overhead and I/O interference under swap pressure
Stacked PR 4/5. Inherits PR1 framework (swap_config as NodepoolSpec field).
Benchmark nodepool provisioned automatically by GKE cluster creation.
Phase 2 additions:
_autoscale_vm_bytes(): sizes memory pressure to 110% of available RAMstress-ng --vmwith--rand-setto force LRU eviction to swapvmstat/pidstatsampling: measures kswapd, kcryptd, dmcrypt_write CPU% under swap pressurestress-ng,cgroup-tools,gcc/make/bc/flex/bison/libelf-dev/libssl-dev; pre-fetches kernel source for Phase 3b