SlideShare a Scribd company logo
Battery Aware Dynamic Scheduling for Periodic Task Graphs Venkat Rao   # , Nicolas Navet  # , Gaurav Singhal *, Anshul Kumar  , GS Visweswaran  # TRIO Group, INRIA-Lorraine /LORIA. * Dept of ECE, UT Austin,   Dept of CSE, IIT Delhi  Dept of EE, IIT Delhi
Battery lifetime is major constraint Slow growth in energy densities not keeping up with increase in power consumption Extension of battery lifetime and not just low energy design the  REAL GOAL Introduction Mobile Embedded Systems Design :
Traditional approaches to energy optimization CMOS Energy and power Energy  α  V 2 Power  α  V 2 .f f max   α  V Dynamic Voltage Scaling (DVS): busy system => increase V dd , frequency idle system => decrease V dd , frequency Potential to achieve quadratic energy and cubic power savings.
Variable-supply Architectures High-efficiency adjustable DC-DC converter View from battery side V bat  is constant and depends on battery technology( 1.2 V for NiMh, 3.6-4.2 V for Li ion) High V dd  translates to high I bat ` Power Manager WK to f f to  Vdd Switching DCDC regulator V set V sys Clkgen SoC Battery V bat I bat I sys V sys  X I sys  = µ  X  V b at  X I bat
Battery Basics Battery characterized by V oc  and V cut . Battery lifetime governed by active species  concentration at electrode-electrolyte interface. Phenomenon governing battery lifetime: “Rate Capacity Effect”   “ high load current implies lower charge delivered.” “Recovery Effect”   “charge recovered by giving idle slots” Positive Ions Load _ + Electron Flow Anode Cathode Electrolyte
Diffusion Model - Rakhmatov, Vrudula et al. Analytically very sound but computationally  intensive Cannot be used for online scheduling decisions. Fully charged battery After Recovery After a recent discharge  Fully discharged  Electrode Electrode Electrode Electrode Electro-active species
Battery Aware Scheduling Guideline 1:  For a set of schedulable tasks (t 0 , t 1 ……t N ) having corresponding currents costs (I 0 , I 1 ……I N ) scheduling them in decreasing order of current costs is the optimum battery solution.[Rakhmatov03] Ibat time
Battery Aware Scheduling Guideline 2:  For a given task  t  to be executed before a given deadline  d  its better to lower the frequency and run without giving an idle slot than give an idle slot and run at a higher frequency.[Rakhmatov03] freq time freq time idle d d
Problem Definition To find a battery efficient schedule for a given a set of periodic tasks graphs (T1, T2, ....Tn) which have corresponding deadlines (D1,D2, .....Dn) equal to their periods, where a taskgraph Ti comprises of any m interdependent nodes, each of which are in themselves tasks with given worst case computations (wci1, wci2, ......wcim). T1 D1   T3D3 T2 D2 wci Precendence constraint
Our Methodology There are 2 aspects to the problem Global Frequency Setting Local order of execution of nodes Task Graphs Frequency Setting Priority function for max slack recovery DVS Algorithm Local Task Order   Ready list WCi’s Di’s nodes fcurr next node
Global Frequency Setting To calculate the min frequency that can ensure all subsequent deadlines are met. upon release( Taskgraph  T i  ) 1:  WC i  =     wc ij 2:  select_frequency( ) upon end_of_node(  τ ij  ) 1:  WC i  =  WC i  +  ac ij  −  wc ij 2:  select frequency( ) select_frequency ( ) 1:  U  =     WC i /D i 2:  f ref  =  U  ×  F max ,  return  f ref Modified ccEDF algorithm from [pillai01] The jth node of the ith task graph whose execution just ended. τ ij Deadline for the ith task graph Di Actual exec time for jth node of the ith task graph at fmax acij WCET of the jth node of the ith task graph at fmax wcij
Global Frequency Setting Follows EDF so works up to U= 100% Ensures all deadlines are met. Ensures a Non Increasing discharge profile for set of jobs (set of instances of periodic tasks)  freq time d re-computing speed
Loc al order of execution Slack Recovery maximization. Worst case seldom arrives leading to dynamic slack Order of execution effects dynamic slack recovery Important to choose the order optimally A priority function needs to be chosen Heuristics like LTF and STF work well in specific cases p UBS  : a near optimal priority function from [Gruian02]
Ready List Ready list comprising of nodes from current(EDF) Task graph only. Ready list D1 D3 D2 D1 < D2 < D3 Priority function Execute
Ready list comprising of nodes from current Task graph only Advantages : Follows EDF so ensures meeting of deadlines Simple to implement Disadvantages : Limited choice for the priority function. Limited slack recovery.
Ready List Ready list comprising of nodes from all released Task graphs. Ready list D1 D3 D2 D1 < D2 < D3 Priority function Execute
Ready list comprising of nodes from all released Task graphs Advantages : More choice for the priority function. Better slack recovery hence lower energy consumption Disadvantages : Out of EDF execution hence deadline can be missed Need For additional feasibility check
Ready List Ready list comprising of nodes from all released Task graphs. Ready list D1 D3 D2 D1 < D2 < D3 Priority function Execute Feasibility check
Feasibility check Check to ensure that an out of EDF execution will not cause a deadline miss Or more stringently will not cause the raising of frequency later for meeting deadlines For task belonging to EDF order k,  k-1 checks are required. Feasibility Check ( t ij  ) flag= 1; for (k=1 to  j-1) { if (  WC k  +wc ij  > f curr  X D k  – T curr  ) Flag =0; } return flag
Simulations C simulations were conducted to  test our methodology The DVS enabled   processor simulated supports the following  3  frequency-voltage tuples [(0.5GHz,3 V), (0.75GHz,4V),   (1.0GHz,5V)]. Task graphs were generated from TGFF   with random dependencies  Utilization of the system was   kept to 70% Stochastic battery model from [G.Singhal05] was used to estimate battery life for the profiles generated by various scheduling algorithms  Simulated for NiMH AAA Panasonic batteries with max capacity of 2000mAh and nominal capacity of 1600mAh
Simulation Results : Battery lifetime and charge delivered.   Results were obtained by averaging performance of   the various algorithms over 100 random taskgraph sets Battery Aware Schedule 2 delivers maximum battery life amongst the schemes compared
Conclusion W e have presented a Battery-aware Scheduling   Methodology that facilitates the combining of a good   DVS algorithm with a heuristic based priority function   for scheduling of taskgraphs. Simulations  suggest  that our   methodology performs up to 47% better than  ccEDF   and upto 23.3% better than  laEDF  scheduling schemes  in terms of battery lifetime. It can result in u p  to 100%   improvement in battery lifetime over systems with no   DVS.
References and Credits [1]  V. Rao and G. Singhal. Integrated power management for embedded systems.  Bachelors Thesis, Indian Institute of Technology, Delhi , 2005. [2]  F . Yao,   A Demers and S Shenkers .  A Scheduling Model for Reduced CPU energy. IEEE 1995.   [3]  P. Pillai and K. G.Shin. Real time dynamic voltage scaling for low powered embedded systems.  Operating Systems Review , 35:89–102, October 2001. [4]  S. Vrudhula and D. Rakhmatov. Energy management for battery powered embedded systems.  ACM Transactions on Embedded Computing Systems , pages 277– 324, August 2003 . [5]  J. Luo and N. K. Jha. Battery-aware static scheduling for distributed real-time embedded systems. In  DAC’01: Proceedings of the 38th conference on Design automation , 2001 . [6] G ruian  F., Energy-Centric Scheduling for Real-Time Systems, PhD   thesis, Lund   Institute of Technology, 2002. [7]  V. Rao, G. Singhal, A. Kumar, and N. Navet. Battery model for embedded systems.  In Proceedings of International Conference on VLSI Design , pages 105–110, January 2005. [8] V. Rao, G. Singhal, and A. Kumar. Real Time Dynamic Voltage   Scaling for Embedded Systems.  In   Proceedings of International   Conference on VLSI Design , pages 650–653, January   2004.
Thank You
Battery Models Still Too computationally intensive for use at runtime Not accurate, elements change value depending conditions Use capacitor and resistors to represent battery Circuit   Still in the process of development. Relatively accurate and fast. Stochastic Slow, involves a large number of parameters Accurate PDE (higher forms of KiBaM) Disadvantages Advantages
Rate Capacity Effect Rate Capacity Effect Total charge delivered by the battery goes down with the increase in load current. Concentration of active species at interface falls rapidly with increasing load current. Battery seems discharged when the concentration at interface becomes zero.   back
Recovery Effect Recovery Effect Battery recovers capacity if given idle  slots in between discharges. Diffusion process compensates for the low concentration near the electrode. Battery can support further discharge. Elapsed time of discharge Cell  Voltage Intermittent Discharge Continuous discharge back
Simulation Results: Effect of ready list on energy consumption Energy consumption (normalized   w.r.t optimal schedule) by   various scheduling   policies for different number of tasks in   a taskgraph At Utilization 70% and actual computation times varying from 20% to 70%
Simulation Results: Effect of priority function on energy consumption Energy consumption (normalized   w.r.t optimal schedule) by   various scheduling   policies for different number of tasks in   a taskgraph At Utilization 70% and actual computation times varying from 20% to 70%. Ready list comprises of most imminent.
Kinetic Battery Model Simplest PDE model to explain both recovery and rate capacity. Available and Bound charge wells  Dynamic transfer of charges governed by a rate constant and difference in heights.
Introduction Battery Basics Rate Capacity Effect  Recovery Effect Related Work : Review of relevant models Scheduling Problem Our Methodology. Simulation and Results Conclusion

More Related Content

PPTX
ECE561_finalProject
vipin8055
 
PDF
IRJET- Optimal Generation Scheduling for Thermal Units
IRJET Journal
 
PDF
IJERD(www.ijerd.com)International Journal of Engineering Research and Develop...
IJERD Editor
 
PDF
Low power tool paper
M Madan Gopal
 
PDF
The optimal solution for unit commitment problem using binary hybrid grey wol...
IJECEIAES
 
PDF
Profit based unit commitment for GENCOs using Parallel PSO in a distributed c...
IDES Editor
 
PDF
A hybrid algorithm for voltage stability enhancement of distribution systems
IJECEIAES
 
PDF
F43022431
IJERA Editor
 
ECE561_finalProject
vipin8055
 
IRJET- Optimal Generation Scheduling for Thermal Units
IRJET Journal
 
IJERD(www.ijerd.com)International Journal of Engineering Research and Develop...
IJERD Editor
 
Low power tool paper
M Madan Gopal
 
The optimal solution for unit commitment problem using binary hybrid grey wol...
IJECEIAES
 
Profit based unit commitment for GENCOs using Parallel PSO in a distributed c...
IDES Editor
 
A hybrid algorithm for voltage stability enhancement of distribution systems
IJECEIAES
 
F43022431
IJERA Editor
 

What's hot (20)

PDF
Comparison of cascade P-PI controller tuning methods for PMDC motor based on ...
IJECEIAES
 
PDF
Modified T-type topology of three-phase multi-level inverter for photovoltaic...
IJECEIAES
 
PDF
Non-integer IMC Based PID Design for Load Frequency Control of Power System t...
IJECEIAES
 
PDF
Artificial Intelligence Technique based Reactive Power Planning Incorporating...
IDES Editor
 
PDF
Model Predictive Current Control of a Seven-phase Voltage Source Inverter
idescitation
 
PDF
Decentralised PI controller design based on dynamic interaction decoupling in...
IJECEIAES
 
PDF
Single core configurations of saturated core fault current limiter performanc...
IJECEIAES
 
PDF
IRJET- Study Over Current Relay (MCGG53) Response using Matlab Model
IRJET Journal
 
PDF
Power system operation considering detailed modelling of the natural gas supp...
IJECEIAES
 
PDF
Run-time power management in cloud and containerized environments
NECST Lab @ Politecnico di Milano
 
PDF
Graphical Closure Rules for Unsupervised Load Classification in NILM Systems
Joe Krall
 
PDF
EH-WSN
Dev Lavaniya
 
PDF
The gravitational search algorithm for incorporating TCSC devices into the sy...
IJECEIAES
 
PDF
Comparison of backstepping, sliding mode and PID regulators for a voltage inv...
IJECEIAES
 
PDF
Heuristic remedial actions in the reliability assessment of high voltage dire...
IJECEIAES
 
PDF
Controller design for PV experimental bench with ADRC strategy supervised by ...
International Journal of Power Electronics and Drive Systems
 
PDF
A charge recycling three phase dual rail pre charge logic based flip-flop
VLSICS Design
 
PDF
Parametric estimation in photovoltaic modules using the crow search algorithm
IJECEIAES
 
PDF
Ijartes v2-i4-001
IJARTES
 
PDF
The Power Quality Improvement in the Modes of Operation for Microgrid with UPQC
IRJET Journal
 
Comparison of cascade P-PI controller tuning methods for PMDC motor based on ...
IJECEIAES
 
Modified T-type topology of three-phase multi-level inverter for photovoltaic...
IJECEIAES
 
Non-integer IMC Based PID Design for Load Frequency Control of Power System t...
IJECEIAES
 
Artificial Intelligence Technique based Reactive Power Planning Incorporating...
IDES Editor
 
Model Predictive Current Control of a Seven-phase Voltage Source Inverter
idescitation
 
Decentralised PI controller design based on dynamic interaction decoupling in...
IJECEIAES
 
Single core configurations of saturated core fault current limiter performanc...
IJECEIAES
 
IRJET- Study Over Current Relay (MCGG53) Response using Matlab Model
IRJET Journal
 
Power system operation considering detailed modelling of the natural gas supp...
IJECEIAES
 
Run-time power management in cloud and containerized environments
NECST Lab @ Politecnico di Milano
 
Graphical Closure Rules for Unsupervised Load Classification in NILM Systems
Joe Krall
 
EH-WSN
Dev Lavaniya
 
The gravitational search algorithm for incorporating TCSC devices into the sy...
IJECEIAES
 
Comparison of backstepping, sliding mode and PID regulators for a voltage inv...
IJECEIAES
 
Heuristic remedial actions in the reliability assessment of high voltage dire...
IJECEIAES
 
Controller design for PV experimental bench with ADRC strategy supervised by ...
International Journal of Power Electronics and Drive Systems
 
A charge recycling three phase dual rail pre charge logic based flip-flop
VLSICS Design
 
Parametric estimation in photovoltaic modules using the crow search algorithm
IJECEIAES
 
Ijartes v2-i4-001
IJARTES
 
The Power Quality Improvement in the Modes of Operation for Microgrid with UPQC
IRJET Journal
 
Ad

Viewers also liked (6)

PPTX
Circular barcode design resistant to linear motion blur (preliminary slides)
Naoki Shibata
 
PPTX
Wireless sensor networks
studying telecommuciation engineering
 
PPTX
Energy conservation in wireless sensor networks
ahmad abdelhafeez
 
PPT
Vendula Hejlová - Wireless sensor network components for monitoring air pollu...
swenney
 
DOC
Basic Architecture of Wireless Sensor Network
Karthik
 
PPTX
Wireless sensor network -a zone based approach
Shubhi Singh chauhan
 
Circular barcode design resistant to linear motion blur (preliminary slides)
Naoki Shibata
 
Wireless sensor networks
studying telecommuciation engineering
 
Energy conservation in wireless sensor networks
ahmad abdelhafeez
 
Vendula Hejlová - Wireless sensor network components for monitoring air pollu...
swenney
 
Basic Architecture of Wireless Sensor Network
Karthik
 
Wireless sensor network -a zone based approach
Shubhi Singh chauhan
 
Ad

Similar to Battery Aware Dynamic Scheduling for Periodic Task Graphs (20)

PDF
DYNAMIC VOLTAGE SCALING FOR POWER CONSUMPTION REDUCTION IN REAL-TIME MIXED TA...
cscpconf
 
PDF
Selection of Passive Component for Cockroft Walton Voltage Multiplier: A Low ...
IRJET Journal
 
PDF
Modeling Simulation and Design of Photovoltaic Array with MPPT Control Techni...
IJAPEJOURNAL
 
PDF
Improved space vector modulation algorithm of 5-level three-phase z-source ba...
International Journal of Power Electronics and Drive Systems (IJPEDS)
 
PDF
Implementation of RTOS on STM32F4 Microcontroller to Control Parallel Boost f...
IJERA Editor
 
PDF
A Review of Analysis and Modeling of Grid Connected Three Phase Multilevel Un...
IRJET Journal
 
PPTX
Dvfs nima-afraz
Nima Afraz
 
PDF
RT15 Berkeley | Optimized Power Flow Control in Microgrids - Sandia Laboratory
OPAL-RT TECHNOLOGIES
 
PDF
A Review on Modeling and Analysis of Multi Stage with Multi Phase DC DC Boost...
YogeshIJTSRD
 
PPTX
Optimal load scheduling
Mayank Sharma
 
PDF
Universal Four Leg v4
AxelDijksman
 
PPTX
Operation_of_Grid_Connected_PV-Battery-Wind_Driven_DFIG_Based_System ppt-2.pptx
mayurispmvv
 
PDF
IRJET- Frequency Control of Distributed Generators in Microgrid with ANFIS Co...
IRJET Journal
 
PDF
Modeling and simulation of three phases cascaded H-bridge grid-tied PV inverter
journalBEEI
 
PDF
IRJET-Power Quality Improvement by using CHB Inverter based DVR
IRJET Journal
 
PDF
Design and Simulation of MPPT Algorithm for Three Phase Induction Motor Solar...
ijtsrd
 
PDF
IRJET- A Genetic based Stochastic Approach for Solving Thermal Unit Commitmen...
IRJET Journal
 
PDF
P0450495100
IJERA Editor
 
PDF
A Multilevel Inverter with MPPT Control for Drifting Analysis and Improved Po...
IRJET Journal
 
PDF
Reliability Constrained Unit Commitment Considering the Effect of DG and DR P...
IJECEIAES
 
DYNAMIC VOLTAGE SCALING FOR POWER CONSUMPTION REDUCTION IN REAL-TIME MIXED TA...
cscpconf
 
Selection of Passive Component for Cockroft Walton Voltage Multiplier: A Low ...
IRJET Journal
 
Modeling Simulation and Design of Photovoltaic Array with MPPT Control Techni...
IJAPEJOURNAL
 
Improved space vector modulation algorithm of 5-level three-phase z-source ba...
International Journal of Power Electronics and Drive Systems (IJPEDS)
 
Implementation of RTOS on STM32F4 Microcontroller to Control Parallel Boost f...
IJERA Editor
 
A Review of Analysis and Modeling of Grid Connected Three Phase Multilevel Un...
IRJET Journal
 
Dvfs nima-afraz
Nima Afraz
 
RT15 Berkeley | Optimized Power Flow Control in Microgrids - Sandia Laboratory
OPAL-RT TECHNOLOGIES
 
A Review on Modeling and Analysis of Multi Stage with Multi Phase DC DC Boost...
YogeshIJTSRD
 
Optimal load scheduling
Mayank Sharma
 
Universal Four Leg v4
AxelDijksman
 
Operation_of_Grid_Connected_PV-Battery-Wind_Driven_DFIG_Based_System ppt-2.pptx
mayurispmvv
 
IRJET- Frequency Control of Distributed Generators in Microgrid with ANFIS Co...
IRJET Journal
 
Modeling and simulation of three phases cascaded H-bridge grid-tied PV inverter
journalBEEI
 
IRJET-Power Quality Improvement by using CHB Inverter based DVR
IRJET Journal
 
Design and Simulation of MPPT Algorithm for Three Phase Induction Motor Solar...
ijtsrd
 
IRJET- A Genetic based Stochastic Approach for Solving Thermal Unit Commitmen...
IRJET Journal
 
P0450495100
IJERA Editor
 
A Multilevel Inverter with MPPT Control for Drifting Analysis and Improved Po...
IRJET Journal
 
Reliability Constrained Unit Commitment Considering the Effect of DG and DR P...
IJECEIAES
 

More from Nicolas Navet (13)

PDF
In-Vehicle Networking : a Survey and Look Forward
Nicolas Navet
 
PDF
Automotive communication systems: from dependability to security
Nicolas Navet
 
PDF
Mécanismes de protection dans AUTOSAR OS
Nicolas Navet
 
PDF
Pushing the limits of CAN - Scheduling frames with offsets provides a major p...
Nicolas Navet
 
PDF
New policies
Nicolas Navet
 
PDF
Isi2007 nn shc_2007
Nicolas Navet
 
PDF
Configuring the communication on FlexRay: the case of the static segment
Nicolas Navet
 
PDF
Automating the Configuration of the FlexRay Communication Cycle
Nicolas Navet
 
PDF
Aperiodic Traffic in Response Time Analyses with Adjustable Safety Level
Nicolas Navet
 
PDF
Ertss2010 multicore scheduling
Nicolas Navet
 
PDF
Optimizing the Robustness of X-by-Wire using Word Combinatorics
Nicolas Navet
 
PDF
Cief2007 nn shc_slides
Nicolas Navet
 
PDF
Virtualization in Automotive Embedded Systems : an Outlook
Nicolas Navet
 
In-Vehicle Networking : a Survey and Look Forward
Nicolas Navet
 
Automotive communication systems: from dependability to security
Nicolas Navet
 
Mécanismes de protection dans AUTOSAR OS
Nicolas Navet
 
Pushing the limits of CAN - Scheduling frames with offsets provides a major p...
Nicolas Navet
 
New policies
Nicolas Navet
 
Isi2007 nn shc_2007
Nicolas Navet
 
Configuring the communication on FlexRay: the case of the static segment
Nicolas Navet
 
Automating the Configuration of the FlexRay Communication Cycle
Nicolas Navet
 
Aperiodic Traffic in Response Time Analyses with Adjustable Safety Level
Nicolas Navet
 
Ertss2010 multicore scheduling
Nicolas Navet
 
Optimizing the Robustness of X-by-Wire using Word Combinatorics
Nicolas Navet
 
Cief2007 nn shc_slides
Nicolas Navet
 
Virtualization in Automotive Embedded Systems : an Outlook
Nicolas Navet
 

Recently uploaded (20)

PPTX
ChatGPT's Deck on The Enduring Legacy of Fax Machines
Greg Swan
 
PPT
L2 Rules of Netiquette in Empowerment technology
Archibal2
 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
PDF
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
PDF
Software Development Methodologies in 2025
KodekX
 
PDF
Building High-Performance Oracle Teams: Strategic Staffing for Database Manag...
SMACT Works
 
PDF
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PPTX
Smart Infrastructure and Automation through IoT Sensors
Rejig Digital
 
PDF
Doc9.....................................
SofiaCollazos
 
PPT
Coupa-Kickoff-Meeting-Template presentai
annapureddyn
 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
PDF
Best ERP System for Manufacturing in India | Elite Mindz
Elite Mindz
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
Chapter 2 Digital Image Fundamentals.pdf
Getnet Tigabie Askale -(GM)
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PPTX
How to Build a Scalable Micro-Investing Platform in 2025 - A Founder’s Guide ...
Third Rock Techkno
 
ChatGPT's Deck on The Enduring Legacy of Fax Machines
Greg Swan
 
L2 Rules of Netiquette in Empowerment technology
Archibal2
 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
Software Development Methodologies in 2025
KodekX
 
Building High-Performance Oracle Teams: Strategic Staffing for Database Manag...
SMACT Works
 
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
Smart Infrastructure and Automation through IoT Sensors
Rejig Digital
 
Doc9.....................................
SofiaCollazos
 
Coupa-Kickoff-Meeting-Template presentai
annapureddyn
 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
Best ERP System for Manufacturing in India | Elite Mindz
Elite Mindz
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
Chapter 2 Digital Image Fundamentals.pdf
Getnet Tigabie Askale -(GM)
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
How to Build a Scalable Micro-Investing Platform in 2025 - A Founder’s Guide ...
Third Rock Techkno
 

Battery Aware Dynamic Scheduling for Periodic Task Graphs

  • 1. Battery Aware Dynamic Scheduling for Periodic Task Graphs Venkat Rao # , Nicolas Navet # , Gaurav Singhal *, Anshul Kumar  , GS Visweswaran  # TRIO Group, INRIA-Lorraine /LORIA. * Dept of ECE, UT Austin,  Dept of CSE, IIT Delhi  Dept of EE, IIT Delhi
  • 2. Battery lifetime is major constraint Slow growth in energy densities not keeping up with increase in power consumption Extension of battery lifetime and not just low energy design the REAL GOAL Introduction Mobile Embedded Systems Design :
  • 3. Traditional approaches to energy optimization CMOS Energy and power Energy α V 2 Power α V 2 .f f max α V Dynamic Voltage Scaling (DVS): busy system => increase V dd , frequency idle system => decrease V dd , frequency Potential to achieve quadratic energy and cubic power savings.
  • 4. Variable-supply Architectures High-efficiency adjustable DC-DC converter View from battery side V bat is constant and depends on battery technology( 1.2 V for NiMh, 3.6-4.2 V for Li ion) High V dd translates to high I bat ` Power Manager WK to f f to Vdd Switching DCDC regulator V set V sys Clkgen SoC Battery V bat I bat I sys V sys X I sys = µ X V b at X I bat
  • 5. Battery Basics Battery characterized by V oc and V cut . Battery lifetime governed by active species concentration at electrode-electrolyte interface. Phenomenon governing battery lifetime: “Rate Capacity Effect” “ high load current implies lower charge delivered.” “Recovery Effect” “charge recovered by giving idle slots” Positive Ions Load _ + Electron Flow Anode Cathode Electrolyte
  • 6. Diffusion Model - Rakhmatov, Vrudula et al. Analytically very sound but computationally intensive Cannot be used for online scheduling decisions. Fully charged battery After Recovery After a recent discharge Fully discharged Electrode Electrode Electrode Electrode Electro-active species
  • 7. Battery Aware Scheduling Guideline 1: For a set of schedulable tasks (t 0 , t 1 ……t N ) having corresponding currents costs (I 0 , I 1 ……I N ) scheduling them in decreasing order of current costs is the optimum battery solution.[Rakhmatov03] Ibat time
  • 8. Battery Aware Scheduling Guideline 2: For a given task t to be executed before a given deadline d its better to lower the frequency and run without giving an idle slot than give an idle slot and run at a higher frequency.[Rakhmatov03] freq time freq time idle d d
  • 9. Problem Definition To find a battery efficient schedule for a given a set of periodic tasks graphs (T1, T2, ....Tn) which have corresponding deadlines (D1,D2, .....Dn) equal to their periods, where a taskgraph Ti comprises of any m interdependent nodes, each of which are in themselves tasks with given worst case computations (wci1, wci2, ......wcim). T1 D1 T3D3 T2 D2 wci Precendence constraint
  • 10. Our Methodology There are 2 aspects to the problem Global Frequency Setting Local order of execution of nodes Task Graphs Frequency Setting Priority function for max slack recovery DVS Algorithm Local Task Order Ready list WCi’s Di’s nodes fcurr next node
  • 11. Global Frequency Setting To calculate the min frequency that can ensure all subsequent deadlines are met. upon release( Taskgraph T i ) 1: WC i =  wc ij 2: select_frequency( ) upon end_of_node( τ ij ) 1: WC i = WC i + ac ij − wc ij 2: select frequency( ) select_frequency ( ) 1: U =  WC i /D i 2: f ref = U × F max , return f ref Modified ccEDF algorithm from [pillai01] The jth node of the ith task graph whose execution just ended. τ ij Deadline for the ith task graph Di Actual exec time for jth node of the ith task graph at fmax acij WCET of the jth node of the ith task graph at fmax wcij
  • 12. Global Frequency Setting Follows EDF so works up to U= 100% Ensures all deadlines are met. Ensures a Non Increasing discharge profile for set of jobs (set of instances of periodic tasks) freq time d re-computing speed
  • 13. Loc al order of execution Slack Recovery maximization. Worst case seldom arrives leading to dynamic slack Order of execution effects dynamic slack recovery Important to choose the order optimally A priority function needs to be chosen Heuristics like LTF and STF work well in specific cases p UBS : a near optimal priority function from [Gruian02]
  • 14. Ready List Ready list comprising of nodes from current(EDF) Task graph only. Ready list D1 D3 D2 D1 < D2 < D3 Priority function Execute
  • 15. Ready list comprising of nodes from current Task graph only Advantages : Follows EDF so ensures meeting of deadlines Simple to implement Disadvantages : Limited choice for the priority function. Limited slack recovery.
  • 16. Ready List Ready list comprising of nodes from all released Task graphs. Ready list D1 D3 D2 D1 < D2 < D3 Priority function Execute
  • 17. Ready list comprising of nodes from all released Task graphs Advantages : More choice for the priority function. Better slack recovery hence lower energy consumption Disadvantages : Out of EDF execution hence deadline can be missed Need For additional feasibility check
  • 18. Ready List Ready list comprising of nodes from all released Task graphs. Ready list D1 D3 D2 D1 < D2 < D3 Priority function Execute Feasibility check
  • 19. Feasibility check Check to ensure that an out of EDF execution will not cause a deadline miss Or more stringently will not cause the raising of frequency later for meeting deadlines For task belonging to EDF order k, k-1 checks are required. Feasibility Check ( t ij ) flag= 1; for (k=1 to j-1) { if (  WC k +wc ij > f curr X D k – T curr ) Flag =0; } return flag
  • 20. Simulations C simulations were conducted to test our methodology The DVS enabled processor simulated supports the following 3 frequency-voltage tuples [(0.5GHz,3 V), (0.75GHz,4V), (1.0GHz,5V)]. Task graphs were generated from TGFF with random dependencies Utilization of the system was kept to 70% Stochastic battery model from [G.Singhal05] was used to estimate battery life for the profiles generated by various scheduling algorithms Simulated for NiMH AAA Panasonic batteries with max capacity of 2000mAh and nominal capacity of 1600mAh
  • 21. Simulation Results : Battery lifetime and charge delivered. Results were obtained by averaging performance of the various algorithms over 100 random taskgraph sets Battery Aware Schedule 2 delivers maximum battery life amongst the schemes compared
  • 22. Conclusion W e have presented a Battery-aware Scheduling Methodology that facilitates the combining of a good DVS algorithm with a heuristic based priority function for scheduling of taskgraphs. Simulations suggest that our methodology performs up to 47% better than ccEDF and upto 23.3% better than laEDF scheduling schemes in terms of battery lifetime. It can result in u p to 100% improvement in battery lifetime over systems with no DVS.
  • 23. References and Credits [1] V. Rao and G. Singhal. Integrated power management for embedded systems. Bachelors Thesis, Indian Institute of Technology, Delhi , 2005. [2] F . Yao, A Demers and S Shenkers . A Scheduling Model for Reduced CPU energy. IEEE 1995. [3] P. Pillai and K. G.Shin. Real time dynamic voltage scaling for low powered embedded systems. Operating Systems Review , 35:89–102, October 2001. [4] S. Vrudhula and D. Rakhmatov. Energy management for battery powered embedded systems. ACM Transactions on Embedded Computing Systems , pages 277– 324, August 2003 . [5] J. Luo and N. K. Jha. Battery-aware static scheduling for distributed real-time embedded systems. In DAC’01: Proceedings of the 38th conference on Design automation , 2001 . [6] G ruian F., Energy-Centric Scheduling for Real-Time Systems, PhD thesis, Lund Institute of Technology, 2002. [7] V. Rao, G. Singhal, A. Kumar, and N. Navet. Battery model for embedded systems. In Proceedings of International Conference on VLSI Design , pages 105–110, January 2005. [8] V. Rao, G. Singhal, and A. Kumar. Real Time Dynamic Voltage Scaling for Embedded Systems. In Proceedings of International Conference on VLSI Design , pages 650–653, January 2004.
  • 25. Battery Models Still Too computationally intensive for use at runtime Not accurate, elements change value depending conditions Use capacitor and resistors to represent battery Circuit Still in the process of development. Relatively accurate and fast. Stochastic Slow, involves a large number of parameters Accurate PDE (higher forms of KiBaM) Disadvantages Advantages
  • 26. Rate Capacity Effect Rate Capacity Effect Total charge delivered by the battery goes down with the increase in load current. Concentration of active species at interface falls rapidly with increasing load current. Battery seems discharged when the concentration at interface becomes zero. back
  • 27. Recovery Effect Recovery Effect Battery recovers capacity if given idle slots in between discharges. Diffusion process compensates for the low concentration near the electrode. Battery can support further discharge. Elapsed time of discharge Cell Voltage Intermittent Discharge Continuous discharge back
  • 28. Simulation Results: Effect of ready list on energy consumption Energy consumption (normalized w.r.t optimal schedule) by various scheduling policies for different number of tasks in a taskgraph At Utilization 70% and actual computation times varying from 20% to 70%
  • 29. Simulation Results: Effect of priority function on energy consumption Energy consumption (normalized w.r.t optimal schedule) by various scheduling policies for different number of tasks in a taskgraph At Utilization 70% and actual computation times varying from 20% to 70%. Ready list comprises of most imminent.
  • 30. Kinetic Battery Model Simplest PDE model to explain both recovery and rate capacity. Available and Bound charge wells Dynamic transfer of charges governed by a rate constant and difference in heights.
  • 31. Introduction Battery Basics Rate Capacity Effect Recovery Effect Related Work : Review of relevant models Scheduling Problem Our Methodology. Simulation and Results Conclusion

Editor's Notes

  • #26: Based solely on the electro-chemistry. Sometime rely on empirically established 2. PDE: finite element models, divide each cell into a number of finite elements interacting with each other, models current flow and potential distribution in the cell. Quite complex and slow while accurate, not suitable for mobile OS. 3. 4. Stochastic is a promising modeling method. Represent the battery behavior as A discrete time transient stochastic process, that tracks the the cell state of the charge.
  • #27: Factors that may affect the battery performance include: When a battery stands idle after a discharge, certain chemical and physical changes take place which can result in voltage recovery. So, the voltage will rise after a rest period, giving a saw-tooth-shaped discharge. Shelf Life: even during storage, the battery is still discharge itself. Depending on the storage temp and humidity, the short shelf life can be a problem on long-term discharges. Around room temp, alkaline lose about 3% capacity per year, however zinc-carbon can lose up to 15% of the capacity
  • #28: Factors that may affect the battery performance include: When a battery stands idle after a discharge, certain chemical and physical changes take place which can result in voltage recovery. So, the voltage will rise after a rest period, giving a saw-tooth-shaped discharge. Shelf Life: even during storage, the battery is still discharge itself. Depending on the storage temp and humidity, the short shelf life can be a problem on long-term discharges. Around room temp, alkaline lose about 3% capacity per year, however zinc-carbon can lose up to 15% of the capacity