Energy and Workload Efficient Strategies for Real-time Database Systems
- Author
- LiJianJun
- Advisor
- LiGuoHui
- School
- Huazhong University of Science and Technology
- Major
- Computer Software and Theory
- Classification
- TP311.13 Database theory and systems
- Degree
- Doctoral dissertation
- Year
- 2012
- Downloads
- 122
- Citations
- 0
- Real-time Database System
- Energy-aware scheduling
- Update transactionTemporal consistency
- Workload minimization
- Multiprocessor
Abstract
Real-Time DataBase System (abbreviated as RTDBS) is a combination product of database technology and real-time system, it integrates theories and techniques of both real-time systems and database systems. In recent years, RTDBS has been widely used in defense and civilian real-time information services such as power and data network man-agement, radar tracking, industrial process control and securities transactions, etc., where the applications need to access data regularly or access "temporary" data. Although the ap-plication of RTDBS has achieved great success, the same as many other computing systems, RTDBS also experiences the problem of excessive energy consumption. Excessive energy consumption has a huge impact on the system Quality of Service (including the service time, the stability and reliability, etc.). In some specific environments (e.g., the embedded envi-ronment), RTDBS typically relies on battery-power to work, the cost of replenishing system energy is too expensive. Sometimes the RTDBS even cannot be replenished in quite a long time due to environmental constraints. Moreover, in the foreseeable future, the battery life limitations are difficult to be completely resolved. At this point, saving energy consumption and thus extending the service time of RTDBS becomes particularly important.Different from data stored in traditional databases, a real-time data object is only valid in a given time period, which is defined as its temporal validity interval. In order to maintain temporal validity (a.k.a. temporal consistency), each real-time data object must be refreshed by a sensor update transaction before its temporal validity interval expires, or else the RT-DBS cannot respond to environmental changes in a timely manner. Since the computing resources in RTDBS are usually limited (especially in embedded environment), how to de-termine the sampling periods and deadlines for sensor update transactions so that temporal consistency can be maintained while the resulting processor workload is minimized has be-come one important issue in designing RTDBS.In RTDBS, a transaction usually executes in a non-preemptive manner, due to that the time cost of locking tables and checking the consistency of the database is much greater than that of executing the transaction itself. However, most of the past work on energy-aware scheduling are based on preemptive task set. Although there also exist energy-aware studies for partially non-preemptive task set, directly applying them to a fully non-preemptive task set may lead to slowdown factors (normalized task execution speeds) higher than necessary, and thus cannot get the best energy savings. In view of this, we propose a new slowdown calculation algorithm namely ISA for fully non-preemptive task set. By conducting a more accurate analysis on the execution times of higher priority tasks, ISA can derive lower slow-down factors. Combining with the frequency inheritance (Fl) policy, the slowdown factors computed by ISA can guarantee all task deadlines while achieving considerable energy sav-ings. Observing that there is no need to always use the Fl policy to guarantee task deadlines, we further propose a selective frequency inheritance (SFI) policy, which can achieve more energy savings. Moreover, considering that tasks may experience different execution times which are usually less than their worst case execution times, based on ISA, we design a dynamic slack reclamation algorithm namely ISA-DR, which can obtain additional energy savings. The experimental results show that the proposed ISA algorithm along with the re-lated strategies can obtain considerably more (20%-30% on average) energy savings than other solutions with comparable quality.The period and deadline assignment problem for periodic sensor update transactions has been well studied for fixed-priority systems on uniproccssor systems. However, there is comparatively less work addressing the same problem from the perspective of dynamic priority scheduling. Existing algorithms either obtain a too high processor workload, or have a very low runtime efficiency, hence it is an urgent need to design a method which is able to quickly obtain a relatively low workload. This thesis proposes a new two-phase algorithm gεEDF.The first phase of gεEDF has a linear time complexity and hence can be use to derive a solution very efficiently. It has been proved that the solution obtained by this phase has the minimum workload when the assignment order is fixed to be shortest validity first (SVF). When the first phase fails, the second phase is proposed based on an exact feasibility test. Since the second phase has a pseudo-polynomial time complexity, we introduce several techniques to reduce the scheduling points and iteration steps when conducting feasibility test, and thus can reduce the computation cost significantly, which in turn can improve the efficiency of the algorithm. The experimental results demonstrate that gεEDF can quickly derive a solution with CPU workload lower than that of existing solutions.In the past, while there has been much work devoted to the temporal consistency scheduling problem, almost all of them focus on uniprocessor systems. As far as we know, none work has been conducted on the temporal consistency scheduling problem upon multiprocessor platforms. We take a first step to address the workload-aware temporal consistency maintenance problem on multiprocessor platforms. We formally prove that the problem of partitioning transactions on multiprocessor platforms with the goal of minimiz-ing processor workload is NP-hard. In view of the intractability of the problem, we first only consider the feasibility aspect of the workload-aware transaction assignment problenf by proposing a polynomial-time partitioning algorithm, Temporal Consistency Partition (TCP), and formally show that the resource augmentation bound of TCP is 3-1/m. We then address the workload-efficient transaction-to-processor assignment problem globally by characterizing it as a density factor balance problem. Based on the observation that "a more density factor balanced partitioning tends to result in a lower processor workload" we propose a polynomial time heuristic, Density factor Balancing Fit (DBF), and prove that the resource augmentation bound of DBF is also 3-1/m. The experimental results show that DBF has better feasibility/workload performance than other heuristics with comparable quality.
Table of contents
Summary 4-6
Abstract 6-11
1 Introduction 11-23
1.1 Background and Significance 11-15
1.2 domestic and foreign research status main content 15-21
1.3 of this study organizational structure 21-22
1.4 papers 22-23 <br / > 2 non-preemptive real-time task set energy-saving scheduling algorithm 23-47
2.1 task with energy model 24-26
2.2 ISA algorithm and SFI strategy 26 -38
2.3 dynamic idle time recovery strategy 38-41
2.4 experiments and analysis 41-46
2.5 Summary 46-47 <br / > 3 single- processor environment under dynamic priority real-time updates and periodic transaction deadline calculation algorithm 47-75
3.1 model and define problems 49-52
3.2 (? ) ε_ (EDF) algorithm 52-67
3.3 experiments and analysis 67-73
3.4 Summary 73-75
4 multiprocessor Real-time update transaction environment minimize processor load distribution strategy 75-93
4.1 model and define problems 77-79
4.2 TCP distribution algorithm 79 - 83
4.3 DBF distribution algorithm 83-88
4.4 experiments and analysis 88-92
4.5 Summary 92-93
5 summary and Outlook 93-96
5.1 summarizes the main work 93-95
5.2 Prospect 95-96
Thanks 96 - 98
References 98-108
Appendix published directory during a study for a degree 108-110
Appendix 2 PhD topic during participate catalog 110
Related dissertations
- Energy-efficient Real-time Scheduling for Multi-core and Multiprocessor System
- Research and Implementation on Transaction Scheduling for Embedded Active Real-time Database
- Research on multi process scheduling based on Linux
- Research on Purposive Vision and Its Application in Skin Symptom Recognition
- Fault-Tolerant Task Scheduling in Real-Time Industrial Systems and Its Applications
- Design and Implementation of Video Compression Protocol Based on Cradle CT3400
- Linux Kernel Scheduler Analysis and Simulation
- PCB Layout and SI Technique of High-Speed Digital Design Based on High Performance Embed Computer System
- Weather Data Acquisition System Base on MSP430
- The Research and Implementation of Realtime Multiprocessor Operating System on On-Board Computer System
- Of the key technologies of the real - time database systems in Hongfeng Lake Bridge Health Monitoring System
- Design of Multiprocessor Parallel System Based on Vxibus
- An Improved Scheduling Algorithms of RMS and EDF and Mixed Scheduling Algorithm of the Two
- Multi-mode combined guidance system for high-speed parallel processing
- Design and Application about One Multi-Processor Module in Monitoring Receiver
- Research for the Parallel Algorithm of FIR Filter at IF Digitalization of Software Radio System
- Studies on DOA Estimation of Underwater Short-Range Target Based on UCA
- The Research of the Embedded Multiprocessor Controller’s Famework
- Global flow analysis in parallel reconfigurable systems
- The Design of Electronic Control System for Jet Looms