Extended TAGS task allocation algorithm implementation on the PC Cluster

Author
LiuYunBen
Advisor
YangGuoWei
School
University of Electronic Science and Technology
Major
Applied Computer Technology
Classification
TP338 A variety of electronic digital computer
Degree
Master's thesis
Year
2005
Downloads
47
Citations
0

Request the full text

Abstract

With the wide spread of computers’applications and the improvement of technology, people realized that the processing ability of a single processor is quite limited. For the single processor, as one main part of a single computer, it also makes the processing ability limited and makes it far away from satisfying computing requirements. As a result, people naturally think of a way of using several computers to construct a multi-computer system. But how do the computers in the constructed multi-computer system cooperate with one another? It is a problem concerned with dividing a job into tasks that can run separately and assigning the tasks to computers. Central queue algorithm, task-assignment-by-guessing-size algorithm (TAGS) and extended TAGS algorithm are of the algorithms proposed to deal with the problem of assigning tasks mentioned above. This article describes in details the central queue algorithm, TAGS algorithm and extended TAGS algorithm. The latter one is based on the former two algorithms, absorbs the advantage of the two and have better performance. The main contribution of this article is that it elaborates the implementation of extended TAGS algorithm in Redhat Linux operating system with kernel version of 2.4.18, and designed a task flow, in which the length of the tasks follows the heavy-tailed distribution, to input into the resulted system to test and validate its design, and finally measured the mean slowdown of the system. As for the TAGS and extended TAGS algorithm, the theoretical calculation of their performance is based on the assumption that the arrival process of the task sent to one server is Poisson arrival process. The actual process is not Poisson but hard to describe in mathematics. The work done by this article gives convenience to the using in practical system of the central queue, TAGS and extended TAGS algorithm, the performance comparison of those algorithms based on experiments and further study of those algorithms and other algorithms concerned.

Table of contents

Summary 4-5 ABSTRACT 5-6 directory 6-9 Chapter 1 Introduction 9-12 <br / > 1.1 subject background 9 1.2 the author's major 9-10 1.3 chapters arranged 10-12 Chapter 2 Background 12-21 2.1 terminology 12-13 2.2 model 13-18 2.2.1 scope 13-16 <br / > 2.2.1.1 multi-component 13-14 2.2.1.2 multiple computers 14-15 2.2.1.3 multi-robot 15 2.2.1.4 multiplayer 15-16 2.2.2 isomorphic with heterogeneous 16-17 2.2.3 of centralized and distributed 17 2.2.4 static and dynamic 17 2.2.5 constraints 17-18 2.3 goals 18 2.4 performance evaluation criteria 18-20 2.4.1 turnaround time 18-19 2.4.2 throughput 19 2.4.3 delay than 19 2.4. 4 ways to improve the performance of the task execution 19-20 2.5 Summary 20-21 Chapter III extended the length of task allocation algorithm based on speculation 21-39 3.1 system model 21-27 3.1.1 the basic model 21-22 3.1.2 of centralized and distributed 22 3.1 .3 homogeneous and heterogeneous 22 3.1.4 long-tailed distribution 22-25 3.1.5 task inalienable 25 3.1. 6 fairness 25-26 3.1.7 performance evaluation criteria 26-27 3.1.8 other features 27 3.2 algorithms 27-35 3.2.1 polling method and random method 28-29 3.2.2 centralized queue law 29-31 3.2.3 TAGS algorithm 31-34 3.2.4 performance Comparison 34 3.2.5 TAGS algorithm scalability limitations 34-35 3.3 a class TAGS extended algorithm 35-38 3.3.1 brief analysis algorithm 35-36 3.3.2 performance computing 36-38 3.4 summary 38-39 Chapter IV expansion TAGS task allocation algorithm implementation : EXTAGS system Analysis and Design 39-68 4.1 computer cluster 39-40 <br / > 4.2 implementation platform and implementation choices integral part of 40-42 4.3 EXTAGS system and functional requirements of each part 42-45 4.3.1 ExTags system components part 42-43 component 4.3.2 system functional requirements 43-45 4.3.2.1 Dispatcher functional requirements 43-44 4.3.2.2 Server1 functional requirements 44 4.3.2.3 Serveri and ServeriLast functional requirements background knowledge 44-45 4.4 EXTAGS system design 45-54 4.4.1 Linux clock 45-47 4.4.2 multithreaded implementations with exclusive access to the queue : pthread 47-49 4.4.3 allows task consumes more CPU time : sched_yield 49-50 process monitoring tasks running 4.4.4 : Linux signal 50-52 4.4.5 task process has run time to get :/ proc filesystem 52-54 4.5 EXTAGS system design logical structure 54-67 4.5.1 system 54-56 < br /> 4.5.2 Dispatcher design 56-60 4.5.2.1 client and Dispatcher communication protocol 56-57 4.5.2.2 Dispatcher of the communication protocol Server1 57-58 4.5.2.3 Dispatcher design 58-60 4.5.3 Server1 design 60-63 4.5.4 Serveri and ServeriLast design 63-65 4.5.5 ExTags other parts of the system design 65-67 4.5.5.1 Dispatcher in daemonOfJiffies design 65-66 design nbsp 4.5.5.2 queue ; 66-67 4.6 Summary 67-68 Chapter V system testing and experimental 68-77 <br / > 5.1 system test 68-72 5.1.1 test environment 68-69 5.1.2 test content and results 69-72 <br / > 5.2 experiments and results analysis 72-76 5.2.1 experimental data generated 72-73 5.2.2 experimental content and results 73-76 < br /> 5.3 Summary 76-77 Chapter VI Conclusion contribute 77-79 6.1 article 77 6.2 future work 77-79 References 79-80 Thanks 80-81 CVs and published academic papers 81

Related dissertations

  1. The Design and Implementation of a Network Communication Game on Linux
    PangTianCong ·Beijing Jiaotong University ·2014 ·Master's thesis
  2. Design and Implementation of Parallel Ant Colony Optimization Based on Linux Cluster
    ZhangZhiMing ·Chang'an University ·2012 ·Master's thesis
  3. On the Development of Service Industry in Gansu from the Cluster Perspective
    JinMei ·Lanzhou University ·2013 ·Doctoral dissertation
  4. Study on Tourism Industry Cluster of Hainan
  5. The Study of the Regional Tourism Competitiveness Based on Industrial Clustering Effect
    GuoYanGe ·Northwest Normal University ·2013 ·Master's thesis
  6. Study on the Linkage Analysis for17Districts of Hubei Province’s Tourism
    JiangWeiZheng ·Central China Normal University ·2014 ·Master's thesis
  7. Cluster Entrepreneurship:the Influence Mechanisms of the Technology and Market Gradient Distance
    ZuoJing ·Zhejiang University ·2014 ·Master's thesis
  8. Global value chain Chongqing Motorcycle Industrial Cluster Upgrading Research
  9. Henan Medical Business Circle District Industrial Cluster Development Strategy Research
  10. The Study of Precise Large Deviations of Risk Model with Dependent Heavy-tailed Claims
    WangYing ·Northwest Normal University ·2013 ·Master's thesis
  11. Large Deviations and Ruin Probabilities for the Risk Model with Dependent Claims
    CuiYanJun ·Northwest Normal University ·2013 ·Master's thesis
  12. Forest Futures Option Pricing and Risk Analysis of the Forest Enterprise
    TaoYuanFeng ·Harbin Normal University ·2013 ·Master's thesis
  13. The Analysis of Region Feature and Interacting about Chinese Urbanization and Modern Service Industry
    JiangChao ·Dongbei University of Finance ·2013 ·Master's thesis
  14. Several Studies on Risk Management Based on Dependent Structure and Heavy-Tailed Risk
  15. Research on Remote Sensing High-performance Computing Strategy and Preliminary Implementation of Platform Based on Cluster
    MaYong ·Chinese Academy of Forestry ·2013 ·Master's thesis
  16. Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
    PanZuoZuo ·Dalian Polytechnic University ·2010 ·Master's thesis
  17. The Design and Development of Unattended Remote Measurement and Monitoring System in Steel Business
    HanXiao ·Yanshan University ·2012 ·Master's thesis
  18. Research and Design of Embedded Building Security System
    YangChen ·Liaoning Normal University ·2012 ·Master's thesis
  19. The Softeware Design and Implement on Integrated Intelligent Camera Platform Based on Davinci DM6446
  20. The Research of Household Remote Monitoring Based on Embedded Web Server