1 / 11

Outline

Outline. Models Design of experiments. Current Scheduler. Completely Fair Scheduler(CFS) Since Linux 2.6.23 /kernel/ sched.c Maintain balance (fairness) in providing processor time to tasks. Red-Black Tree. Our Ideas. Base on ready queue length Base on machine learning

seanna
Download Presentation

Outline

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Outline • Models • Design of experiments

  2. Current Scheduler • Completely Fair Scheduler(CFS) • Since Linux 2.6.23 • /kernel/sched.c • Maintain balance (fairness) in providing processor time to tasks. • Red-Black Tree

  3. Our Ideas • Base on ready queue length • Base on machine learning • Energy-based model

  4. Assumptions • Core voltage cannot be adjusted to any value, but some pre-defined value. • Level • We know N, the number of tasks waiting in the ready queue. • Each task is only in core for execution during a short period before being swept out and back to ready queue.

  5. Base on Queue Length - 1 • Assume the time slice is fixed. • Higher core V => more cycles => more instructions executed => tasks can finish earlier. • Two methods • For every period of time, if N increases => raise core voltage. • For every period of time, if N doesn’t decreases => raise core voltage.

  6. Base on Queue Length - 2 • Assume the instruction retired is fixed. • Higher core V => more cycles => shorter time in core. • All N tasks should be executed at least once in T. • TmaxV ≦ T ≦ TminV • Adjust core voltageaccording to N. Vhigh Nt= 6+4 = 10 Vlow T

  7. Energy-based • Assume the V×t, energy of each task being executed once is fixed. • Similar to the previous one. • However, V×t is adjusted according to Battery Power Remaining.

  8. Design of Experiment • First we measure the power consumption and benchmark performance using L4Linux predefined strategy. • Vhighest and Vlowest. • Apply our strategies and measure: • Only one benchmark • Multiple benchmarks • Same • Different

  9. Paper Study • An Energy Conservation DVFS Algorithm for the Android Operating System • 2012 • An Energy Conservation DVFS Algorithm for the Android Operating System • 2010 • An Energy Conservation DVFS Algorithm for the Android Operating System • 2005

  10. Discussion

More Related