arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1806.10853cs.NIcs.DCcs.MM
收藏

LRU缓存替换策略的推广及其在视频流中的应用

Generalization of LRU Cache Replacement Policy with Applications to Video Streaming

Eric Friedlander, Vaneet Aggarwal

摘要:

缓存在网络系统中起着至关重要的作用,以减少网络上的负载,并且通常由内容分发网络(CDN)采用以提高性能。最近最少使用(LRU)是一种常用的机制,它适用于相同的文件大小。但是,对于不对称的文件大小,性能会下降。本文提出了一种适应LRU策略,称为gLRU,其中文件被细分为大小相等的块。在此策略中,将新请求的文件的一个块添加到缓存中,并从缓存中删除最近最少使用的文件的一个块。尽管已针对LRU研究了命中率的近似分析,但该分析并未扩展到gLRU,因为感兴趣的度量不再是命中率,因为缓存具有部分文件。本文提供了一种新的近似分析这种策略的缓存可能有部分文件内容。仿真结果验证了该方法的有效性。此外,gLRU优于LRU策略的Zipf文件流行度分布和审查帕累托文件大小分布的文件下载时间。视频流应用程序可以进一步使用部分缓存内容,以帮助停顿持续时间显着,数值结果表明,显着改善(32%)的停顿持续时间相比,LRU策略使用gLRU策略。此外,在从SNIA IOTTA存储库获得的MSR Cambridge Traces上进行模拟时,gLRU替换策略与其他两种缓存替换策略相比毫不逊色。

英文摘要:

Caching plays a crucial role in networking systems to reduce the load on the network and is commonly employed by content delivery networks (CDNs) in order to improve performance. One of the commonly used mechanisms, Least Recently Used (LRU), works well for identical file sizes. However, for asymmetric file sizes, the performance deteriorates. This paper proposes an adaptation to the LRU strategy, called gLRU, where the file is sub-divided into equal-sized chunks. In this strategy, a chunk of the newly requested file is added in the cache, and a chunk of the least-recently-used file is removed from the cache. Even though approximate analysis for the hit rate has been studied for LRU, the analysis does not extend to gLRU since the metric of interest is no longer the hit rate as the cache has partial files. This paper provides a novel approximation analysis for this policy where the cache may have partial file contents. The approximation approach is validated by simulations. Further, gLRU outperforms the LRU strategy for a Zipf file popularity distribution and censored Pareto file size distribution for the file download times. Video streaming applications can further use the partial cache contents to help the stall duration significantly, and the numerical results indicate significant improvements (32\%) in stall duration using the gLRU strategy as compared to the LRU strategy. Furthermore, the gLRU replacement policy compares favorably to two other cache replacement policies when simulated on MSR Cambridge Traces obtained from the SNIA IOTTA repository.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑