Analyzing and Leveraging Shared L1 Caches in GPUs
Analyzing and Leveraging Shared L1 Caches in GPUs
复制标题
分析和利用 GPU 中的共享 L1 缓存
DOI:
10.1145/3410463.3414623
复制
发表时间:
2020
期刊:
影响因子:
--
通讯作者:
Jog, Adwait
中科院分区:
文献类型:
--
作者:
Ibrahim, Mohamed Assem;Kayiran, Onur;Eckert, Yasuko;Loh, Gabriel H.;Jog, Adwait
Graphics Processing Units (GPUs) concurrently execute thousands of threads, which makes them effective for achieving high throughput for a wide range of applications. However, the memory wall often limits peak throughput. GPUs use caches to address this limitation, and hence several prior works have focused on improving cache hit rates, which in turn can improve throughput for memory-intensive applications. However, almost all of the prior works assume a conventional cache hierarchy where each GPU core has a private local L1 cache and all cores share the L2 cache. Our analysis shows that this canonical organization does not allow optimal utilization of caches because the private nature of L1 caches allows multiple copies of the same cache line to get replicated across cores.We introduce a new shared L1 cache organization, where all cores collectively cache a single copy of the data at only one location (core), leading to zero data replication. We achieve this by allowing each core to cache only a non-overlapping slice of the entire address range. Such a design is useful for significantly improving the collective L1 hit rates but incurs latency overheads from additional communications when a core requests data not allowed to be present in its own cache. While many workloads can tolerate this additional latency, several workloads show performance sensitivities. Therefore, we develop lightweight communication optimization techniques and a run-time mechanism that considers the latency-tolerance characteristics of applications to decide which applications should execute in private versus shared L1 cache organization and reconfigures the caches accordingly. In effect, we achieve significant performance and energy efficiency improvements, at a modest hardware cost, for applications that prefer the shared organization, with little to no impact on other applications.
登录
查看更多内容
DOI:
10.1109/micro.2014.16
发表时间:
2014
期刊:
2014 47th Annual IEEE/ACM International Symposium on Microarchitecture
影响因子:
--
作者:
Ankit Sethia;S. Mahlke
通讯作者:
S. Mahlke
DOI:
10.1145/344779.344981
发表时间:
2000
期刊:
Proceedings of the 27th annual conference on Computer graphics and interactive techniques
影响因子:
--
作者:
Matthew Eldridge;Homan Igehy;P. Hanrahan
通讯作者:
P. Hanrahan
DOI:
10.1109/hpca.2018.00030
发表时间:
2018-02
期刊:
2018 IEEE International Symposium on High Performance Computer Architecture (HPCA)
影响因子:
--
作者:
Haonan Wang;Fan Luo;M. Ibrahim;Onur Kayiran;Adwait Jog
通讯作者:
Haonan Wang;Fan Luo;M. Ibrahim;Onur Kayiran;Adwait Jog
DOI:
10.1109/micro.2014.62
发表时间:
2014-12
期刊:
2014 47th Annual IEEE/ACM International Symposium on Microarchitecture
影响因子:
--
作者:
Onur Kayiran;N. Nachiappan;Adwait Jog;Rachata Ausavarungnirun;M. Kandemir;G. Loh;O. Mutlu;C. Das
通讯作者:
Onur Kayiran;N. Nachiappan;Adwait Jog;Rachata Ausavarungnirun;M. Kandemir;G. Loh;O. Mutlu;C. Das
DOI:
10.1109/pact.2017.42
发表时间:
2017
期刊:
2017 26th International Conference on Parallel Architectures and Compilation Techniques (PACT)
影响因子:
--
作者:
Po;Nathan Beckmann;Daniel Sánchez
通讯作者:
Daniel Sánchez