This report presents a detailed analysis of the performance of various graph algorithms executed on TigerGraph (CPU) and CuGraph (GPU) platforms. The purpose is to evaluate the efficiency and speedup gained by utilising GPU acceleration through CuGraph in comparison to the traditional CPU-based execution in TigerGraph. The benchmarked algorithms include Pagerank,Jaccard and Louvain, and the analysis focuses on execution times, speedup, and potential discrepancies between the two platforms.
During the performance evaluation, several challenges were encountered that required addressing:
The Pagerank algorithm measures the importance of nodes in a graph. The following table presents the execution times and speedup achieved when running Pagerank on both platforms:
The GPU execution time is significantly lower than the CPU execution time, resulting in notable speedup for all graph sizes.
Note: We are not able to support graph more than ldbc-26 for PageRank, due to OOM
The Louvain algorithm identifies communities within a graph. The following table presents the execution times and speedup achieved when running Louvain on both platforms:
Again, the GPU execution time is significantly lower, resulting in substantial speedup across all graph sizes.
Note: We are not able to support graph more than ldbc-26 for Louvain, due to OOM
The following table presents the execution times and speedup achieved when running Jaccard on both platforms
The experimental results clearly demonstrate the superior performance of GPU-accelerated CuGraph over traditional CPU-based TigerGraph for both Pagerank and Louvain algorithms. The execution times on GPU are drastically reduced, leading to significant speedup. This indicates the potential of GPU acceleration to enhance the efficiency and performance of graph algorithms in various applications. However, it's important to note that algorithm-specific optimizations and platform compatibility may impact the actual speedup achieved in different scenarios.