Presentation is loading. Please wait.

Presentation is loading. Please wait.

Energy-Efficient System Virtualization for Mobile and Embedded Systems Final Review 2014/01/21.

Similar presentations


Presentation on theme: "Energy-Efficient System Virtualization for Mobile and Embedded Systems Final Review 2014/01/21."— Presentation transcript:

1 Energy-Efficient System Virtualization for Mobile and Embedded Systems Final Review 2014/01/21

2 Outline Project overview big-LITTLE core architecture Models Resource-Guided scheduling ◦ Experimental results Conclusion

3 Outline Project overview big-LITTLE core architecture Models Resource-Guided scheduling ◦ Experimental results Conclusion

4 Motivation Mobile device has become an important tool in our daily life. Mobile virtualization enables a device to run multiple operating systems or virtual machines simultaneously. However, energy and computation resources are limited on mobile devices.

5 What Have Been Done The first-half year ◦ Energy-efficient task scheduling for per-core DVFS architecture  Offline energy-efficient task scheduling  Online energy-efficient task scheduling The last-half year ◦ Energy-efficient task scheduling for big-LITTLE core architecture

6 Goal of Our big-LITTLE Aware Scheduling Derive an energy-efficient scheduler for big-LITTLE core architecture ◦ Satisfies the resource requirement of each task. ◦ Minimizes the average power consumption.

7 Outline Project overview big-LITTLE core architecture Models Resource-Guided scheduling ◦ Experimental results Conclusion

8 Big-LITTLE Core Architecture Developed by ARM in Combines two kinds of architecturally compatible processors with different power and performance characteristics. Three different types ◦ 1 st Cluster migration ◦ 2 nd CPU migration/In-Kernel Switcher ◦ 3 rd Heterogeneous Multi-Processing(HMP)

9 Type 1: Cluster Migration Either big or LITTLE cores are used simultaneously.

10 Type 2: CPU Migration Logical CPU: a pair of big and LITTLE core. Only one of the two cores in a pair is powered up and processing tasks at a time.

11 Type 3: HMP All the big and LITTLE cores can be used at the same time.

12 Outline Project overview big-LITTLE core architecture Models Resource-Guided scheduling ◦ Experimental results Conclusion

13 Building the Power Model Measure the average power consumption of big and LITTLE core using different core frequency under different CPU load. Platform: ODROID-XU ◦ 1 st type, Cluster migration. ◦ Cortex™-A15 and Cortex™-A7. ◦ Per-cluster DVFS.

14 Average Power Consumption

15 Power Model The power consumption P t of an interval t is:  n b and n L : the number of big and little cores  P b i,t and P L j,t : the power consumption of big core i and little core j during time t.  E b f and E L f : the power consumption of big and little core with frequency f under load 100%.  loading n,t : the load of the n-th core in interval t.

16 Task Model For every Task i in a scheduling interval, we define: ◦ loading i :the percentage of time that task T i is running on a core in a period of time. ◦ CoreFreq i :the current frequency of the core cluster this task is running on.

17 Task Model(Cont.) We also define the minimum resource required for Task i as: ◦ QoSFreq i :the minimum core frequency that can satisfies the QoS requirement of Task i. ◦ QoSLoading i :the CPU load of Task i while the core frequency is QoSFreq i.

18 Objective Find a scheduling plan for an interval t according to task loadings, such that P t is minimum while satisfying task resource requirements. ◦ Recall that

19 Outline Project overview big-LITTLE core architecture Models Resource-Guided scheduling ◦ Experimental results Conclusion

20 Resource-Guided scheduling Consist of three phases: ◦ TaskInfo phase ◦ LittleCore phase ◦ bigCore phase Activates every scheduling interval, and makes decisions for the next interval.

21 TaskInfo Phase Gathers the loading information of each task. Collects the load and current frequency of each core.

22 LittleCore Phase If LITTLE core cluster is powered-off, skip this phase. Compares resource i of each Task i in little core cluster with their res_req i. ◦ If any task gets less resources than its minimum requirement, adjusts core settings.

23 Core Adjustment First, try to provide more resources to tasks by increasing LITTLE core frequency. If increasing frequency cannot provide enough resources, add one LITTLE core. Still, if add core cannot provide enough resources, migrate the task to big core cluster.

24 bigCore Phase If big core cluster is powered-off, skip this phase. Compares resource i of each Task i in big core cluster with their res_req i. ◦ Similar to LittleCore phase, without “migrate to bigger/powerful cores”. If every task requirements are satisfied, try to migrate task back to LITTLE. ◦ By estimating if task requirements can be satisfied in LITTLE cores.

25 Flowchart

26 Outline Project overview big-LITTLE core architecture Models Resource-Guided scheduling ◦ Experimental results Conclusion

27 Platform Platform: ODROID-XU ◦ 1 st type, Cluster migration ◦ Cortex™-A15 and Cortex™-A7 ◦ Per-cluster DVFS

28 Benchmark Three applications ◦ TTpod: MP3 palyer ◦ Candy Crush: Game ◦ Chrome: Web browser BenchmarkQoS requirement TTpodPlay music without interrupts Candy CrushAt least 24 FPS during gameplay ChromeJump to next page within one second after clicking a link

29 Simulation Simulate the execution of the three applications separately, and measure their average power consumption on the three types of big-LITTLE core architectures. Compare the average power consumption with Linaro’s strategies.

30 Simulation Results  Linaro’s strategies increase core frequency while encountering high CPU load, and eventually uses the highest frequency of big core to run Candy Crush and Chrome.  Our method use LITTLE core for Candy Crush, and big core with lower frequency for Chrome, thus reduce power consumption while keeping the QoS. Resource-Guided SchedulerLinaro ModelIIIIIIIIIIII TTpod0.019 Candy Crush Chrome

31 Experiment Execute the three applications together, and measure the average power consumption during execution. Scenario ◦ A user first starts TTpod to play some music. A minute later, this user starts to play the game, Candy Crush, while keeping the music playing. After playing the game for three minutes, this user finishes the game and opens Chrome to search for a solution on how to conquer a certain stage of Candy Crush.

32 Results – Linaro’s Strategy

33 Results – Resource-Guided

34 Experimental Summary Average power consumptions ◦ Linaro’s strategy: Watt ◦ Resource-guided: Watt The main reason is that some applications over-use resources. ◦ For example: Candy Crush ◦ Linaro’s strategy is unaware of such condition, thus keep increasing the core frequency.

35 Outline Project overview big-LITTLE core architecture Models Resource-Guided scheduling ◦ Experimental results Conclusion

36 Conclusion Build an energy-efficient scheduler for big-LITTLE core architecture that satisfies the resource requirement of each task and minimizes the energy consumption. Propose a scheduling policy which decides the resource use for the tasks in a dynamic fashion. The experimental results demonstrate that compared to Linaro’s scheduling strategies, our resource-guided scheduling method is more power-efficient.

37 Realizing Power-aware big- LITTLE scheduler on ICL Hypervisor 2014/01/21

38 Project Goal Enabling power-aware big-LITTLE scheduler design on ICL Hypervisor Target hardware platform ◦ ODROID-XU+"E" with power meter

39 Further Details Schedule vCPU between host CPU. Hypervisor scheduler may not interfere Guest OS process scheduler. Two conditions: ◦ Guest OS has big-LITTLE-aware scheduler  Hypervisor assign host CPU to guest according to Guest OS requirements. ◦ Guest OS does not have big-LITTLE-aware scheduler  Hypervisor scheduler assign vCPU according to guest condition.

40 Preliminary Thought Schedules vCPU to host CPU. Guest OS should provide information to hypervisor ◦ Information such as “x big and y little” or “vCore 2 require at least z processing speed”. ◦ What information can ICL hypervisor get from guest OS?

41 VM Introspection Since our scheduler needs QoS information from tasks, we need to know what applications a Guest OS is running. ◦ To maintain QoS and save energy. Thus we need hypervisor to support VM introspection.


Download ppt "Energy-Efficient System Virtualization for Mobile and Embedded Systems Final Review 2014/01/21."

Similar presentations


Ads by Google