Publications
* denotes equal contribution.
2027
- Where Did the GPU Time Go? Uncovering and Controlling Hidden Interference in LLM Serving and Training on SuperchipsHsu-Tzu Ting*, Haoyang Zhang*, Xinyu Lian, and Minjia ZhangIn IEEE International Symposium on High-Performance Computer Architecture (HPCA), 2027To appear
Tightly coupled CPU-GPU Superchips promise more efficient execution of AI workloads through high-bandwidth, low-latency interconnects. However, we observe that the same CPU-GPU co-execution workloads can cause substantially larger GPU idle time on Superchips than on conventional PCIe-attached GPU systems. Surprisingly, these GPU stalls occur even when GPU compute, GPU memory bandwidth, and the CPU–GPU interconnect remain unsaturated. Through controlled experiments and microarchitectural analysis, we systematically localize these otherwise unexplained GPU stalls by ruling out conventional bottlenecks in GPU computation and CPU–GPU communication. Our analysis ultimately identifies an overlooked dependency in host-driven GPU execution that can become performance-critical on tightly coupled Superchips: CPU-side resource contention can delay kernel dispatch sufficiently to leave the GPU idle, despite the high-bandwidth CPU–GPU interconnect. Based on this diagnosis, we design SuperGuard, a lightweight runtime that dynamically protects GPU progress while preserving CPU-side performance. SuperGuard monitors dispatch efficiency and adjusts CPU-side resource allocation to achieve high GPU performance under changing contention. Across RAG-based inference, agentic pipelines, and LLM training with CPU offloading on NVIDIA GH200 Superchips, SuperGuard improves end-to-end performance by up to 2.1×, achieves on average 96% of the idealized contention-free performance, and improves both average and tail serving latency with negligible runtime overhead.
@inproceedings{ting2027superguard, title = {Where Did the {GPU} Time Go? Uncovering and Controlling Hidden Interference in {LLM} Serving and Training on Superchips}, author = {Ting, Hsu-Tzu and Zhang, Haoyang and Lian, Xinyu and Zhang, Minjia}, booktitle = {IEEE International Symposium on High-Performance Computer Architecture (HPCA)}, year = {2027}, note = {To appear}, }
2025
- Cost-Efficient LLM Training with Lifetime-Aware Tensor Offloading via GPUDirect StorageZiqi Yuan*, Haoyang Zhang*, Yirui Eric Zhou*, Apoorve Mohan, I-Hsin Chung, Seetharami Seelam, and Jian HuangIn Conference on Neural Information Processing Systems (NeurIPS), 2025
We present the design and implementation of a new lifetime-aware tensor offloading framework for GPU memory expansion using low-cost PCIe-based solid-state drives (SSDs). Our framework, TeraIO, is developed explicitly for large language model (LLM) training with multiple GPUs and multiple SSDs. Its design is driven by our observation that the active tensors take only a small fraction (1.7% on average) of allocated GPU memory in each LLM training iteration, the inactive tensors are usually large and will not be used for a long period of time, creating ample opportunities for offloading/prefetching tensors to/from slow SSDs without stalling the GPU training process. TeraIO accurately estimates the lifetime (active period of time in GPU memory) of each tensor with the profiling of the first few iterations in the training process. With the tensor lifetime analysis, TeraIO will generate an optimized tensor offloading/prefetching plan and integrate it into the compiled LLM program via PyTorch. TeraIO has a runtime tensor migration engine to execute the offloading/prefetching plan via GPUDirect storage, which allows direct tensor migration between GPUs and SSDs for alleviating the CPU bottleneck and maximizing the SSD bandwidth utilization. In comparison with state-of-the-art studies such as ZeRO-Offload and ZeRO-Infinity, we show that TeraIO improves the training performance of various LLMs by 1.47× on average, and achieves 80.7% of the ideal performance assuming unlimited GPU memory.
@inproceedings{yuan2025teraio, title = {Cost-Efficient {LLM} Training with Lifetime-Aware Tensor Offloading via {GPUDirect} Storage}, author = {Yuan, Ziqi and Zhang, Haoyang and Zhou, Yirui Eric and Mohan, Apoorve and Chung, I-Hsin and Seelam, Seetharami and Huang, Jian}, booktitle = {Conference on Neural Information Processing Systems (NeurIPS)}, year = {2025}, } - SkyByte: Architecting an Efficient Memory-Semantic CXL-based SSD with OS and Hardware Co-designHaoyang Zhang*, Yuqi Xue*, Yirui Eric Zhou, Shaobo Li, and Jian HuangIn IEEE International Symposium on High-Performance Computer Architecture (HPCA), 2025
The CXL-based solid-state drive (CXL-SSD) provides a promising approach towards scaling the main memory capacity at low cost. However, the CXL-based SSD faces performance challenges due to the long flash access latency and unpredictable events such as garbage collection in the SSD device, stalling the host processor and wasting compute cycles. Although the CXL interface enables the byte-granular data access to the SSD, accessing flash chips is still at page granularity due to physical limitations. The mismatch of access granularity causes significant unnecessary I/O traffic to flash chips, worsening the suboptimal end-to-end data access performance. In this paper, we present SkyByte, an efficient CXL-based SSD that employs a holistic approach to address the aforementioned challenges by co-designing the host operating system (OS) and SSD controller. To alleviate the long memory stall when accessing the CXL-SSD, SkyByte revisits the OS context switch mechanism and enables opportunistic context switches upon the detection of long access delays. To accommodate byte-granular data accesses, SkyByte architects the internal DRAM of the SSD controller into a cacheline-level write log and a page-level data cache, and enables data coalescing upon log cleaning to reduce the I/O traffic to flash chips. SkyByte also employs optimization techniques that include adaptive page migration for exploring the performance benefits of fast host memory by promoting hot pages in CXL-SSD to the host. We implement SkyByte with a CXL-SSD simulator and evaluate its efficiency with various data-intensive applications. Our experiments show that SkyByte outperforms current CXL-based SSD by 6.11×, and reduces the I/O traffic to flash chips by 23.08× on average. SkyByte also reaches 75% of the performance of the ideal case that assumes unlimited DRAM capacity in the host, which offers an attractive cost-effective solution.
@inproceedings{zhang2025skybyte, title = {{SkyByte}: Architecting an Efficient Memory-Semantic {CXL}-based {SSD} with {OS} and Hardware Co-design}, author = {Zhang, Haoyang and Xue, Yuqi and Zhou, Yirui Eric and Li, Shaobo and Huang, Jian}, booktitle = {IEEE International Symposium on High-Performance Computer Architecture (HPCA)}, year = {2025}, } - Exploring Efficient Hardware Accelerator for Learning-Based Image CompressionChen Chen, Haoyang Zhang, Kaicheng Guo, Xingzi Yu, Weidong Qiu, Zhengwei Qi, and Haibing GuanIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems (TCAD), 2025
Recently, learning-based image compression (LIC) methods have surpassed manually designed approaches in both compression quality and bitrate. However, increasing computational demands and insufficient optimizations in codec performance have hindered the advancement of LIC acceleration. Most researches focus on optimizing specific components, often neglecting the sources of underutilization during the execution of LIC models. Generally, efficient LIC acceleration encounters three primary challenges: 1) extra overheads introduced by individual optimizations; 2) load and computation imbalances in small kernels; and 3) mismatches between hardware configurations and the LIC models. To address these challenges, we propose a framework named extensive accelerator for LIC (X-LIC) for efficiently exploring the design space under constrained resources. First, we quantitatively characterize a representative LIC model, including its latency, computation size, and temporal utilization across various accelerators. We design a hardware-optimized quantization method to compensate for the lack of LIC-oriented research, particularly regarding data precision, distortion, and resource consumption. Additionally, we propose a parameterized LIC accelerator architecture that integrates seamlessly with existing loop optimization models and supports various LIC operators. Two optimization schemes are proposed for redundant computation in transposed convolution and load and computation imbalance in small kernels. Experimental results show that our framework demonstrates significant flexibility across a broad design space, achieving an average of 78%–95% of the theoretical peak performance and up to 688.2/759.1 GOP/s en/de-coder performance with INT8 precision. As a result, the en/de-coder performance can reach up to 33/36 FPS in 720P resolution. An FPGA demo of X-LIC is available at https://github.com/sjtu-tcloud/X-LIC.
@article{chen2025xlic, title = {Exploring Efficient Hardware Accelerator for Learning-Based Image Compression}, author = {Chen, Chen and Zhang, Haoyang and Guo, Kaicheng and Yu, Xingzi and Qiu, Weidong and Qi, Zhengwei and Guan, Haibing}, journal = {IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems (TCAD)}, volume = {44}, number = {6}, year = {2025}, }
2023
- G10: Enabling An Efficient Unified GPU Memory and Storage Architecture with Smart Tensor MigrationsHaoyang Zhang*, Yirui Eric Zhou*, Yuqi Xue, Yiqi Liu, and Jian HuangIn IEEE/ACM International Symposium on Microarchitecture (MICRO), 2023
To break the GPU memory wall for scaling deep learning workloads, a variety of architecture and system techniques have been proposed recently. Their typical approaches include memory extension with flash memory and direct storage access. However, these techniques still suffer from suboptimal performance and introduce complexity to the GPU memory management, making them hard to meet the scalability requirement of deep learning workloads today. In this paper, we present a unified GPU memory and storage architecture named G10 driven by the fact that the tensor behaviors of deep learning workloads are highly predictable. G10 integrates the host memory, GPU memory, and flash memory into a unified memory space, to scale the GPU memory capacity while enabling transparent data migrations. Based on this unified GPU memory and storage architecture, G10 utilizes compiler techniques to characterize the tensor behaviors in deep learning workloads. Therefore, it can schedule data migrations in advance by considering the available bandwidth of flash memory and host memory. The cooperative mechanism between deep learning compilers and the unified memory architecture enables G10 to hide data transfer overheads in a transparent manner. We implement G10 based on an open-source GPU simulator. Our experiments demonstrate that G10 outperforms state-of-the-art GPU memory solutions by up to 1.75×, without code modifications to deep learning workloads. With the smart data migration mechanism, G10 can reach 90.3% of the performance of the ideal case assuming unlimited GPU memory.
@inproceedings{zhang2023g10, title = {{G10}: Enabling An Efficient Unified {GPU} Memory and Storage Architecture with Smart Tensor Migrations}, author = {Zhang, Haoyang and Zhou, Yirui Eric and Xue, Yuqi and Liu, Yiqi and Huang, Jian}, booktitle = {IEEE/ACM International Symposium on Microarchitecture (MICRO)}, year = {2023}, }
2022
- Debugging in the Brave New World of Reconfigurable HardwareJiacheng Ma, Gefei Zuo, Kevin Loughlin, Haoyang Zhang, Andrew Quinn, and Baris KasikciIn ACM International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS), 2022
Software and hardware development cycles have traditionally been quite distinct. Software allows post-deployment patches, which leads to a rapid development cycle. In contrast, hardware bugs that are found after fabrication are extremely costly to fix (and sometimes even unfixable), so the traditional hardware development cycle involves massive investment in extensive simulation and formal verification. Reconfigurable hardware, such as a Field Programmable Gate Array (FPGA), promises to propel hardware development towards an agile software-like development approach, since it enables a hardware developer to patch bugs that are detected during on-chip testing or in production. Unfortunately, FPGA programmers lack bug localization tools amenable to this rapid development cycle, since past tools mainly find bugs via simulation and verification. To develop hardware bug localization tools for a rapid development cycle, a thorough understanding of the symptoms, root causes, and fixes of hardware bugs is needed. In this paper, we first study bugs in existing FPGA designs and produce a testbed of reliably-reproducible bugs. We classify the bugs according to their intrinsic properties, symptoms, and root causes. We demonstrate that many hardware bugs are comparable to software bug counterparts, and would benefit from similar techniques for bug diagnosis and repair. Based upon our findings, we build a novel collection of hybrid static/dynamic program analysis and monitoring tools for debugging FPGA designs, showing that our tools enable a software-like development cycle by effectively reducing developers’ manual efforts for bug localization.
@inproceedings{ma2022fpgadebug, title = {Debugging in the Brave New World of Reconfigurable Hardware}, author = {Ma, Jiacheng and Zuo, Gefei and Loughlin, Kevin and Zhang, Haoyang and Quinn, Andrew and Kasikci, Baris}, booktitle = {ACM International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS)}, year = {2022}, } - Scheduling Information-Guided Efficient High-Level Synthesis Design Space ExplorationXingyue Qian, Jian Shi, Li Shi, Haoyang Zhang, Lijian Bian, and Weikang QianIn IEEE International Conference on Computer Design (ICCD), 2022
High-level synthesis (HLS) transforms designs specified by high-level programming language into RTL designs. In order to get the optimal designs, many design space exploration (DSE) methods are proposed. However, most of them consider the HLS tool as a black box, ignoring crucial information from the synthesis process, particularly the scheduling step. In this work, we propose to extract some useful information from scheduling to guide the DSE and develop a genetic algorithm (GA)-based DSE method based on our in-house HLS tool. The experimental results show that our method can obtain more Pareto-optimal points than the counterpart without using the scheduling information. It also outperforms a traditional GA-based HLS DSE method by using only a quarter of the total run time. For a large benchmark, our method finds 95.7% Pareto-optimal designs by visiting only 0.18% total promising design points.
@inproceedings{qian2022hls, title = {Scheduling Information-Guided Efficient High-Level Synthesis Design Space Exploration}, author = {Qian, Xingyue and Shi, Jian and Shi, Li and Zhang, Haoyang and Bian, Lijian and Qian, Weikang}, booktitle = {IEEE International Conference on Computer Design (ICCD)}, year = {2022}, }