Research on GPU-based Parallel Computing on BitTorrent Protocol
- Author
- WangGaoXuan
- Advisor
- HuangLiCan
- School
- Zhejiang Sci-Tech University
- Major
- Applied Computer Technology
- Classification
- TP391.41 Image recognition device
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 21
- Citations
- 0
Abstract
With the fast develop of internet, Peer-to-peer (P2P) content distribution systems, throughthe cooperation orientation and distribution file-sharing, such as file-sharing (BitTorrent)、livestreaming (PPLive) and video-on-demand (Joost) systems have become enormously popular ontoday’s internet. These systems organize tens of thousands or even millions participating userhosts into a randomized mesh topology, where each user maintains connection with a subset ofother peer users, sharing the desired data. In a typical file-sharing scenario like BitTorrent, alarge file is broken down into K granularity blocks. The goal is to distribute all the blocks to allthe users by letting peers exchange these blocks in a decentralized fashion. To attain this goal,each peer has to decide which neighboring peer to transmit to and which block to transmit at agiven time. Based on these questions, distributed block scheduling and neighbor selectionprotocols in P2P networks have become a very active research area in recent years.At the present stage the implementation of distributed block scheduling and neighborselection algorithms in the BitTorrent file-sharing protocol are based on CPU. It’ll need arelatively long time to distribute a big file to all the peers in the large-scale network. This paperput forward and improves P2P algorithm based on GPU parallel computing. Because thealgorithm is suitable for the independence peers in the BitTorrent protocol, so the improvedalgorithms speed up the file-share efficiency in the system. In this paper, the study content andmain contribution as follows:(1) RUB Algorithm Parallel Computing Based on GPU. This algorithm adopted threeschemes, the implementation of RUB algorithm based on the global memory for single-threadedsingle-node、 the implementation of RUB algorithm based on the sharing memory forsingle-threaded single-node and the implementation of RUB algorithm based on the globalmemory for single-threaded single-datablock. Because accessing global memory will producehigher delay, leading to low efficiency of the RUB algorithm. In order to overcome the abovedisadvantages, in the second scheme improve to using sharing memory. In certain improved theefficiency of the RUB algorithm. But the sharing memory space is very small; it can’t store the big file and in a certain way affect the algorithm efficiency. Therefore in this paper give the thirdscheme, using the implementation of RUB algorithm based on the global memory forsingle-threaded single-datablock. Because in the third scheme reduced the amount of work ofevery thread, make the efficiency of RUB algorithm greatly improved.(2) LRF Algorithm Parallel Computing Based on GPU. This algorithm adopted twoschemes, the implementation of LRF algorithm based on the global memory for single-threadedsingle-node and the implementation of LRF algorithm based on the global memory forsingle-threaded single-datablock. Similar to the RUB algorithm implementation, In order to gethigher LRF algorithm efficiency, improved the implementation of LRF algorithm based on theglobal memory for single-threaded single-node,using implementation of LRF algorithm basedon the global memory for single-threaded single-datablock and greatly improved the efficiencyof this algorithm.Finally, the paper summarizes the research work, and points out the content and direction offuture research.
Table of contents
Summary 4-5
Abstract 5-10
first chapter 10-15
1.1 Background 10 <br / > 1.2 Research Status 10-12
1.2.1 BitTorrent protocol-related research 10-11
1.2.2 GPU -related research 11-12
1.2.3 BitTorrent protocol parallelization research 12
1.3 significance 12-13
1.4 research 13
1.5 thesis structure 13-14
1.6 Summary 14-15
chapter BitTorrent peer file-sharing system overview 15-26
2.1 BitTorrent network topology 15-20
2.1.1 P2P technology features 15-19
2.1.2 P2P topology 19-20
2.2 BitTorrent protocol terminology 20-21
2.3 BitTorrent protocol technology framework 21-23
2.4 BitTorrent protocol algorithm described 23-25 ??
2.4.1 file block selection policy 23-24
2.4.2 node selection strategy 24-25
2.5 Summary 25-26
Chapter III GPU and CUDA programming Overview 26-40
3.1 GPU general computing overview 26-27
3.2 CUDA Introduction and programming 27-31
3.2.1 unified Device Architecture CUDA 27-28
3.2.2 CUDA programming model 28-29
3.2.3 CUDA programming 29-31
3.2.4 CUDA programming code optimization strategy 31
3.3 CUDA software system 31-35
3.3.1 nvcc compiler 32-34
3.3.2 runtime API and driver API 34-35
3.3.3 CUDA library 35
3.4 CUDA memory model 35-38
3.5 CUDA of communication 38
3.6 Summary 38-40
Chapter IV GPU-based parallel accelerated BitTorrent protocol 40-50
4.1 CPU-based BitTorrent protocol implementation methods and processes 40-42
4.1.1 RUB algorithm based CPU implementations 40-41
4.1.2 LRF algorithm based CPU implementations 41-42
4.1.3 RUB algorithm based on the CPU and the LRF algorithm defects 42
4.2 GPU-based parallelization BitTorrent protocol implementation 42-43
4.3 GPU -based parallel RUB algorithm to accelerate implementation of methods and processes 43-46
4.3.1 global memory -based single-threaded single-node RUB algorithm 43-44
4.3.2 based on shared memory the single-threaded single node RUB algorithm 44-45
4.3.3 single- threaded file -based algorithm for global memory block RUB achieve 45-46
4.4 GPU -based parallel speedup the LRF algorithm methods and processes 46-49
4.4.1 global memory -based single-threaded single-node LRF algorithm 46-48
4.4.2 based global memory single- threaded file block LRF algorithm 48-49
4.5 Summary 49-50
Chapter parallel program test results and performance analysis 50-59 construct
5.1 GPU in parallel environment BitTorrent protocol 50-51
5.1.1 parallel development environment to build hardware and software environment 50
5.1.2 parallel interface development 50-51
5.2 -based application performance GPU parallel BitTorrent protocol analysis 51-57
5.2.1 RUB experimental results and analysis algorithms 51-55
5.2.2 LRF algorithm experimental results and analysis 55-57
5.3 summary 57-59
Chapter VI summary and Outlook 59-61
the main work of this paper 6.1 59-60
6.2 the next step 60-61
References 61-64
Thanks 64-65
pursue graduate studies during 65
Related dissertations
- Research and Implementation of FIR Filtering Parallel Algorithm Based on GPU
- Research on Boundary Face Method Base on GPU-acceleration
- Research of Image Registration and Mosaic Technology Based on GPU
- GPGPU-based Processing and Analysis of Large-scale Geographic Data
- The Implement of Independent Component Algorithm on the GPU
- Research on JPEG2000Image Compression Technology Based on GPU
- Research and implementation of lossless compression algorithm based on GPU
- Research of Granular Discrete Element’s Calculation Method Based on GPU
- Design and Implementation of Broadband Multichannel Calibration Algorithm Based on CUDA
- The Encoding Algorithm and GPU-Based Optimization in Image Compression of Digital Film
- GPU Acceleration of SPIHT Image Compression Algorithm
- Research on GPU-based Parallel Computing on Network Coding
- A Research on Parallel Computing of Optimal Power Flow in Cuda Platform
- Design of the Solver for Large Scale Linear Sparse Equations Based on CUDA
- Research of Efficient Computing Method on GPU-based LS-SVM
- A Study of GPU-based Parallel Learning to Rank
- Optimization of CUDA-based Parallel SOM Algorithm and Its Application
- Research on GPU General Computing on Text Classification
- Research on Text Detecting and Removal in Video Image Based on CUDA
- Rapid Implementation of the Small Infrared Target Detection Algorithm on CUDA