arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.06789cs.DCcs.MS
收藏

scda:一种用于并行 I/O 的最小化、串行等价格式

scda: A Minimal, Serial-Equivalent Format for Parallel I/O

Tim Griesbach, Carsten Burstedde

AI总结:

本文提出面向文件的 scda 并行 I/O 格式,通过与分区无关且串行等价的结构支持并行读写,并提供可选逐元素压缩与 libsc 参考实现。

摘要:

我们规定了一种面向文件的数据格式,适用于并行的、与分区无关的磁盘 I/O。这里,分区指的是数据元素在一个或多个进程之间的不相交且有序的分布。该格式的设计使得在写入前对数据进行线性(即未置换的)并行重分区时,文件内容保持不变。文件内容与串行写入无法区分。同样,该文件可以在任意数量的进程上读取,只要这些进程就所存储元素数量的任意分区达成一致。除格式规范外,我们还提出了一项可选约定,用于实现透明的逐元素数据压缩。压缩后的数据和元数据分层放置在普通格式元素内部。总体而言,我们同时特别关注人类可读性和机器可读性。如果写入纯 ASCII 数据,或者将压缩数据重新编码为 ASCII,则包括其头部和分段元数据在内的整个文件都完全保持为 ASCII。如果写入二进制数据,元数据仍便于人眼阅读。我们将这种格式称为 scda。从概念上讲,它位于更下一层,并且不感知变量定义、数字的二进制表示、字节序考量以及自描述头部,而这些内容都可以在 scda 之上规定。该格式的主要目的是抽象任何并行性,并提供足够的结构,作为通用且灵活的归档以及检查点/重启的基础。一个有文档说明的参考实现可作为通用 libsc 自由软件库的一部分获得。

英文摘要:

We specify a file-oriented data format suitable for parallel, partition-independent disk I/O. Here, a partition refers to a disjoint and ordered distribution of the data elements between one or more processes. The format is designed such that the file contents are invariant under linear (i. e., unpermuted), parallel repartition of the data prior to writing. The file contents are indistinguishable from writing in serial. In the same vein, the file can be read on any number of processes that agree on any partition of the number of elements stored. In addition to the format specification we propose an optional convention to implement transparent per-element data compression. The compressed data and metadata is layered inside ordinary format elements. Overall, we pay special attention to both human and machine readability. If pure ASCII data is written, or compressed data is reencoded to ASCII, the entire file including its header and sectioning metadata remains entirely in ASCII. If binary data is written, the metadata stays easy on the human eye. We refer to this format as scda. Conceptually, it lies one layer below and is oblivious to the definition of variables, the binary representation of numbers, considerations of endianness, and self-describing headers, which may all be specified on top of scda. The main purpose of the format is to abstract any parallelism and provide sufficient structure as a foundation for a generic and flexible archival and checkpoint/restart. A documented reference implementation is available as part of the general-purpose libsc free software library.

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

↑