The Research on I/O Requests Scheduling Algorithm Based on Service-aware Machenism
- Author
- LiYaFang
- Advisor
- TanHuaiLiang
- School
- Hunan University
- Major
- Applied Computer Technology
- Classification
- TP333 Memory
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 8
- Citations
- 0
Abstract
I/O scheduling scheme has a crucial impact on disk performance. The traditionaldisk scheduling schemes improve disk I/O bandwidth utilization by optimizing theseek time, but they don’t take the individual response time into consideration, so thatthey can not satisfy the requirement of real-time, also they can not perceive thedifferent types of QoS requirements from different requests. With the population ofreal-time applications, in order to meet the real-time requests or requests with strongtime-sensitivity, researchers proposed some real-time scheduling schemes, which canmaximize throughput at the same time as meeting deadlines.System needs to meet various QoS requirements proposed by different types ofapplications while processing I/O requests submitted by applications. But differentclasses of applications have different QoS requirements. With computer applicationscomplicated increasingly, it tends to work under the mixed requests mode. Differentapplication requests have different I/O characteristics. Researching and applying I/Ocharacterizations are favourable to optimize or design disk scheduling scheme.Linux kernel has four I/O schedulers. These schedulers have their ownadvantages and disadvantages individually. And they adapt to different applicationsrespectively.The CFQ (Completely Fair Queuing) scheduling scheme becomes defaultscheduler after kernel version2.6.18. After analyzing CFQ schedulers of Linux, wefound that CFQ has weaknesses such as using the amount of processed requests as thestandard of fairness, deploying the RR (Round-Robin) algorithm for queues allocationand over-reliance on priority of request. The weakness of this approach is it will resultin unfairness among queues.In this paper, we propose a service-aware mechanism for the mixed requestsmode. The service-aware mechanism can classify the mixed requests effectivelyaccording to their I/O characteristic of time-sensitivity. Be aware of the weaknessesof CFQ, we present a novel improved CFQ (ICFQ) scheduling algorithm based onservice-aware mechanism. This algorithm can sense requests’ classes effectively viathe service-aware mechanism, aiming to require different scheduling policies fordifferent classes. ICFQ takes disk bandwidth as the standard of fairness, and usesMDRR (Modified Deficit Round Robin) to dispatch queues alternatively. Additionally,ICFQ uses the proportion value as the weight of each queue, which calculated bydividing total requests number of each queue by total requests number of all queues. ICFQ controls the length of time slices by weight and priority.Experiments use IOMeter, a tool used for testing performance. Using throughput,bandwidth, maximum response time and average response time as performanceindicators, we test CFQ and ICFQ respectively. The experimental results show thatICFQ algorithm has improved throughput and bandwidth while maintaining lowerresponse time. Under the mixed requests mode, ICFQ outperforms CFQ and is fairer.
Table of contents
Summary 5-6
Abstract 6-10
illustrations index 10-11
inserted table index 11-12 <br / > Chapter 1 Introduction 12-18
1.1 background 12-13
1.2 Research Status 13-14
1.3 Linux system 14-16
1.3.1 Linux Introduction 14-15
1.3.2 Linux features 15-16
1.3.3 Linux applications 16
1.4 nbsp paper tissue structure ; 16-18
Chapter 2 I / O scheduling technology overview 18-30
2.1 QoS technology research 18-22
2.1.1 network service QoS technology 18-20
2.1.2 storage system QoS technology 20-22
2.2 disk scheduling algorithm 22-26
2.2.1 traditional disk scheduling algorithms 22-25
2.2.2 Real-time disk scheduling algorithm 25-26
2.3 Linux I / O subsystem 26-29
2.3.1 Linux 's I / O devices 26-27
2.3.2 Linux 's I / O subsystem architecture 27-29
2.4 Summary 29-30
Chapter 3 ICFQ scheduling algorithm based on service -aware 30-41
3.1 service Aware mechanism 30-33
3.1.1 I / O characteristics of thought nbsp 30-31
3.1.2 service -aware mechanisms ; 31-33
3.2 Linux 's I / O scheduling mechanism 33-37
3.2.1 NOOP 35
3.2.2 Deadline 35-36
3.2.3 Anticipatory 36
3.2.4 CFQ thinking 36-37
3.3 ICFQ algorithm shortcomings 37-40
3.3.1 CFQ algorithm 37-38
3.3.2 ICFQ algorithm thoughts 38-40
3.4 Summary 40-41
Chapter 4 ICFQ achieve service -aware scheduling algorithm 41-55
4.1 overall module description achieve 41-42
4.2 service-aware mechanism 42-43
achieve 4.3 ICFQ algorithm 43 -54
4.3.1 scheduling data structure associated 43-49
realize 4.3.2 ICFQ algorithm 49-54
4.4 Summary 54 -55
Chapter 5 experiments and analysis 55-65
5.1 test environment and performance indicators 55
5.2 test tools 55-56 <br / > 5.3 experimental program and results analysis 56-64
5.3.1 read request test 56-59
5.3.2 write request test 59-61
5.3.3 mixed I / O requests to test 61-64
5.4 Summary 64-65
conclusion 65-67
References 67-72
Thanks 72-73
Appendix a study published during the academic degree and participating in research projects 73
Related dissertations
- Design and Implementation of an I/O Scheduling System of File-backup Jukebox
- Resource Allocation for Multi-cell OFDMA Systems with Mixed Service
- Design and Simulation of Packet Scheduling Algorithms in the Downlink of OFDM System
- Research on Resource Allocation in Simultaneous Multithreading Processors
- Researches on Cross-Layer Optimization in Wireless Communication Systems
- Resource Optimization in Multi-carrier and Cooperative Communication Systems
- Research on Fairness of Bandwidth Sharing for Internet QoS
- Different assessment mode decision preference
- The Analysis on the Performance Audit of Government
- Analysis about Fairness of Urban Workers Endowment Insurance
- The Research on Existing Problems and Perfecting Countermeasures of Liaoning Local Taxation System from the Perspective of Fairness
- The Performance Evaluation and Audit Supervision of Financial Funds in Science and Technology Based on the Perspective of Fairness
- From the Perspective of Equity Management Reform of Personal Income Tax Collection
- Reach on the Performance Budgeting’s Lack of Fairness and its Countermeasure under the Background of Fiscal Decentralization
- The hybrid channel selection and pricing of hitchhiking behavior and equity factors based on
- Relationship between Employees Compensation Gap and Employees Turnover
- The income distribution of China's unfair question research
- Efficiency and Fairness Analysis of Introduction of Carbon Tax to China
- The Study of Target Coverage and QoS Routing Algorithm in Wireless Sensor Network
- Based on Rough Set Web Service Combinatorial Optimization Research