arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2004.14378cs.LOcs.AIcs.PF
收藏

使用透明的大页面实现更快的推理

Towards Faster Reasoners By Using Transparent Huge Pages

TU Dresden(德累斯顿工业大学);TU Wien(维也纳工业大学)

Johannes K. Fichte, Norbert Manthey, Julian Stecklina, André Schidler

摘要:

在知识表示和推理的研究以及工业应用中,各种先进的自动推理(AR)工具被广泛用作后端工具。在测试和验证中,这些工具经常连续运行或夜间运行。在这项工作中,我们提出了一种方法,可以将AR工具的运行时间平均减少10%,对于长时间运行的任务,减少高达20%。我们的改进解决了AR工具中使用的数据结构所带来的高内存使用率,这些数据结构基于冲突驱动的无效学习。我们建立了一个通用的方法,使更快的内存访问,更有效地使用现代硬件的内存高速缓存线。因此,我们通过动态地允许使用称为巨大页面的存储管理特性来扩展标准C库(glibc)。巨大的页面允许减少在操作系统的虚拟存储器和硬件的物理存储器之间转换存储器地址所需的开销。通过这种方式,我们可以减少AR工具和具有类似内存访问模式的应用程序的运行时间,成本和能耗,只需在编译时将工具与这个新的glibc库链接即可。在日常工业应用中,这很容易使计算更加环保。为了支持声称的加速,我们展示了AR社区中常用工具的实验结果,包括ASP,BMC,MaxSAT,SAT和SMT。

英文摘要:

Various state-of-the-art automated reasoning (AR) tools are widely used as backend tools in research of knowledge representation and reasoning as well as in industrial applications. In testing and verification, those tools often run continuously or nightly. In this work, we present an approach to reduce the runtime of AR tools by 10% on average and up to 20% for long running tasks. Our improvement addresses the high memory usage that comes with the data structures used in AR tools, which are based on conflict driven no-good learning. We establish a general way to enable faster memory access by using the memory cache line of modern hardware more effectively. Therefore, we extend the standard C library (glibc) by dynamically allowing to use a memory management feature called huge pages. Huge pages allow to reduce the overhead that is required to translate memory addresses between the virtual memory of the operating system and the physical memory of the hardware. In that way, we can reduce runtime, costs, and energy consumption of AR tools and applications with similar memory access patterns simply by linking the tool against this new glibc library when compiling it. In every day industrial applications this easily allows to be more eco-friendly in computation. To back up the claimed speed-up, we present experimental results for tools that are commonly used in the AR community, including the domains ASP, BMC, MaxSAT, SAT, and SMT.

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

↑