Thread-Aware Adaptive Prefetcher on Multicore Systems

Author:

Liu Peng1,Yu Jiyang2,Huang Michael C.3

Affiliation:

1. Zhejiang University, State Key Laboratory of Mathematical Engineering and Advanced Computing, Wuxi, China

2. Huawei Technologies Co., Ltd., Hangzhou, China

3. University of Rochester, Rochester, NY

Abstract

Most processors employ hardware data prefetching techniques to hide memory access latencies. However, the prefetching requests from different threads on a multicore processor can cause severe interference with prefetching and/or demand requests of others. The data prefetching can lead to significant performance degradation due to shared resource contention on shared memory multicore systems. This article proposes a thread-aware data prefetching mechanism based on low-overhead runtime information to tune prefetching modes and aggressiveness, mitigating the resource contention in the memory system. Our solution has three new components: (1) a self-tuning prefetcher that uses runtime feedback to dynamically adjust data prefetching modes and arguments of each thread, (2) a filtering mechanism that informs the hardware about which prefetching request can cause shared data invalidation and should be discarded, and (3) a limiter thread acceleration mechanism to estimate and accelerate the critical thread which has the longest completion time in the parallel region of execution. On a set of multithreaded parallel benchmarks, our thread-aware data prefetching mechanism improves the overall performance of 64-core system by 13% over a multimode prefetch baseline system with two-level cache organization and conventional modified, exclusive, shared, and invalid-based directory coherence protocol. We compare our approach with the feedback directed prefetching technique and find that it provides 9% performance improvement on multicore systems, while saving the memory bandwidth consumption.

Funder

National Science Foundation

National Natural Science Foundation of China

National High Technology Research and Development Program of China

the Open Project Program of the State Key Laboratory of Mathematical Engineering and Advanced Computing

Huawei Technologies Co., Ltd

Publisher

Association for Computing Machinery (ACM)

Subject

Hardware and Architecture,Information Systems,Software

Cited by 6 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Treelet Prefetching For Ray Tracing;56th Annual IEEE/ACM International Symposium on Microarchitecture;2023-10-28

2. Puppeteer: A Random Forest Based Manager for Hardware Prefetchers Across the Memory Hierarchy;ACM Transactions on Architecture and Code Optimization;2022-12-16

3. SB-Fetch;Proceedings of the 34th ACM International Conference on Supercomputing;2020-06-29

4. Accelerating BFS via Data Structure-Aware Prefetching on GPU;IEEE Access;2018

5. paraSNF: An Parallel Approach for Large-Scale Similarity Network Fusion;Communications in Computer and Information Science;2018

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3