Puppeteer: A Random Forest-based Manager for Hardware Prefetchers across
the Memory Hierarchy
- URL: http://arxiv.org/abs/2201.12027v1
- Date: Fri, 28 Jan 2022 10:25:12 GMT
- Title: Puppeteer: A Random Forest-based Manager for Hardware Prefetchers across
the Memory Hierarchy
- Abstract summary: We propose Puppeteer as a hardware prefetcher manager that uses a suite of random forest regressors to determine at runtime which prefetcher should be ON at each level in the memory hierarchy.
Using Puppeteer we improve IPC by 46.4% in 1 Core (1C), 25.8% in 4 Core (4C), and 11.9% in 8 Core (8C) processors on average across traces generated from SPEC 2017, SPEC2006, and Cloud suites with 10KB overhead.
- Score: 1.5049442691806052
- License: http://creativecommons.org/licenses/by/4.0/
- Abstract: Over the years, processor throughput has steadily increased. However, the
memory throughput has not increased at the same rate, which has led to the
memory wall problem in turn increasing the gap between effective and
theoretical peak processor performance. To cope with this, there has been an
abundance of work in the area of data/instruction prefetcher designs. Broadly,
prefetchers predict future data/instruction address accesses and proactively
fetch data/instructions in the memory hierarchy with the goal of lowering
data/instruction access latency. To this end, one or more prefetchers are
deployed at each level of the memory hierarchy, but typically, each prefetcher
gets designed in isolation without comprehensively accounting for other
prefetchers in the system. As a result, individual prefetchers do not always
complement each other, and that leads to lower average performance gains and/or
many negative outliers. In this work, we propose Puppeteer, which is a hardware
prefetcher manager that uses a suite of random forest regressors to determine
at runtime which prefetcher should be ON at each level in the memory hierarchy,
such that the prefetchers complement each other and we reduce the
data/instruction access latency. Compared to a design with no prefetchers,
using Puppeteer we improve IPC by 46.0% in 1 Core (1C), 25.8% in 4 Core (4C),
and 11.9% in 8 Core (8C) processors on average across traces generated from
SPEC2017, SPEC2006, and Cloud suites with ~10KB overhead. Moreover, we also
reduce the number of negative outliers by over 89%, and the performance loss of
the worst-case negative outlier from 25% to only 5% compared to the
state-of-the-art.
Related papers
- On the Design of Qwen3.8-Next Architecture: Evaluation, Efficiency, and Training Stability [57.03393882933515]
We describe the architecture and ablations of Qwen3.8-Flash-Next, a sparse mixture-of-experts model with 125B parameters, 6B activated per token, and 51B parameters of n-gram embedding tables held off the accelerator.<n>On fourteen pre-training benchmarks the model leads the 397B-A17B predecessor on eight and trails it on the rest by at most 2.6 points, at 1/3 the activated parameters, 1/3 the training tokens, and roughly 1/9 the training FLOPs.
arXiv Detail & Related papers (2026-08-31T06:35:07Z) - Scaling Short-Term Memory of Visuomotor Policies for Long-Horizon Tasks [69.19366746169906]
We present PRISM, a transformer-based architecture for visuomotor policies to use short-term memory.<n>Piracy filters retrieved information to suppress irrelevant details, improving performance.<n> hierarchical architecture compresses local information into compact tokens, improving its compute and memory footprint.
arXiv Detail & Related papers (2026-06-15T03:49:23Z) - FlashMemory-DeepSeek-V4: Lightning Index Ultra-Long Context via Lookahead Sparse Attention [77.12062766962815]
Lookahead Sparse Attention (LSA) is powered by a Neural Memory Indexer built upon the DeepSeek-V4 architecture.<n>We instantiate this architecture via a backbone-free decoupled training strategy.<n>We show that FM-DS-V4 compresses the average physical KV cache footprint down to merely 13.5% of the full-context baseline.
arXiv Detail & Related papers (2026-06-08T06:25:54Z) - GRATING: Low-Latency and Memory-Efficient Semantic Selection on Device [1.7847219315073477]
Top-K selection with cross-encoder rerankers underpins on-device AI services, such as retrieval-augmented generation, agent memory, and personalized recommendation.<n>Revisiting the objective of top-K selection, we reveal that only relative rankings matter, not exact per-candidate scores.<n>We propose monolithic forwarding and develop a training-free inference system, GRATING.
arXiv Detail & Related papers (2025-10-17T13:06:09Z) - Adaptive Execution Scheduler for DataDios SmartDiff [0.0]
We present an adaptive scheduler for a single differencing engine (SmartDiff) with two execution modes.<n>The scheduler tunes batch size and worker/thread count within fixed CPU and memory budgets to minimize p95 latency.<n>Across synthetic and public benchmarks, the scheduler reduces p95 latency by 23 to 28 percent versus a tuned warm-up.
arXiv Detail & Related papers (2025-10-09T05:40:16Z) - eMoE: Task-aware Memory Efficient Mixture-of-Experts-Based (MoE) Model Inference [6.642099288463585]
We propose eMoE, a memory efficient inference system for large language models (LLMs)
eMoE reduces memory usage by predicting and loading only the required experts based on recurrent patterns in expert routing.
It also enables processing prompts 40x longer, batches 4.5x larger, and achieves 1.5x higher throughput.
arXiv Detail & Related papers (2025-03-10T01:11:52Z) - HeadInfer: Memory-Efficient LLM Inference by Head-wise Offloading [79.38548165722229]
HEADINFER offloads the KV cache to CPU RAM while avoiding the need to fully store the KV cache for any transformer layer on the GPU.
We demonstrate HEADINFER maintains computational efficiency while significantly reducing memory footprint.
arXiv Detail & Related papers (2025-02-18T06:26:05Z) - APOLLO: SGD-like Memory, AdamW-level Performance [61.53444035835778]
Large language models (LLMs) are notoriously memory-intensive during training.
Various memory-efficient Scals have been proposed to reduce memory usage.
They face critical challenges: (i) costly SVD operations; (ii) significant performance trade-offs compared to AdamW; and (iii) still substantial memory overhead to maintain competitive performance.
arXiv Detail & Related papers (2024-12-06T18:55:34Z) - Efficient Tabular Data Preprocessing of ML Pipelines [9.23424733090734]
Data preprocessing pipelines are a crucial component of Machine Learning (ML) training.
Piper is a hardware accelerator for data preprocessing, prototype it on FPGAs, and demonstrate its potential for training pipelines of commercial recommender systems.
Piper achieves 4.7 $sim$ 71.3$times$ speedup in latency over a 128-core CPU server and outperforms a data-center GPU by 4.8$sim$ 20.3$times$ when using binary input.
arXiv Detail & Related papers (2024-09-23T11:07:57Z) - GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projection [133.45193150403537]
Training Large Language Models (LLMs) presents significant memory challenges due to the growing size of weights and GPU states.
In this work, we propose Gradient Low-Rank Projection (GaLore) as a memory-efficient training strategy.
Our 8-bit GaLore further reduces memory by up to 82.5% and total training memory by 63.3%, compared to a BF16 baseline.
arXiv Detail & Related papers (2024-03-06T07:29:57Z) - Sparse MeZO: Less Parameters for Better Performance in Zeroth-Order LLM
Fine-Tuning [67.44661423463927]
This paper introduces Sparse MeZO, a memory-efficient zeroth-order optimization approach that applies ZO only to a carefully chosen subset of parameters.
We show that Sparse-MeZO consistently improves both performance and convergence speed over MeZO without any overhead.
arXiv Detail & Related papers (2024-02-24T07:22:04Z) - Evaluating Homomorphic Operations on a Real-World Processing-In-Memory System [7.46176168736093]
homomorphic encryption is a promising approach to reduce data security and privacy risks.
We use the Processing-in- Memory (PIM) paradigm to mitigate the large memory capacity and frequent data movement requirements.
arXiv Detail & Related papers (2023-09-12T19:39:15Z) - Winner-Take-All Column Row Sampling for Memory Efficient Adaptation of Language Model [89.8764435351222]
We propose a new family of unbiased estimators called WTA-CRS, for matrix production with reduced variance.
Our work provides both theoretical and experimental evidence that, in the context of tuning transformers, our proposed estimators exhibit lower variance compared to existing ones.
arXiv Detail & Related papers (2023-05-24T15:52:08Z) - QLoRA: Efficient Finetuning of Quantized LLMs [66.58009990713134]
We present QLoRA, an efficient finetuning approach that reduces memory usage enough to finetune a 65B parameter model on a single 48GB GPU.
QLoRA backpropagates through a frozen, 4-bit quantized pretrained language model into Low Rank Adapters(LoRA)
Our best model family, which we name Guanaco, outperforms all previous openly released models on the Vicuna benchmark.
arXiv Detail & Related papers (2023-05-23T17:50:33Z) - Learning Branch Probabilities in Compiler from Datacenter Workloads [0.0]
We show that a machine learning model improves branch probability by 18-50% in comparison to compilers.
This translates to performance improvement of up to 8.1% on 24 out of a suite of 40 benchmarks with a 1% geomean improvement on the suite.
arXiv Detail & Related papers (2022-02-10T12:59:49Z) - Mesa: A Memory-saving Training Framework for Transformers [58.78933015299703]
We present Mesa, a memory-saving training framework for Transformers.
Mesa uses exact activations during forward pass while storing a low-precision version of activations to reduce memory consumption during training.
Experiments on ImageNet, CIFAR-100 and ADE20K demonstrate that Mesa can reduce half of the memory footprints during training.
arXiv Detail & Related papers (2021-11-22T11:23:01Z) - MCUNetV2: Memory-Efficient Patch-based Inference for Tiny Deep Learning [72.80896338009579]
We find that the memory bottleneck is due to the imbalanced memory distribution in convolutional neural network (CNN) designs.
We propose a generic patch-by-patch inference scheduling, which significantly cuts down the peak memory.
We automate the process with neural architecture search to jointly optimize the neural architecture and inference scheduling, leading to MCUNetV2.
arXiv Detail & Related papers (2021-10-28T17:58:45Z) - Custom Tailored Suite of Random Forests for Prefetcher Adaptation [2.466065249430994]
SuitAP is a hardware prefetcher adapter that uses a suite of random forests to determine at runtime which prefetcher should be ON at each memory level.
Compared to a design with no prefetchers, using SuitAP we improve IPC by 46% on average across traces generated from SPEC 2017 suite with 12KB overhead.
arXiv Detail & Related papers (2020-08-01T05:43:38Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.