. . . . . . .
QoS and Energy Management Coordination using Discrete Controller Synthesis
Noël De Palma Gwenaël Delaval Eric Rutten
Grenoble University, INRIA Grenoble
- nov. 29, 2010 — GCM 2010, Bangalore
QoS and Energy Management Coordination using Discrete Controller - - PowerPoint PPT Presentation
. . QoS and Energy Management Coordination using Discrete Controller Synthesis . . . . . Nol De Palma Gwenal Delaval Eric Rutten Grenoble University, INRIA Grenoble nov. 29, 2010 GCM 2010, Bangalore Motivation Reactive systems
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
1
2
3
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
1
2
3
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
Idle Wait e r and c/s delayable(r,c,e) = a,s Active c/s r and not c a = false a = true a = false
node delayable(r,c,e:bool) returns (a,s:bool) let automaton state Idle do a = false; s = r and c until r and c then Active | r and not c then Wait state Wait do a = false; s = c until c then Active state Active do a = true; s=false until e then Idle end tel
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
Trans State Out Z Y
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
Y c Y u Trans State Out Z Y
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
Ctrlr Y c Y u Trans State Out Z Y
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
OutC TrC StC Trans State Ctrlr eA, eG Y contract Out Z Y c body
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
OutC TrC StC Trans State Ctrlr eA, eG Y contract Out Z Y c body
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
controller (constraint) controller (function) link edition contracts automata BZR specification synchronous compiler hec transition system + objectives DCS tool sigali code gen. hectrl resolver triangularize
synchronous compiler
resolver (C) sequential code (C, Java, ...)
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
Managed System
1) 2) 3) 2) 4') 4) 4') 5) 5')
AVG_CPU Temporal Average >MaxCPU_Prov &¬(max_node) <MinCPU_Prov &¬(mmin_node) Suspend to RAM Spacial Average CPU Sensor Resume from RAM
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
Managed System
1) 2) 3) 2) 4') 4) 4') 5) 5')
AVG_CPU Temporal Average >MaxCPU_Prov &¬(max_node) <MinCPU_Prov &¬(mmin_node) Suspend to RAM Spacial Average CPU Sensor Resume from RAM
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
Managed System
1) 2) 3) 2) 4') 4) 4') 5) 5')
AVG_CPU Temporal Average >MaxCPU_Prov &¬(max_node) <MinCPU_Prov &¬(mmin_node) Suspend to RAM Spacial Average CPU Sensor Resume from RAM
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
Prov on AC off Prov off AC on Set timer 4sec AC Prov off AC on Prov on AC off Not (max_node) and CPU_avg > CPU_Max_prov Timer end max_node and CPU_avg > CPU_Max_prov CPU_avg < CPU_min_prov prov up/down prov timer min_node prov up Not(min_node)
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
Active Idle c not c act_ac = true act_ac = false
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
act_prov_up = false act_prov_down = false act_prov_up = true act_prov_down = true act_prov_down = true act_prov_up = false act_prov_down = false act_prov_up = true Adding UpDown CPU_avg > CPU_Max_prov timer_end and not max_node Down timer_end and max_node Up CPU_avg > CPU_Max_prov / add_machine / remove_machine CPU_avg < CPU_Min_prov (CPU_avg < CPU_Min_prov) and min_node / remove_machine (CPU_avg < CPU_Min_prov) and not min_node / remove_machine / add_machine
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
1 admission control never active when provisioning is
2 admission control active when provisioning idle main(...) = ... enforce (act_ac and not act_prov_up) or (not act_ac and act_prov_up) with c
act_prov_up = false act_prov_down = false act_prov_up = true act_prov_down = true act_prov_down = true act_prov_up = false act_prov_down = false act_prov_up = true Adding UpDown CPU_avg > CPU_Max_prov timer_end and not max_node Down timer_end and max_node Up CPU_avg > CPU_Max_prov / add_machine / remove_machine CPU_avg < CPU_Min_prov (CPU_avg < CPU_Min_prov) and min_node / remove_machine (CPU_avg < CPU_Min_prov) and not min_node / remove_machine / add_machine Active Idle c not c act_ac = true act_ac = false
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion
. . Motivation . . . . . Reactive systems and DCS . . . . QoS and energy management . . . . Synchronous controller design . Conclusion