Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

ClickHouse 12 min read Research mediumAdept

Running ClickHouse on NVIDIA Vera CPU: Is your favorite database up to the challenge?

ClickHouse, run unmodified on NVIDIA's early-access Vera CPU (2×88 Arm Olympus cores, 352 SMT threads, ~1.2 TB/s memory bandwidth), topped the ClickBench hardware leaderboard. Micro-benchmarks on a 1 TB in-memory table show near-linear scaling for CPU-bound filters, low-cardinality aggregation and parallel hash joins up to the 176 physical cores, with efficiency dropping beyond that as SMT threads give only modest gains. A simple LIKE filter becomes memory-bound at ~64 threads (~813–900 GB/s). Disabling auto-vectorization on a comparison loop made a single-threaded filter 3.5x slower, showing the value of NEON SIMD, with SVE2 support in progress.

Related posts

  • NVIDIA’s Olympus Core: Pushing Server Single Threaded Performance Boundaries

    Chips and Cheese hardMaster

    NVIDIA's Olympus core in the Vera CPU is a 10-wide out-of-order design running at only 3.3 GHz. It aims for near-desktop single-threaded performance through very high per-clock throughput, using huge reorder structures in a layout similar to Arm's Cortex X925. Microbenchmarks show a branch predictor competitive with Zen 5 that sustains two taken branches per cycle, a 96 KB L1D, and a 2 MB L2 at 10-cycle latency. Store forwarding is quirky, with 32B mid-cacheline hiccups and 12-13 cycle penalties for partial overlaps. Its SMT implementation statically partitions nearly everything, including BTBs, caches, schedulers and execution throughput, so a second thread halves per-thread resources even when the sibling is idle-ish.

  • Optimizing ClickHouse for Intel's ultra-high core count processors

    ClickHouse hardMaster

    Intel engineers profiled all 43 ClickBench queries on 160–480 vCPU Xeon systems and landed a series of ClickHouse optimizations targeting lock contention, memory management and other scaling bottlenecks. Examples include double-checked locking with shared locks in the query condition cache (spinlock time cut from 76% to 1%, Q10/Q11 up ~85–89%), thread-local profiler timers, and raising jemalloc's lg_extent_max_active_fit to 8 to match two-level hash table reuse (Q35 up 96%, page faults down 71%). Individual fixes gave up to 10x on single queries and 2–10% geomean gains each, all merged upstream.

  • ClickHouse Cloud on Google Cloud Now Powered by Google Axion Processors: 30–55% Faster Queries, ~15% Fewer Compute Credits

    ClickHouse easyNovice

    ClickHouse Cloud is migrating its Google Cloud fleet from x86 N2D instances to Arm-based Axion C4A instances, yielding 30–55% faster queries across all 43 ClickBench queries, roughly halved load times, and first place on the combined ClickBench ranking. Across a controlled cohort of 38 production services, compute credits per query fell about 15%, with larger gains for CPU-bound workloads and smaller ones where GCS read throughput dominates. The rollout went from staging to region-by-region migration, gated on SharedCatalog storage, maintenance windows and traffic tier, with the highest-traffic organizations moved last. Contributing factors cited include steadier clock frequency under sustained load and one physical core per vCPU instead of two hyperthreads.

  • How ClickHouse Cloud uses AWS Graviton to boost performance and efficiency

    ClickHouse mediumAdept

    ClickHouse Cloud moved about 83% of its AWS fleet from x86 instances (M5/R5) to Graviton ARM instances, building on AArch64 support work that began in 2016 and grew to cover Neon optimizations, JIT and profiling. Because compute and storage are separated, no data had to move. The main engineering work was replacing Intel-only codecs (deflate_qpl, zstd_qat) and making autoscaling work with mixed m7gd/m6gd instance types. That meant matching memory allocations, routing pods under 236Gi to ARM via a webhook, and overprovisioning to handle "architecture jumps." Benchmarks showed about 25% overall query improvement, only 10% on a network-bound S3 workload, and up to 64% for Graviton4 (r8g) versus Intel on ClickBench.

  • Nvidia Vera’s System Architecture: Pushing Bandwidth

    Chips and Cheese hardMaster

    Nvidia's Vera server chip pairs wide Olympus cores with a second-generation Scalable Coherency Fabric and a 1024-bit LPDDR5X-9600 interface (about 1.23 TB/s). Under load, local DRAM latency stays under 200 ns, avoiding the usual hockey-stick curve. The 164 MB non-inclusive shared L3 delivers about 3.35 TB/s aggregate (33 GB/s per core). The NVLink C2C cross-socket link reaches 587–780 GB/s, but it brings high cross-socket memory latency (309–780 ns) and roughly 660 ns cross-socket core-to-core latency. In SPEC CPU2026 rate runs, Vera trails the higher-core-count Graviton 5 per socket overall but leads by nearly 20% in DRAM-bound workloads like fotonik3d, trading core count for per-core performance.

The quest for software engineering knowledge.

Look:
Layout: