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

CAWL:一种Linux系统的缓存感知写入性能模型

CAWL: A Cache-aware Write Performance Model of Linux Systems

Masoud Gholami, Florian Schintke

AI总结:

针对现有仿真框架I/O性能预测精度不足的问题,提出纳入多类I/O机制与Linux内核特性的CAWL缓存感知写入性能模型,大幅降低随机I/O等场景的预测误差。

摘要:

数据密集型应用的性能通常由其输入/输出(I/O)操作主导,但系统的I/O栈结构复杂,且严重依赖特定系统设置与硬件组件。这种状况使得通用性能优化对开发者而言既具挑战性又成本高昂,因为他们需要在种类繁多的系统上运行应用以评估优化效果。仿真框架虽有助于降低实验开销,但它们对I/O相关主题的处理通常较为粗粒度,会导致性能预测出现显著偏差。对此,我们提出一种更精准的Linux系统写入性能模型,该模型纳入了不同I/O方法与层级(如系统调用、库调用、直接/间接I/O等)、页缓存、后台写入以及Linux内核的I/O节流能力。通过该模型,我们将随机I/O场景下的相对预测误差大幅降低:相较于SimGrid(一款仿真框架)内置的标准I/O模型,本模型针对仿真工作负载的实测结果的相对误差从67%降至10%。在其他场景下,两者的性能差异甚至更为显著。

英文摘要:

The performance of data intensive applications is often dominated by their input/output (I/O) operations but the I/O stack of systems is complex and severely depends on system specific settings and hardware components. This situation makes generic performance optimisation challenging and costly for developers as they would have to run their application on a large variety of systems to evaluate their improvements. Here, simulation frameworks can help reducing the experimental overhead but they typically handle the topic of I/O rather coarse-grained, which leads to significant inaccuracies in performance predictions. Here, we propose a more accurate model of the write performance of Linux-based systems that takes different I/O methods and levels (via system calls, library calls, direct or indirect, etc.), the page cache, background writing, and the I/O throttling capabilities of the Linux kernel into account. With our model, we reduce, for example, the relative prediction error compared to a standard I/O model included in SimGrid for a random I/O scenario from 67 % down to 10 % relative error against real measurements of the simulated workload. In other scenarios the differences are even more pronounced.

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

↑