Research and Improvement of BitTorrent’s Kernel Arithmetics

Author
LiuHongLiang
Advisor
LiWeiSheng
School
Beijing Jiaotong University
Major
Applied Computer Technology
Classification
TP393.093 File transfer program (FTP)
Degree
Master's thesis
Year
2008
Downloads
361
Citations
7

Request the full text

Abstract

BitTorrent networks are mostly conducted in the real environment or simulated environment testing research , from theoretical analysis system core algorithm to study why this strategy , the use of these strategies may cause system performance What impact , and whether these strategies there are inadequacies in such issues , not only can provide the theoretical basis of the existing BT network , but also can guide us how to improve the existing network . Therefore important theoretical and practical significance . The main content of this paper is as follows : 1 -depth analysis of a the BitTorrent network of related agreement , described in detail and the main function of the BitTorrent client and server-side class are analyzed in detail , focusing on the operational mechanism of the BitTorrent core algorithm . . Tracker algorithm and fragment selection algorithm from a different perspective , mathematical modeling , and Matlab simulation model , and derive the theoretical basis of the various strategies used in the above algorithm , and identify Tracker algorithm inadequacies . 3. Test environment , test the impact of a different strategy for the service performance of the system , the test results are consistent with the above theoretical analysis results , indicating the correctness of the results of the theoretical analysis . 4 due to the impact of the number of fragments of their own , when the node is in the download is about to complete the stage , the probability of new fragments from the neighbor will be reduced , so the download speed will be reduced Node simulation test results also show that the reality BitTorrent the network does exist such a problem. Improved response to these deficiencies Tracker algorithm , and the the original Tracker algorithm and improved algorithm simulation test , the test results show that the improved Tracker algorithm to further improve the service performance of the system . This article by two core algorithms in BitTorrent : the Tracker algorithm and fragment selection algorithm theory analysis provides a theoretical basis for the algorithm strategy discovered Tracker algorithm inadequacies found fragment selection algorithm \mode \

Table of contents

Acknowledgements 5-6 summary 6-7 ABSTRACT 7-10 1 Introduction 10-15 1.1 Research purpose and significance 10 1.2 Research 10-13 organizational structure 1.3 papers 13-15 2 BitTorrent network overview and protocol analysis 15-26 2.1 BitTorrent network structure and principle 15-16 2.2 BitTorrent seed file analysis 16-20 2.3 the Peer Tracker server communication protocol between 20-22 the communication protocol between the 2.4 of the Peer and Peer 22-26 2.4.1 node status 22-23 2.4.2 data block structure 23 2.4.3 node messages 23-26 3 BitTorrent system main function analysis and algorithm overview 26-37 3.1 BitTorrent server-side function class 26-27 3.2 BitTorrent client functionality class 27-29 3.3 Overview of the main algorithm 29-37 3.3.1 Tracker algorithm 29-30 3.3.2 fragment selection algorithm 30-33 3.3.3 Peer algorithms (node ??selection algorithm) 33-35 3.3.4 Space allocation algorithm 35-37 the Tracker algorithm analysis and improvement 37-52 4.1 new fragment of availability analysis 37-41 the the 4.1.1 shared files size impact analysis of the Tracker algorithm performance 38-40 the fragment number 4.1.2 download node has Tracker algorithm performance impact analysis 40-41 4.2 Tracker Algorithm 41-43 the the 4.2.1 original Tracker algorithm insufficient at 41-42 4.2.2 Improved basic idea of ??the algorithm Tracker 42 4.2.3 improved Tracker algorithm flowchart 42-43 4.3 Improved Tracker algorithm implementation 43-47 the 4.3.1 the Peer Tracker server communication protocol extensions 43-44 4.3.2 original implementation class and function to modify 44-45 4.3.3 Improved Tracker algorithm code analysis 45-47 4.4 simulation experiments and results analysis 47-50 4.4.1 experimental environment 47-48 4.4.2 experimental data acquisition and processing methods 48-49 4.4.3 Experimental results and analysis 49-50 the the 4.5 seeds node authentication mechanism analysis 50-52 5 fragment selection algorithm analysis and performance testing 52-62 5.1 fragment distribution uniformity impact on system performance analysis 52-56 5.1.1 fragment distribution uniformity of the impact on system performance model 52-54 5.1.2 model solution and analysis 54-56 5.2 at least fragments priority strategy impact on system performance analysis 56-58 5.2.1 least fragments priority strategy after system performance analysis 56-58 5.2.2 optimal strategy for solving the system performance 58 5.3 strict priority strategy and random strategy performance analysis 58-59 5.4 final stage of mode analysis of the impact on system performance and its causes 59 5.5 performance test results 59-62 5.5.1 test environment 60 5.5.2 Data acquisition and processing methods 60 5.5.3 test results and analysis 60-62 6 summarizes 62-65 6.1 summarizes 62-63 6.2 further work 63-65 the References 65-67 of resume The 67-69 the Dissertation datasets 69

Related dissertations

  1. Research and Implementation of P2P based VoD system
  2. Research on the Optimization of the System of Urban-rural Integrated Residents Social Pension Insurance of Laiwu City
    HaoXiaoJuan ·Shandong Agricultural University ·2013 ·Master's thesis
  3. Optimization Study of a Insurance Company Ningxia Branch’s Business Structure
    SunZuo ·Ningxia University ·2014 ·Master's thesis
  4. The Optimization of Fund Contract in the Perspective of Governance Structure
    YaoZhuangLong ·Central South University ·2013 ·Master's thesis
  5. The Personal Loans Centre Process Optimization Study of Ccb Shaanxi Branch
    LiuMing ·Northwestern University ·2012 ·Master's thesis
  6. Research on Optimization of commercial bank loans business processes Chinese micro enterprise
    ZhouXiaoDan ·Inner Mongolia University ·2013 ·Master's thesis
  7. Optimization of Commercial Bank Credit Rating Index System for SMEs
  8. An Optimization Study on Proscenium Support Facilities of Commercial Banks on Queuing Theory
    ChenMei ·Harbin Institute of Technology ·2012 ·Master's thesis
  9. The Credit Process Optimization of A Bank
    WangHe ·Liaoning University ·2012 ·Master's thesis
  10. The branches of commercial banks, credit risk management process - a case study of A bank D branch cases
    JinYanXin ·Yunnan University of Finance ·2013 ·Master's thesis
  11. The Research of Mode of Corporate Governance of China’s Trust Industry Defect and Optimization
    HuZuo ·East China Normal University ·2013 ·Master's thesis
  12. Under the New Situation of the International Monetary System Unbalance Influence on China’s Foreign Exchange Reserves and Its Optimization
    LinLeTing ·Dongbei University of Finance ·2013 ·Master's thesis
  13. The Study on Constructing Harmony in Urban Communities
    ZhaoZuoZuo ·Yanshan University ·2012 ·Master's thesis
  14. An Investigation of the Management System of Yancheng Local Tax Inspection
    YanXueJun ·Suzhou University ·2012 ·Master's thesis
  15. Based on the Subjective Well-being to Optimize the China’s Rural Public Expenditure
  16. Research on China’s Tax Cost and Optimization
  17. Analysis on Tax Scale Optimization of Liaoning Province
    LuZuoZuo ·Shenyang University ·2013 ·Master's thesis
  18. Study on the optimization of tax system of China's current stock market
    WangBing ·Capital University of Economics ·2014 ·Master's thesis
  19. The Optimal Decision of Slotting Fee and Percentage of Revenue under the Consignment Model
  20. Developing Strategy for Service Industry of the Nankai District Tianjin
    MaoZuoJin ·Tianjin University ·2012 ·Master's thesis