• 沒有找到結果。

An Energy-efficient Scheduling Policy for Hypervisors on Asymmetric Multi-core

N/A
N/A
Protected

Academic year: 2022

Share "An Energy-efficient Scheduling Policy for Hypervisors on Asymmetric Multi-core"

Copied!
27
0
0
顯示更多 ( 頁)

全文

(1)

An Energy-efficient Scheduling Policy for Hypervisors on

Asymmetric Multi-core

Ching-Chi Lin, Yi-Chung Chen

Institute of Information Science, Academia Sinica

Department of Computer Science and Information Engineering, National Taiwan University

You-Cheng Syu, Pangfeng Liu

Department of Computer Science and Information Engineering, National Taiwan University Graduate Institute of Networking and Multimedia, Nation Taiwan University

(2)

Outline

Introduction

◦ Background

◦ Motivation

Virtual Core Scheduling Problem

◦ Model

◦ Solution

Evaluation

Conclusion

(3)

Background

Asymmetric multi-core architecture.

◦ Consists of cores with the same ISA but different computing capabilities and power characteristics..

ARM (big.LITTLE), Qualcomm (aSMP), Nvidia (vSMP), Samsung, MediaTek…etc.

◦ Aim to achieve both performance and energy- efficient.

(4)

Motivation

Design new scheduling algorithm for asymmetric multi-core platforms.

◦ Exert the advantage of different types of cores.

◦ Maximize power efficiency with modest performance sacrifices.

4

(5)

Hypervisor Scheduler

Assigns the virtual cores to physical cores for execution.

◦ Determines the execution order and amount of time assigned to each virtual core

according to a scheduling policy.

◦ Current solutions

Xen - credit-based scheduler

KVM - completely fair scheduler

(6)

Current Load-balancing Design

6

VM2 VM1

vCore2

Load-balanced

Hypervisor Scheduler

Power- efficient

Core

vCore3

Power- efficient

Core

Performance Core

Performance Core

vCore0 vCore1

(7)

Proposed Design

VM2 VM1

vCore2

Asymmetry-aware Hypervisor Scheduler

Power- efficient

Core

vCore3

Power- efficient

Core

Performance Core

Performance Core

vCore0 vCore1

(8)

Goal

Design and implement a new hypervisor scheduler for asymmetric multi-core

platform.

◦ Achieve energy-saving while satisfying the resource requirement of each virtual core.

8

(9)

Assumptions

The scheduling policy in the guest OS is already asymmetry-aware.

The hypervisor is aware of the frequency

of each virtual core.

(10)

Outline

Introduction

◦ Background

◦ Motivation

Virtual Core Scheduling Problem

◦ Model

◦ Solution

Evaluation

Conclusion

(11)

Virtual Core Scheduling Problem

For every time period, given the operating frequency of each virtual core, the

scheduler has to generate a scheduling plan such that

◦ The power consumption is minimized.

◦ Satisfy the resource requirements of virtual cores.

(12)

Scheduling plan

The amount of time each virtual core should run on each physical core.

The execution order of virtual cores on each physical core.

12

(13)

Power Model

Relation between power consumption, core frequency, and load.

◦ bzip2

(14)

Computing Resource

Number of CPU cycles.

◦ Multiplying the frequency by time.

Our scheduling plan must satisfies the

resource requirement of each virtual core.

◦ Unless “fully utilized”.

Resource required from vCPUs > resources provided by pCPUs.

15

(15)

Optimization Problem

Objective function:

n: number of physical core

Generate a set of a

i,j

.

◦ ai,j:the amount of time executing virtual core j on physical core i in a time interval.

◦ Some constraints.

) min(

1

= n

i

Poweri

(16)

Solution

Three phase scheduling

◦ Phase 1:generate the amount of time each virtual core should run on physical cores.

◦ Phase 2 & 3: determine the execution order of virtual cores on a physical core.

19

(17)

Phase 1

Generate the amount of “time slice” each virtual core should run on physical cores.

Linear programming Greedy heuristic

◦ Assign workloads to the most energy-efficient physical core with available resources.

pCPU 1 pCPU 2 pCPU3

vCPU 0 60 0 0

(18)

Phase 2

Determine the execution order of virtual cores on a physical core according to the result of phase 1.

“Open Shop Scheduling Problem”

◦ Can be solved in polynomial time if jobs can preempt each other.

21

(19)

Phase 3

Reorder the Execution Slices to reduce

migration overhead.

(20)

Outline

Introduction

◦ Background

◦ Motivation

Virtual Core Scheduling Problem

◦ Model

◦ Solution

Evaluation

Conclusion

(21)

Experimental Environment

ARM Juno board

2 performance core A57

4 power-efficient core A53

Xen 4.5.0-rc

Dom0: dual-core VM

Dedicate 2 power-efficient to Dom0 VM.

Workload: Coremark

Light, medium, heavy

(22)

Workload Setting

Two DomU: dual-core VMs.

Two sets of input:

Case 1: Both VMs with light workloads.

Case 2: One VM with medium workloads, the other with heavy workloads.

25

(23)

Results

(24)

Results(Cont.)

◦ Case 1: asymmetry-aware method is about 50.4% of that of credit-based method.

◦ Case 2:asymmetry-aware method uses 70.8%

of energy used by the credit-base method.

27

Energy(J) Time(Sec.)

Case 1 Asymmetry-aware 4.948 27

Credit-based 9.817 25.2

Case 2 Asymmetry-aware 24.775 71

Credit-based 34.890 63

(25)

Outline

Introduction

◦ Background

◦ Motivation

Virtual Core Scheduling Problem

◦ Model

◦ Solution

Evaluation

(26)

Conclusion

We develop an energy-efficient scheduler for asymmetric multi-core platforms.

◦ Generates energy-efficient scheduling plans that satisfy virtual core resource

requirements.

Will keep improving the scheduler and the related issues.

29

(27)

Thank you!

參考文獻

相關文件

Animal or vegetable fats and oils and their fractiors, boiled, oxidised, dehydrated, sulphurised, blown, polymerised by heat in vacuum or in inert gas or otherwise chemically

Milk and cream, in powder, granule or other solid form, of a fat content, by weight, exceeding 1.5%, not containing added sugar or other sweetening matter.

In order to achieve the core competencies of the twelve-year compulsory education curriculum and to further develop test items for science literacy assessment, it is

Cowell, The Jātaka, or Stories of the Buddha's Former Births, Book XXII, pp.

In particular, we present a linear-time algorithm for the k-tuple total domination problem for graphs in which each block is a clique, a cycle or a complete bipartite graph,

Students are asked to collect information (including materials from books, pamphlet from Environmental Protection Department...etc.) of the possible effects of pollution on our

• elearning pilot scheme (Four True Light Schools): WIFI construction, iPad procurement, elearning school visit and teacher training, English starts the elearning lesson.. 2012 •

Parallel dual coordinate descent method for large-scale linear classification in multi-core environments. In Proceedings of the 22nd ACM SIGKDD International Conference on

 Propose eQoS, which serves as a gene ral framework for reasoning about th e energy efficiency trade-off in int eractive mobile Web applications.  Demonstrate a working prototype and

Efficient training relies on designing optimization algorithms by incorporating the problem structure Many issues about multi-core and distributed linear classification still need to

The min-max and the max-min k-split problem are defined similarly except that the objectives are to minimize the maximum subgraph, and to maximize the minimum subgraph respectively..

In this project, we developed an irregular array redistribution scheduling algorithm, two-phase degree-reduction (TPDR) and a method to provide better cost when computing cost

The core indicators of the environmental management dimension include: (1) the commitment of the administers on sustainable development; (2) the establishment of a school

The core of this research is focusing on Service Innovation, discussing on the composite factors of manufacturing servitization through literatures and questionnaires from

Marar (2000), “On the Value of Optimal Myopic Solutions for Dynamic Routing and Scheduling Problems in The Presence of User Noncompliance,” Transportation Science, Vol..

(1988), “An Improved Branching Sheme for the Branch Bound Procedure of Scheduling n Jobs on m Parallel Machines to Minimize Total Weighted Flowtime,” International Journal of

The proposed algorithms use the optimal-searching technique of genetic algorithm (GA) to get an efficient scheduling solution in grid computing environment and adapt to

Based on the insertion of redundant wires and the analysis of the clock skew in a clock tree, an efficient OPE-aware algorithm is proposed to repair the zero-skew

In order to have a complete and efficient decision-making policy, it has to be done with multi-dimensional reflection and analysis; The multi-criteria decision-making analysis

Li, The application of Bayesian optimization and classifier systems in nurse scheduling, in: Proceedings of the 8th International Conference on Parallel Problem Solving

This research focuses on the conduction mode of the nursery schools and on making policy of the public nursery schools operated by the private organization.. According to

Colorni, A., Dorigo, M., Maniezzo, V., and Trubian, M.(1994), “Ant System for Job-shop Scheduling,” Belgian Journal of Operations Research, Statistics and Computer Science

The purpose of Grade 1-9 Curriculum is improvement on the problems of maladjustment and pressure from students as the traditional curriculum.. But according to the result