Bridging Theory and Practice in Cache Replacement Beckmann, Nathan; Sanchez, Daniel Much prior work has studied processor cache replacement policies, but a large gap remains between theory and practice. The optimal policy (MIN) requires unobtainable knowledge of the future, and prior theoretically-grounded policies use reference models that do not match real programs. Meanwhile, practical policies are designed empirically. Lacking a strong theoretical foundation, they do not make the best use of the information available to them. This paper bridges theory and practice. We propose that practical policies should replace lines based on their economic value added (EVA), the difference of their expected hits from the average. We use Markov decision processes to show that EVA is optimal under some reasonable simplifications. We present an inexpensive, practical implementation of EVA and evaluate it exhaustively over many cache sizes. EVA outperforms prior practical policies and saves area at iso-performance. These results show that formalizing cache replacement yields practical benefits.
from Computer Science and Artificial Intelligence Lab (CSAIL) http://ift.tt/1QDjmrb
Home » Computer Science and Artificial Intelligence Lab (CSAIL) » Bridging Theory and Practice in Cache Replacement
lundi 21 décembre 2015
Bridging Theory and Practice in Cache Replacement
lainnya dari Computer Science and Artificial Intelligence CSAIL, Computer Science and Artificial Intelligence Lab (CSAIL)
Ditulis Oleh : Unknown // 18:24
Kategori:
Computer Science and Artificial Intelligence Lab (CSAIL)
Inscription à :
Publier les commentaires (Atom)
0 commentaires:
Enregistrer un commentaire