跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 网络与互联网体系结构

arXiv:2112.09981 (cs)
[提交于 2021年12月18日]

标题:Multi-step LRU: SIMD-based Cache Replacement for Lower Overhead and Higher Precision

作者:Hiroshi Inoue
查看论文《Multi-step LRU: SIMD-based Cache Replacement for Lower Overhead and Higher Precision》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:A key-value cache is a key component of many services to provide low-latency and high-throughput data accesses to a huge amount of data. To improve the end-to-end performance of such services, a key-value cache must achieve a high cache hit ratio with high throughput. In this paper, we propose a new cache replacement algorithm, multi-step LRU, which achieves high throughput by efficiently exploiting SIMD instructions without using per-item additional memory (LRU metadata) to record information such as the last access timestamp. For a small set of items that can fit within a vector register, SIMD-based LRU management without LRU metadata is known (in-vector LRU). It remembers the access history by reordering items in one vector using vector shuffle instruction. In-vector LRU alone cannot be used for a caching system since it can manage only few items. Set-associative cache is a straightforward way to build a large cache using in-vector LRU as a building block. However, a naive set-associative cache based on in-vector LRU has a poorer cache hit ratio than the original LRU although it can achieve a high throughput. Our multi-step LRU enhances naive set-associative cache based on in-vector LRU for improving cache accuracy by taking both access frequency and access recency of items into account while keeping the efficiency by SIMD instructions. Our results indicate that multi-step LRU outperforms the original LRU and GCLOCK algorithms in terms of both execution speed and cache hit ratio. Multi-step LRU improves the cache hit ratios over the original LRU by implicitly taking access frequency of items as well as access recency into account. The cache hit ratios of multi-step LRU are similar to those of ARC, which achieves a higher a cache hit ratio in a tradeoff for using more LRU metadata.
主题: 网络与互联网体系结构 (cs.NI); 数据库 (cs.DB); 性能 (cs.PF)
引用方式: arXiv:2112.09981 [cs.NI]
  (或者 arXiv:2112.09981v1 [cs.NI] 对于此版本)
  https://doi.org/10.48550/arXiv.2112.09981

提交历史

来自:Hiroshi Inoue
[v1] 2021年12月18日 星期六 18:26:07 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.NI
< 上一篇   |   下一篇 >
最新 | 近期 | 2021-12
切换浏览方式为:
cs
cs.DB
cs.PF

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站