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

EmptyHeaded:一个用于图处理的关系引擎

EmptyHeaded: A Relational Engine for Graph Processing

Christopher R. Aberger, Susan Tu, Kunle Olukotun, Christopher Ré

摘要:

有两种类型的高性能图形处理引擎:低级引擎和高级引擎。低级引擎(Galois、PowerGraph、Snap)提供优化的数据结构和计算模型,但要求用户编写低级命令式代码,从而确保效率是用户的负担。在高级引擎中,用户使用查询语言编写代码,如databases(SociaLite)或SQL(Grail)。高级引擎更容易使用,但比低级图形引擎慢几个数量级。我们提出了EmptyHeaded,一个高层次的引擎,支持丰富的数据日志一样的查询语言,并实现性能媲美的低层次引擎。EmptyHeaded设计的核心是一类新的连接算法,它满足强有力的理论保证,但迄今为止还没有达到与专用图形处理引擎相媲美的性能。为了实现高性能,EmptyHeaded引入了一个新的连接引擎架构,包括一个新的查询优化器和利用单指令多数据(SIMD)并行的数据布局。在这种架构下,EmptyHeaded在图形模式查询、PageRank和单源最短路径(SSSP)上的性能比高级方法高出三个数量级,并且比许多低级基线快一个数量级。我们验证了EmptyHeaded与同类最佳的低级引擎(Galois)竞争,在PageRank上实现了相当的性能,在SSSP上的性能最多差3倍。

英文摘要:

There are two types of high-performance graph processing engines: low- and high-level engines. Low-level engines (Galois, PowerGraph, Snap) provide optimized data structures and computation models but require users to write low-level imperative code, hence ensuring that efficiency is the burden of the user. In high-level engines, users write in query languages like datalog (SociaLite) or SQL (Grail). High-level engines are easier to use but are orders of magnitude slower than the low-level graph engines. We present EmptyHeaded, a high-level engine that supports a rich datalog-like query language and achieves performance comparable to that of low-level engines. At the core of EmptyHeaded's design is a new class of join algorithms that satisfy strong theoretical guarantees but have thus far not achieved performance comparable to that of specialized graph processing engines. To achieve high performance, EmptyHeaded introduces a new join engine architecture, including a novel query optimizer and data layouts that leverage single-instruction multiple data (SIMD) parallelism. With this architecture, EmptyHeaded outperforms high-level approaches by up to three orders of magnitude on graph pattern queries, PageRank, and Single-Source Shortest Paths (SSSP) and is an order of magnitude faster than many low-level baselines. We validate that EmptyHeaded competes with the best-of-breed low-level engine (Galois), achieving comparable performance on PageRank and at most 3x worse performance on SSSP.

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

↑