Skip to content

When Does a GPU Shorten All-Pairs Genome Comparison? End-to-End Modelling and Scaling with cuDDL

Tim Dortmann, Markus Vieth, Bertil Schmidt

cs.DC

Abstract

A GPU shortens all-pairs genome comparison only when it accelerates stages on the end-to-end critical path. At hundreds of thousands of microbial genomes, the largest stage is O(N)O(N) gzip inflation, O(N2)O(N^2) comparison, or O(N2)O(N^2) durable writes. When CPU and GPU comparators both saturate the drive, GPU compute saves no search time, though faster ingest still cuts wall time. We present cuDDL, an open-source C++20/CUDA library for 16-bit DynamicDemiLog (DDL) sketching, bit-sliced comparison, indexing, and multi-GPU I/O, evaluated on an RTX 5090 workstation, a GH200, and A100 cluster nodes. We report three findings. (1) Model overlap before optimizing kernels. A zero-parameter overlap model calibrated from isolated 100k and storage tests predicts extrapolated local-storage GPU runs within 2.5% total error inside its upfront validity domain, and predicts our matched CPU port within 2% end to end. Upfront checks flag non-interleaved tmpfs and shared Lustre before a run starts (8.4% unfiltered error across all 45 GPU workloads). (2) Shrink output before buying GPU time. On a 1.2-1.5 GB/s NVMe drive, 72- and 128-core CPUs running our bit-sliced comparator tie the GPU on dense search and write, though faster GPU ingest still shortens the 72-core run 1.3x. Zero-suppressed sparse bitmaps halve warm durable runtime. With sparse output, 128 cores still saturate the drive and match the GPU end to end, while 72 cores fall 1.7x behind, and the GPU leads 4-6x in resident search on a workstation whose drive cache absorbs compact output. (3) Bit-slice for compare-bound work. An LSB-first bit-sliced comparator runs 1.1-1.2x faster than MSB-first bit-slicing, which itself runs 5-6x faster than row-major 16-bit kernels.

Create a lesson

Metadata

Categories
cs.DC, q-bio.GN
Comments
13 pages, 9 figures, 9 tables. Source code: https://github.com/tdortman/cuDDL/