The Design and Implementation of the Parallel C Language Based on the Techniques of Multithread and RPC

Author
ZouXiaoHui
Advisor
XuGaoChao
School
Jilin University
Major
Computer System Architecture
Classification
TP311.11 Programming method
Degree
Master's thesis
Year
2005
Downloads
293
Citations
2

Request the full text

Abstract

Parallel software and parallel computing technology is a research hotspot of the computer science community to achieve parallel computing , distributed systems is one of the key research direction . In the C language based on a new parallel programming language , parallel C language ; design and pre- compiler to which parallel C language application program conversion to ANSI C language , the application needs parallel processing tasks assigned to nodes in the distributed system up parallel execution . In this paper, multi-threading and remote procedure call ( RPC ) technology combined with concurrent multi-threaded client task the RPC implementation tasks in remote service nodes distributed and parallel processing . On the client create a thread for each task parallel processing , each thread to launch a remote procedure call to the remote node to the task for processing , and returns the result to the client . Distributed computing load , parallel processing tasks, and full use of the system so as to achieve the processor resources to alleviate the burden of the client , the purpose of improve the efficiency of the system .

Table of contents

The first chapter 7-11 1.1 parallel computing 7-8 1.1.1 What is a parallel computing 7 1.1.2 Parallel Computing function 7 1.1.3 common parallel computer system 7-8 1.1.4 Parallel computing software environment and situation 8 1.1. 5 parallel computing trends 8 1.2 parallel programming methods 8-9 1.2.1 Implicit Parallel Programming 9 1.2. two explicit parallel programming 9 1.3 This work 9-10 1.4 The paper is structured 10-11 Chapter In this paper, The key technical presentations 11-26 2.1 multithreading 11-17 2.1.1 basic concept of threads 11-12 2.1.2 thread creation and exit 12-13 2.1.3 mutual exclusion between threads and related function calls 13-14 2.1.4 thread synchronization and related function calls 14-16 2.1.5 thread-safety and related function calls 16-17 2.2 Remote Procedure Call (RPC) 17-25 2.2 .1 RPC principle 17-18 2.2.2 RPC implementation mechanism 18-22 2.2.3 RPC design principles 22 2.2.4 Build an RPC applications with Rpcgen 22-25 2.3 This chapter summarizes 25-26 Chapter III Parallel C language design ideas 26-33 < br /> 3.1 design goals 26 3.2 Parallel C language design 26-27 3.3 parallel implementation principle 27-29 3.3.1 Parallel C language program to convert ANSI C language program 27-28 3.3.2 RPC-based multithreading and distributed parallel implementation 28-29 3.4 conversion process The file structure of RPC key code design 29-32 3.4.1 RPC documentation for the key code 29-30 3.4.2 RPC client main key customers code 30-31 3.4.3 RPC server-side waiter program key code 31-32 3.5 This chapter summarizes 32-33 fourth Zhang Parallel C language implementation 33-45 4.1 Parallel C language language definition 33 4.2 Parallel C language programming model 33-37 <br / > 4.3 Parallel C language preprocessing 37-43 4.3.1 Pretreatment thought 38 4.3.2 pretreatment processes 38-40 <br / > 4.3.3 pre-generated file template 40-43 4.4 on parallel computing in a distributed system to achieve 43-44 4.4.1 local node (client) achieve 44 4.4.2 remote node (server side) to achieve 44 4.5 This chapter summarizes 44-45 Performance Evaluation and Analysis Chapter 45-47 5.1 hardware and software platforms 45 5.2 Test Design and Analysis of Results 45-47 Chapter Summary 47 -48 References 48-50 Summary 50-53 ABSTRACT 53-57 Thanks 57 - 58 instructor and author 58-59

Related dissertations

  1. The border gateway protocol based on Linux implementation and parallel reconstruction
  2. The Design and Implementation of an Augmented RPC Mechanism in IPv6 Distributed Router
  3. Object - oriented parallel technology
    HeYanLi ·Zhengzhou University ·2002 ·Master's thesis
  4. Research on Data Acquisition of3D Laser Point Scanner and the Algorithm of Hole-repairing and Smoothing
    FanMinJie ·Yangzhou University ·2013 ·Master's thesis
  5. Formation Control of Mobile Robots and Its Application in the Odor Source Tracking
    WeiJianLong ·Tianjin University ·2012 ·Master's thesis
  6. Rough Set Attribute Reduction Algorithm Based on GA and MapPreduce
    FuZuoNa ·Anhui University ·2014 ·Master's thesis
  7. Optimization of CUDA-based Parallel SOM Algorithm and Its Application
    ZhangJinChao ·Harbin Institute of Technology ·2012 ·Master's thesis
  8. Research on Subtree Results Generation of XML Keyword Search
    WangBo ·Yanshan University ·2013 ·Master's thesis
  9. The Functional Improvement and Performance Optimization of Short Track Speed Skating Technical and Tactical Simulation System
    WangQingZuo ·Harbin Institute of Technology ·2012 ·Master's thesis
  10. A Scalable Implementation of Adaptive Directional Lifting Wavelet Based Image Decomposition on CUDA
  11. Parallel distributed processing and application in rendering based on
  12. Research on Large-scale Unstructured Data Processing of Index and Visualization
    CaoLei ·Tianjin University ·2012 ·Master's thesis
  13. Research on Distributed Data Mining System Based on Dynamic Agent Technology
    ZhouKai ·Hebei University of Engineering ·2013 ·Master's thesis
  14. Operation Research and Implement of String Type Data in Column Database
  15. Research and Implementation of Checkpoint System Based on Embeded Multi-core Environment
  16. Design and Implementation of Rehabilitation Detection and Training System
  17. A Task Scheduling System Model Based on Parallel Resource Attribute Selection
  18. Design and Implementation of Vectorized FFTs on the YHFT-Matrix
  19. Design and Implementation of Office Automation System Based on B/S
  20. Research on Message Log Recovery Algorithm Based on Message Reordering and Message Number Check
    WangXiaoQiang ·Shandong University ·2013 ·Master's thesis