• 沒有找到結果。

IIS Progress Report

N/A
N/A
Protected

Academic year: 2022

Share "IIS Progress Report"

Copied!
17
0
0

加載中.... (立即查看全文)

全文

(1)

IIS Progress Report

2015/10/12

(2)

Problem Revisit

Given a set of virtual machines, e ach contains some virtual cores wi th resource requirements.

Decides the amount of time and exe

cution order of these virtual core

s on heterogeneous multi-cores, su

ch that the power consumption is m

inimized while the resource requir

ement is satisfied.

(3)

Model Revisit

For every time interval

Virtual core i with resource requireme nt vi.

Physical core j with frequency fj.

The power consumption of a core with g iven fj is linear to its load Lj.

Some constraints:

vCPU can not run on two cores simultan eously.

A core cannot execute two vCPUs simult aneously

(4)

The Reviewer Said …

Not practical.

◦The 3-phase solution we proposed is t oo complex.

◦The computation for generating a sche duling plan is to heavy.

A scheduling plan per second.

(5)

Improvement

Instead of general workload, focus on scenarios that our model/soluti on is applicable.

◦Less work load fluctuation.

◦Instead of generating scheduling plan periodically, compute a new plan on w orkload changing.

(6)

Target Scenario

Stable workloads.

◦Computation-intensive

◦Generate new scheduling plan during (drastic) workload changing.

Reduce overhead

◦Continuously

◦Medium amount of workload

Single (ARM) server

Virtualized environment

◦Or not(?)

(7)

Target Scenario(Cont.)

Current target: streaming data pro cessing

◦Continuous data input

◦Pre-processing before storing or send to the next stage

Computation-intensive

◦Example:

Monitoring data, such as smart homes/build ing.

VOD decoding on multi-user NAS

…etc.

(8)

Three-phases Solution

Still too complex.

Since the new scenario does not re quire responsiveness.

◦Remove the concept of “time slot”, therefore we don’t need the 2nd and 3

rd phase.

Focus on the 1

st

phase.

(9)

First-phase Revisit

Decide the amount of time each vir tual core should run on the physic al cores.

◦Meet the requirement of each virtual core.

◦The frequencies of physical cores are given.

◦Can be solved using Linear/Integer Pr ogramming.

(10)

First-phase Revisit

Decide the amount of time each vir tual core should run on the physic al cores.

◦Meet the requirement of each virtual core.

◦The frequencies of physical cores are given.

◦Can be solved using Linear/Integer Pr ogramming.

Generate the allocation along with

the core frequencies.

(11)

The New Problem

Generate the amount of time each v irtual core should run on the phys ical cores along with the core fre quencies.

◦Not sure if it is a NP-C problem, sti ll working on this.

◦Notice that the constraints still hol d.

The total time allocates to a virtual core must be less or equal to the length of a t ime interval.

How to guarantee?

(12)

Observation

Given a vCPU with requirement vi.

◦The physical cores hosting this vCPU must provide frequency fj where fj ≧ vi.

Ex: vi = 1200M

1200 M

800 M

1600 M 1200

M 40

%

60

%

40

% 70

%

(13)

Heuristic #1

Given a set of virtual core with res ource requirement v

i

.

Group two vCPUs with the smallest v

i

into a new vCPU, where is v’

i

the s um of the two vCPU.

Repeat this process until the number of vCPU (group) is less or equal tha n the number of cores.

Decide the frequencies of cores acco

rding to v’

i

of each vCPU group.

(14)

Heuristic #2

B= {}, L = {v

i

}, i = 0, …, n-1

Compute ∑ v

i

, ∑ F

j

◦Fj is the largest available frequency of an energy-efficient core.

while(∑ v

i

> ∑ F

j

)

remove the largest v

i

from L, ad

d to B

(15)

Heuristic #2(Cont.)

while(∑ v

i

> ∑ f

j

)

In crease the smallest f

j

by 1 l evel.

◦// vi ∈ L, fj = max(vi) initially

Foreach v

i

∈ L

◦Start from the smallest vi, assign it to the smallest fj with spare resourc e.

◦If(vi > sj) // sj : spare resource on c ore j

assign (vi - sj) to core j+1, which is the second smallest core with spare r esource.

(16)

Example

900M 900M 900M 1800

M

(17)

Discussion

參考文獻

相關文件

Differential Geometry Homework #8 due

The golden girdle signifies Christ’s divinity as His divine energy, and the breasts signify that this golden energy is exercised and motivated by and with His love to nourish

1) The width, length, and height of a large, custom-made shipping crate are 1.20 m, 2.12 m, and 0.54 m, respectively.. The masses (amu) and % abundances of the isotopes are given in

8) The specific heat capacity of solid copper metal is 0.385 J/g-K.. 16) Consider the general valence electron configuration of ns2np5 and the following statements:. (i) Elements

substance) is matter that has distinct properties and a composition that does not vary from sample

The molal-freezing-point-depression constant (Kf) for ethanol is 1.99 °C/m. The density of the resulting solution is 0.974 g/mL.. 21) Which one of the following graphs shows the

11) Carbon-11 is used in medical imaging. The half-life of this radioisotope is 20.4 min.. 31) If each of the following represents an alkane, and a carbon atom is located at each

The short film “My Shoes” has been chosen to illustrate and highlight different areas of cinematography (e.g. the use of music, camera shots, angles and movements, editing