Skip to content

Swap encryption pr3 fio benchmark#6786

Open
DevVegeta wants to merge 7 commits into
GoogleCloudPlatform:masterfrom
ashishsuneja:swap-encryption-pr3-fio-benchmark_new
Open

Swap encryption pr3 fio benchmark#6786
DevVegeta wants to merge 7 commits into
GoogleCloudPlatform:masterfrom
ashishsuneja:swap-encryption-pr3-fio-benchmark_new

Conversation

@DevVegeta

@DevVegeta DevVegeta commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

feat(swap_encryption/pr3): Phase 1 — fio microbenchmarks on raw swap device

Stacked PR 3/5. Inherits PR1 framework (swap_config as NodepoolSpec field).
Benchmark nodepool provisioned automatically by GKE cluster creation.

Phase 1 additions:

  • 7-job _FIO_JOBS suite: randread/randwrite 4K IOPS, sequential BW 1M, latency 4K, mixed 70/30 at 4K/64K
  • 20 GiB swap prefill to ensure device is warm before benchmarking
  • Resilient per-job exec pattern: retries on GKE websocket resets
  • _parse_fio_json(): extracts IOPS, BW, p50/p99/p999 latency from fio JSON output
  • Gate 1: loop-device guard — rejects runs where swap is backed by a loop device rather than a real disk

…5); manifest moved to data/cluster and rendered via vm_util
…S stub

- Remove duplicate FLAGS = flags.FLAGS
- Remove unused import re
- Add _configure_eks_kubelet_swap() stub (deferred to PR GoogleCloudPlatform#6780)
- Fix COS_CONTAINERD -> UBUNTU_CONTAINERD (r3472549985)
- 7-job fio suite retained
- pyink --line-length=80 pass
@DevVegeta DevVegeta force-pushed the swap-encryption-pr3-fio-benchmark_new branch from 72e598c to 2e940d8 Compare June 25, 2026 15:04
- 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(...)
- Add _configure_eks_kubelet_swap() stub (deferred to PR GoogleCloudPlatform#6780)
- Fix COS_CONTAINERD -> UBUNTU_CONTAINERD (r3472549985)
- 7-job fio suite retained
- pyink --line-length=80 pass
Inherits PR1 framework changes (swap_config as NodepoolSpec field).
Benchmark nodepool provisioned automatically by GKE cluster creation.

- Prepare(): deploy SwapDaemonSet + _delete_default_pool(cluster)
- Phase 1: 7-job fio suite (rand IOPS/seq BW/latency) with _parse_fio_json
- DaemonSet: fio/cryptsetup/mdadm/sysstat/nvme-cli only
@DevVegeta DevVegeta force-pushed the swap-encryption-pr3-fio-benchmark_new branch from d658074 to b9fdb00 Compare June 29, 2026 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant