Charliecloud的无层、基于Git的容器构建缓存
Charliecloud's layer-free, Git-based container build cache
AI总结:
本研究提出一种基于Git的无层容器构建缓存方法,实验证明其在构建时间和磁盘使用上与分层缓存相当,且在多指令配方及结构性优势上表现更优。
摘要:
在高性能计算(HPC)中部署科学应用的一种流行方法是使用Linux容器,它将应用及其所有依赖打包为单个单元。该镜像通过解释机器可读配方中的指令来构建,而构建缓存可以存储指令结果以供重用,从而加快构建速度。标准方法(例如Docker和Podman使用的方法)是多层联合文件系统,将层之间的差异编码为tar归档文件。我们的实验表明,在构建时间和磁盘使用方面,该方法与分层缓存表现相似,并且在处理多指令配方时具有显著优势。我们的方法还具有结构性优势:更好的差异格式、更低的缓存开销和更好的文件去重。这些结果表明,基于Git的缓存用于无层容器实现不仅是可行的,而且可能在重要维度上优于分层方法。
英文摘要:
A popular approach to deploying scientific applications in high performance computing (HPC) is Linux containers, which package an application and all its dependencies as a single unit. This image is built by interpreting instructions in a machine-readable recipe, which is faster with a build cache that stores instruction results for re-use. The standard approach (used e.g. by Docker and Podman) is a many-layered union filesystem, encoding differences between layers as tar archives. Our experiments show this performs similarly to layered caches on both build time and disk usage, with a considerable advantage for many-instruction recipes. Our approach also has structural advantages: better diff format, lower cache overhead, and better file de-duplication. These results show that a Git-based cache for layer-free container implementations is not only possible but may outperform the layered approach on important dimensions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。