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

用事件驱动异步分布式任务

Driving asynchronous distributed tasks with events

Nick Brown, Oliver Thomson Brown, J. Mark Bull

摘要:

开源不仅对当前的HPC用户很重要,对潜在的新HPC社区也很重要,比如机器学习,它们本身往往植根于开源。这些潜在的新工作负载中的许多工作负载,就其本质而言,比传统的HPC代码更加异步和不可预测,必须找到开源解决方案,使新的开发人员社区能够轻松利用大规模并行机。基于任务的模型有可能在这里提供帮助,但其中许多模型要么完全将用户从其代码的分布式特性中抽象出来,将重点放在运行时上,以做出有关调度和位置的重要决策,要么要求程序员显式地将其基于任务的代码与分布式内存技术(如MPI)结合起来,这增加了相当大的复杂性。在本文中,我们描述了一种新的方法,程序员仍然将他们的代码分割成不同的任务,但明确意识到机器的分布式性质,并通过事件驱动任务之间的交互。这提供了两全其美的效果;程序员能够指导并行性的重要方面,同时仍然从如何实现这种并行性的低级机制中抽象出来。我们通过两个用例展示了我们的方法,Graph 500 BFS基准和MONC(一种大气模型)的现场数据分析。对于这两个应用程序,我们表现出显着提高性能,在大的核心数量和这项工作的结果是一种方法和开源库,这是很容易适用于广泛的代码。

英文摘要:

Open-source matters, not just to the current cohort of HPC users but also to potential new HPC communities, such as machine learning, themselves often rooted in open-source. Many of these potential new workloads are, by their very nature, far more asynchronous and unpredictable than traditional HPC codes and open-source solutions must be found to enable new communities of developers to easily take advantage of large scale parallel machines. Task-based models have the potential to help here, but many of these either entirely abstract the user from the distributed nature of their code, placing emphasis on the runtime to make important decisions concerning scheduling and locality, or require the programmer to explicitly combine their task-based code with a distributed memory technology such as MPI, which adds considerable complexity. In this paper we describe a new approach where the programmer still splits their code up into distinct tasks, but is explicitly aware of the distributed nature of the machine and drives interactions between tasks via events. This provides the best of both worlds; the programmer is able to direct important aspects of parallelism whilst still being abstracted from the low level mechanism of how this parallelism is achieved. We demonstrate our approach via two use-cases, the Graph500 BFS benchmark and in-situ data analytics of MONC, an atmospheric model. For both applications we demonstrate considerably improved performance at large core counts and the result of this work is an approach and open-source library which is readily applicable to a wide range of codes.

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

↑