The Design and Implementation of the distributed network mutex

Author
PangFei
Advisor
YangGuoWei
School
University of Electronic Science and Technology
Major
Computer System Architecture
Classification
TP393 Computer network
Degree
Master's thesis
Year
2005
Downloads
90
Citations
1

Request the full text

Abstract

With the rapid development of computer network , distributed applications are becoming mainstream . Traditional centralized server system because of its inherent , such as a single point of failure , extended defects and poor increasingly restricting network services to diversified development , people are slowly turning to the use of a distributed server system . The many advantages of using a distributed system can be achieved , for example , the sharing of resources , improve system reliability , reduce the cost of doing business . In order to meet the many information services provider of high-performance , cost-effective , highly scalable distributed parallel server system requirements based on the Linux kernel , we have developed a distributed parallel file system with independent intellectual property rights on DPFS, . DPFS is a server - oriented distributed parallel file systems , distributed parallel server system, a typical application is the broadband video-on-demand (BOD) server system can be constructed on its basis . This paper first discusses several important issues faced in the design of the distributed file system , and then gives the the DPFS overall structure , and describes the features of each module . Finally, focus description based the network mutex the PQ-RW algorithm design and implementation, including the following main content : on DPFS, read and write consistency problem , the analysis and comparison of several typical mutual exclusion algorithm , PQ-RW algorithm description and achieve network mutex implementation, performance testing and analysis . The PQ-RW algorithm is based on the priority queue with reading and writing features distributed mutual exclusion algorithm . Based on the network mutex algorithm DPFS for exclusive access to critical resources in each server node , and the fundamental guarantee as to solve the consistency of the file read and write . Read-only access to the file - based system can greatly reduce the time overhead of concurrency control and message volume . At the same time adding a node failure , and the locking process failure detection mechanisms , fault-tolerant performance of the entire network mutex great improvements .

Table of contents

Summary 4-5 ABSTRACT 5-9 Chapter Introduction 9-11 Chapter II Distributed File System Overview 11-20 2.1 distributed file system design problems faced the 11-15 2.1.1 transparency 11-13 2.2.2 name resolution the 2.2.3 the Cache Management 13 13-14 2.2.4 high availability 14 2.2.5 scalability 14 -15 2.2 several famous Distributed File System to 2.2.1 an NFS 15-19 15-16 2.2.2 AFS 16 -17 2.2.3 Coda the 17-19 2.3 Chapter Summary 19-20 Chapter the DPFS overall structure of the 20-29 3.1 system to achieve the target 20-21 on DPFS, logical structure 3.2 the 21-25 3.2.1 interface layer 22-23 3.2. 2 logical layer 23-24 the 3.2.2.1 directory cache module 23 3.2.2.2 replica management module 23 3.2.2.3 copy of the table 23-24 3.2.2.4 log module 24 3.2.2.5 NFS management module 24 3.2.3 support layer 24 - 25 3.2.3.1 Node Manager module 24-25 3.2.3.2 distributed communication module nbsp the external interface 25 3.3; 25-28 < br /> 3.3.1 kernel function interface the 26-27 3.3.2 System The call interface the 3.3.3 user commands 27-28 28 <br / > 3.4 Chapter Summary 28-29 Chapter network mutex Design and Implementation 29-70 4.1 on DPFS, read and write consistency 29 - 31 4.2 several typical mutual exclusion algorithm 31-39 4.2.1 centralized algorithm 31-33 4.2.1.1 Algorithms 31-32 4.2.1.2 algorithm evaluation 32-33 4.2.2 Token Ring algorithm 33-34 4.2.2.1 algorithm principle 33-34 4.2.2.2 algorithm evaluation 34 4.2.3 Lamport algorithm the 34-36 4.2.3.1 Algorithms 34-36 < br /> 4.2.3.2 algorithm evaluation 36 4.2.4 RA algorithm 36-38 4.2.4.1 Algorithms 37-38 4.3 .4.2 algorithm evaluation 38 4.2.5 three types of algorithm comparison 38-39 4.3 PQ-RW algorithm 39-49 4.3. 1 algorithm proposed 39 4.3.2 read-write lock strategy 39-40 4.3.3 priority rules 40-41 4.3. the 4 priority determination 41-42 4.3.5 algorithm 42-49 4.3.5.1 defined 42-43 4.3.5.2 algorithm description 43-48 4.3.5.3 process state transitions 48-49 4.3.5.4 Algorithm comparison and evaluation 49 4.4 based the network mutex the PQ-RW algorithm to achieve 49-61 4.4.1 important data structure definitions 49-54 4.4.2 important function logic 54-59 4.4.3 external interface functions defined 59-60 4.4.4 plus / unlock primitives 60-61 4.5 exception handling 61-63 4.6 performance test 63-65 4.7 Performance Analysis 65-69 4.7.1 message complexity 65-67 4.7.2 node failure fault tolerance 67-68 4.7.3 communication reliability requirements 68-69 4.8 Chapter Summary 69-70 Chapter V Conclusion to References 70-71 71-73 Acknowledgements the biographical notes 73-74 74

Related dissertations

  1. On the Theories and Methods of Uncertainty Fuzzy Judgment Matrix
  2. Study on Methods for Multiple Attribute Decision Making under Interval Uncertainty
  3. Performance Analysis of Threshold Priority’s System and Study of Optimization Question
  4. Study of Group Decision Making Theory and Methods Based on Fuzzy Number Preference Relations with Consistency
    LiuFang ·South China University of Technology ·2013 ·Doctoral dissertation
  5. Research on Entrance Path Design for Scenic Spots
  6. Enterprise the Highest Political Level and the Execution Level Cultural Cognitive Consistency Research
    ZuoQingCheng ·Guangxi University ·2013 ·Master's thesis
  7. Research on Road and Bus of Urban-Rural in the Yangtze River Delta Region
  8. Analysis of the Priority of Rural Residential Land Consolidation in Houma City
    WangLiQin ·Chinese Geology University (Beijing) ·2013 ·Master's thesis
  9. Research on Consistency of EKF-SLAM for Indoor Mobile Robot
  10. The Research of Concurrent Priority Control and Authorization Based on Usage Control
  11. Study on Spline Curves and Surfaces in CAD/CAE
    XiongYunYang ·Zhejiang University ·2014 ·Master's thesis
  12. Research on Real-time Rendering of Multi-resolution Terrain Features
  13. Study of partial differential equations and the image restoration algorithm based on texture synthesis
    TianSuYun ·Shaanxi Normal University ·2013 ·Master's thesis
  14. Research on Anti-collision Algorithm in RFID System
    TianLei ·Nanchang University of Aeronautics and ·2013 ·Master's thesis
  15. Journal Design and Implementation of Cappella Distributed File System
  16. Research on Extension of Description Logic ALCN and ALCQ
    YinJun ·Central South University ·2013 ·Master's thesis
  17. The Design and Implementation of a Distributed Database Project Management System for Communications Engineering Design
    SuHanHui ·South China University of Technology ·2013 ·Master's thesis
  18. Design of a Highly Reliable Financial Transaction Matching System with High Performance
    SunChangZuo ·Zhejiang University ·2014 ·Master's thesis
  19. Research of Hadoop Job Scheduling Based on Priority and Reliability in Cloud Computing Environment
    GuLianJun ·Hunan University ·2013 ·Master's thesis
  20. Analysis and Application of Interactive Behavior Based on Behavioral Profiles of Petri Net