错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

EKRM: Efficient Key-Value Retrieval Method to Reduce Data Lookup Overhead for Redis

  • Yiming Yao,
  • Xiaolin Wang,
  • Diyu Zhou,
  • Liujia Li,
  • Jianyu Wu,
  • Liren Zhu,
  • Zhenlin Wang,
  • Yingwei Luo

摘要

As an open-source key-value system, Redis has been widely used in internet service stations. A key-value lookup in Redis usually involves several chained memory accesses, and the address translation overhead can significantly increase the lookup latency. This paper introduces a new software-based approach that can reduce chained memory accesses and total address translation overhead of lookup requests by placing key-value entries in a specially managed memory space organized as huge pages with a fast hash table and enabling a fast lookup approach with simple hash functions, while keeping the integrity of Redis data structure. The new approach brings up to 1.38 \(\times \) average speedup for the key-value retrieval process, and significantly reduces misses in TLB and last-level cache. It outperforms SLB, an address caching software approach and has match the performance to STLT, a software-hardware co-designed address-centric design.