الگوریتم مقیاس گذاری فرکانس و ولتاژ پویا برای سیستم های زمان واقعی با قابلیت تحمل خطا
|کد مقاله||سال انتشار||مقاله انگلیسی||ترجمه فارسی||تعداد کلمات|
|7279||2013||7 صفحه PDF||سفارش دهید||5820 کلمه|
Publisher : Elsevier - Science Direct (الزویر - ساینس دایرکت)
Journal : Microelectronics Reliability, Volume 53, Issue 7, July 2013, Pages 1036–1042
Many modern real-time systems (RTSs) are required to provide both fault tolerance and energy-efficiency in addition to their main objective to compute and deliver correct results within a specified period of time. Dynamic voltage and frequency scaling (DVFS) technique is known as one of the most effective low-energy technique for RTSs. However, most existing DVFS techniques only focus on minimizing energy consumption without taking the fault-tolerant capability of RTS into account. To solve this problem, in this paper we developed a new heuristic-based fault-tolerant dynamic voltage and frequency scaling (FT-DVFS) algorithm. The goal of the proposed algorithm is to find frequencies at which each task should be executed such that the energy consumed by the set of task is minimized. Beside energy minimization FT-DVFS algorithm has to meet all real-time requirements of individual tasks and to keep the system’s ability to tolerate transient faults via task re-execution. The simulation results show that the proposed approach could save a significant amount of energy while preserving the required level of system’s fault-tolerance capability when compared with the solutions obtained without energy-minimization.
A system is said to be real-time if the total correctness of an operation depends not only upon its logical correctness, but also upon the time in which it is performed. Many RTSs are required to have continuous reliability so they are usually realized with the ability of tolerating some faults. Fault-tolerant real-time systems (FT RTSs) have to ensure that faults in the system do not lead to a failure. Nowadays, transient faults represent one of the most significant issues in the design of FT RTSs . These faults appear only once and then disappear so we cannot trace them later on. Transient faults occur when an event (e.g., cosmic particle strikes, power supply noise, device coupling) causes the deposit or removal of enough charge to invert the state of a transistor. The inverted value may propagate to cause an error in program execution . CMOS downscaling trends, manifested in the use of smaller transistor feature sizes and lower supply voltages, make digital circuits more and more vulnerable to transient errors with each new technology generation . Fault-tolerance schemes generally rely on some form of redundancy . We are particularly interested in the time redundancy techniques, since they are cost-effective as well as more suitable to applications where there are severe constraints on space and weight. This technique is specially used for overcoming the transient faults  and . Since, among all types of faults the transient faults are much more common  we found the problem of their overcoming in RTSs using time redundancy important. In the context of RTSs the most common approach of time redundancy is the re-execution of a faulty task (i.e., running the task affected by a fault again) ,  and . This is relatively inexpensive method of providing fault tolerance since no extra hardware is required. Response Time Analysis (RTA)  is an important technique for analyzing timing constraints of RTSs. In its various forms it allows an exact calculation of the worst-case response time of tasks in single and multiprocessor RTSs scheduled under fixed priorities. Originally, RTA has been used for analyzing RTSs with the assumption that there is no error during system execution. This fault-free assumption is, in fact, not realistic. Quoting Laprie: “Non-faulty systems hardly exist, there are only systems which may have not yet failed”. Burns et al. extended classical RTA to cope with the possibility of errors in the RTSs . Their RTA method assumes the use of static free slack-time in the system schedule for performing re-execution of the faulty task in order to obtain reliable RTS. In  we used RTA for analyzing timing constraints of one fault tolerant hard real-time system with time redundancy. Modified version RTA, with the aim of getting more reliable RTS, was presented on our paper . RTA was focus of some recent researches ,  and . Altmeyer et al. integrates pre-emption costs into RTA for fixed priority pre-emptive scheduling . They showed that this combined approach offers a significant improvement in performance for a wide range of different task and cache configurations. In  Mubeen et al. implemented and integrated modified real-time analysis technique with an existing industrial tool suite for the development of distributed real-time embedded systems. Yun et al. used RTA in multiprocessor RTSs . They extended basic RTA by taking into account the task stalling caused by contention from interfering cores in multiprocessor systems. In addition to high reliability, demand for low power consumption has risen sharply, particularly in RTSs where energy is limited (e.g., battery-powered systems). Decreasing the energy consumption not only extends the battery life, but also reduces the packaging and cooling costs of the systems. Since energy consumption of the CPU often dominates to the energy consumption of the entire RTS our attention is focused on the energy efficiency of the processor. Dynamic voltage and frequency scaling (DVFS) technique has proven to be a highly effective method of achieving CPU’s low power consumption while meeting the performance requirements ,  and . A number of modern microprocessors such as AMD’s Mobile Athlon , Intel’s XScale  and Transmeta’s Crusoe  are equipped with the DVFS functionality. The key idea behind DVFS technique is to exploit the quadratic relationship between CPU energy consumption and supply voltage. By lowering the supply voltage and correspondingly the clock frequency simultaneously, the energy consumption of processors can be reduced quadratically . However, the energy saving achieved by DVFS comes at the cost of extended execution time of real-time tasks, which may compromise the timing correctness of RTS. For example in  execution time of a real-time task scales linearly with the processing speed i.e., if the operating frequency is scaled the by a factor α, then execution time must be scaled by factor 1/α. Several DVFS techniques have been proposed to minimize the total energy in the RTS , , ,  and . These techniques differ in many aspects, such as the scheduling algorithms being on-line or off-line, handling hard or soft deadline requirements, and assuming fixed or dynamic priority assignment. In  Kim et al. compare several key DVFS algorithms proposed for hard real-time periodic task sets, analyze their energy efficiency, and discuss the performance differences quantitatively. Pillai and Shin in  proposed the ccRM algorithm, which first computes off-line the maximum speed necessary to meet all task deadlines. On-line, the processor speed is scaled down when task complete early. In  Gruian presents a method of off-line task stretching coupled with on-line slack distribution. In addition, the paper presents a voltage scheduling method that computes the optimal speed for each execution cycle of the active task. Chen et al. control CPU utilization in distributed RTSs using DVFS technique . Their method is based on adjusting the execution time of the tasks by scaling the processor frequency. In  He and Mueller presents energy efficient scheduling in component oriented hard real-time system using DVFS techniques. Kumari and Kumar propose a real-time scheduling algorithm with variable task’s speed assignment scheme aims to reduce the energy consumption of the task set . They use DVFS to control operating speed. While time redundancy techniques use free slack time to improve reliability, DVFS exploits slack time to decrease energy consumption. Because the free slack time is a limited resource, it is obvious that more slack time used for DVFS leaves less time slack for fault tolerance, and vice versa. Therefore, there is a tradeoff between low energy consumption and high fault tolerance. In the context of real-time systems this tradeoff is analyzed in several papers ,  and . Qadi and Goddard  present a DVFS algorithm supporting the canonical sporadic real-time task model. The method, however, is designed only for the EDF (earliest deadline first) priority discipline and it is not applicable to RM (rate monotonic) . Melham et al. proposed techniques to exploit free slacks in task schedules to reduce energy consumption while tolerating faults based on DVFS . They make several simplifying assumptions such as a task is susceptible to at most one fault occurrence and the processor can scale its frequency in continuous range. Nevertheless, practical commercial processors only support several discrete levels of supply voltages and frequencies ,  and . In this paper, we propose a heuristic-based FT-DVFS (fault-tolerant – DVFS) algorithm for RTSs that attempts to minimize the energy consumed by a real-time task sets under fault tolerance constraints while guaranteeing that each task can complete successfully before its deadline. Our proposed FT-DVFS algorithm is applicable to an important class of RTS modeled as a set of fixed-priority preemptive periodic tasks, with different periods. Several discrete supply voltages and operating frequency levels are taken into consideration. Compensating for the negative effect on reliability, we adopt the faulty task re-execution fault-tolerant technique. The main novelty of our approach is the use of RTA to check the schedulability of fault-tolerant real-time task sets while varying voltage/frequency levels during DVFS power-optimization. To the best of our knowledge, this is the first time that RTA is integrated into a DVFS technique. The remainder of the paper proceeds as follows. Section 2 introduce the system model and problem statement. The proposed FT-DVFS algorithm is presented in Section 3. Section 4 presents simulation results to validate our work. Conclusions are included in Section 5.
نتیجه گیری انگلیسی
In this paper we have considered the trade-off problem between energy-efficiency and fault tolerance for the real-time systems. The trade-off arises from the fact that techniques, power reduction and fault tolerance exploit slack time to decrease energy consumption and to improve reliability, respectively. In accordance with this problem we realized a heuristic-based algorithm, named FT-DVFS. This algorithm combines dynamic voltage and frequency scaling technique, for optimizing energy consumption, and response time analysis for schedulability and fault tolerance. The FT-DVFS algorithm assigns each real-time task an operating frequency so that the total power consumption is minimized while keeping the real-time task set schedulable under fault-tolerant constraint. The simulation results have shown that the proposed algorithm saves a considerable amount of energy compared to the solution without considering energy. Another advantage of the proposed approach is that it achieved near-optimal solutions in acceptable computation time. We compared the proposed FT-DVFS algorithm with an optimal algorithm based on the method of exhaustion and showed that the performance drop in term of power reduction does not exceed 5%. For the future work, we plan to extend the proposed algorithm to multiprocessors real-time systems.