Abstract:The graph calculation is driven by the current graph application and the input graph data.There are various graph applications and graph structures.The performance of the same graph application when processing different graphs varies greatly.In order to explore the impact of graph data format on graph algorithm performance,this paper selects five commonly used graph data formats COO,CSC,CSR,DCSC and CSCI and community discovery algorithm triangle count in the graph data p2p-Gnutella04,p2p-Gnutella06,soc-Epinions1 As the analysis object,the above application defines the performance indicators that the graph data format affects the graph computing system,including execution time,data movement,calculation,power consumption,and various levels of cache MPKI,etc.,based on Skylake Xeon(R)Platinum 8164 processing the device performs performance event collection.The experimental results show that the ratio of execution time(normalized to the longest execution time)of TC running p2p-Gnutella04/06 and soc-Epinions1 graph data in COO,CSC,CSR,DCSC and CSCI formats is 35.7% and 0.04%,0.15%,9.7%,100% and 34.1%,0.05%,1.81%,9.76%,100% and 9.49%,0.92%,0.99%,9.1%,100%,data movement amount(normalized to the maximum data The ratio of movement amount)is 74.9%,3.7%,4.5%,20.32%,100% and 100%,0.65%,0.81%,27.37%,13.43% and 97.08%,42.94%,42.95%,86.38%,100%,The ratio of the calculation amount(normalized to the maximum calculation amount)is 39.36%,6.5%,8.62%,10.68%,100% and 31.6%,6.97%,8.64%,8.67%,100% and 100%,0.9%,0.89%,28.09%,33.07%,the ratio of power consumption(normalized to maximum power consumption)is 100%,57.39%,47.73%,33.24%,75.28% and 37.03%,84.7%,40.8%,43.4%,100% and 100%,34.77%,29.01%,28.39%,86%.The experimental results provide a basis for the selection of the input image data format for TC applications.
张世茹,邓军勇. 图数据格式对三角形计数算法影响的特性分析[J]. 小型微型计算机系统, 2023, 44(1): 103-109.
ZHANG Shi-ru,DENG Jun-yong. Characteristic Analysis of the Influence of Graph Data Format on Triangle Counting Algorithm. Journal of Chinese Computer Systems, 2023, 44(1): 103-109.