Performance Evaluations of Graph Database using CUDA and OpenMP Compatible Libraries

Shin Morishima, Hiroki Matsutani
{"title":"Performance Evaluations of Graph Database using CUDA and OpenMP Compatible Libraries","authors":"Shin Morishima, Hiroki Matsutani","doi":"10.1145/2693714.2693728","DOIUrl":null,"url":null,"abstract":"Graph databases use graph structures to store data sets as nodes, edges, and properties. They are used to store and search the relationships between a large number of nodes, such as social networking services and recommendation engines that use customer social graphs. Since computation cost for graph search queries increases as the graph becomes large, in this pa- per we accelerate the graph search functions (Dijkstra and A* algorithms) of a graph database Neo4j using two ways: multi- threaded library and CUDA library for graphics processing units (GPUs). We use 100,000-node graphs generated based on a degree distribution of Facebook social graph for evaluations. Our multi-threaded and GPU-based implementations require an auxiliary adjacency matrix for a target graph. The results show that, when we do not take into account additional overhead to generate the auxiliary adjacency matrix, multi-threaded version improves the Dijkstra and A* search performance by 16.2x and 13.8x compared to the original implementation. The GPU-based implementation improves the Dijkstra and A* search performance by 26.2x and 32.8x. When we take into account the overhead, although the speed-ups by our implementations are reduced, by reusing the auxiliary adjacency matrix for multiple graph search queries we can significantly improve the graph search performance.","PeriodicalId":448522,"journal":{"name":"SIGARCH Comput. Archit. News","volume":"17 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2014-12-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"7","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"SIGARCH Comput. Archit. News","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2693714.2693728","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 7

Abstract

Graph databases use graph structures to store data sets as nodes, edges, and properties. They are used to store and search the relationships between a large number of nodes, such as social networking services and recommendation engines that use customer social graphs. Since computation cost for graph search queries increases as the graph becomes large, in this pa- per we accelerate the graph search functions (Dijkstra and A* algorithms) of a graph database Neo4j using two ways: multi- threaded library and CUDA library for graphics processing units (GPUs). We use 100,000-node graphs generated based on a degree distribution of Facebook social graph for evaluations. Our multi-threaded and GPU-based implementations require an auxiliary adjacency matrix for a target graph. The results show that, when we do not take into account additional overhead to generate the auxiliary adjacency matrix, multi-threaded version improves the Dijkstra and A* search performance by 16.2x and 13.8x compared to the original implementation. The GPU-based implementation improves the Dijkstra and A* search performance by 26.2x and 32.8x. When we take into account the overhead, although the speed-ups by our implementations are reduced, by reusing the auxiliary adjacency matrix for multiple graph search queries we can significantly improve the graph search performance.
基于CUDA和OpenMP兼容库的图形数据库性能评估
图数据库使用图结构将数据集存储为节点、边和属性。它们用于存储和搜索大量节点之间的关系,例如使用客户社交图的社交网络服务和推荐引擎。由于图形搜索查询的计算成本随着图形变大而增加,在本论文中,我们使用两种方式加速图形数据库Neo4j的图形搜索功能(Dijkstra和A*算法):多线程库和CUDA库用于图形处理单元(gpu)。我们使用基于Facebook社交图谱度分布生成的100,000个节点图进行评估。我们的多线程和基于gpu的实现需要目标图的辅助邻接矩阵。结果表明,当我们不考虑生成辅助邻接矩阵的额外开销时,与原始实现相比,多线程版本将Dijkstra和A*搜索性能提高了16.2倍和13.8倍。基于gpu的实现将Dijkstra和A*搜索性能分别提高了26.2倍和32.8倍。当我们考虑到开销时,虽然我们的实现降低了加速,但通过为多个图搜索查询重用辅助邻接矩阵,我们可以显着提高图搜索性能。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书