The Katana Graph Engine (KGE) is a scale-out platform for high-speed graph analytics, pattern mining and querying on heterogeneous clusters of CPUs and GPUs, providing unmatched compute capability for processing even the largest graphs such as web-crawl graphs with billions of vertices and trillions of edges. This document focuses on the use of KGE for ultrahigh- performance graph analytics.
What is graph analytics?
In most application areas, large datasets are unstructured and sparse and can be represented as a graph in which vertices represent entities and edges represent relations between entities. Examples include the following.
Web-search engines perform analytics on the indexable-web graph in which vertices represent webpages and edges represent hyperlinks between pages. The page-rank of vertices in this graph provides a measure of the relative importance of the corresponding webpages.
Graph neural networks and graph convolutional networks are used extensively in machine learning for natural language processing and predicting the spread of infectious diseases.
In many recommendation systems, the relationship between users and their ratings of items of interest is represented as a bipartite graph with labeled edges in which the vertices represent users and items, and labeled edges represent ratings of items by users.
Katana Graph Engine
The Katana Graph Engine [9, 10] executes graph analytics applications on heterogeneous clusters of CPUs and GPUs, providing industry-leading performance and capability even on the largest graphs. Scale-out provides more aggregate computational power and DRAM for analyzing properties of large graphs than is possible on a single machine. In addition, each machine in the cluster can read in a portion of the graph from secondary storage in parallel with other machines, which provides more aggregate bandwidth for loading the graph into memory.
On CPUs, the Katana runtime system optimizes program execution to exploit NUMA locality; for example, it performs NUMA-aware dynamic load balancing to ensure that computational load is spread out evenly between the cores of the CPU. On GPUs, the Katana graph engine incorporates performance optimizations for reducing the overhead of kernel launches and atomic operations.
For execution on clusters, the KGE partitions graphs between the machines in the cluster using a rich variety of graph partitioning policies including edge-cuts and vertex-cuts. Application-specific graph partitioning policies can be easily implemented in the Katana graph partitioner.
Communication is often the performance bottleneck in the distributed-memory execution of graph analytics programs. To avoid this, the Katana graph engine has a communication runtime that has been optimized for graph computing.
The Kanata core graph libraries provide highly scalable concurrent data structures such as concurrent graph representations and concurrent worklists to implement work-efficient algorithms. These libraries can be used by data scientists to write new applications in Python, leaving it to the underlying system to optimize the program for distributed, heterogeneous execution.
Both real-world and synthetically generated graphs are used in this study. Real-world graphs include social network graphs such as Twitter40, Friendster, and road networks such as Road-Europe. Other studies [9, 10] have also evaluated KGE on web-crawls such as Uk07, Clueweb12, and Wdc12. Clueweb12 and Wdc12 are one of the largest publicly available web crawls.
This study also uses synthetically generated graphs such as the LDBC datasets including Datagen-8 1-fb, Datagen-8 9-fb, and Datagen-9 4-fb which are generated using LDBC Graphalytics  generator.
The hardware specifications, applications, and input datasets used in each experiment are listed in their respective figure captions.
Figure 2 and Figure 3 compare the performance of the KGE with that of the industry leaders: Neo4j  and TigerGraph . The KGE is 2-3 orders of magnitude faster for both real-world social networks (Twitter40 and Friendster) as well as LDBC Graphalytics  datasets. In addition, Katana Graph’s efficient in-memory representation enables it to handle much bigger graphs (Datagen-8_9-fb) on a single machine.
Figure 4 and Figure 5 compare the performance of KGE with that of GraphX  (based on Spark ) and TigerGraph  respectively. The KGE is faster than TigerGraph by 26x (geomean speedup) and GraphX by 21x (geomean speedup) on the same hardware platform.
The Katana graph engine’s scalability on distributed platforms arises from its efficient compute engine, its support for a rich variety of graph partitioning policies, and an optimizing communication runtime for efficient cluster communication.
Author: Katana Graph
- Neo4j 4.0: Graph platform, 2020: https://neo4j.com
- P. Boldi, M. Rosa, M. Santini, and S. Vigna. Layered label propagation: A multiresolution coordinate-free ordering for compressing social networks. WWW’11
- T. L. Project. The ClueWeb12 Dataset, 2013.
- M. Zaharia, M. Chowdhury, T. Das, A. Dave, J. Ma, M. McCauley, M. J. Franklin, S. Shenker, and I. Stoica. Resilient distributed datasets: A fault-tolerant abstraction for in-memory cluster computing. NSDI’12.
- TigerGraph: https://www.tigergraph.com
- GraphAnlytics: https://graphalytics.org
- SNAP Datasets: https://snap.stanford.edu/data/com-Friendster.html
- GraphX: https://spark.apache.org/graphx
- R. Dathathri, G. Gill, L. Hoang, H. Dang, A. Brooks, N. Dryden, M. Snir, and K. Pingali. 2018. Gluon: a communication-optimizing substrate for distributed heterogeneous graph analytics. PLDI’18
- D. Nguyen, A. Lenharth, and K. Pingali. 2013. A lightweight infrastructure for graph analytics. SOSP '13
- Gurbinder Gill, Roshan Dathathri, Loc Hoang, Ramesh Peri, and Keshav Pingali. Single machine graph analytics on massive datasets using Intel optane DC persistent memory. VLDB 2020