📑 Table of Contents

YDS is a scheduling algorithm for dynamic speed scaling processors which minimizes the total energy consumption. It was named after and developed by Yao et al.[1] There is both an online and an offline version of the algorithm.

Offline Algorithm

edit

Definitions:

  • There is a set of n Jobs , where each job has a release time , deadline and a processing volume .
  • is a certain time interval.
  • Also we have , the work density in .
  • And finally is the set of Jobs that must be processed in , that means Jobs with .

The algorithm then works as follows:

While 
  Determine the time interval  of maximum density .
  In  process the jobs of  at speed  according to EDF
  Set . 
  Remove  from the time horizon and update the release times and deadlines of unscheduled jobs accordingly.
end While

In other terms it's a recursive algorithm that will follow these steps until all jobs are scheduled:

  1. Calculate all intensities for all possible combinations of intervals. This means that for every start time and end time combination the intensity of work is calculated. For this the times of all jobs whose arrival time and deadline lie inside the interval are added and divided by the interval length. To speed up the process, only combinations of arrival times and later deadlines need to be considered, as times without arrival of a process or deadline can be shrunk to a smaller interval with the same processes, thus increasing intensity, and negative intervals are invalid. Then the maximum intensity interval is selected. In case of multiple equally intense intervals, one can be chosen at will, as intensities of non-overlapping intervals do not influence each other, and removing a part of an interval will not change the intensity of the rest, as processes are removed proportionally.
  2. The processes inside this interval are scheduled using Earliest Deadline First, meaning that the job inside this interval whose deadline will arrive soonest is scheduled first, and so on. The jobs are executed at the above calculated intensity to fit all jobs inside the interval.
  3. The interval is removed from the timeline, as no more calculations can be scheduled here. To simplify further calculations, all arrival times and deadlines of remaining jobs are recalculated to omit already occupied times. For example, assume a job with arrival time , deadline and a workload , and a job with , and . Assume the previous interval was from time to . To omit this interval the times of and need to be adjusted; workloads are unaffected, as no work has been done for either or . stays the same, as it's unaffected by later omissions. , however, needs to be changed to , as . This is the time job has left before its deadline. The arrival time becomes , as it would have been inside the removed interval. also becomes , as the time left after the removed interval is . It is important, however, to remember the actual arrival and deadline times for later assembly of the scheduling.
  4. Repeat steps 1-3 until all jobs have been scheduled.
  5. Assemble jobs into final scheduling according to their allotted time intervals. Remember, though, that an interval may be split in two by another interval calculated earlier.

For any Job instance, the algorithm computes an optimal schedule minimizing the total energy consumption.[2]

See also

edit

References

edit
  1. ^ F.F. Yao, A.J. Demers and S. Shenker. A scheduling model for reduced CPU energy. Proc. 36th IEEE Symposium on Foundations of Computer Science, 374–382, 1995.
  2. ^ Susanne Albers , "Algorithms for Dynamic Speed Scaling"

📚 Artikel Terkait di Wikipedia

YDS

YDS or yds may refer to: YDS (Language Proficiency Test administered in Turkey) Yards YDS algorithm in computer science Yosemite Decimal System Young

Grade (climbing)

systems are the French numerical or sport system (e.g. 7c+), the American YDS system (e.g. 5.13a), and latterly the UIAA scale (e.g. IX+). These systems

Passer rating

\over {\text{ATT}}}-0.3\right)\times 5} b = ( YDS ATT − 3 ) × 0.25 {\displaystyle b=\left({{\text{YDS}} \over {\text{ATT}}}-3\right)\times 0.25} c =

Goat grazing problem

iterative approximation is 0.21897952. An algorithmic simulation yields the answer 76255.66[+0.005,−0] sq.yds.(the limit of single-precision floating point

San Francisco 49ers

record for rushing yards for a quarterback in the playoffs with 181 rushing yds against the Green Bay Packers. The 49ers defeated the Packers and Atlanta

Autonomous aircraft

autonomous aircraft are unmanned aerial vehicles (drones) with pre-programmed algorithms to perform designated tasks, but advancements in artificial intelligence

1978 Pittsburgh Steelers season

Bradshaw tied with Dan Fouts to lead league in yards per pass attempt (7.9 yds) . Fewest points scored against in league (195 points). Surrendered zero

1998 NFC Championship Game

the NFL Network documentary The Missing Rings. Citing a mathematical algorithm by sports analytics company numberFire, The New York Post reported that