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

为数据密集型应用程序的精确模拟建立Linux页面缓存模型

Modeling the Linux page cache for accurate simulation of data-intensive applications

Hoang-Dung Do, Valerie Hayot-Sasson, Rafael Ferreira da Silva, Christopher Steele, Henri Casanova, Tristan Glatard

摘要:

近年来,大数据的出现导致对高效数据处理解决方案的需求不断增长。虽然拥有足够计算能力的基础架构可用,但I/O瓶颈仍然存在。Linux页面缓存是减少I/O开销的有效方法,但很少有实验研究其与大数据应用程序的交互,部分原因是现实世界的实验的限制。模拟是解决这些问题的一种流行方法,然而,现有的模拟框架没有完全模拟页面缓存,甚至根本没有模拟页面缓存。因此,基于模拟的数据密集型应用程序的性能研究会导致不准确的结果。在本文中,我们提出了一个I/O模拟模型,其中包括Linux页面缓存的关键功能。我们已经实现了这个模型的WRENCH工作流仿真框架的一部分,它本身建立在流行的SimGrid分布式系统仿真框架。我们的模型和它的实现,使单线程和多线程应用程序的模拟,和本地或基于网络的文件系统的写回和写通缓存。我们评估我们的模型在不同条件下,包括顺序和并发应用程序,以及本地和远程I/O的准确性。我们发现,我们的页面缓存模型减少了模拟误差的数量级相比,最先进的,无缓存模拟。

英文摘要:

The emergence of Big Data in recent years has resulted in a growing need for efficient data processing solutions. While infrastructures with sufficient compute power are available, the I/O bottleneck remains. The Linux page cache is an efficient approach to reduce I/O overheads, but few experimental studies of its interactions with Big Data applications exist, partly due to limitations of real-world experiments. Simulation is a popular approach to address these issues, however, existing simulation frameworks do not simulate page caching fully, or even at all. As a result, simulation-based performance studies of data-intensive applications lead to inaccurate results. In this paper, we propose an I/O simulation model that includes the key features of the Linux page cache. We have implemented this model as part of the WRENCH workflow simulation framework, which itself builds on the popular SimGrid distributed systems simulation framework. Our model and its implementation enable the simulation of both single-threaded and multithreaded applications, and of both writeback and writethrough caches for local or network-based filesystems. We evaluate the accuracy of our model in different conditions, including sequential and concurrent applications, as well as local and remote I/Os. We find that our page cache model reduces the simulation error by up to an order of magnitude when compared to state-of-the-art, cacheless simulations.

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

↑