building green cloud services at low cost josep ll. berral, Íñigo goiri, thu d. nguyen, ricard...
TRANSCRIPT
Building Green Cloud Services at Low Cost
Josep Ll. Berral, Íñigo Goiri, Thu D. Nguyen,Ricard Gavaldà, Jordi Torres, Ricardo Bianchini
2
Motivation
• Cloud services require thousands of servers• Use multiple "mirror" datacenters• Billions of dollars building and operating datacenters• Datacenter costs depend on location
Microsoft DC in Chicago Google datacenter “network”
3
Green datacenters
• Datacenters consume large amounts of energy• High energy cost and carbon footprint
• Brown electricity: coal and natural gas
• Connect datacenters to green sources: solar, wind• Some operators require green energy
• For example, 50% of datacenter energy to be "green"
Apple DC in Maiden, NC 40MW solar farm
4
Challenges in green datacenters
• Solar and wind energy availability is variable• Use grid brown electricity• Use stored energy
• Use green energy• Energy storage: net metering and batteries• Multiple green datacenters
Power
Time
Load
VariableSolar power
Workload
Source?
Storage?
Placing green datacenters
• Datacenter with onsite renewable plant(s)• Renewable costs depend on location
• Land costs• Renewable energy availability
Wind availability
www.3tier.com | ©2014 3TIER
Solar availability
5
6
Workloads in green datacenters
• Multiple locations• Changing green energy availability over time• Use available green energy
• Workload follows the renewables• Consider migration overheads• Manage data in multiple locations
7
Goals
• Siting and provisioning• Pick locations• Datacenter sizes• Co-located solar/wind farm sizes• Green energy requirement (e.g., 50% green energy)
• Managing workloads in green datacenter networks• Follow-the-renewables policy• HPC jobs in virtual machines (VMs)• Network latency not an issue and "easy" to migrate load
8
Placement framework
• Datacenter costs• Depend on location and size
• Capital expenses (CAPEX)• Datacenter building• Cooling infrastructure• Servers and network • Connection to network and electrical grid• Renewable equipment and batteries• Ammortization and financing
• Operational expenses (OPEX)• IT and cooling operation
CAPEX
Amortized per month
OPEX
Full month
Total
$/month
9
Formulating the problem
• Optimization goal• Minimize total cost (CAPEX and OPEX)
• Constraints• Green energy requirement (e.g., 50% green)• Datacenter availability constraint
• Output• Location and datacenter size• Renewable plant type and size• Battery size (if used)
Input data Constraints
Optimization
Solution
Models
10
Solving the problem
• Problem not linear: new solution approach• Initial location filtering• Simplified problem (MILP)• Simulated annealing enhanced with heuristics
Datacenter
locations
Provision
(MILP)
Modify location
s
SimplifiedMILP
Filter FinalSolution
11
Input data: location-related
• 1373 locations around the world • Meteorological data
• Typical meteorological year (TMY)• Solar irradiation• Wind speed• Temperature
• Grid electricity costs• Power plants• Transmission lines• Energy cost
• Other datacenter costs• Major network backbones• Land costs
12
Input data: capacity factors
• Solar/wind energy generation• Solar panel model (W/m2→W)• Wind turbine model (m/s→W)• Renewable plant size (W)• Location weather data
• Capacity factor• Actual power ratio over capacity• Over a full year
• Solar is more available• Wind is higher in few locations
• Location correlation• Solar/wind availability• Temperature (→PUE)
13
Green datacenter placement
• 50MW computation capacity• 50% renewable energy requirement• Net metering to handle variability
Grissom(Indiana)
Mount Washington(New Hampshire)
0 2 4 6 8 10
Land windBuilding wind farmNetwork bandwidthBrown energyConnection grid/netIT equipmentLand DCBuilding DC
Cost (in million dollars)
54kW51MW
25MW
25MW
Right amount of capacity, no resources idle
Right amount of capacity, no resources idle
14
Green energy requirement
• Build a 50MW network using net metering
0 10 20 30 40 50 60 70 80 90 1000
5
10
15
20
25
30
35
40WindSolarWind and solar
Green percentage (%)
Cost
(in
mill
ion
dolla
rs)
Wind more cost-effective than solar (3x cheaper)Green cost overhead 13% for 50% green always <20%
Brown
15
Placement with no green energy storage
Zimbabwe
Guam
Mexico
0 5 10 15 20 25 30
Land windBuilding wind farmLand solarBuilding solarNetwork bandwidthBrown energyConnection grid/netIT equipmentLand DCBuilding DC
327MW
397MW
375MW 38MW
50MW
50MW
50MW
Massive renewable plantsEverything replicated
16
Impact of green energy storage
• Green energy storage mitigates variability• Batteries ~2x more expensive than net metering• No storage ~5x more expensive
• One case where solar more cost-effective than wind• No storage and high green energy requirement• More predictable
Batteries for storage No storage
0 10 20 30 40 50 60 70 80 90 1000
20
40
60
80
100
120 WindSolarWind and solarNet meter
Green percentage (%)
Cost
(in
mill
ion
dolla
rs)
0 10 20 30 40 50 60 70 80 90 1000
20
40
60
80
100
120WindSolarWind and solarNet meter
Green percentage (%)
Cost
(in
mill
ion
dolla
rs)
17
How to operate a green datacenter network?• Feasibility of "follow the renewables“• Run HPC jobs
• No latency requirements
• Need to move load between locations• VMs for live migration• Distributed file system
• Policy to follow the renewables• Predict green energy availability per site• Consider migration overheads• Version of the original placement MILP
18
GreenNebula
• Based on OpenNebula• Scheduling policy to place and migrate VMs accross datacenters• Distributed file system: append only, diff...
19
GreenNebula results
• Validated in prototype system• Migration between Barcelona and New Jersey
• Placement with 3 locations (previous example)• 100% green energy with no energy storage
Time
20
Conclusions
• Building a green network of datacenters• Partially powered by on-site renewables
• Siting and provisioning• Quantify cost of being green• Energy storage costs• Usually wind is cheaper• Solar more reliable for high green energy requirements• Net metering most “cost-effective” storage medium• Batteries only slightly more expensive up to 75% green
• GreenNebula• Follow-the-renewables VM scheduler• Extend siting optimization problem
Building Green Cloud Services at Low Cost
Josep Ll. Berral, Íñigo Goiri, Thu D. Nguyen,Ricard Gavaldà, Jordi Torres, Ricardo Bianchini