15
Company name KUAS HPDS A Realistic Variable Voltage Scheduling Model for Real-Time Applications ICCAD Proceedings of the 2002 IEEE/ACM international conference Reporter: Fu-Jiun Lu 2010-05-14

Company name KUAS HPDS A Realistic Variable Voltage Scheduling Model for Real-Time Applications ICCAD Proceedings of the 2002 IEEE/ACM international conference

Embed Size (px)

Citation preview

Page 1: Company name KUAS HPDS A Realistic Variable Voltage Scheduling Model for Real-Time Applications ICCAD Proceedings of the 2002 IEEE/ACM international conference

Company nameKUAS

HPDS

A Realistic Variable Voltage Scheduling Model for Real-Time Applications

ICCAD Proceedings of the 2002 IEEE/ACM international conference

Reporter: Fu-Jiun Lu2010-05-14

Page 2: Company name KUAS HPDS A Realistic Variable Voltage Scheduling Model for Real-Time Applications ICCAD Proceedings of the 2002 IEEE/ACM international conference

Hpds Lab

Abstract

2

Voltage scheduling is indispensable for exploiting the benefit of variable voltage processors. Though extensive research has been done in this area, current processor limitations such as transition overhead and voltage level discretization are often considered insignificant and are typically ignored. We show that for hard, real-time applications, disregarding such details can lead to sub-optimal or even invalid results.

Page 3: Company name KUAS HPDS A Realistic Variable Voltage Scheduling Model for Real-Time Applications ICCAD Proceedings of the 2002 IEEE/ACM international conference

Hpds Lab

Outline

IntroductionPreliminaries Basic AlgorithmImproved AlgorithmExperimental Results

– Randomly generated job sets– CNC & Avionics

Summary

3

Page 4: Company name KUAS HPDS A Realistic Variable Voltage Scheduling Model for Real-Time Applications ICCAD Proceedings of the 2002 IEEE/ACM international conference

Hpds Lab

Introduction

The demands for mobile and pervasive computing devices have made low power computing a critical technology. One of the most effective ways of reducing energy is so called Dynamic Voltage Scaling(DVS).

To effectively exploit the benefit provided by a variable voltage processor, careful selection of voltage levels and frequencies, often referred to as voltage scheduling, is crucial.

4

Page 5: Company name KUAS HPDS A Realistic Variable Voltage Scheduling Model for Real-Time Applications ICCAD Proceedings of the 2002 IEEE/ACM international conference

Hpds Lab

Introduction (Cont.)

5

While substantial research to utilize this emerging technology, often there is a sizeable gap between the simulated environment and an actual, tangible implementation.

One such detail is voltage transition overhead – the time and energy overhead incurred whenever a voltage

transition takes place.Another detail is the discrete voltage levels

– some variable voltage processors provide only a limited number of voltage levels.

Page 6: Company name KUAS HPDS A Realistic Variable Voltage Scheduling Model for Real-Time Applications ICCAD Proceedings of the 2002 IEEE/ACM international conference

Hpds Lab

Preliminaries

6

(a) An example set of jobs. (b) Optimal voltage schedule with LPEDF

A set of jobs : J={J1,…,Jn} Release times : ri Deadline : di

Worst case execution cycles : ci transition interval : t △ variable transition energy overhead : E△

Page 7: Company name KUAS HPDS A Realistic Variable Voltage Scheduling Model for Real-Time Applications ICCAD Proceedings of the 2002 IEEE/ACM international conference

Hpds Lab

Preliminaries (Cont.)

7

From Fig.1(b) modified by inserting transition overhead.

But S3’s speed has surpassed the normalized maximum of 1, so the required speed is unachievable. Second, J3 will miss its deadline even if the speed of 1.5 is possible.

Page 8: Company name KUAS HPDS A Realistic Variable Voltage Scheduling Model for Real-Time Applications ICCAD Proceedings of the 2002 IEEE/ACM international conference

Hpds Lab

Basic Algorithm

To integrate the voltage transition timing overhead into LPEDF– to extend the critical interval to accommodate

the timing overhead.– adjust its speed.

We propose the modification to LPEDF as follows: Instead of compressing just the critical interval, down to a single time point, we compress the interval and adjust the job sets accordingly.

8

Fig.3: The voltage schedule obtained by simple modification of LPEDF.

Page 9: Company name KUAS HPDS A Realistic Variable Voltage Scheduling Model for Real-Time Applications ICCAD Proceedings of the 2002 IEEE/ACM international conference

Hpds Lab

Basic Algorithm (Cont.)

We will refer to this problem as monotonicity violation.

Monotonicity violation occurs when less time is available to execute the instructions in jobs that overlap a transition interval.

Fig.4: Job arrangements about the interval Ti squeezeddown into a single time point ti.

Page 10: Company name KUAS HPDS A Realistic Variable Voltage Scheduling Model for Real-Time Applications ICCAD Proceedings of the 2002 IEEE/ACM international conference

Hpds Lab

Improved Algorithm

We improve the energy efficiency of Algorithm 1 and incorporate transition energy overhead and discrete voltage levels into considerations. Unnecessary energy may be wasted when using Algorithm 1.

To prevent any deadlines from being missed, we next introduce the concept of the latest start time for a job set and an important lemma on how to compute it.

tLS : the latest time at set of jobs J can begin execution at speed s* and still meet all deadlines in J .

10

Page 11: Company name KUAS HPDS A Realistic Variable Voltage Scheduling Model for Real-Time Applications ICCAD Proceedings of the 2002 IEEE/ACM international conference

Hpds Lab

Improved Algorithm (Cont.)

Lemma 1 helps us to find the latest start time for these jobs. Then, with a simple simulation of the execution, we can find the finish time for these jobs.

Therefore, after a critical interval is identified in Algorithm 1, its speed is increased to the immediately higher available voltage level. Again, we can use Lemma 1 to find the minimal necessary interval with the given voltage.

11

Page 12: Company name KUAS HPDS A Realistic Variable Voltage Scheduling Model for Real-Time Applications ICCAD Proceedings of the 2002 IEEE/ACM international conference

Hpds Lab

Experimental Results

Use the randomly generated job sets and real-world examples.

Applied the Algorithm 1 and the improved algorithm – overhead ranging from 0% to 100% of the average deadline

of the jobs.– for a processor with 5 discrete levels as with the AMD

processor, and a processor with 14 discrete levels as with the SA-1100 system.

Current experiments do not include energy overhead.

12

Page 13: Company name KUAS HPDS A Realistic Variable Voltage Scheduling Model for Real-Time Applications ICCAD Proceedings of the 2002 IEEE/ACM international conference

Hpds Lab

Randomly generated job sets

13

For the processor with 5 available voltage levels, improved algorithm can save nearly 50% of the energy compared with Algorithm 1 when the transition timing overhead is around 50% of the job deadline.

Page 14: Company name KUAS HPDS A Realistic Variable Voltage Scheduling Model for Real-Time Applications ICCAD Proceedings of the 2002 IEEE/ACM international conference

Hpds Lab

CNC & Avionics

14

Energy consumption for CNC. Energy consumption for Avionics.

The maximal energy saving can be as high as 17% for CNC example and 82.5% for Avionics example.

The energy consumption grows rapidly with the longer transition overhead and fewer available voltage levels.

Page 15: Company name KUAS HPDS A Realistic Variable Voltage Scheduling Model for Real-Time Applications ICCAD Proceedings of the 2002 IEEE/ACM international conference

Hpds Lab

Summary

We have shown through examples and analysis that limitations such as transition overhead or discrete voltage levels can cause a theoretically optimal schedule to become invalid if not correctly accounted for during the scheduling process. Currently the optimality of our algorithms is not guaranteed, so further algorithm development may improve results even more.

15