arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2401.05834cs.DS
收藏

多核系统中在线分页的建模

Modeling Online Paging in Multi-Core Systems

Mathieu Mari, Anish Mukherjee, Runtian Ren, Piotr Sankowski

AI总结:

本文针对现代多核云系统中内存访问呈现偏移幂律分布的新现象,提出多核幂律统计模型,并从理论上解释了LRU和LFU算法在幂律及多核幂律分布下具有O(1)性能比的原因。

摘要:

自20世纪90年代以来,由于互联网的快速发展,Web请求呈指数级增长。云服务的引入进一步加速了这一过程。Breslau等人在INFOCOM'99中通过统计观察到,内存或Web请求通常遵循幂律分布。也就是说,第$i$个最受欢迎的网页被请求的概率与$1 / i^α$成正比($α> 0$为常数)。此外,这项20多年前进行的研究表明存在类似Zipf的行为,即$α\le 1$。令人惊讶的是,来自PB级现代云系统的内存访问轨迹不仅表明$α$可以大于1,而且还展示了一种偏移的幂律分布——称为Pareto II型或Lomax分布。这些此前未被报道的现象需要统计解释。\n我们的第一个贡献是一个新的统计多核幂律模型,表明双重幂律可以归因于在此类系统上并行运行许多虚拟机的多个核心的存在。我们使用Kolmogorov-Smirnov检验(K-S检验)实验验证了该模型的适用性。\n本文的第二个贡献是理论分析,说明了为什么基于LRU和LFU的算法在满足幂律或多核假设的数据上在实践中表现良好。我们通过研究随机输入模型中的在线分页问题提供了解释,即输入是一个随机序列,每个请求根据分布$π$独立地从页面集合中抽取。我们推导出公式(作为$π$中页面概率的函数)来上界它们的期望比值,这有助于在随机序列遵循幂律和多核幂律分布的情况下建立O(1)的性能比。

英文摘要:

Web requests are growing exponentially since the 90s due to the rapid development of the Internet. This process was further accelerated by the introduction of cloud services. It has been observed statistically that memory or web requests generally follow power-law distribution, Breslau et al. INFOCOM'99. That is, the $i^{\text{th}}$ most popular web page is requested with a probability proportional to $1 / i^α$ ($α> 0$ is a constant). Furthermore, this study, which was performed more than 20 years ago, indicated Zipf-like behavior, i.e., that $α\le 1$. Surprisingly, the memory access traces coming from petabyte-size modern cloud systems not only show that $α$ can be bigger than one but also illustrate a shifted power-law distribution -- called Pareto type II or Lomax. These previously not reported phenomenon calls for statistical explanation. Our first contribution is a new statistical {\it multi-core power-law} model indicating that double-power law can be attributed to the presence of multiple cores running many virtual machines in parallel on such systems. We verify experimentally the applicability of this model using the Kolmogorov-Smirnov test (K-S test). The second contribution of this paper is a theoretical analysis indicating why LRU and LFU-based algorithms perform well in practice on data satisfying power-law or multi-core assumptions. We provide an explanation by studying the online paging problem in the stochastic input model, i.e., the input is a random sequence with each request independently drawn from a page set according to a distribution $π$. We derive formulas (as a function of the page probabilities in $π$) to upper bound their ratio-of-expectations, which help in establishing O(1) performance ratio given the random sequence following power-law and multi-core power-law distributions.

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

↑