FBench: 一种基于CFG的HPC I/O模式假设探索灵活基准测试工具
FBench: A Flexible Benchmark for CFG-Based What-If Exploration of HPC I/O Patterns
AI总结:
提出FBench,一种利用上下文无关文法从Recorder轨迹生成配置或重放I/O模式的灵活基准测试工具,支持POSIX和MPI-IO接口,无需代码修改即可快速实验,准确再现I/O行为并揭示优化效果。
摘要:
大规模HPC应用的I/O性能取决于访问模式、中间件优化和文件系统配置的复杂交互。为了系统性地探索这些影响而无需重复运行完整应用,我们引入了FBench,一种灵活且代码透明的基准测试工具,用于假设分析和I/O性能探索。FBench利用从Recorder轨迹派生的上下文无关文法(CFG),生成简化的全局配置文件用于基准执行,或无需额外预处理即可实时重放I/O模式。它支持POSIX和MPI-IO接口,并允许用户通过JSON配置文件注入优化提示,从而无需代码更改即可快速实验I/O设置。我们的评估表明,FBench能准确再现合成和真实工作负载的I/O行为,捕捉不同优化和文件系统设置下的访问模式和性能趋势。对于IOR和HACC-IO,FBench紧密匹配了扩展行为和对Lustre条带参数的敏感性。对于FLASH Sedov,它揭示了Lustre上的集合I/O比独立I/O的写带宽低达30倍,且基本独立于条带化;切换到突发缓冲文件系统可将非集合写带宽提高约1.5倍,无需额外调优。使用LAMMPS的评估表明,FBench能显著减少假设分析所需的时间,并通过简单调优实现高达8倍的改进。
英文摘要:
The I/O performance of large-scale HPC applications depends on a complex interplay of access patterns, middleware optimizations, and file system configurations. To systematically explore these effects without repeatedly rerunning full applications, we introduce FBench, a flexible and code-transparent benchmarking tool for what-if analysis and I/O performance exploration. FBench leverages context-free grammars (CFGs) derived from Recorder traces to either generate simplified global configuration files for benchmark execution or replay I/O patterns on-the-fly without additional preprocessing. It supports both POSIX and MPI-IO interfaces and allows users to inject optimization hints via JSON configuration files, enabling rapid experimentation with I/O settings without code changes. Our evaluation shows that FBench accurately reproduces I/O behavior for both synthetic and real workloads, capturing access patterns and performance trends across diverse optimizations and file system settings. For IOR and HACC-IO, FBench closely matches scaling behavior and sensitivity to Lustre striping parameters. For FLASH Sedov, it reveals that collective I/O on Lustre can yield up to 30x lower write bandwidth than independent I/O, largely independent of striping, and that switching to a burst buffer file system increases non-collective write bandwidth by about 1.5x without additional tuning. The evaluation with LAMMPS shows that FBench can significantly reduce the time required for what-if analyses and, with simple tuning, enable improvements of up to 8x.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。