arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.13894cs.LO
收藏

Isabelle社区基准

The Isabelle Community Benchmark

Fabian Huch, Vincent Bode

摘要:

为定理证明选择硬件并不简单:自动证明器是高度复杂和优化的程序,通常使用并行计算模型,并且很少有关于硬件对证明器性能影响的先前研究。为了缓解Isabelle的问题,我们启动了一个社区基准测试,其中测量了HOL-Analysis的构建时间。在$54$不同CPU上,Isabelle用户报告了使用不同Isabelle配置运行的总共$669$次。结果范围从$107$ s到超过$11$ h。我们发现当前的消费者CPU性能最好,具有最佳的$8$到$16$线程数量,这在很大程度上与堆内存无关。在硬件参数方面,CPU基本时钟对多线程运行的影响最大,线性相关系数为$0.37$;而提升频率对单线程运行的影响最大(相关系数为$0.55$);缓存大小对多线程运行的影响不显著。在将我们的基准测试得分与流行的高性能计算基准测试进行比较时,我们发现在单线程场景中与Dolfyn($R^2 = 0.79$)有很强的线性关系。使用来自3DMark CPU Profile消费者基准测试的数据,我们创建了一个最佳(多线程)Isabelle性能的线性模型。验证时,模型的平均$R^2$评分为$0.87$ ;最终模型中的平均绝对误差对应于$46.6$ s的挂钟时间。使用3DMark的真实中值数据集,误差改善为$37.1$ s。

英文摘要:

Choosing hardware for theorem proving is no simple task: automated provers are highly complex and optimized programs, often utilizing a parallel computation model, and there is little prior research on the hardware impact on prover performance. To alleviate the problem for Isabelle, we initiated a community benchmark where the build time of HOL-Analysis is measured. On $54$ distinct CPUs, a total of $669$ runs with different Isabelle configurations were reported by Isabelle users. Results range from $107$s to over $11$h. We found that current consumer CPUs performed best, with an optimal number of $8$ to $16$ threads, largely independent of heap memory. As for hardware parameters, CPU base clock affected multi-threaded execution most with a linear correlation of $0.37$, whereas boost frequency was the most influential parameter for single-threaded runs (correlation coefficient $0.55$); cache size played no significant role. When comparing our benchmark scores with popular high-performance computing benchmarks, we found a strong linear relationship with Dolfyn ($R^2 = 0.79$) in the single-threaded scenario. Using data from the 3DMark CPU Profile consumer benchmark, we created a linear model for optimal (multi-threaded) Isabelle performance. When validating, the model has an average $R^2$-score of $0.87$; the mean absolute error in the final model corresponds to a wall-clock time of $46.6$s. With a dataset of true median values for the 3DMark, the error improves to $37.1$s.

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

↑