Skip to content

chore: right-size comparison backends for 1M-keyspace YCSB runs - #34

Merged
merlimat merged 1 commit into
mainfrom
comparison-backend-sizing
Jul 9, 2026
Merged

chore: right-size comparison backends for 1M-keyspace YCSB runs#34
merlimat merged 1 commit into
mainfrom
comparison-backend-sizing

Conversation

@merlimat

@merlimat merlimat commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Right-size the comparison backends so they survive the YCSB core workloads (1M keyspace), keeping CPU uniform (3) and giving each backend a comparable 6Gi memory footprint.

  • ZooKeeper: set heapSize: 3072. bitnami defaults the JVM heap to 1024MB regardless of the container limit, which the 1M keyspace overflows → Java OOM → CrashLoopBackOff. Container bumped to 6Gi for non-heap (metaspace, netty direct buffers) + OS headroom.
  • oxia (all sizes — oxia, oxia-3/6/12): raise the pebble read cache from the 512MB default to 3GB (readCacheSizeMB: 3072), so oxia actually caches within its footprint — comparable to zk's heap / etcd's page cache. Container 6Gi.
  • etcd: container 6Gi (from 4Gi).

Verification

zk, etcd, and oxia-3/6/12 all completed the YCSB throughput comparison on a real cluster (zk previously OOM'd on heap; the others ran clean at the new sizes).

Keep CPU uniform (3) and give each backend a comparable 6Gi memory footprint so
the YCSB core workloads (1M keyspace) run without OOM:

- ZooKeeper: set heapSize to 3072. bitnami defaults the JVM heap to 1024MB
  regardless of the container limit, which the 1M keyspace overflows (Java OOM
  -> CrashLoopBackOff). Container raised to 6Gi for non-heap headroom.
- oxia (all sizes): raise the pebble read cache from the 512MB default to 3GB
  (readCacheSizeMB), so oxia caches within its footprint -- comparable to zk's
  heap / etcd's page cache. Container 6Gi.
- etcd: container 6Gi (from 4Gi).

Signed-off-by: Matteo Merli <mmerli@apache.org>
@merlimat
merlimat merged commit ee7df6f into main Jul 9, 2026
2 checks passed
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