Dmytro ¡Dyachuk1, ¡and ¡Michele ¡Mazzucco2 ¡
1 ¡University ¡of ¡Saskatchewan, ¡Canada ¡ 2University ¡of ¡Tartu, ¡Estonia ¡
1 University of Saskatchewan, Canada 2 University of Tartu, - - PowerPoint PPT Presentation
Dmytro Dyachuk 1 , and Michele Mazzucco 2 1 University of Saskatchewan, Canada 2 University of Tartu, Estonia Introduction (1) Clients have performance expectations
Dmytro ¡Dyachuk1, ¡and ¡Michele ¡Mazzucco2 ¡
1 ¡University ¡of ¡Saskatchewan, ¡Canada ¡ 2University ¡of ¡Tartu, ¡Estonia ¡
success ¡(or ¡failure) ¡of ¡service ¡providers ¡
E.g., ¡Google ¡reports ¡that ¡ ¡an ¡extra ¡0.5 ¡sec. ¡in ¡search ¡page ¡ generation ¡would ¡ ¡imply ¡a ¡20% ¡traffic ¡drop ¡
E.g., ¡trimming ¡the ¡page ¡size ¡of ¡ ¡Google ¡Maps ¡by ¡30% ¡ resulted ¡in ¡30% ¡traffic ¡ ¡increase ¡
2
A ¡typical ¡household ¡consumes ¡1.14 ¡kW ¡ A ¡typical ¡data ¡center ¡consumes ¡15 ¡MW ¡= ¡877 ¡households ¡ ¡ ¡ ¡
Idle ¡servers ¡consume ¡up ¡to ¡65% ¡of ¡their ¡peak ¡consumption ¡
Over-‑provisioning ¡should ¡be ¡avoided ¡ Service ¡providers ¡must ¡meet ¡performance/availability ¡ requirements ¡ ¡
3
Each ¡successful ¡“transaction” ¡brings ¡c$ ¡: ¡we ¡don’t ¡want ¡to ¡miss ¡business ¡
4
n ¡are ¡running ¡ (S ¡-‑ ¡n) ¡are ¡switched ¡off ¡ Every processed request generates a revenue of c$ ¡ Electricity ¡costs ¡r$ ¡per ¡kWh ¡ If ¡all ¡servers ¡are ¡busy, ¡further ¡jobs ¡are ¡queued ¡ But ¡clients ¡have ¡limited ¡patience! ¡ If ¡the ¡waiting ¡time ¡exceeds ¡a ¡certain ¡threshold ¡(i.e., ¡1/θ
How ¡to ¡choose ¡the ¡“best” ¡n? ¡
5
R = c ¡T ¡ ¡-‑ ¡ ¡rP ¡
Throughput
Cost for electricity
1.
2.
R = r(n)
6
Consumption when busy Consumption when idle
7
8
|(n’-‑n)| ¡servers ¡
9
10
11 Adjusts the smoothed value Updates the trend
12
If ¡the ¡arrival ¡rate ¡is ¡unknown, ¡the ¡adaptive ¡policy ¡adjusted ¡with ¡90th ¡
energy, ¡and ¡lost ¡jobs ¡
13
S=1,000, ¡r=0.1$/kWh, ¡c=6.2*10-‑6 ¡$ ¡ 1/µ=0.1 ¡sec, ¡jobs ¡are ¡70% ¡CPU ¡bound, ¡θ ¡= ¡1/4 ¡
The ¡value ¡of ¡α ¡does ¡not ¡significantly ¡affect ¡R ¡ But ¡it ¡does ¡affect ¡the ¡number ¡of ¡lost ¡jobs ¡ QED ¡with ¡α ¡< ¡0.025 ¡performs ¡well ¡
14
The ¡value ¡of ¡α ¡does ¡not ¡significantly ¡affect ¡R ¡ But ¡it ¡does ¡affect ¡the ¡number ¡of ¡lost ¡jobs ¡ QED ¡with ¡α ¡< ¡0.025 ¡performs ¡well ¡
15
16
17