Beruflich Dokumente
Kultur Dokumente
Anushree Pendharkar
MTP Phase 1
Guide: Prof Virendra Singh
Anushree Pendharkar (IIT Bombay) Dynamic Way Partitioning Of Hybrid Last Level Cache June 29, 2019 1 / 29
Outline
Background
Motivation
Literature review
Experimental results
Summary
Proposed approach
Future work
Anushree Pendharkar (IIT Bombay) Dynamic Way Partitioning Of Hybrid Last Level Cache June 29, 2019 2 / 29
Background
1
Figure: Performance gap between processor and memory
One way to bridge the gap is to increase Last Level Cache (LLC) size.
1
Carvalho, Carlos. ”The gap between processor and memory speeds.” Proc. of IEEE International Conference on Control
and Automation. 2002.
Anushree Pendharkar (IIT Bombay) Dynamic Way Partitioning Of Hybrid Last Level Cache June 29, 2019 3 / 29
Motivation
Anushree Pendharkar (IIT Bombay) Dynamic Way Partitioning Of Hybrid Last Level Cache June 29, 2019 4 / 29
Motivation
2
P. Chi, S. Li, Y. Cheng, Y. Lu, S. H. Kang, and Y. Xie, Architecture design with stt-ram: Opportunities and challenges, in
2016 21st Asia and South Pacific Design Automation Conference (ASP-DAC), pp. 109114, IEEE, 2016.
Anushree Pendharkar (IIT Bombay) Dynamic Way Partitioning Of Hybrid Last Level Cache June 29, 2019 5 / 29
Literature review
3
Smullen, Clinton W., et al. ”Relaxing non-volatility for fast and energy-efficient STT-RAM caches.”2011 IEEE 17th
International Symposium on High Performance Computer Architecture. IEEE, 2011.
4
Zhou, Ping, et al. ”Energy reduction for STT-RAM using early write termination.”Proceedings of the 2009 International
Conference on Computer-Aided Design. ACM, 2009.
Anushree Pendharkar (IIT Bombay) Dynamic Way Partitioning Of Hybrid Last Level Cache June 29, 2019 6 / 29
Literature review
5
X. Wu, J. Li, L. Zhang, E. Speight, and Y. Xie, Power and performance of read-write aware hybrid caches with
non-volatile memories, in Proceedings of the Conference on Design, Automation and Test in Europe, pp. 737742, European
Design and Automation Association, 2009.
Anushree Pendharkar (IIT Bombay) Dynamic Way Partitioning Of Hybrid Last Level Cache June 29, 2019 7 / 29
Literature review
6
Chen, Yu-Ting, et al. ”Dynamically reconfigurable hybrid cache: An energy-efficient last-level cache design.”Proceedings
of the Conference on Design, Automation and Test in Europe. EDA Consortium, 2012.
7
Chen, Yu-Ting, et al. ”Static and dynamic co-optimizations for blocks mapping in hybrid caches.”Proceedings of the 2012
ACM/IEEE international symposium on Low power electronics and design. ACM, 2012.
Anushree Pendharkar (IIT Bombay) Dynamic Way Partitioning Of Hybrid Last Level Cache June 29, 2019 8 / 29
Literature review
Anushree Pendharkar (IIT Bombay) Dynamic Way Partitioning Of Hybrid Last Level Cache June 29, 2019 9 / 29
Literature review
8
J. Ahn, S. Yoo, and K. Choi, Write intensity prediction for energy-efficient non-volatile caches, in International
Symposium on Low Power Electronics and Design (ISLPED), pp. 223228, IEEE, 2013.
Anushree Pendharkar (IIT Bombay) Dynamic Way Partitioning Of Hybrid Last Level Cache June 29, 2019 10 / 29
Literature review
Adding cost bits and instruction address bits per LLC block incur
significant storage overhead.
The threshold is application specific.
This predictor is modified to tackle above issues.
Prediction hybrid cache 9
Samples few sets and uses their metadata to train prediction table.
Incorporates dynamic threshold adjustment unit.
9
SJ. Ahn, S. Yoo, and K. Choi, Prediction hybrid cache: An energy-efficient stt-ramcache architecture, IEEE Transactions
on Computers, vol. 65, no. 3, pp. 940951, 2015.
Anushree Pendharkar (IIT Bombay) Dynamic Way Partitioning Of Hybrid Last Level Cache June 29, 2019 11 / 29
Literature review
9
Figure: Architecture of prediction hybrid cache
9
SJ. Ahn, S. Yoo, and K. Choi, Prediction hybrid cache: An energy-efficient stt-ramcache architecture, IEEE Transactions
on Computers, vol. 65, no. 3, pp. 940951, 2015.
Anushree Pendharkar (IIT Bombay) Dynamic Way Partitioning Of Hybrid Last Level Cache June 29, 2019 12 / 29
Literature review
Architecture level solutions for exclusive cache :-
11
Figure: Exclusive cache
Insights:-
All optimizations aim at reducing number of writes to STTRAM
region.
Due to non uniform intra-set write distribution, hybrid cache designs
give performance improvement and lesser power dissipation for
inclusive caches.
Hybrid cache designs assume static partitioning of ways into SRAM
and STTRAM type in a set.
Architecture modifications in cache are done to identify
write-intensive blocks and place them into SRAM region.
The works discussed takes intra-set write imbalance into account.
Anushree Pendharkar (IIT Bombay) Dynamic Way Partitioning Of Hybrid Last Level Cache June 29, 2019 14 / 29
Experimental results
Simulator setup :-
Simulator :- SNIPER v7.2
Core is Nehalem, frequency = 2.66GHz, issue width = 4, ROB size =
128
Caches are inclusive,write-back and use LRU replacement policy
Cache parameters used in simulation :-
Anushree Pendharkar (IIT Bombay) Dynamic Way Partitioning Of Hybrid Last Level Cache June 29, 2019 16 / 29
Experimental results
Experiment 2:-To find out number of writes in each way of the set.
Anushree Pendharkar (IIT Bombay) Dynamic Way Partitioning Of Hybrid Last Level Cache June 29, 2019 17 / 29
Experimental results
Anushree Pendharkar (IIT Bombay) Dynamic Way Partitioning Of Hybrid Last Level Cache June 29, 2019 18 / 29
Experimental results
There is inter set write imbalance too as some sets experience higher
number of STTRAM writes than other sets.
Number of writes allocated to SRAM region in a particular set are
limited due to static way partitioning.
More SRAM ways can be allocated to the set that experiences higher
writes.
Anushree Pendharkar (IIT Bombay) Dynamic Way Partitioning Of Hybrid Last Level Cache June 29, 2019 19 / 29
Literature review
12
Jadidi, Amin, Mohammad Arjomand, and Hamid Sarbazi-Azad. ”High-endurance and performance-efficient design of
hybrid cache architectures through adaptive line replacement.”Proceedings of the 17th IEEE/ACM international symposium on
Low-power electronics and design. IEEE Press, 2011.
Anushree Pendharkar (IIT Bombay) Dynamic Way Partitioning Of Hybrid Last Level Cache June 29, 2019 20 / 29
Literature review
Anushree Pendharkar (IIT Bombay) Dynamic Way Partitioning Of Hybrid Last Level Cache June 29, 2019 21 / 29
Summary
Anushree Pendharkar (IIT Bombay) Dynamic Way Partitioning Of Hybrid Last Level Cache June 29, 2019 22 / 29
Proposed approach
Static mapping
Anushree Pendharkar (IIT Bombay) Dynamic Way Partitioning Of Hybrid Last Level Cache June 29, 2019 23 / 29
Proposed approach
Dynamic mapping
Anushree Pendharkar (IIT Bombay) Dynamic Way Partitioning Of Hybrid Last Level Cache June 29, 2019 24 / 29
Future work
Anushree Pendharkar (IIT Bombay) Dynamic Way Partitioning Of Hybrid Last Level Cache June 29, 2019 25 / 29
Thanks
Anushree Pendharkar (IIT Bombay) Dynamic Way Partitioning Of Hybrid Last Level Cache June 29, 2019 26 / 29
References
Anushree Pendharkar (IIT Bombay) Dynamic Way Partitioning Of Hybrid Last Level Cache June 29, 2019 27 / 29
References
Anushree Pendharkar (IIT Bombay) Dynamic Way Partitioning Of Hybrid Last Level Cache June 29, 2019 28 / 29
References
X. Wu, J. Li, L. Zhang, E. Speight, and Y. Xie, Power and
performance of read-write aware hybrid caches with non-volatile
memories, in Proceedings of the Conference on Design, Automation
and Test in Europe, pp. 737742, European Design and Automation
Association, 2009.
Wang, Zhe, et al. ”Adaptive placement and migration policy for an
STT-RAM-based hybrid cache.”2014 IEEE 20th International
Symposium on High Performance Computer Architecture (HPCA).
IEEE, 2014.
H.-Y. Cheng, J. Zhao, J. Sampson, M. J. Irwin, A. Jaleel, Y. Lu, and
Y. Xie,Lap: loop-block aware inclusion properties for energy-efficient
asymmetric last level caches, in ACM SIGARCH Computer
Architecture News, vol. 44, pp. 103114, IEEE Press, 2016.
Jadidi, Amin, Mohammad Arjomand, and Hamid Sarbazi-Azad.
”High-endurance and performance-efficient design of hybrid cache
architectures through adaptive line replacement.”Proceedings of the
17th IEEE/ACM international symposium on Low-power electronics
Anushree Pendharkar (IIT Bombay) Dynamic Way Partitioning Of Hybrid Last Level Cache June 29, 2019 29 / 29