32
Data center modeling, and energy efficient server management National Institute of Advanced Industrial Science and Technology (AIST) 1 Satoshi Itoh

Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

Data center modeling,

and energy efficient server management

National Institute of Advanced Industrial Science and Technology (AIST)

1

Satoshi Itoh

Page 2: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

Contents

• Virtualization

• Energy-saving scenario

• Data Center and Cloud computing

• Key technologies for Green Cloud

– Virtual Cluster system

– AIST 1 sec Live Migration

– Storage Live Migration

– Server Modeling

• Summary

2

Page 3: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

• Two major trends related to data center

• Virtualization and Grid are essential technologies to realize

both Cloud, Green Data Center and Green Cloud

Green Cloud

3

Green

Data Center

• Energy-saving

• Low carbon

Data Center

Cloud

• Service

• Utility

Green

Cloud

Virtualization

/ Grid

Page 4: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

Energy-saving scenario

• Pack the application (Service) into fewer physical

servers

• Power off the unused servers

4

Service A Service B Service C

Server 1 Server 2 Server 3

Service A

Service B Service C

Server 1 Server 2 Server 3

Page 5: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

Opportunities in Coarser grain

• Find opportunities in Module, Room, and Data Center

levels

• Power off air conditioner and power supply

• Contribute significant energy-saving (doubles)

Room 1 Room 2 Room 1 Room 2

Data center 1 Data center 2 Data center 1 Data center 2

Multi-site

Page 6: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

• MAPE loop : General concept of optimal management

– It is used to optimize utilization of IT equipment

– It can be applied for power aware computing and optimal

energy management

• Keyword

– Energy-saving by virtualization

Monitor Analyze

Plan Execute

MAPE Loop for energy

Alert of

energy

Counter

Action

6

Page 7: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

AP3 AP1 AP4

AP2 AP4

Technologies to support Green Cloud

Server1 Server2 Server3

7

Data Center 1

Data Center 2

AP1

Server4

Green Cloud management system

AP1

• Cluster of virtual servers

(Xen, KVM, VLAN) • Multi-site Cluster

(VPN) • On demand storage

(iSCSI)

AP1 AP1

AP1 AP1

Virtual

Cluster

System

Page 8: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

AP3 AP1

AP2

Technologies to support Green Cloud

Server1 Server2 Server3

8

Data Center 1

Server4

AP1

• Not only CPU load

• But also power

consumption

AP1

AP1

Monitoring of

CPU load, power

consumption

AP1

Data Center 2

AP1

Green Cloud management system

Page 9: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

AP2

AP3 AP1

AP2

Technologies to support Green Cloud

Server1 Server2 Server3

9

Data Center 1

Server4

AP1

• Estimate power consumption

using the models of server

and services.

• Choose the plan that makes

lower power consumption

AP1

AP1

Modeling of

server and

services

Optimal

assignment

planning

AP3 AP1

AP2

AP2 AP2

AP2 AP1

Data Center 2

AP1

Green Cloud management system

Page 10: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

AP3 AP1

AP2

Technologies to support Green Cloud

Server1 Server2 Server3

10

Data Center 1

Server4

AP1

• Some of services finish

• Planning optimal

assignment again

• Migrate the service without

stopping

AP1

AP1

Optimal

assignment

planning

AP3 AP1

AP2

AP2 AP2

AP2

Live

migration

AP2

AP1

Data Center 2

AP1

Green Cloud management system

Page 11: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

Technologies to support Green Cloud

Server1 Server2 Server3

11

Data Center 1

Server4

AP1

• Shutdown unused server

• Reduce the power

consumption

• Turn it on, when needed

AP1

Optimal

assignment

planning

AP3

AP3

AP2

AP2

AP2

Remote

power

control

AP1

Data Center 2

AP1

AP3

AP3

Green Cloud management system

Page 12: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

AP3

AP3

AP3

Technologies to support Green Cloud

Server1 Server2 Server3

12

Data Center 1

Server4

AP1

• Some of services finish again

• Migrate the service to

another site without stopping

• Storage data is also copied

• Shutdown unused room/DC

• Reduce huge power

consumption

Optimal

assignment

planning

AP2

AP2

AP2

Data Center 2

AP1

AP1

Storage

Live

Migration AP1

Cooperation of

IT equipment

and facilities

Green Cloud management system

Page 13: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

AP1

AP3

Technologies to support Green Cloud

Server1 Server2 Server3

13

Data Center 1

Server4

AP3

Optimal

assignment

planning

AP2

AP2

AP2

Data Center 2

AP1

Storage

Live

Migration AP1

Remote

power

control

Live

migration

AP1

Modeling of

server and

services

Virtual

Cluster

System

Monitoring of

CPU load, power

consumption

AP3

Cooperation of

IT equipment

and facilities

Optimal

assignment

planning

Storage

Live

Migration

Live

migration

Modeling of

server and

services

Virtual

Cluster

System

AIST

Research

target

Green Cloud management system

Page 14: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

Virtual cluster system

• Reservation of required resource for virtual cluster via portal

• OS and required software are automatically installed at the

reserved time

– NPACI Rocks is a base

• Virtual Cluster is produced using three types of virtualization

technologies

– Server VMware Server / Xen / KVM

– Network VLAN and VPN

– Storage iSCSI and LVM

• Prototype system is

available

http://www.rocksclusters.org/

Access from

internet

Software and data provisioning

Site A Site B

Page 15: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

Live Migration

• The movement of a service from one physical machine to

another while continuously waked-up.

• Some of production software (VMware, Xen, KVM) can do,

if those machines share disk in a single domain

– At least 10 seconds are needed with 1GB memory to switch the host

(It takes much more, if application updates frequently memory pages)

15

Server1 Server2

Shared Disk

1. Copy all memory pages to

destination

2. Copy again updated memory pages

during the previous copy

3. Repeat the 2nd step until the rest of

memory pages are enough small

4. Stop VM

5. Copy CPU registers, device states,

and the rest of memory pages.

6. Resume VM at destination

VM

Service

VM

Copy VM states faster than updates

Page 16: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

AIST 1sec Live Migration

• Switch the execution host only in 1 second !

• Copy VM memory after relocation

16

1. Stop VM

2. Copy CPU and device states

to destination

3. Resume VM at destination

4. Copy memory pages on

demand

VM

Service

VM

STOP

Server1 Server2

Shared Disk

Page 17: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

AIST 1sec Live Migration

• Switch the execution host only in 1 second !

• Copy VM memory after relocation

17

1. Stop VM

2. Copy CPU and device states

to destination

3. Resume VM at destination

4. Copy memory pages on

demand

VM

Service

VM

Server1 Server2

Shared Disk

Page 18: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

AIST 1sec Live Migration

• Switch the execution host only in 1 second !

• Copy VM memory after relocation

18

1. Stop VM

2. Copy CPU and device states

to destination

3. Resume VM at destination

4. Copy memory pages on

demand

VM

Service

VM

Service

Resume

Server1 Server2

Shared Disk

Page 19: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

AIST 1sec Live Migration

• Switch the execution host only in 1 second !

• Copy VM memory after relocation

– Trivial modification to VMM: Only add 200 lines to KVM

– Transparent

• No special drivers and programs in VM

• Support any guest operating systems

19

1. Stop VM

2. Copy CPU and device states

to destination

3. Resume VM at destination

4. Copy memory pages on

demand

VM

Service

VM

Service

Server1 Server2

Shared Disk Copy accessed memory pages

– Simple and Stable

• Production ready quality

Page 20: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

Verification of the efficiency

• Relocate Web server of

SPECWeb2005(Banking)

• Existing method (Pre-copy)

– Migration was never completed

– Update of memory pages is

faster than data transfer

• Proposed method (Post-copy)

– Host is switched in 1 sec

– Response down for a while,

but it resumed in about 10 seconds

20

Environment

VM (httpd)

Shared Sstorage

GbE

GbE

Live Migration

Intel Core2 Duo E6305

4GB RAM

1 VCPU

1GB RAM

SPECWeb

Client

SPECWeb

Back End

Pre-copy Post-copy

Ne

two

rk T

hro

ug

hp

ut

(Mb

yte

s/s

)

Time (s)

Nu

mb

er

of

Res

po

nse

s

Page 21: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

• The movement of a service from one physical machine to

another in a different site while continuously waked-up.

• Copy Memory and disk images

– Copy memory image and activate the remote site virtual server

– Service accesses the disk in the original site and write it to the local disk

– Whole of data is copied to the remote site and finally the service runs

at the remote site.

Multi-site storage live migration

21

Remote site Original site

Server 1 Server 2

Remote

disk

VM

01100101110100

0100101100101

0010110101010 VM

01100101110100

0100101100101

0010110101010

Local

disk

Access

and

copy

WAN

Page 22: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

Combination of server and service

• Server consists of several components and has characteristics

– CPU, HDD, power supply, fan, …

– High density blade, Low-power HDD/processor, water cooling, SSD, ..

• Different application creates different workload of these

components

– Mail server, Web server, database server, …

• Server changes energy consumption according to the

application on it

• 性能だけでなく、消費電力も考慮に

22

Low power

HDD-PC

Mail

Server

Blade Server

DB

Server

Low power

HDD-PC

DB

Server

Blade Server

Mail

Server

Page 23: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

Modeling of server and service

• Modeling of Service (Software)

– De-composite to elemental processing

• Mail Server:CPU load ~ 30%

Disk write ~ 70%

• DB Server:CPU load ~ 70%

Disk write ~ 80%

• Modeling of Server (Hardware)

– De-composite to power consumption of

components

• CPU load → power in CPU

• Store and access → power in Disk

• Data send and receive → power in NIC and CPU

23

Server

(Hardware)

Service

(Software)

CPU

Dis

k

PS

U

Com

pu

ting

CP

U lo

ad

Write

dis

k

Data

tran

sfe

r F

an

Circ

uit

bo

ard

Rea

d d

isk

Page 24: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

Power consumption in 1U server

• DELL PowerEdge R300

– CPU: Dual CoreIntel Core 2Duo E6305

– Clock:1.60-1.86GHz

– Memory:9GB

– HDD:SATAⅡ 80GB (7200RPM) x 1

• Power consumption

– Idle state:~76W

– Disk access: ~4W

– LINPACK: ~132W (12GFlops)

– Fan(high room temperature):~13W

24

Idle state (Static)

Fan normal

HDD no access

Memory

PSU loss

etc.

Fan

(high room temp.)

CPU in use

Measured at AIST

~76W

~13W

~64W

~4W

~9W Floating point

HDD

Access

Items Energy per action unit

Network 64.8Ws/GB (Sender) 106.4Ws/GB (Receiver)

Disk

access

50Ws/GB (Read) 55Ws/GB (Write)

Memory

access

21.4Ws/GB (Read) ??Ws/GB (Write)

Processor ??W/GFlops or Ws/GFlop

Idle status 73.6W

W/Gbps

W/Gbps

Board

etc ~ 15W

~37W

~ 6W

Fan

Normal

HDD ~ 18W 3W/枚 memory

Page 25: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

Power consumption in blade server

• DELL PowerEdge M1000e (Enclosure)

– 16 Blades per chassis

– 6 Fans (12V5.6A)

– 6 PSUs

– Power consumption (idle):~ 213W

• DELL PowerEdge M600 (Blade)

– CPU: Quad Core Intel Xeon E5420 x 2

– Clock:2.5GHz

– Memory:8GB

– HDD:SATAⅡ 80GB (7200RPM) (2.5”)

• Power consumption

– Idle state:~124W

– Disk access: ~4W

– LINPACK:~288W(70GFlops)

基板 他 51W

HDD 1W

12W 4W/枚

メモリ 12W

60W CPU 60W

En

clo

su

re p

art

~213W

~4600W

(16枚)

~288W

Bla

de

pa

rt

~124W

~144W CPU

in use

2197W

2624W

(FP

320W)

??W

CPU

Active分

アイドル時

Fan通常回転

ブレードアイドル時

電源ロス、など

~20W

(1 blade)

Idle state (Static)

HDD no access

etc.

Floating

point

25

Measured at AIST

Page 26: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

Power consumption in HDD

• Capability of storage: Store and Access

• HDD consumes power when

– Disk spin → Store capability

– Read and Write processing → Access capability

– Head seek → Access capability

26

172

172.5

173

173.5

174

174.5

175

175.5

176

176.5

177

1 9

17

25

33

41

49

57

65

73

81

89

97

105

113

121

129

137

145

153

161

169

177

~ ~

data store capability

power consumption

while no data access

~8W

data access capability

power consumption

while data access

~4W

pow

er

consum

ption

→ Time

power consumption / Disk size (W/GB)

power consumption / Access speed (W/Gbps)

Energy consumption / Access size (Ws/GB)

Measured at AIST

Page 27: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

Power consumption in storage

• DELL EMC AX4-5F Disk array enclosure(DAE)

– 12 HDD in an enclosure

• Power consumption

– 390 VA, 360 W (maximum)

– Idle state with 12 HDD : 300W

– 8W / HDD → 12×8W=96W

– 204W for enclosure

27

Enclosure

part

~204W

8-12W

/ HDD

Store

(Idle state)

~300W

Access

4W/HDD

Measured at AIST

Page 28: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

Power consumption in Switch

• Force10 C300

– Size:13U

– Capacity: 1.536 Tbps

– Line card

• slots: 8

• 48 GbE ports

• 8 10GbE ports

– Power consumption

• Enclosure:305W

– RPM(Routing Processor Module) x 2

– Fan x 6

– PSU (Max 1.4KW)) x 2

• 48 GbE Line Card: 103W / slot

– 48 ports wire-rate traffic: +4W

• Full install (48GbE x 8=384 GbE) → 1100W

• 48ポート 103W, ~2W / port

28

Enclo-

sure

part

Line

card

part

305W

103~107W

1129

W

32W

Idle state

(no traffic)

Traffic part

(maximum 3%)

power off 17.4W

RPMx1 241.7W

RPMx2 304.8W

RPMx2+IFB 367.1W

shutdown ports 359.7W

link up 48 ports 407.5W

full short traffic 48 ports 411.2W

full long traffic 48 ports 409.9W

Measured at AIST

Page 29: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

Model and Metric

• Power consumption changes by combination of service and server

• Estimate power consumption before assigning

• Metric for optimal assignment in the sense of power consumption

– Power (Energy) consumption / performance

• Simple case: LINPACK using 1U server and Blade server

29

Low power

HDD-PC

Mail

Server

Blade Server

DB

Server

CPU

Dis

k

PS

U

CPU

Dis

k

PS

U

Low power

HDD-PC

DB

Server

Blade Server

Mail

Server CPU

Dis

k

PS

U

CPU

Dis

k

PS

U

LINPACK Power

cnsumption

Power / Performance

(Energy / Work)

1U Server 12GFlops 132W 11 W/GFlops(Ws/GFlop)

Blade Server 70GFlops 301W 4.3 W/GFlops(Ws/GFlop)

Page 30: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

User’s responsibility(Green SLA)

• Responsibility for low carbon society extend from

provider side to user side.

– Users have to recognize power consumption what they use

– They pay for it and use the data for carbon footprint

• Cloud

– Pay for service ( can include power cost in it )

– Power consumption of physical servers can be monitored

Modeling of VM for power consumption is necessary

• Green SLA

– Contribute to energy-saving even though performance of the

service drops

– SLA needs to include Green items (with performance, reliability,

security etc. )

30

Page 31: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

Topics for standard

• Necessity of new metrics

– How much does use of SaaS, ASP and Cloud contribute to

energy-saving ?

• energy consumption / service performance

– How greener is your data center than competitors / last

year’s record?

• energy consumption / performance of data center

– How much can service migration reduce energy

consumption?

• energy consumption / performance of server

• Green SLA

– Contribute to energy-saving even though performance of

the service drops

31

Page 32: Data center modeling, and energy efficient server management › ... › 1920 › OGF28_greenit_itoh.pdf · Contents • Virtualization • Energy-saving scenario • Data Center

Summary

• Virtualization technologies can be used to save TCO

and Energy in data center.

• Energy-saving scenario in the multiple levels of data

center, server, rack, room, whole data center

• AIST is developing technology and middleware for

power aware management in Green Cloud

– Virtual Cluster system

– Live (Storage) migration

– Optimal assignment

– Modeling of server and data center

– Green SLA

• document and software are here

– http://grivon.apgrid.org/

32