arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2111.01504cs.DC
收藏

在基于任务的编程模型中实现I/O感知

Towards Enabling I/O Awareness in Task-based Programming Models

Hatem Elshazly, Jorge Ejarque, Francesc Lordan, Rosa M. Badia

摘要:

存储系统没有保持与计算系统相同的技术改进速度。随着应用程序产生越来越多的数据,I/O成为提高应用程序性能的限制因素。由对存储设备的并发访问引起的I/O拥塞是导致I/O性能下降并因此导致总体性能下降的主要障碍之一。虽然基于任务的编程模型可以通过在大规模分布式平台上执行任务来实现更高级别的并行性,但这种并行性只有利于应用程序的计算工作负载。以前解决I/O性能瓶颈的努力要么集中在使用I/O库优化细粒度I/O访问模式,要么通过最小化多个应用程序之间的干扰来避免系统范围的I/O拥塞。在本文中,我们提出在基于任务的编程模型中启用I/O感知,以提高应用程序的总体性能。I/O感知编程模型能够创建更多的并行性并减轻I/O性能下降的原因。一方面,可以通过支持用于执行I/O工作负载的特殊任务(称为I/O任务)来创建更多的并行性,这些任务可以与计算任务的执行重叠。另一方面,可以通过约束I/O任务调度来缓解I/O拥塞。我们提出了两种方法来指定这样的约束:明确设置的用户或自动推断和调整应用程序的执行过程中,以优化执行可变的I/O工作负载在一定的存储基础设施。在MareNostrum 4超级计算机上的实验表明,与I/O非感知实现相比,使用I/O感知编程模型可以实现高达43%的总性能提高。

英文摘要:

Storage systems have not kept the same technology improvement rate as computing systems. As applications produce more and more data, I/O becomes the limiting factor for increasing application performance. I/O congestion caused by concurrent access to storage devices is one of the main obstacles that cause I/O performance degradation and, consequently, total performance degradation. Although task-based programming models made it possible to achieve higher levels of parallelism by enabling the execution of tasks in large-scale distributed platforms, this parallelism only benefited the compute workload of the application. Previous efforts addressing I/O performance bottlenecks either focused on optimizing fine-grained I/O access patterns using I/O libraries or avoiding system-wide I/O congestion by minimizing interference between multiple applications. In this paper, we propose enabling I/O Awareness in task-based programming models for improving the total performance of applications. An I/O aware programming model is able to create more parallelism and mitigate the causes of I/O performance degradation. On the one hand, more parallelism can be created by supporting special tasks for executing I/O workloads, called I/O tasks, that can overlap with the execution of compute tasks. On the other hand, I/O congestion can be mitigated by constraining I/O tasks scheduling. We propose two approaches for specifying such constraints: explicitly set by the users or automatically inferred and tuned during application's execution to optimize the execution of variable I/O workloads on a certain storage infrastructure. Our experiments on the MareNostrum 4 Supercomputer demonstrate that using I/O aware programming model can achieve up to 43% total performance improvement as compared to the I/O non-aware implementation.

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

↑