首页|基于策略组合自适应工作负载的缓存替换算法

基于策略组合自适应工作负载的缓存替换算法

扫码查看
单一的缓存替换算法无法高效满足多种工作负载的需求,而现有的基于策略组合的缓存替换算法也存在缓存命中率偏低,且不能够自适应复杂的工作负载的问题.为进一步研究高效、通用、适配多种工作负载的缓存替换算法,提出了一种基于策略组合思想的缓存替换算法TSCache,通过对存储块级工作负载进行识别与分析,提取工作负载特征,结合强化学习中的汤普森采样算法和遗憾最小化思想辅助决策缓存替换,优化缓存替换算法,能够在不同工作负载特征下自适应采用相应替换策略,提高了缓存命中率和性能.实验结果表明,在多种负载访问特征或缓存大小相对于工作负载的大小较小时,TSCache性能优于LRU、LFU、LeCaR算法.
Cache replacement algorithm based on policy combination adaptive workload
A single cache replacement algorithm cannot efficiently meet the needs of multiple workloads,and existing cache replacement algorithms based on policy combinations also have low cache hit rates and cannot adapt to complex workloads.To fur-ther study efficient,universal,and adaptable cache replacement algorithms for multiple workloads,a cache replacement algorithm TSCache based on policy combination thinking is proposed.By identifying and analyzing storage block level workloads,workload characteristics are extracted,and combined with Thompson sampling algorithm and regret minimization idea in strong chemistry learning to assist in decision-making cache replacement and optimize cache replacement algorithms,Being able to adaptively adopt corresponding replacement strategies under different workload characteristics improves cache hit rate and performance.The experi-mental results show that TSCache performs better than LRU,LFU,and LeCaR cache replacement algorithms when multiple load ac-cess characteristics or cache sizes are relatively small compared to the size of the workload.

cache replacement algorithmworkloadadaptivestrategy combinationblock level

张文豪、胡晓鹏

展开 >

西南交通大学计算机与人工智能学院,成都 610000

缓存替换算法 工作负载 自适应 策略组合 块级

2024

现代计算机
中大控股

现代计算机

影响因子:0.292
ISSN:1007-1423
年,卷(期):2024.30(21)