The Gradient-Based Cache Partitioning Algorithm

被引:9
|
作者
Hasenplaugh, William [1 ]
Ahuja, Pritpal S. [1 ]
Jaleel, Aamer [1 ]
Steely, Simon, Jr. [1 ]
Emer, Joel [1 ]
机构
[1] Intel Corp, Hudson, MA 01749 USA
基金
美国国家科学基金会;
关键词
Algorithms; Design; Performance; Cache replacement; insertion policy; dynamic cache partitioning; dynamic control; hill climbing; gradient descent; chernoff bound; adaptive caching;
D O I
10.1145/2086696.2086723
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
This paper addresses the problem of partitioning a cache between multiple concurrent threads and in the presence of hardware prefetching. Cache replacement designed to preserve temporal locality (e.g., LRU) will allocate cache resources proportional to the miss-rate of each competing thread irrespective of whether the cache space will be utilized [Qureshi and Patt 2006]. This is clearly suboptimal as applications vary dramatically in their use of recently accessed data. We address this problem by partitioning a shared cache such that a global goodness metric is optimized This paper introduces the Gradient-based Cache Partitioning Algorithm (GPA), whose variants optimize either hitrate, total instructions per cycle (IPC) or a weighted IPC metric designed to enforce Quality of Service (QoS) [Iyer 2004]. In the context of QoS, GPA enables us to obtain the maximum throughput of low-priority threads, while ensuring high performance on high-priority threads. The GPA mechanism is robust, low-cost, integrates easily with existing cache designs and improves the throughput of an in-order 8-core system sharing an 8MB L3 cache by similar to 14%.
引用
收藏
页数:21
相关论文
共 50 条
  • [1] A skeletonization algorithm for gradient-based optimization
    Menten, Martin J.
    Paetzold, Johannes C.
    Zimmer, Veronika A.
    Shit, Suprosanna
    Ezhov, Ivan
    Holland, Robbie
    Probst, Monika
    Schnabel, Julia A.
    Rueckert, Daniel
    [J]. 2023 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV 2023), 2023, : 21337 - 21346
  • [2] A Gradient-Based Optimization Algorithm for LASSO
    Kim, Jinseog
    Kim, Yuwon
    Kim, Yongdai
    [J]. JOURNAL OF COMPUTATIONAL AND GRAPHICAL STATISTICS, 2008, 17 (04) : 994 - 1009
  • [3] The research on gradient-based threshold selection algorithm
    [J]. Gao, J. (gaomuyou@126.com), 1600, Binary Information Press, P.O. Box 162, Bethel, CT 06801-0162, United States (09):
  • [4] A gradient-based boosting algorithm for regression problems
    Zemel, RS
    Pitassi, T
    [J]. ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 13, 2001, 13 : 696 - 702
  • [5] Source tracking with a gradient-based eigenstructure algorithm
    Ko, CC
    [J]. IEEE TRANSACTIONS ON AEROSPACE AND ELECTRONIC SYSTEMS, 2000, 36 (03) : 859 - 868
  • [6] An RSSI Gradient-based AP Localization Algorithm
    Zhao Fang
    Luo Haiyong
    Geng Hao
    Sun Qijin
    [J]. CHINA COMMUNICATIONS, 2014, 11 (02) : 100 - 108
  • [7] A novel conjugate gradient-based source localization algorithm
    Semira, Hichem
    Belkacemi, Hocine
    Doghmane, Noureddine
    [J]. 2007 9TH INTERNATIONAL SYMPOSIUM ON SIGNAL PROCESSING AND ITS APPLICATIONS, VOLS 1-3, 2007, : 65 - +
  • [8] A BLOCK GRADIENT-BASED ALGORITHM FOR ADAPTIVE IIR FILTERING
    XI, JT
    CHICHARO, JF
    [J]. SIGNAL PROCESSING, 1995, 43 (02) : 223 - 228
  • [9] Gradient-based optimizer: A new metaheuristic optimization algorithm
    Ahmadianfar, Iman
    Bozorg-Haddad, Omid
    Chu, Xuefeng
    [J]. INFORMATION SCIENCES, 2020, 540 : 131 - 159
  • [10] A gradient-based algorithm for semiparametric models with missing covariates
    Seo, Byungtae
    [J]. JOURNAL OF STATISTICAL COMPUTATION AND SIMULATION, 2011, 81 (04) : 381 - 390