Professional Documents
Culture Documents
Green Computing
Green Computing
Johan Lilius
Johan Lilius
Green Computing
1/67
Introduction
Contents
1 Introduction
2 The economics of Data-Centers: Why Power Matters
3 Energy-proportional computing
4 Servers built on mobile processors
5 Summary
6 Bibliography
Johan Lilius
Green Computing
2/67
Introduction
Johan Lilius
Green Computing
3/67
Introduction
Start
1992 EPA Energy star rating
5 issues (2009)
1
2
3
4
5
Johan Lilius
E-Waste
Data-centers and Servers
PCs, Monitors and Workstations
Software
Telecommuting
Green Computing
4/67
Introduction
E-Waste
Recycling issue
estimates that over 25 billion computers, televisions, cell
phones, printers, gaming systems, and other devices
have been sold since 1980,
2 million tons of unwanted electronic devices in 2005
alone,
with only 15 to 20 percent being recycled
Johan Lilius
Green Computing
5/67
Introduction
9/3/10&
Johan Lilius
Driver
money,
not and
environmental
aspects
their ability
to supply
cool 1020 kW
of power:-(
per rack and up to
G. Brill: The Invisible Crisis in the Data Center: The Economic Meltdown of Moore's Law
Uptime Institute, 2009
Green Computing
2&
6/67
Introduction
Johan Lilius
Green Computing
7/67
Introduction
Software
Johan Lilius
Green Computing
8/67
Introduction
Telecommuting
Johan Lilius
Green Computing
9/67
Introduction
This presentation
Johan Lilius
Green Computing
10/67
Contents
1 Introduction
2 The economics of Data-Centers: Why Power Matters
3 Energy-proportional computing
4 Servers built on mobile processors
5 Summary
6 Bibliography
Johan Lilius
Green Computing
11/67
9/3/10&
Johan Lilius
Power draw
computing
clusters
is becoming
an increasing
Power
drawofof
computing
clusters
is becoming
an fraction of
their cost1
increasing fraction of their cost
The
the and
datacenters
isand
in up to
their density
ability to of
supply
cool 1020that
kW ofhouse
power them
per rack
1020
MW perby
datacenter
turn
limited
their ability to supply and cool 1020 kW
Future datacenters may require as much as 200 MW, and datacenters
of
per rack and
upwith
to dedicated
1020 MW
per substations
datacenterto
arepower
being constructed
today
electrical
feed
them.
Future datacenters require as much as >100 MW, and
Kenneth G. Brill: The
Crisisconstructed
in the Data Center: The
Economic
Meltdown
of Moore's Law
datacenters
areInvisible
being
today
with
dedicated
Uptime Institute, 2009
electrical substations to feed them.
1
2&
12/67
Nuclear powerplants:
Loviisa reactors 488MW nominal power
Olkiluoto new reactor 1600 MW nominal power
Johan Lilius
Green Computing
13/67
Johan Lilius
Green Computing
14/67
defined as IT
tells us what
actually gets d
These terms
1.7 states tha
servers), we d
systems (air c
same as a DC
to the facility
also tells us t
lost in power
PUEs vary g
as low as 2
facilities are
reports, howe
In this explo
generation fa
understood te
available equ
1.7, putting i
But it is not
innovations. A
best and form
where the pow
TotalPower
ITEquip.Power
ITEquip.Power
100%
TotalPower
Johan Lilius
Green Computing
16/67
Other ideas:
Use feed excess heat into city-wide heating system
(Gaudeamus datacenter, Helsinki)
Johan Lilius
Starting at
pricing out at more than $2M. Most facilities will have at least 1
extra generator (N+1) and many facilities will have 2 spares
Green
Computing
(N+2) allowing one to be in maintenance, one to fail on startup
2,
we see the
utility
and still to be able to run the facility at full load during a power
failure. A 2.5MW generator will burn just under 180 gallons/hour
of diesel so environmentally conscious operators work hard to
minimize their generator time. And the storage of well over
100,000 gallons of diesel at the facility brings additional cost,
storage space, insurance risk, and maintenance issues.
17/67
Matters
After the UPS, we step down the 13.2kV voltage to 480V and
then that is further stepped down to 208V for distribution to the
critical load, the servers. In this facility, we are using very high
quality transformers, so we experience losses of only 0.3% at each
transformer. We estimate that we lose a further 1% in switch gear
and conductor losses throughout the facility.
Johan Lilius
Green Computing
3
18/67
AC vs DC?
Ishikari Datacenter in Ishikari City, Hokkaido Japan
Use High-Voltage (400V) DC power as much as possible
Johan Lilius
Green Computing
19/67
Johan
20/67
100%
45%
90%
40%
80%
50%
35%
70%
30%
60%
25%
50%
20%
40%
15%
30%
10%
20%
5%
10%
0%
C u m u l a t iv e p o w e r
0%
Load
PSU
Chiller
UPS
VRs
Johan Lilius
Green Computing
21/67
Heat density I
Power dissipated / per unit area
Chip-level issue
Building-level issue
Building level
Blade server > 5kVA
Finnish sauna 6kVA
Most dense datacom products > 9kVA
Intel
Verari
2009/4/1
Johan Lilius
http://perspectives.mvdirona.com
14
Green Computing
22/67
Processor
Issues:
1
2
Johan Lilius
Green Computing
23/67
Processor Power I
Johan Lilius
Green Computing
24/67
Processor Power II
Concrete values for AMD and Intel
Johan Lilius
Green Computing
25/67
Johan Lilius
Green Computing
26/67
Processor Power IV
Johan Lilius
Green Computing
27/67
Johan Lilius
Green Computing
28/67
Processor power
Power as function of voltage and frequency
P = c V2 f
c is activity factor
What can you do?
1
Dead-end?
Johan Lilius
Green Computing
29/67
Energy-proportional computing
Contents
1 Introduction
2 The economics of Data-Centers: Why Power Matters
3 Energy-proportional computing
4 Servers built on mobile processors
5 Summary
6 Bibliography
Johan Lilius
Green Computing
30/67
Energy-proportional computing
Introduction
Energy-proportional computing introdcued by Barroso
and Hlzle at Google[2]
ments because minor traffic fluctuations or any internal disruption, such as hardware or
software faults, could tip it over
the edge. Moreover, the lack of a
0.025
reasonable amount of slack
makes
regular
operations
exceedingly complex because
0.02
any maintenance task has the
potential to cause serious service
disruptions. Similarly, well-pro0.015
visioned services are unlikely to
spend significant amounts of
time completely idle because
0.01
doing so would represent a substantial waste of capital.
Even during periods of low ser0.005
vice demand, servers are unlikely
to be fully idle. Large-scale services usually require hundreds of
0
servers and distribute the load
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1.0
over these machines. In some
CPU utilization
cases, it might be possible to
completely idle a subset of servers
Figure 1. Average CPU utilization of more than 5,000 servers during a six-month period.
during low-activity periods by,
Servers are rarely completely idle and seldom operate near their maximum utilization,
for example, shrinking the numinstead operating most of the time at between 10 and 50 percent of their maximum
ber of active front ends. Often,
utilization levels.
though, this is hard to accomplish because data, not just comvoltage-frequency scaling. Mobile devices require high putation, is distributed among machines. For example,
performance for short periods while the user awaits a common practice calls for spreading user data across
response, followed by relatively long idle intervals of many databases to eliminate the bottleneck that a censeconds or minutes. Many embedded computers, such tral database holding all users poses.
as sensor network agents, present a similar bimodal
Spreading data across multiple machines improves
usage model.4
data availability as well because it reduces the likeliThis kind of activity pattern steers designers to empha- hood that a crash will cause data loss. It can also help
size high energy efficiency at peak performance levels hasten recovery from crashes by spreading the recovand in idle mode, supporting inactive low-energy states, ery load across a greater number of nodes, as is done
such as sleep or standby, that consume near-zero energy. in the Google File System.6 As a result, all servers must
However, the usage model for servers, especially those be available, even during low-load periods. In addition,
used in large-scale Internet services, has very different networked servers frequently perform many small backcharacteristics.
ground tasks that make it impossible for them to enter
Figure 1 shows the distribution of CPU utilization lev- a sleep state.
els for thousands of servers during a six-month interWith few windows of complete idleness, servers canval.5 Although the actual shape of the distribution varies not take advantage of the existing inactive energysignificantly across services, two key observations from savings modes that mobile devices otherwise find so
Figure 1 can be generalized: Servers are rarely com- effective. Although developers can sometimes restrucpletely idle and seldom operate near their maximum uti- ture applications to create useful idle intervals during
lization. Instead, servers operate most of the time at periods of reduced load, in practice this is often difficult
between 10 and 50 percent of their maximum utiliza- and even harder to maintain. The Tickless kernel7 exemtion levels. Such behavior is not accidental, but results plifies some of the challenges involved in creating and
from observing sound service provisioning and distrib- maintaining idleness. Moreover, the most attractive inacuted systems design principles.
tive energy-savings modes tend to be those with the highAn Internet service provisioned such that the average est wake-up penalties, such as disk spin-up time, and
load approaches 100 percent will likely have difficulty thus their use complicates application deployment and
meeting throughput and latency service-level agree- greatly reduces their practicality.
Fraction of time
0.03
Green Computing
34
31/67
Computer
Energy-proportional computing
Energy-proportional computing I
Barroso and Hlzle suggest dynamic power control of
nodes in the datacenter
The datacenter would only keep a needed number of
nodes online to match the computational requirements
Goal: given a load curve match it with computational
power as closely as possible
Energy Waste
Energy Waste
Computation
Requirement
Energy Waste
Energy Waste
Computation
Requirement
Johan Lilius
Green Computing
32/67
Energy-proportional computing
Energy-proportional computing II
Johan Lilius
Green Computing
33/67
Energy-proportional computing
Memory Wall
Johan Lilius
Green Computing
34/67
Energy-proportional computing
Amdahl blades[12] I
Johan Lilius
Green Computing
35/67
Energy-proportional computing
Amdahl blades[12] II
GrayWulf
ASUS
Intel
Zotac
AxiomTek
Alix 3C2
CPU
[GHz]
Mem
[GB]
SeqIO
[GB/s]
RandIO
[kIOPS]
Disk
[TB]
Power
[W]
Cost
[$]
21.3
1.6
3.2
3.2
1.6
0.5
24
2
2
4
2
0.5
1.500
0.124
0.500
0.500
0.120
0.025
6.0
4.6
10.4
10.4
4.0
N/A
22.5
0.25
0.50
0.50
0.25
0.008
1,150
19
28
30
15
4
19,253
820
1,177
1,189
995
225
Relative
Power
1.000
0.017
0.024
0.026
0.013
0.003
Amdahl numbers
Seq Mem Rand
0.56
0.62
1.25
1.25
0.60
0.40
1.13
1.25
0.63
1.25
1.25
1.00
0.014
0.144
0.156
0.163
0.125
Johan Lilius
5. DISCUSSION
Contents
1 Introduction
2 The economics of Data-Centers: Why Power Matters
3 Energy-proportional computing
4 Servers built on mobile processors
5 Summary
6 Bibliography
Johan Lilius
Green Computing
37/67
Introduction
Johan Lilius
Green Computing
38/67
Commercial drivers
Money
Mobile processors are cheap
Heat-density
It will be possible to place servers into spaces where it
currently is not possible
Johan Lilius
Green Computing
39/67
EPI(nJ)
NominalCPI
Power consumption
ARM720T
0.22
2.2
65mW
ARM926EJ-S
0.46
1.6
95mW
ARM1136J-S
0.63
1.4
115mW
Processor
EPI (nJ)
Nominal CPI
Power consumption
Pentium 4
48
2.59
5060mW
Pentium M
15
2320mW
Core Duo
11
1190mW
Johan Lilius
5&
Green Computing
40/67
Hardware
Versatile Express Quad-core Cortex A9, 1GB DDR2,
400Mhz
Tegra 250 Dual-core Cortex-A9, 1GB DDR2, 1G
Johan Lilius
Green Computing
41/67
Benchmarks
SPECweb2005
more demanding web services
Erlang
micro benchmarks
real world SIP proxy
Johan Lilius
Green Computing
42/67
Johan Lilius
Green Computing
43/67
SPECWeb2005
Johan Lilius
Green Computing
44/67
Erlang
Johan Lilius
Green Computing
45/67
Results
Johan Lilius
Green Computing
46/67
Johan Lilius
Green Computing
47/67
Evaluation Platform
Johan Lilius
Green Computing
48/67
Johan Lilius
Green Computing
49/67
Johan Lilius
Green Computing
50/67
Johan Lilius
Green Computing
51/67
Simulation framework
Johan Lilius
Green Computing
52/67
Simulation framework
Quality of Service (QoS) is our current measurement of
performance
QoS shows how many % of the incoming requests are
handled in a time frame
The unhandled requests are moved to the next time
frame and result in a QoS drop
QoS drop is a result of latency that triggers a deadline
miss
Simulation framework can select static cores that are
not altered by the power manager, i.e. always running
Johan Lilius
Green Computing
53/67
CPU characteristics
Johan Lilius
Green Computing
54/67
Johan Lilius
Green Computing
55/67
Johan Lilius
56/67
Johan Lilius
Green Computing
57/67
Summary
Contents
1 Introduction
2 The economics of Data-Centers: Why Power Matters
3 Energy-proportional computing
4 Servers built on mobile processors
5 Summary
6 Bibliography
Johan Lilius
Green Computing
58/67
Summary
Summary
1
Johan Lilius
Green Computing
59/67
Summary
Acknowledgements
The Lean Server Team
Prof. Johan Lilius
Dr. Sebastien Lafond
M.Sc. Simon Holmbacka
M.Sc. Fareed Johkio
M.Sc. Tewodros Deneke
M.Sc Fredric Hllis
Alumni
M.Sc.
M.Sc.
M.Sc.
M.Sc.
Johan Lilius
Jens Smeds
Olle Swanfeldt-Winter
Joachim Sjlund
Joakim Nylund
Green Computing
60/67
Summary
Our Papers I
Simon Holmbacka, Sbastien Lafond, Johan Lilius, A
PID-Controlled Power Manager for Energy Ecient Web
Clusters. In: International Conference on Cloud and
Green Computing (CGC2011), 721-728, IEEE Computer
Society, 2011.
Simon Holmbacka, Jens Smeds, Sbastien Lafond,
Johan Lilius, System Level Power Management for
Many-Core Systems. In: (Ed.), Workshop on Micro
Power Management for Macro Systems on Chip, 2011.
Sbastien Lafond, Simon Holmbacka, Johan Lilius, A
System Level Power Management for Web Clusters. In:
COST Action IC0804 on Energy Eciency in Large Scale
Distributed Systems, 2nd Year, 127-131, IRIT, 2011.
Johan Lilius
Green Computing
61/67
Summary
Our Papers II
Sbastien Lafond Johan Lilius Simon Holmbacka, Power
Proportional Characteristics of an Energy Manager for
Web Clusters. In: Embedded Computer Systems:
Architecture, Modeling and Simulation (SAMOS) 2011,
8, IEEE pres, 2011.
Olle Svanfeldt-winter, Sbastien Lafond, Johan Lilius,
Cost and Energy Reduction Evaluation for ARM Based
Web Servers. In: International Conference on Cloud and
Green Computing (CGC2011), 480-487, IEEE Computer
Society, 2011.
Johan Lilius
Green Computing
62/67
Bibliography
Contents
1 Introduction
2 The economics of Data-Centers: Why Power Matters
3 Energy-proportional computing
4 Servers built on mobile processors
5 Summary
6 Bibliography
Johan Lilius
Green Computing
63/67
Bibliography
References I
David Andersen, Jason Franklin, Michael Kaminsky,
Amar Phanishayee, Lawrence Tan, and Vijay Vasudevan.
FAWN: a fast array of wimpy nodes.
SOSP 09: Proceedings of the ACM SIGOPS 22nd
symposium on Operating systems principles, October
2009.
LA Barroso and U Holzle.
The case for energy-proportional computing.
Computer, 40(12):3337, 2007.
BG Chun, G Iannaccone, G Iannaccone, R Katz, G Lee,
and L Niccolini.
An energy case for hybrid datacenters.
ACM SIGOPS Operating Systems Review, 44(1):7680,
2010.
Johan Lilius
Green Computing
64/67
Bibliography
References II
James Hamilton.
Cooperative Expendable Micro-Slice Servers (CEMS):
Low Cost, Low Power Servers for Internet-Scale Services.
pages 18, December 2008.
James Hamilton.
Data Center Eciency Best Practices.
pages 129, April 2009.
Urs Holzle.
Brawny cores still beat wimpy cores, most of the time.
IEEE Micro, pages 12, June 2010.
Johan Lilius
Green Computing
65/67
Bibliography
References III
W Lang, JM Patel, and S Shankar.
Wimpy Node Clusters: What About Non-Wimpy
Workloads?
2010.
Jacob Leverich and Christos Kozyrakis.
On the Energy (In)eciency of Hadoop Clusters.
pages 15, July 2009.
Reijo Maihaniemi.
Energy Ecient ICT.
Presentation, pages 127, September 2009.
J Manko, R Kravets, and E Blevis.
Some computer science issues in creating a sustainable
world.
Computer, 41(8):102105, 2008.
Johan Lilius
Green Computing
66/67
Bibliography
References IV
S Ruth.
Green IT More Than a Three Percent Solution?
IEEE Internet Computing, 2009.
Alexander Szalay, Gordon Bell, H Huang, Andreas Terzis,
and Alainna White.
Low-power amdahl-balanced blades for data intensive
computing.
SIGOPS Operating Systems Review, 44(1), March 2010.
Johan Lilius
Green Computing
67/67