中国空间科学技术 ›› 2024, Vol. 44 ›› Issue (2): 74-88.doi: 10.16708/j.cnki.1000-758X.2024.0024

• 论文 • 上一篇    下一篇

Efficient cache replacement framework based on access hotness for spacecraft processors

GAO Xin,NIAN Jiawei,LIU Hongjin,YANG Mengfei   

  1. 1 Beijing Institute of Control Engineering,Beijing 100190,China
    2 Beijing SunWise Space Technology Co.,Ltd.,Beijing 100190,China
    3 School of Computer Science and Technology,Xidian University,Xi′an 710071,China
    4 China Academy of Space Technology,Beijing 100094,China
  • 出版日期:2024-04-25 发布日期:2024-04-09

Efficient cache replacement framework based on access hotness for spacecraft processors

GAO Xin,NIAN Jiawei,LIU Hongjin,YANG Mengfei   

  1. 1 Beijing Institute of Control Engineering,Beijing 100190,China
    2 Beijing SunWise Space Technology Co.,Ltd.,Beijing 100190,China
    3 School of Computer Science and Technology,Xidian University,Xi′an 710071,China
    4 China Academy of Space Technology,Beijing 100094,China
  • Published:2024-04-25 Online:2024-04-09

摘要: A notable portion of cachelines in real-world workloads exhibits inner non-uniform access behaviors.However,modern cache management rarely considers this fine-grained feature,which impacts the effective cache capacity of contemporary high-performance spacecraft processors.To harness these nonuniform access behaviors,an efficient cache replacement framework featuring an auxiliary cache specifically designed to retain evicted hot data was proposed.This framework reconstructs the cache replacement policy,facilitating data migration between the main cache and the auxiliary cache.Unlike traditional cacheline-granularity policies,the approach excels at identifying and evicting infrequently used data,thereby optimizing cache utilization.The evaluation shows impressive performance improvement,especially on workloads with irregular access patterns.Benefiting from fine granularity,the proposal achieves superior storage efficiency compared with commonly used cache management schemes,providing a potential optimization opportunity for modern resource-constrained processors,such as spacecraft processors.Furthermore,the framework complements existing modern cache replacement policies and can be seamlessly integrated with minimal modifications,enhancing their overall efficacy.

关键词: spacecraft processors, cache management, replacement policy, storage efficiency, memory hierarchy, microarchitecture

Abstract: A notable portion of cachelines in real-world workloads exhibits inner non-uniform access behaviors.However,modern cache management rarely considers this fine-grained feature,which impacts the effective cache capacity of contemporary high-performance spacecraft processors.To harness these nonuniform access behaviors,an efficient cache replacement framework featuring an auxiliary cache specifically designed to retain evicted hot data was proposed.This framework reconstructs the cache replacement policy,facilitating data migration between the main cache and the auxiliary cache.Unlike traditional cacheline-granularity policies,the approach excels at identifying and evicting infrequently used data,thereby optimizing cache utilization.The evaluation shows impressive performance improvement,especially on workloads with irregular access patterns.Benefiting from fine granularity,the proposal achieves superior storage efficiency compared with commonly used cache management schemes,providing a potential optimization opportunity for modern resource-constrained processors,such as spacecraft processors.Furthermore,the framework complements existing modern cache replacement policies and can be seamlessly integrated with minimal modifications,enhancing their overall efficacy.

Key words: spacecraft processors, cache management, replacement policy, storage efficiency, memory hierarchy, microarchitecture