中国物理B ›› 2011, Vol. 20 ›› Issue (9): 98901-098901.doi: 10.1088/1674-1056/20/9/098901

• • 上一篇    下一篇

Speeding up the MATLAB complex networks package using graphic processors

唐玉华1, 张百达2, 吴俊杰2, 李鑫2   

  1. (1)Department of Computer Science and Technology, School of Computer, National University of Defense Technology, Changsha 410073, China; (2)National laboratory for Parallel and Distributed Processing, School of Computer, National University of Defense Technology, Changsha 410073, China
  • 收稿日期:2011-03-18 修回日期:2011-05-04 出版日期:2011-09-15 发布日期:2011-09-15

Speeding up the MATLAB complex networks package using graphic processors

Zhang Bai-Da(张百达)a)†, Tang Yu-Hua(唐玉华)b), Wu Jun-Jie(吴俊杰)a), and Li Xin(李鑫)a)   

  1. a National laboratory for Parallel and Distributed Processing, School of Computer, National University of Defense Technology, Changsha 410073, China; b Department of Computer Science and Technology, School of Computer, National University of Defense Technology, Changsha 410073, China
  • Received:2011-03-18 Revised:2011-05-04 Online:2011-09-15 Published:2011-09-15

摘要: The availability of computers and communication networks allows us to gather and analyse data on a far larger scale than previously. At present, it is believed that statistics is a suitable method to analyse networks with millions, or more, of vertices. The MATLAB language, with its mass of statistical functions, is a good choice to rapidly realize an algorithm prototype of complex networks. The performance of the MATLAB codes can be further improved by using graphic processor units (GPU). This paper presents the strategies and performance of the GPU implementation of a complex networks package, and the Jacket toolbox of MATLAB is used. Compared with some commercially available CPU implementations, GPU can achieve a speedup of, on average, 11.3×. The experimental result proves that the GPU platform combined with the MATLAB language is a good combination for complex network research.

关键词: complex networks, graphic processors unit, MATLAB, Jacket Toolbox

Abstract: The availability of computers and communication networks allows us to gather and analyse data on a far larger scale than previously. At present, it is believed that statistics is a suitable method to analyse networks with millions, or more, of vertices. The MATLAB language, with its mass of statistical functions, is a good choice to rapidly realize an algorithm prototype of complex networks. The performance of the MATLAB codes can be further improved by using graphic processor units (GPU). This paper presents the strategies and performance of the GPU implementation of a complex networks package, and the Jacket toolbox of MATLAB is used. Compared with some commercially available CPU implementations, GPU can achieve a speedup of, on average, 11.3×. The experimental result proves that the GPU platform combined with the MATLAB language is a good combination for complex network research.

Key words: complex networks, graphic processors unit, MATLAB, Jacket Toolbox

中图分类号:  (Networks and genealogical trees)

  • 89.75.Hc
87.23.Ge (Dynamics of social systems) 89.20.Hh (World Wide Web, Internet) 89.75.-k (Complex systems)