Workload Dependent Mitigation Approaches for Performance Variability: Ensuring Timing Guarantees of Integrated Circuits
Author:
Abstract:
Performance variability, the phenomenon that the execution time of the same application varies every time it is executed, is ubiquitous in modern computers. Performance variability is especially detrimental to time-sensitive and time-critical applications, which are the applications required to be completed before a certain deadline. For time-sensitive applications like multimedia, violating deadlines may cause quality loss. For time-critical applications like avionics, violating deadlines will cause even more severe consequences, such as safety issues. Performance variability can originate from the device and circuit level, generated by process variations, voltage variations, temperature fluctuation, and aging. The variability can also be generated from the architecture and software levels, due to dynamic execution features of architectures and program flows of software. With continuous development toward smaller devices and more dynamic architectures and software, performance variability increases and threatens the reliability of both time-sensitive and time-critical applications. To reduce performance variability, mitigation approaches are used in modern processors. Mitigation approaches use on-chip monitors to detect the amount of variability at run time. Based on the amount of variability and the prediction of future workload, a run-time controller changes the processor speed by altering system knobs, such as dynamic voltage and frequency scaling (DVFS). Among all kinds of mitigation approaches, workload-dependent approaches operate on the principle of using the design-time profiling information to reduce the uncertainties in future execution time calculation at run time. Therefore, workload-dependent approaches are the best option for minimizing system costs while reducing deadline misses. This thesis focuses on the realization of a workload-dependent mitigation approach tackling various performance variability. We have improved the ways of tackling performance variability from the architecture and software levels based on two features. First, we introduce heterogeneous datapaths (HDP), a knob of faster switching time than DVFS, to improve the time granularity of mitigation from the millisecond level to the microsecond level. By combining both the DVFS and HDP, this approach can tackle performance variability of multiple timescales down to the sub-millisecond level. Second, the run-time controller adopts the concept of dynamic scenarios in its workload-dependent scheduling algorithm, so a tight upper bound of future execution time can be calculated at run-time, which enables providing true timing guarantees. The cycle-accurate simulation results show that the proposed approach can ensure zero deadline misses with a smaller time slack than the conventional approach. This advantage can translate into an energy reduction of 32% on average. Furthermore, we have developed a cross-layer reliability and variability mitigation framework to simultaneously ensure functional correctness and timing guarantees. It is composed of three layers. First, circuit-level mitigation like voltage droop prevention mitigates device-level variability in process, voltage, and aging, reducing register-level errors. Second, register-level mitigation like checkpointing and rollback-recovery corrects errors at the cost of execution time overhead. Last, at the processor-level, performance variability mitigation compensates for the execution time overhead at the cost of energy overhead. Cross-layer analysis of this framework results in the concept of the "error rate wall" (ERW), the system-specific error probability bound within which reliability can be ensured. ERW can be improved by optimizing system parameters, such as the number of checkpoints as shown by experiments. We further extend the use of the mitigation framework to evaluate and mitigate the variability impacts of different technologies at the processor level. To instantiate this, the performance variability and mitigation costs of a processor of carbon nanotube field-effect transistors (CNFET) are evaluated. Results show that the performance of a processor consisting of the 6σ slow-corner CNFETs is 22.3% slower than the one of nominal CNFETs. And though it requires 80% extra energy consumption to boost the slow-corner processor to be at the same speed as the nominal processor, this energy consumption is still small than the nominal silicon CMOS processor by a ratio of 2.1.