Search arXiv⌕ Search

arXiv · 2612.02693

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

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)$ gzip inflation, $O(N^2)$ comparison, or $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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Tim Dortmann, Markus Vieth, Bertil Schmidt. 2026-12-01. When Does a GPU Shorten All-Pairs Genome Comparison? End-to-End Modelling and Scaling with cuDDL. https://searcharxiv.org/abs/2612.02693

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

InferScale: GPU-Native KV Injection for Personalized LLM Serving

Personalized large language model (LLM) applications retrieve facts from conversation history to answer new requests. During prefill, the model converts these facts into key-value (KV) states, often repeating work from earlier requests. Prefix caching reuses states when prompts share an identical initial token sequence, but changing fact subsets and ordering limits its effectiveness. We present InferScale, a memory system that colocates a GPU-native semantic index with a KV store to retrieve and inject precomputed fact states directly into the attention cache. Context-Window Encoding mitigates the accuracy loss of encoding facts separately by including preceding conversation context while retaining only each fact's states. Chunked RoPE adjusts the stored keys for their serving positions. InferScale integrates through vLLM's KV-connector interface without engine modifications, model fine-tuning, or serving-time cache recomputation. On LoCoMo, InferScale achieves 1.7-2.2x speedups over Mem0 in query-to-first-token latency at a retrieval budget of 50 facts across three 7-8B models. On Llama-3.1-8B, replacing Mem0's CPU-based Qdrant backend with GPU-native retrieval reduces latency from 117 to 83 ms. Adding KV injection reduces it further to 55 ms. As retrieval grows from 5 to 400 facts, InferScale's engine time-to-first-token rises from 16 to 25 ms. At 400 facts, this is a 13.3x speedup over Mem0's 327 ms. At 50 facts, Context-Window Encoding achieves 60.3% accuracy versus Mem0's 63.3%. These results show that integrating semantic retrieval with reusable inference state reduces the serving cost of persistent memory while retaining useful source context.

cs.DC↗

An Event-Driven Cloud-Native Wearable Analytics Framework for Real-Time Clinical Workloads

Continuous physiological monitoring using consumer-grade wearables offers a transformative opportunity for clinical care and research, yet integration remains hindered by device heterogeneity, proprietary data formats, and strict regulatory requirements. We present an event-driven, cloud-native system designed to ingest, normalize, and analyze high-frequency vital signs from wearables at scale and without vendor lock-in. The system design proposes a multi-layered microservice architecture using cluster orchestration. Data acquisition is handled via a cross-platform mobile application that leverages native health frameworks, ensuring compatibility across fragmented device ecosystems. To address interoperability, we implement an event-driven transformation pipeline using stream processing engines and specialized services to map raw measurements to the FHIR standard for medical interoperability. Our novel dependency-aware FHIR minimization scheme reduces storage overhead while maintaining lossless resource reconstruction. Furthermore, the platform integrates a modular data analytics and machine learning layer based on a medallion lakehouse architecture, supporting the full machine learning lifecycle from real-time stream processing to model serving. Performance evaluation demonstrates that the ingestion pipeline sustains 50 full ingestion requests per second with median response times under 8 ms, satisfying the low-latency requirements for real-time patient monitoring. Our open-source implementation adheres to regulatory compliance standards through role-based access control and secure service-to-service communication, providing a robust foundation for deploying wearable-based monitoring in institutional healthcare settings for clinical decision support and research workloads.

cs.DC↗

PACER: GPU Excursion Management for ML Workloads

Variability is an inherent characteristic of modern GPU systems, arising from a combination of process variation, dynamic environmental conditions, and power management decisions. Prior work has characterized inter-GPU variability and found consistent performance differences across GPUs. However, we observe that modern workloads, particularly large language models (LLMs), exhibit significant intra-GPU variability. Their short-running kernels interact poorly with the coarse granularity of dynamic power management mechanisms, leading to unpredictable performance. A key source of this intra-GPU transient variability is power excursions, also referred to as electrical design power peaks (EDP$_{p}$), where power temporarily exceeds the GPU's rated power limits. While power management mechanisms are designed to ensure reliable operation despite the presence of EDP$_{p}$ sustained power peaks cause throttling that detrimentally impacts overall application performance. To the best of our knowledge, our work is the first to characterize the magnitude and frequency of EDP$_{p}$, showing that frequent, significant power overshoots are especially common in ML workloads, which combine high power draw, short kernels, and rapidly changing compute demands. To address this, we design and leverage hardware and firmware mechanisms to provide consistent power management behavior that reduces intra-GPU variability due to EDP$_{p}$ and improves overall performance. We evaluate our techniques across a range of popular workloads. Our approach improves performance by 3-12% over state-of-the-art GPU power management and comes within 3% of an oracular solution.

cs.DC↗