ClickhouseBenchmark
Running ClickHouse on NVIDIA Vera CPU: Is your favorite database up to the challenge?
Summary
ClickHouse engineers benchmarked the standard binary on an early-access NVIDIA Vera CPU without any database customizations, and it topped the ClickBench hardware leaderboard by a wide margin. Vera’s 176 Arm-v9.2 cores with 352 threads, 164 MB L3 cache, and up to 1.2 TB/s memory bandwidth require databases to scale linearly to fully utilize resources. Three micro-benchmarks—filter evaluation, aggregation, and joins—on a 1 TB in-memory table of 62.5 billion random strings measured scaling efficiency across thread counts. A simple LIKE filter achieved 45x speedup at 256 threads with throughput reaching ~900 GB/s, hitting memory bandwidth limits, while a CPU-intensive regex filter scaled almost perfectly up to 176 physical cores (163x speedup, 92.88% efficiency) and the join benchmark showed similar near-linear scaling. The benchmarks simulate agentic query patterns, and ClickHouse is adding SVE2 SIMD support via PR #122860 to further improve vector processing on Vera.
Context
ClickHouse engineers benchmarked the standard ClickHouse binary on an early-access NVIDIA Vera CPU to evaluate scalability on a high-core-count, high-memory-bandwidth platform, especially for emerging agentic query workloads.
Approach / What changed
Three micro-benchmarks (filter evaluation, aggregation, and joins) on a 1 TB in-memory table of 62.5 billion random strings using ClickHouse’s Memory table engine, measuring query runtime and speedup across thread counts from 1 to 352.
Takeaways
ClickHouse’s simple LIKE filter on Vera hit memory bandwidth limits at ~900 GB/s with 256 threads, achieving 45x speedup but only 17.75% efficiency due to being I/O-bound.
A CPU-intensive regex filter scaled almost linearly up to 176 physical cores (163x speedup, 92.88% efficiency), with efficiency declining beyond that due to logical thread sharing.
ClickHouse is adding support for Vera’s 6x128-bit SVE2 SIMD instructions (PR #122860) to further improve vector processing throughput, as demonstrated by a 3.5x slowdown when auto-vectorization was disabled.
FAQ
How does ClickHouse scale on NVIDIA Vera's 176 cores?
For CPU-bound queries like regex filtering, ClickHouse scales almost linearly up to 176 physical cores (163x speedup, 92.88% efficiency). For memory-bound queries like simple LIKE, scaling stops at around 64 threads when memory bandwidth is saturated (~900 GB/s).
What micro-benchmarks were used to test scalability?
Three micro-benchmarks: filter evaluation (LIKE and regex), aggregation (GROUP BY), and joins (JOIN), all on a 1 TB in-memory table of 62.5 billion random strings using the Memory table engine.
What SIMD instructions does Vera provide and how is ClickHouse leveraging them?
Vera provides 128-bit NEON and 6x128-bit SVE2 SIMD instructions. ClickHouse currently uses NEON for auto-vectorization, and support for SVE2 is being added via PR #122860 to further boost vector processing throughput.
Source and freshness
- Source
- clickhouse.com
- Published
- Added to Yomu
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.