Kernel Performance Engineering under Physical Non-Idealities
Supun Kuruppu, Pranav Dangi, Wei Li, Zhenyu Bai, Tulika Mitra
Key points
From the paper's conclusion- Extending this analysis beyond GPUs, we show that power constraints also limit throughput scaling on Tenstorrent's Wormhole accelerator, highlighting the broader importance of accounting for physical non-idealities when analyzing and optimizing kernel performance.
Abstract
Physical non-idealities in integrated circuit (IC) design and fabrication are concealed by conventional hardware abstractions, yet they can limit kernel performance and obscure optimization opportunities. Using distributed shared memory (DSMEM) on NVIDIA H100 GPUs as a case study, we show how floorsweeping restricts hardware resources available for clustered execution, potentially offsetting the benefits of reduced data movement enabled by DSMEM. Guided by these insights, we develop a wave-aware clustering strategy that accounts for these resource constraints to improve kernel performance. Evaluations using a global-load-and-broadcast microbenchmark, GEMM, and the Hopper version of FlashAttention 4 demonstrate the performance implications of these constraints, with wave-aware clustering improving FlashAttention 4 throughput by up to 5.30% over its baseline. We further show that, under thermal design power (TDP) limits, reduced data movement enables higher Streaming Multiprocessor (SM) frequencies through Dynamic Voltage and Frequency Scaling (DVFS), explaining otherwise unexpected throughput improvements. Extending this analysis beyond GPUs, we show that power constraints also limit throughput scaling on Tenstorrent's Wormhole accelerator, highlighting the broader importance of accounting for physical non-idealities when analyzing and optimizing kernel performance.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Joule is FLOP: Optimizing Tensor-Core Kernels Beyond Latency Hiding at the GPU Power WallarXiv · 2026
- Reconstructing Fine-grained Memory Reuse Structure in GPU KernelsarXiv · 2026
- Energy-Aware Performance Characterization of Kokkos Kernels Across Precision LevelsarXiv · 2026
- Less is more: learning what to profile for GPU kernel optimizationarXiv · 2026
- Programming AMD XDNA NPUs with Open-source Compiler Tools: A FlashAttention Case StudyarXiv · 2026
- Towards Scalable Storage Architectures for GPU Clusters Running Large Language ModelsProceedings of the ACM on Measurement and Analysis of Computing Systems · 2026