Research on Key Issues in Large Scale Clustered File System Lustre
- Author
- QianYingJin
- Advisor
- JinShiYao
- School
- National University of Defense Science and Technology
- Major
- Computer Science and Technology
- Classification
- TP338 A variety of electronic digital computer
- Degree
- Doctoral dissertation
- Year
- 2011
- Downloads
- 87
- Citations
- 1
- Lustre
- HPC
- I/O Schedule
- QoS
- Scalability
- Congestion control
- Failure detection
- Distributed Lock
- Concurrent control
- Recovery
- high availability
Abstract
The cluster architecture has been matured as the mainstream architecture for high-performance computers. Clustered file system is a key technology to easy the I/O bottleneck problem of HPC clusters. With the continuing development of HPC technologies, the storage demand for HPC applications keeps increasing. Lustre is the leading clustered file system, and it has become the standard to construct HPC storage systems with largest market share in HPC. Lustre effectively scales to support systems with tens of thousands of compute nodes and has proved aggregative I/O performance and scalability. As HPC systems increase node counts to increase overall performance, future HPC clusters will become extreme large. This brings serious challenges for Lustre especially in scalability, I/O performance and availability. The work in this thesis mainly focuses on these problems. The crucial contributions are as follows.(1) According to the parallel I/O access characteristic of large scale applications, this thesis presents a novel server-side network request scheduler framework for a large-scale, LustreTM storage cluster system. Based on it, it proposes an Object Based Round Robin (OBRR) scheduling algorithm that reorders the execution of I/O requests, presenting a workload to the backend storage that can be optimized more easily. In the meanwhile, to avoid starvation and meet the requirement of response time for I/O requests with different urgencies, it proposes a novel two-level deadline setting strategy - a dynamic deadline and a mandatory deadline. Via a series of experiments using the Lustre simulator scaling up to thousands of nodes, it demonstrates that the I/O performance increases as high as 40% by using OBRR algorithm and the two-level deadline setting strategy can maintain fairness, avoid starvation and ensures the response time requirement for I/Os with different urgencies.(2) Similar to network congestion, it will also cause I/O congestion problem when the storage cluster scales up to extreme large size. This thesis proposes a dynamic I/O congestion control mechanism to support the incoming exascale HPC systems. Under its control, the clients are allowed to issue more concurrent I/O requests to the server, which optimizes the utilization of the network/server resources and improves the I/O throughput, when the server is under light load; on the other hand, it can throttle the clients’I/O and limit the number of I/O requests queued on the server to control the I/O latency and avoid congestive collapse, when the server is under overload. The results from series of evaluation experiments in Tianhe-1 super computer demonstrate the effectiveness of our I/O congestion control mechanism. It prevents the occurrence of congestive collapse; on this premise it performs a best-effort approach and maximizes the I/O throughput for the scalable Lustre file system.(3) To solve the problem of the fixed timeout mechanism emerging in large scale HPC cluster systems, this thesis proposes an adaptive scalable RPC timeout mechanism that considers network conditions, server loads, scalability and performance. The mechanism includes two strategies: adaptive timeout strategy and early reply strategy. In the adaptive timeout strategy the timeout value set by clients is adapted and adjusted in a dynamic fashion according to the network conditions and server workload to accommodate the environment changes, reducing performance degradation of the entire system caused by ineffective timeouts; To distinguish the server congestion from a failure of the server or network, and to resolve the nested timeout problem, it proposes an early reply strategy: the server notifies the client to wait for an extra amount of time for a response to an RPC that is about to time out by a light-weight early reply message passing. It further avoids the occurrences of unnecessary timeouts and enhances the system responsiveness. A series of simulation experiments demonstrate that: compared with fixed timeout mechanism, the RPC timeout rate drops from 76% to 13% using the adaptive timeout strategy, and it even drops to 0% combined with the early reply strategy; in RPC-based large scale clusters, existing mechanisms for the RPC failure detection, such as client-driven polling and probing, generate considerable amount of unnecessary network traffic and have scalability problem, while our mechanism generates much less extra network traffic and it is a more scalable failure detection mechanism for RPC models with timeouts .(4) This thesis researches Lustre distributed lock manager technology. First, it analyzes concurrent control mechanism for file access, and client-side dentry cache and data writeback cache based on the lock callback; Second, it researches the metadata operations based on intent locks, sub tree lock mechanism and file size acquiring algorithm based on extent locks; At last, it proposes adaptive I/O locking strategy, optimized conflict check strategy for extent locks based on interval tree and lock discarding strategy, and these proposed strategies further improve Lustre’s I/O performance and scalability of Lustre’s lock service.(5) This thesis researches transactional metadata update algorithm and recovery mechanism for the stateful Lustre. Lustre allows the server to return the result of metadata transaction to the client when finished the memory update, and the result is visible in the whole namespace. By this way, it can provide good metadata performance, but it will cause cascade abort problem during reboot recovery (or failover), making recovery transparent impossible. Lustre reboot recovery algorithm needs that all clients reconnect to the server in a special recovery time window, and then clients resend uncommitted transactional requests and the server replays these requests strictly in the transaction number order. The recovery conditions are too strict. To improve Lustre’s recoverability, this thesis proposes version based recovery and commit on share algorithms. They extend Lustre’s metadata update algorithm and recovery algorithm respectively and allow clients rejoin in the cluster by recovery under a more relaxed condition. The version based recovery algorithm adds version check during recovery, and the transactions with version match are allowed to replay. The commit on share algorithm forces to commit the inter-client dependent transaction to disk once detect, to avoid reading or writing the data of uncommitted transactions. It eliminates the inter-client recovery dependencies and clients are allowed to recovery independently. Experiment evaluation demonstrates that the commit on share algorithm has effect on performance due to mandatory disk commits when detect inter-client dependencies. However, in a very large scale Lustre cluster, commit on share functionality is usually enabled to provide high reliable, high available service.
Table of contents
Abstract 11-13
Abstract 13-16
first chapter 16-28
1.1 Background 16-18 < br /> 1.2 typical of HPC-oriented cluster file system 18-22
1.2.1 of PVFS 18-19
1.2.2 CXFS 19-20
1.2.3 General Parallel File System 20
1.2.4 Panasas, 20-21
1.3 This work 1.2.5 the Lustre 21-22
22-26
1.4 The paper is organized 26-28
the second chapter of the Lustre architecture and technical analysis 28-38
2.1 the Lustre system structure 28-31
2.2 Lustre network communications 31-32
2.3 the Lustre availability 32-33
2.4 the Lustre simulator 33 - 36
2.5 Summary 36-38
the third chapter of a novel scheduler for HPC Storage Cluster I / O requests 38-50
3.1 related work 38-39
3.2 network request scheduler framework 39-40
3.3 object-based network request scheduling algorithm 40-45
3.3.1 The survey analysis 40-42
3.3.2 object-based round robin scheduling algorithm (OBRR) 42-43
3.3.3 The Deadline set strategies 43 -45
3.4 trials assessed 45-48
3.5 Summary 48-50
Chapter Lustre dynamic I / O congestion control mechanisms 50-70
4.1 the Lustre scalable I / O model 50-53
4.2 the Lustre of the congestion problem and its causes 53-54
4.3 Dynamic I / O congestion control mechanism 54-59
4.3.1 I / O model analysis 55
4.3.2 Distributed I / O congestion control algorithm 55 -57
4.3.3 RCC allocation algorithm 57-59
4.4 test assessment 59-66
4.5 work 66-68 <br / > 4.6 in this chapter Summary 68-70
Chapter adaptive and scalable large-scale cluster-based RPC timeout mechanism 70-90
5.1 work 70-72
5.2 Observation and Analysis 72-74
5.3 Adaptive timeout strategy 74-79
5.3.1 sliding window algorithm 75-76
5.3.2 STW adaptive timeout algorithm 76-77
5.3.3 STW-based service time estimation algorithm 77-79
5.4 as soon as possible strategies 79-81 5.5 trials assessed
81-88
5.5.1 test set 81-82
5.5.2 assessment of the adaptive timeout strategy 82-86
5.5.3 early recovery strategy assessment 86-88
5.6 Summary 88-90 <br / Chapter VI Lustre Distributed Lock Manager 90-112
6.1 Introduction 90-91
6.2 the Lustre distributed lock manager model 91-97
6.2.1 DLM model, the basic concepts 91-93
6.2.2 lock request processing and management of the lock queue 93-94
6.2.3 image lock namespace 94-95
6.2.4 lock callback 95-96
6.2.5 intent lock 96
6.2.6 lock acquisition and release of 96-97
6.3 file data lock service 97-102
6.3.1 inodes is placeholder lock 97-100
6.3.2 Based on the data manipulation of the intent to lock . 100-101
6.3.3 sub-tree lock.; 101-102,
6.4 file I / O lock service 102 -108
6.4.1 range lock 103-104
6.4.2 based on the file size of the lock callback to obtain 104-106
6.4.3 Adaptive / O lock Strategy 106-107
6.4.4 range lock conflict detection performance optimization 107-108
6.5 deadlock avoidance and lock phase-out strategy 108 - 110
6.6 Summary 110-112
Chapter VII of this chapter and recovery mechanisms transaction-based metadata updates 112-142
7.1 Background 112 -119
7.1.1 data updates and file system consistency 112-113
7.1.2 stand-alone file system metadata updates and recovery technology 113-115 < br /> 7.1.3 Distributed File System metadata update and restore 115-116
7.1.4 stateful and stateless services agreement 116-117
7.1. 5 Distributed File System service continuity 117-119
7.2 ldiskfs log working mechanism 119-122
7.3 the Lustre-based transaction meta-data updates and recovery mechanisms 122-133
7.3.1 Terms and definitions 122-124
7.3.2 the Lustre metadata update transaction-based 124-126
7.3.3 the Lustre recovery mechanism 126-132
7.3.4 Lustre transaction of recoverability 132-133
7.4-based version of the transaction recovery 133-136
134 7.4.1 Terms and definitions
7.4.2 version-based recovery algorithm 134-136
7.4.3 affairs the gap is processing 136 <br / 7.5 shared submitted 136-141
7.5.1 shared submitted to the algorithm to achieve 137-139
7.5.2 Performance Evaluation 139-141
7.6 in this chapter Summary 141-142
Chapter 8 Conclusion and outlook 142-146
8.1 work summary 142-144
8.2 Research Prospects 144-146
thank 146-148
Reference 148-158
of academic achievements obtained during the study period 158-159
participation during the PhD research projects 159
Related dissertations
- A Research of Router Queueing Algorithm for Multi-service Bearer Network
- Research on Congestion Control Mechanism Over Heterogeneous Networks
- Research and Optimization Design of Mobile Video Surveillance Application Based QoS Technologies
- Studies on Adaptive Video Quality Control Based on IP Network
- Research on Key Technoloties of Quality of Service for Streaming Media Transmission in Wireless Environment
- The Study and Implementation of Multicast Oriented QoS Mechanisms for High Performance Routers
- Design of Parallel Systems for Stateful Applications on Clusters
- Research on Techniques of Scalable Computer Network Management System
- Research on Streaming Media Transmission Technology in Wireless Environment
- High availability server aggregation system analysis and design methods
- Researches on Cross-Layer Optimization in Wireless Communication Systems
- Research on Scalable Cluster Storage System Based on Object Storage Architecture
- The Research on QoS Guarantee Mechanisms of Wireless Networks Based on Intelligent Control Theory
- Research on Scalable Routing Strategies in Mobile Multi-Hop Wireless Networks
- The Study and Implementation of Scalable Network Services
- Congestion Control and Scalable Multicast Routing in IP Networks
- The Research and Implementation on Disaster Tolerant of Mobile Intelligent Service Control Point
- The Study of High Availability of Network Servers Cluster System and Management Software Realization
- Research and Application of high-performance PC cluster
- Design and Implementation of Linux Clustered Video Server