paper-with-me

Papers

Hermes: Accelerating Long-Latency Load Requests via Perceptron-Based Off-Chip Load Prediction

2022-09-01 · Rahul Bera, Konstantinos Kanellopoulos, Shankar Balachandran, David Novo, Ataberk Olgun, Mohammad Sadrosadati, Onur Mutlu

Long-latency load requests continue to limit the performance of high-performance processors. To increase the latency tolerance of a processor, architects have primarily relied on two key techniques: sophisticated data prefetchers and large on-chip caches. In this work, we show that: 1) even a sophisticated state-of-the-art prefetcher can only predict half of the off-chip load requests on average across a wide range of workloads, and 2) due to the increasing size and complexity of on-chip caches, a large fraction of the latency of an off-chip load request is spent accessing the on-chip cache hierarchy. The goal of this work is to accelerate off-chip load requests by removing the on-chip cache access latency from their critical path. To this end, we propose a new technique called Hermes, whose key idea is to: 1) accurately predict which load requests might go off-chip, and 2) speculatively fetch the data required by the predicted off-chip loads directly from the main memory, while also concurrently accessing the cache hierarchy for such loads. To enable Hermes, we develop a new lightweight, perceptron-based off-chip load prediction technique that learns to identify off-chip load requests using multiple program features (e.g., sequence of program counters). For every load request, the predictor observes a set of program features to predict whether or not the load would go off-chip. If the load is predicted to go off-chip, Hermes issues a speculative request directly to the memory controller once the load's physical address is generated. If the prediction is correct, the load eventually misses the cache hierarchy and waits for the ongoing speculative request to finish, thus hiding the on-chip cache hierarchy access latency from the critical path of the off-chip load. Our evaluation shows that Hermes significantly improves performance of a state-of-the-art baseline. We open-source Hermes.

📄 PDF Abstract BibTeX arXiv:2209.00188

Code (1)

cmu-safari/hermes 공식 구현

Similar Papers 제목 키워드 기반

Hermes: Memory-Efficient Pipeline Inference for Large Models on Edge Devices

2024-09-06 · Xueyuan Han, Zinuo Cai, Yichu Zhang, Chongxin Fan 외

The application of Transformer-based large models has achieved numerous success in recent years. However, the exponential growth in the parameters of large models introduces formidable memory challenge for edge deploymen…

Management

EchoLM: Accelerating LLM Serving with Real-time Knowledge Distillation

2025-01-22 · Yifan Yu, Yu Gan, Lillian Tsai, Nikhil Sarda 외

Large language models (LLMs) have excelled in various applications, yet serving them at scale is challenging due to their substantial resource demands and high latency. Our real-world studies reveal that over 60% of user…

Knowledge DistillationResponse GenerationTransfer Learning

PolyServe: Efficient Multi-SLO Serving at Scale

2025-07-17 · Kan Zhu, Haiyang Shi, Le Xu, Jiaxin Shan 외 arxiv

Advances in Large Language Models (LLMs) have led to a surge of LLM-powered applications. These applications have diverse token-generation latency requirements. As a result, simply classifying workloads as latency-sensit…

Understanding and Optimizing Multi-Stage AI Inference Pipelines

2025-04-14 · Abhimanyu Rajeshkumar Bambhaniya, Hanjiang Wu, Suvinay Subramanian, Sudarshan Srinivasan 외

The rapid evolution of Large Language Models (LLMs) has driven the need for increasingly sophisticated inference pipelines and hardware platforms. Modern LLM serving extends beyond traditional prefill-decode workflows, i…

CPUNavigateRAGRetrieval+1

Accelerating Deep Learning Inference via Learned Caches

2021-01-18 · Arjun Balasubramanian, Adarsh Kumar, YuHan Liu, Han Cao 외

Deep Neural Networks (DNNs) are witnessing increased adoption in multiple domains owing to their high accuracy in solving real-world problems. However, this high accuracy has been achieved by building deeper networks, po…

Deep Learning