Outline Models Design of experiments Current Scheduler Completely Fair Scheduler(CFS) ◦ Since Linux 2.6.23 ◦ /kernel/sched.c ◦ Maintain balance (fairness)

Slides:



Advertisements
Similar presentations
Priority INHERITANCE PROTOCOLS
Advertisements

Energy-efficient Task Scheduling in Heterogeneous Environment 2013/10/25.
1 “Scheduling with Dynamic Voltage/Speed Adjustment Using Slack Reclamation In Multi-processor Real-Time Systems” Dakai Zhu, Rami Melhem, and Bruce Childers.
Scheduling Criteria CPU utilization – keep the CPU as busy as possible (from 0% to 100%) Throughput – # of processes that complete their execution per.
CPU Scheduling Tanenbaum Ch 2.4 Silberchatz and Galvin Ch 5.
Topic : Process Management Lecture By: Rupinder Kaur Lecturer IT, SRS Govt. Polytechnic College for Girls,Ludhiana.
Chapter 3: Planning and Scheduling Lesson Plan
Evaluating Heuristics for the Fixed-Predecessor Subproblem of Pm | prec, p j = 1 | C max.
Ceng Operating Systems Chapter 2.2 : Process Scheduling Process concept  Process scheduling Interprocess communication Deadlocks Threads.
Day 25 Uniprocessor scheduling. Algorithm: Selection function Selection function – which process among ready processes to select. w – time spent in system,
Investigating the Effect of Voltage- Switching on Low-Energy Task Scheduling in Hard Real-Time Systems Paper review Presented by Chung-Fu Kao.
Uniprocessor Scheduling Chapter 9. Aim of Scheduling The key to multiprogramming is scheduling Scheduling is done to meet the goals of –Response time.
1 Uniprocessor Scheduling Chapter 9. 2 Aims of Scheduling Assign processes to be executed by the processor(s) Response time Throughput Processor efficiency.
1 Uniprocessor Scheduling Chapter 9. 2 Aim of Scheduling Main Job: Assign processes to be executed by the processor(s) and processes to be loaded in main.
Computer Architecture and Operating Systems CS 3230: Operating System Section Lecture OS-3 CPU Scheduling Department of Computer Science and Software Engineering.
Chapter 4 Processor Management
Operating System Concepts and Techniques Lecture 5 Scheduling-1 M. Naghibzadeh Reference M. Naghibzadeh, Operating System Concepts and Techniques, First.
More Scheduling cs550 Operating Systems David Monismith.
MM Process Management Karrie Karahalios Spring 2007 (based off slides created by Brian Bailey)
Critical Power Slope Understanding the Runtime Effects of Frequency Scaling Akihiko Miyoshi, Charles Lefurgy, Eric Van Hensbergen Ram Rajamony Raj Rajkumar.
Scheduling. Alternating Sequence of CPU And I/O Bursts.
Progress Report 2014/02/12. Previous in IPDPS’14 Energy-efficient task scheduling on per- core DVFS architecture ◦ Batch mode  Tasks with arrival time.
Operating Systems Process Management.
1 Distributed Energy-Efficient Scheduling for Data-Intensive Applications with Deadline Constraints on Data Grids Cong Liu and Xiao Qin Auburn University.
Real-Time Scheduling CS4730 Fall 2010 Dr. José M. Garrido Department of Computer Science and Information Systems Kennesaw State University.
1 Uniprocessor Scheduling Chapter 9. 2 Aim of Scheduling Response time Throughput Processor efficiency.
Uniprocessor Scheduling Chapter 9. Aim of Scheduling Response time Throughput Processor efficiency.
1 11/29/2015 Chapter 6: CPU Scheduling l Basic Concepts l Scheduling Criteria l Scheduling Algorithms l Multiple-Processor Scheduling l Real-Time Scheduling.
RTOS task scheduling models
An Energy-efficient Task Scheduler for Multi-core Platforms with per-core DVFS Based on Task Characteristics Ching-Chi Lin Institute of Information Science,
Cpr E 308 Spring 2005 Process Scheduling Basic Question: Which process goes next? Personal Computers –Few processes, interactive, low response time Batch.
Lecture 6 Page 1 CS 111 Online Preemptive Scheduling Again in the context of CPU scheduling A thread or process is chosen to run It runs until either it.
Uniprocessor Scheduling Chapter 9. Aim of Scheduling Assign processes to be executed by the processor or processors: –Response time –Throughput –Processor.
Progress Report 2013/08/22. Model Modification Each core works under the same frequency due to hardware limitation. A task can have different processing.
Multithreading The objectives of this chapter are: To understand the purpose of multithreading To describe Java's multithreading mechanism.
Planning and Scheduling.  A job can be made up of a number of smaller tasks that can be completed by a number of different “processors.”  The processors.
Copyright © Curt Hill More on Operating Systems Continuation of Introduction.
Progress Report 2012/12/12. Computation Offloading Mobile devices have limited energy and computing resources. Offloading some workloads to remote servers.
Operating System Examples - Scheduling. References r er/ch10.html r bangalore.org/blug/meetings/200401/scheduler-
Process Scheduling. Scheduling Strategies Scheduling strategies can broadly fall into two categories  Co-operative scheduling is where the currently.
CPU scheduling.  Single Process  one process at a time  Maximum CPU utilization obtained with multiprogramming  CPU idle :waiting time is wasted 2.
Basic Concepts Maximum CPU utilization obtained with multiprogramming
Chapter 7 Scheduling Chien-Chung Shen CIS/UD
Linux Scheduler.
Uniprocessor Scheduling
Chapter 2.2 : Process Scheduling
CPU Scheduling.
Chapter 6: CPU Scheduling
Flavius Gruian < >
Chapter 6: CPU Scheduling
Module 5: CPU Scheduling
Chapter 2: The Linux System Part 3
Chapter5: CPU Scheduling
Scheduling.
Chapter 6: CPU Scheduling
CPU SCHEDULING.
Outline Scheduling algorithms Multi-processor scheduling
Process Scheduling Decide which process should run and for how long
Planning and Scheduling
Shortest-Job-First (SJR) Scheduling
Chapter 6: CPU Scheduling
Module 5: CPU Scheduling
CPU SCHEDULING CPU SCHEDULING.
Progress Report 2012/11/28.
Progress Report 2012/12/20.
Chapter 6: CPU Scheduling
Uniprocessor Scheduling
The End Of The Line For Static Cyclic Scheduling?
Module 5: CPU Scheduling
Scheduling of Regular Tasks in Linux
Presentation transcript:

Outline Models Design of experiments

Current Scheduler Completely Fair Scheduler(CFS) ◦ Since Linux ◦ /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 Energy-based model

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.

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.

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 voltage according to N. T V low V high N t = 6+4 = 10

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.

Design of Experiment First we measure the power consumption and benchmark performance using L4Linux predefined strategy. ◦ V highest and V lowest. Apply our strategies and measure: ◦ Only one benchmark ◦ Multiple benchmarks  Same  Different

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

Discussion