arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1602.08563cs.DScs.NI
收藏

在线树缓存

Online Tree Caching

University of Wrocław(弗罗茨瓦夫大学);Google Poland(谷歌波兰);TU Berlin(柏林工业大学);KTH Royal Institute of Technology(瑞典皇家理工学院)

Marcin Bienkowski, Jan Marcinkowski, Maciej Pacut, Stefan Schmid, Aleksandra Spyra, Bolong Tang

摘要:

我们开始研究一个自然的和实际相关的在线缓存的新变种,其中要缓存的项目可以有依赖关系。我们假设宇宙是一棵树$T$,条目是树节点;我们要求如果缓存了一个节点$v$,那么以$v$为根的整个子树$T(v)$也会被缓存。这个理论问题在IP路由和软件定义网络中的转发表优化的上下文中找到了直接的应用。我们提出了一个优雅的在线确定性算法TC,并严格证明了其竞争比是$O(\mathrm{height}(T) \cdot k_{\mathrm{ONL}}/(k_{\mathrm{ONL}}-k_{\mathrm{OPT}}+1))$,其中$k_{\mathrm{ONL}}$和$k_{\mathrm{OPT}}$分别表示在线和最佳离线算法的缓存大小。结果最佳,最高可达$O(\mathrm{height}(T))$的系数。我们补充的理论分析与实证研究合成的工作负载和CAIDA骨干流量,说明命中率和缓存更新成本之间的权衡。

英文摘要:

We initiate the study of a natural and practically relevant new variant of online caching where the to-be-cached items can have dependencies. We assume that the universe is a tree $T$ and items are tree nodes; we require that if a node $v$ is cached then the whole subtree $T(v)$ rooted at $v$ is cached as well. This theoretical problem finds an immediate application in the context of forwarding table optimization in IP routing and software-defined networks. We present an elegant online deterministic algorithm TC for this problem, and rigorously prove that its competitive ratio is $O(\mathrm{height}(T) \cdot k_{\mathrm{ONL}}/(k_{\mathrm{ONL}}-k_{\mathrm{OPT}}+1))$, where $k_{\mathrm{ONL}}$ and $k_{\mathrm{OPT}}$ denote the cache sizes of an online and the optimal offline algorithm, respectively. The result is optimal up to a factor of $O(\mathrm{height}(T))$. We complement the theoretical analysis with an empirical study on synthetic workloads and CAIDA backbone traffic, illustrating the trade-off between hit rate and cache-update cost.

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

↑