图查询的调度:控制查询内和查询间的优先级以获得高系统吞吐量
Scheduling of Graph Queries: Controlling Intra- and Inter-query Parallelism for a High System Throughput
摘要:
在社会、商业或交通网络、生物学和其他自然科学中使用的大量数据通常以基于图的数据集进行管理,这些数据集分别由数千到数十亿和数万亿的顶点和边组成。利用这些数据的典型应用程序可以交互地或作为批处理作业同时执行一个或几个复杂查询或许多小查询。此外,图形处理本质上是复杂的,因为数据集可以有很大的不同(无标度与常数度),算法表现出不同的行为(计算强度,局部或全局,基于推或拉)。这项工作是关注多查询执行自动控制的并行化程度,总体目标包括高系统利用率,低同步成本,高效的并发执行。基本概念有三个方面:(1)采样用于确定图形统计,(2)并行化约束来自算法和系统属性,以及(3)基于前两个方面生成合适的工作包。我们使用不同的算法对合成和真实世界的数据集,多达16个并发会话(查询)的建议的概念进行评估。结果表明,尽管这些各种配置的鲁棒性能,特别是,性能总是接近或甚至稍微领先于手动优化的实现的性能。此外,类似的性能手动优化的极端配置下的实现,这需要一个完整的并行化(几个大查询)或完整的顺序执行(许多小查询),表明所提出的概念表现出特别低的开销。
英文摘要:
The vast amounts of data used in social, business or traffic networks, biology and other natural sciences are often managed in graph-based data sets, consisting of a few thousand up to billions and trillions of vertices and edges, respectively. Typical applications utilizing such data either execute one or a few complex queries or many small queries at the same time interactively or as batch jobs. Furthermore, graph processing is inherently complex, as data sets can substantially differ (scale free vs. constant degree), and algorithms exhibit diverse behavior (computational intensity, local or global, push- or pull-based). This work is concerned with multi-query execution by automatically controlling the degree of parallelization, with overall objectives including high system utilization, low synchronization cost, and highly efficient concurrent execution. The underlying concept is three-fold: (1) sampling is used to determine graph statistics, (2) parallelization constraints are derived from algorithm and system properties, and (3) suitable work packages are generated based on the previous two aspects. We evaluate the proposed concept using different algorithms on synthetic and real world data sets, with up to 16 concurrent sessions (queries). The results demonstrate a robust performance in spite of these various configurations, and in particular that the performance is always close to or even slightly ahead of the performance of manually optimized implementations. Furthermore, the similar performance to manually optimized implementations under extreme configurations, which require either a full parallelization (few large queries) or complete sequential execution (many small queries), shows that the proposed concept exhibits a particularly low overhead.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。