3 2--power-aware-cloud

22
A Power-Aware Cloud Architecture with Smart Metering Che-Yuan Tu, Wen-Chieh Kuo, Yao-Tsung Wang, Wei-Hua Teng, Steven Shiau Software Technology Division National Center for High-Performance Computing

Upload: bhuvijayavelu

Post on 18-Jul-2015

35 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 3 2--power-aware-cloud

A Power-Aware Cloud Architecture with Smart Metering

Che-Yuan Tu, Wen-Chieh Kuo,

Yao-Tsung Wang, Wei-Hua Teng, Steven Shiau

Software Technology Division

National Center for High-Performance Computing

Page 2: 3 2--power-aware-cloud

Outline ClassCloud – Cloud in PC Classrooms Smart Metering System Experiment Design & Discussion Conclusion Q&A

Page 3: 3 2--power-aware-cloud

The ClassCloud Project

Page 4: 3 2--power-aware-cloud

What is ClassCloud ?ClassCloud helps to easily build economical Cloud infrastructure in

PC classrooms !

Page 5: 3 2--power-aware-cloud

The Cloud Architecture in thePC Classro o ms

Page 6: 3 2--power-aware-cloud

The software stack

Page 7: 3 2--power-aware-cloud

pxelinuxpxelinuxpxelinuxpxelinuxvmlinuz-pxevmlinuz-pxevmlinuz-pxevmlinuz-pxeinitrd-pxeinitrd-pxeinitrd-pxeinitrd-pxe

Config. FilesConfig. FilesEx. hostnameEx. hostnameConfig. FilesConfig. FilesEx. hostnameEx. hostname

Linux KernelLinux KernelLinux KernelLinux KernelKernel ModuleKernel ModuleKernel ModuleKernel Module

GNU LibcGNU LibcGNU LibcGNU Libc

Boot LoaderBoot LoaderBoot LoaderBoot Loader

DHCPDDHCPDDHCPDDHCPDTFTPDTFTPDTFTPDTFTPDNFSNFSNFSNFS YPYPYPYPNISNISNISNISSSHDSSHDSSHDSSHD

PXEPXEPXEPXE

The DRBL Architecture

PXEPXEPXEPXE PXEPXEPXEPXE PXEPXEPXEPXE

IP 1IP 1 IP 2IP 2 IP 3IP 3 IP 4IP 4

IP 1IP 1IP 1IP 1pxelinuxpxelinuxpxelinuxpxelinuxvmlinuzvmlinuzvmlinuzvmlinuzinitrdinitrdinitrdinitrd

IP 2IP 2IP 2IP 2pxelinuxpxelinuxpxelinuxpxelinuxvmlinuzvmlinuzvmlinuzvmlinuzinitrdinitrdinitrdinitrd

IP 3IP 3IP 3IP 3pxelinuxpxelinuxpxelinuxpxelinuxvmlinuzvmlinuzvmlinuzvmlinuzinitrdinitrdinitrdinitrd

IP 4IP 4IP 4IP 4pxelinuxpxelinuxpxelinuxpxelinuxvmlinuzvmlinuzvmlinuzvmlinuzinitrdinitrdinitrdinitrd

pxelinuxpxelinuxpxelinuxpxelinuxvmlinuz-pxevmlinuz-pxevmlinuz-pxevmlinuz-pxeinitrd-pxeinitrd-pxeinitrd-pxeinitrd-pxe

Config. 1Config. 1 Config. 2Config. 2 Config. 3Config. 3 Config. 4Config. 4

Config. FilesConfig. FilesEx. hostnameEx. hostnameConfig. FilesConfig. FilesEx. hostnameEx. hostname

Page 8: 3 2--power-aware-cloud

Smart Metering System

Page 9: 3 2--power-aware-cloud

What is Arduino ?

It's an open-source physical computing platform based on a simple microcontroller board, and a development environment for writing software for the board.

Arduino can be used to develop interactive objects, taking inputs from a variety of switches or sensors, and controlling a variety of lights, motors, and other physical outputs.

Reference: http://arduino.cc/

Page 10: 3 2--power-aware-cloud

Arduino is a platform

Multiple physical Input / Output board (I/Os) with a programmable Integrated Circuit (IC).

Reference: http://arduino.cc/

Page 11: 3 2--power-aware-cloud

Why Arduino ?

Elasticity Multiple transmission protocol Lots of sensors and actuators support It can work with both Digital and Analogue

electronic signals.

Extensibility Lots of electrical components and modules support Multiple I/O support

Cost It’s cheap!

Page 12: 3 2--power-aware-cloud

The Smart Metering System

Page 13: 3 2--power-aware-cloud

Calculation Model

10ACIn

DCOutI

V =

DCOutVVAD5

1024=

VDCOut: DC voltage output from Current Transducer

IACIn: AC current input from power line

VAD:The Transformed value from Arduino ADC

The first step is to transform the measured AC current into DC voltage via the current transducer, so it converts measured AC current at the range from 0 to 50(A) into DC voltage ranged from 0 to 5(V) proportionally.

The second transformation step is to convert the value of VDCOut at the range from 0 to 5(V) from analog into digital within the ranges from 0 to 1023.

Page 14: 3 2--power-aware-cloud

Calculation Model cont.

VADI ACIn 1024

50=

5

50

1024

5)( ××= ArduinoValueACurrent

ValueArduino:Output value from Arduino

IACIn: AC current input from power line

VAD:The Transformed value from Arduino ADC

The third step is to convert the value of VAD back into the IACIn.

Full equation.

Page 15: 3 2--power-aware-cloud

Experiment Design &

Discussion

Page 16: 3 2--power-aware-cloud

Experiment Architecture

1 Smart Metering System Arduino board Current Transducers

1 Cloud server 15 Diskless physical clients

Page 17: 3 2--power-aware-cloud

Experiment Cases

2 computer animated films – Open source project Big Buck Bunny Elephant Dream

3 CPU Frequencies(1.6, 2.4 & Dynamic) + 8 throttling levels (T0 ~ T7)

Open source tools: cpufreqd, FFmpeg

Page 18: 3 2--power-aware-cloud

Experiment Conclusion #1

Diskless + PMtools

Page 19: 3 2--power-aware-cloud

Experiment Conclusion #2

Diskless + PMtools

Page 20: 3 2--power-aware-cloud

Some pictures …

Page 21: 3 2--power-aware-cloud

Conclusion

(DRBL + PMtools + RAM disk) help to save 4% to 11% energy consumption from CPU intensive-application (video transcoding).

The Arduino platform is a good choice for customizing your own smart metering device.

This Cloud architecture and smart metering system are suitable power saving solution for computing centers or PC Classrooms.

Page 22: 3 2--power-aware-cloud

Questions ?