Parallel I/O refers to the ability of scientific programs to concurrently read/write from/to a single file from multiple processes executing on distributed memory platforms like compute clusters. In the HPC world, I/O becomes a significant bottleneck for many real-world scientific applications. In the last two decades, there has been significant research in improving the performance of I/O operations in scientific computing for traditional languages including C, C++, and Fortran. As a result of this, several mature and high-performance libraries including ROMIO (implementation of MPI-IO), parallel HDF5, Parallel I/O (PIO), and parallel netCDF are available today that provide efficient I/O for scientific applications. However, there is very little research done to evaluate and improve I/O performance of Java-based HPC applications. The main hindrance in the development of efficient parallel I/O Java libraries is the lack of a standard API (something equivalent to MPI-IO). Some adhoc solutions have been developed and used in proprietary applications, but there is no general-purpose solution that can be used by performance hungry applications. As part of this project, we plan to develop a Java-based parallel I/O API inspired by the MPI-IO bindings (MPI 2.0 standard document) for C, C++, and Fortran. Once the Java equivalent API of MPI-IO has been developed, we will develop a reference implementation on top of existing Java messaging libraries. Later, we will evaluate and compare performance of our reference Java Parallel I/O library with C/C++ counterparts using benchmarks and real-world applications.
Supercharging the APGAS Programming Model with Relocatable Distributed Collections
在这篇文章中,我们将介绍我们的可重定位分布式集合库。在AGPAS for Java库的基础上,我们提供了许多有用的节点内并行模式以及通过明确识别的方法支持分布式计算所需的功能。特别地,通过集成的重定位系统来支持分布式集合的条目在进程之间的传输。这启用了动态负载平衡功能,使程序能够适应不均匀或不断变化的集群性能。我们开发的系统使得通过高级抽象动态控制分布式程序的分布和数据流成为可能。因此,使用我们库的程序员可以通过一致的API编写复杂的分布式程序,将计算和通信阶段结合起来。我们评估我们的库的性能对两个程序从著名的Java基准套件,展示了优越的可编程性,并获得更好的性能在一个基准和合理的开销上的第二个。最后,我们将在一个更复杂的应用程序上演示负载平衡的易用性和好处,该应用程序广泛使用我们库的各种功能。
torchgpipe: On-the-fly Pipeline Parallelism for Training Giant Models
Kakao Brain;UNIST(蔚山科学技术院)
我们在PyTorch中设计并实现了一个现成的库,用于执行GPipe提出的检查点的微批处理流水线并行(Huang et al.,2019年)。特别是,我们开发了一组设计组件,以在PyTorch的运行定义和渴望执行环境中实现流水线并行梯度计算。我们表明,每个组件是必要的,以充分受益于流水线并行在这样的环境中,并证明了图书馆的效率,通过将其应用到各种网络架构,包括AmoebaNet-D和U-Net。我们的图书馆可以在https://github.com/kakaobrain/torchgpipe上找到。