SlideShare a Scribd company logo
CLOUD COMPUTING
Resource Management - I
PROF. SOUMYA K. GHOSH
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
IIT KHARAGPUR
2
Different Resources in Computing
Source: http://www.cse.hcmut.edu.vn/~ptvu/gc/2012/GC-pp.pdf
3
Resources types
Source: http://www.cse.hcmut.edu.vn/~ptvu/gc/2012/GC-pp.pdf
• Physical resource
 Computer, disk, database, network, scientific instruments.
• Logical resource
 Execution, monitoring, communicate application .
4
Resources Management
Source: http://www.cse.hcmut.edu.vn/~ptvu/gc/2012/GC-pp.pdf
• The term resource management refers to the operations
used to control how capabilities provided by Cloud
resources and services cane be made available to other
entities, whether users, applications, services in an efficient
manner.
• Currently it is estimated that servers consume 0.5% of the world’s total
electricity usage.
• Server energy demand doubles every 5-6 years.
• This results in large amounts of CO2 produced by burning fossil fuels.
• Need to reduce the energy used with minimal performance impact.
5
Data Center Power Consumption
Ref: Efficient Resource Management for Cloud Computing Environments, by Andrew J. Younge,
Gregor von Laszewski, Lizhe Wang, Sonia Lopez-Alarcon, Warren Carithers,
Motivation for Green Data Centers
Economic
• New data centers run on the
Megawatt scale, requiring millions of
dollars to operate.
• Recently institutions are looking for
new ways to reduce costs
• Many facilities are at their peak
operating stage, and cannot expand
without a new power source.
Environmental
• Majority of energy sources are fossil
fuels.
• Huge volume of CO2 emitted each year
from power plants.
• Sustainable energy sources are not
ready.
• Need to reduce energy dependence
6
Green Computing ?
• Advanced scheduling schemas to reduce energy consumption.
• Power aware
• Thermal aware
• Performance/Watt is not following Moore’s law.
• Data center designs to reduce Power Usage Effectiveness.
• Cooling systems
• Rack design
7
Research Directions
How to conserve energy within a Cloud environment.
• Schedule VMs to conserve energy.
• Management of both VMs and underlying infrastructure.
• Minimize operating inefficiencies for non-essential tasks.
• Optimize data center design.
8
Green Cloud
Framework
Virtual
Machine
Controls
Scheduling
Power
Aware
Thermal
Aware
Management
VM Image
Design
Migration
Dynamic
Shutdown
Data
Center
Design
Server &
Rack
Design
Air Cond. &
Recirculation
Steps towards Energy Efficiency
9
VM scheduling on Multi-core Systems
• There is a nonlinear relationship
between the number of processes
used and power consumption
• We can schedule VMs to take
advantage of this relationship in
order to conserve power
Power consumption curve on an Intel Core i7 920 Server
(4 cores, 8 virtual cores with Hyperthreading)
Scheduling
90
100
110
120
130
140
150
160
170
180
0 1 2 3 4 5 6 7 8
Watts
Number of Processing Cores
10
Power-aware Scheduling
• Schedule as many VMs at once on
a multi-core node.
• Greedy scheduling algorithm
• Keep track of cores on a given
node
• Match VM requirements with node
capacity
Scheduling
11
485 Watts vs. 552 Watts !
12
Node 1 @ 170W
V
M
V
M
V
M
V
M
V
M
V
M
V
M
V
M
Node 2 @ 105W
Node 3 @ 105W Node 4 @ 105W
Node 1 @ 138W
V
M
V
M
V
M
V
M
V
M
V
M
V
M
V
M
Node 2 @ 138W
Node 3 @ 138W Node 4 @ 138W
VS.
VM Management
• Monitor Cloud usage and load.
• When load decreases:
• Live migrate VMs to more utilized nodes.
• Shutdown unused nodes.
• When load increases:
• Use WOL to start up waiting nodes.
• Schedule new VMs to new nodes.
Management
13
Node 1
VM VM VM VM
Node 2
Node 1
VM VM VM VM
Node 2
Node 1
VM VM VM VM
Node 2 (offline)
VM
Node 1
VM VM VM VM
Node 2
1
2
3
4
14
Minimizing VM Instances
• Virtual machines are loaded!
• Lots of unwanted packages.
• Unneeded services.
• Are multi-application oriented, not service oriented.
• Clouds are based off of a Service Oriented Architecture.
• Need a custom lightweight Linux VM for service oriented science.
• Need to keep VM image as small as possible to reduce network latency.
Management
15
Typical Cloud Linux Image
• Start with Ubuntu 9.04.
• Remove all packages not
• required for base image.
• No X11
• No Window Manager
• Minimalistic server install
• Can load language support on demand (via package
manager)
• Readahead profiling utility.
• Reorder boot sequence
• Pre-fetch boot files on disk
• Minimize CPU idle time due to I/O delay
• Optimize Linux kernel.
• Built for Xen DomU
• No 3d graphics, no sound, minimalistic kernel
• Build modules within kernel directly
VM Image
Design
16
Energy Savings
• Reduced boot times from 38 seconds to just 8 seconds.
• 30 seconds @ 250Watts is 2.08wh or .002kwh.
• In a small Cloud where 100 images are created every hour.
• Saves .2kwh of operation @ 15.2c per kwh.
• At 15.2c per kwh this saves $262.65 every year.
• In a production Cloud where 1000 images are created every minute.
• Saves 120kwh less every hour.
• At 15.2c per kwh this saves over 1 million dollars every year.
• Image size from 4GB to 635MB.
• Reduces time to perform live-migration.
• Can do better.
VM Image
Design 17
Summary - 1
• Cloud computing is an emerging topic in Distributed Systems.
• Need to conserve energy wherever possible!
• Green Cloud Framework:
• Power-aware scheduling of VMs.
• Advanced VM & infrastructure management.
• Specialized VM Image.
• Small energy savings result in a large impact.
• Combining a number of different methods together can have a larger impact then
when implemented separately.
18
• Combine concepts of both Power-aware and Thermal-aware scheduling to
minimize both energy and temperature.
• Integrated server, rack, and cooling strategies.
• Further improve VM Image minimization.
• Designing the next generation of Cloud computing systems to be more
efficient.
19
Summary - 2
Thank you!

More Related Content

PDF
Mod05lec23(map reduce tutorial)
PDF
Week 8 lecture material
PDF
Week 7 lecture material
PDF
Efficient Resource Allocation to Virtual Machine in Cloud Computing Using an ...
PPTX
cloud scheduling
PPT
Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Enviro...
PDF
Mod05lec22(cloudonomics tutorial)
PPT
Scheduling in CCE
Mod05lec23(map reduce tutorial)
Week 8 lecture material
Week 7 lecture material
Efficient Resource Allocation to Virtual Machine in Cloud Computing Using an ...
cloud scheduling
Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Enviro...
Mod05lec22(cloudonomics tutorial)
Scheduling in CCE

What's hot (19)

PDF
Mod05lec25(resource mgmt ii)
PDF
Week 4 lecture material cc (1)
PDF
dynamic resource allocation using virtual machines for cloud computing enviro...
DOCX
Dynamic resource allocation using virtual machines for cloud computing enviro...
PPTX
Job sequence scheduling for cloud computing
DOCX
Dynamic resource allocation using virtual machines for cloud computing enviro...
PDF
Week2 cloud computing week2
PPTX
Cloud computing_Final
PPT
REVIEW PAPER on Scheduling in Cloud Computing
PDF
Survey on Dynamic Resource Allocation Strategy in Cloud Computing Environment
PDF
Simulating Heterogeneous Resources in CloudLightning
PPT
A Survey on Resource Allocation & Monitoring in Cloud Computing
PPTX
Cluster and Grid Computing
PDF
Week 1 lecture material cc
DOCX
Cloud computing
PDF
Achieving scale and performance using cloud native environment
PPTX
load balancing in public cloud ppt
PDF
Xen Cloud Platform Installation Guide
PPTX
High performance computing
Mod05lec25(resource mgmt ii)
Week 4 lecture material cc (1)
dynamic resource allocation using virtual machines for cloud computing enviro...
Dynamic resource allocation using virtual machines for cloud computing enviro...
Job sequence scheduling for cloud computing
Dynamic resource allocation using virtual machines for cloud computing enviro...
Week2 cloud computing week2
Cloud computing_Final
REVIEW PAPER on Scheduling in Cloud Computing
Survey on Dynamic Resource Allocation Strategy in Cloud Computing Environment
Simulating Heterogeneous Resources in CloudLightning
A Survey on Resource Allocation & Monitoring in Cloud Computing
Cluster and Grid Computing
Week 1 lecture material cc
Cloud computing
Achieving scale and performance using cloud native environment
load balancing in public cloud ppt
Xen Cloud Platform Installation Guide
High performance computing
Ad

Similar to Mod05lec24(resource mgmt i) (20)

PDF
A Survey on Virtualization Data Centers For Green Cloud Computing
PDF
ENERGY EFFICIENT VIRTUAL MACHINE ASSIGNMENT BASED ON ENERGY CONSUMPTION AND R...
PPTX
Energy efficient resource allocation in cloud computing
PDF
Energy Saving by Migrating Virtual Machine to Green Cloud Computing
PDF
Energy Efficient Power Management in Virtualized Data Center
PPTX
G-SLAM:OPTIMIZING ENERGY EFFIIENCY IN CLOUD
PDF
A Strategic Evaluation of Energy-Consumption and Total Execution Time for Clo...
PPTX
Green cloud computing
PDF
Energy Saving by Virtual Machine Migration in Green Cloud Computing
PPTX
Vm consolidation for energy efficient cloud computing
PDF
33. dynamic resource allocation using virtual machines
PDF
A Strategic Evaluation of Energy-Consumption and Total Execution Time for Clo...
PDF
Automatic Energy-based Scheduling
PPTX
ISDIA PPT for cloud computing environment
PDF
A Survey on Reducing Energy Sprawl In Cloud Computing
PDF
A SURVEY ON REDUCING ENERGY SPRAWL IN CLOUD COMPUTING
PPTX
Virtualization for efficiency: by Kathrin Winkler, The green grid
PPTX
Cloudsim & Green Cloud
PDF
green cloud computing.pdf
PPTX
Green cloud computing
A Survey on Virtualization Data Centers For Green Cloud Computing
ENERGY EFFICIENT VIRTUAL MACHINE ASSIGNMENT BASED ON ENERGY CONSUMPTION AND R...
Energy efficient resource allocation in cloud computing
Energy Saving by Migrating Virtual Machine to Green Cloud Computing
Energy Efficient Power Management in Virtualized Data Center
G-SLAM:OPTIMIZING ENERGY EFFIIENCY IN CLOUD
A Strategic Evaluation of Energy-Consumption and Total Execution Time for Clo...
Green cloud computing
Energy Saving by Virtual Machine Migration in Green Cloud Computing
Vm consolidation for energy efficient cloud computing
33. dynamic resource allocation using virtual machines
A Strategic Evaluation of Energy-Consumption and Total Execution Time for Clo...
Automatic Energy-based Scheduling
ISDIA PPT for cloud computing environment
A Survey on Reducing Energy Sprawl In Cloud Computing
A SURVEY ON REDUCING ENERGY SPRAWL IN CLOUD COMPUTING
Virtualization for efficiency: by Kathrin Winkler, The green grid
Cloudsim & Green Cloud
green cloud computing.pdf
Green cloud computing
Ad

More from Ankit Gupta (20)

PPT
Biometricstechnology in iot and machine learning
PDF
Week 3 lecture material cc
PDF
Mod05lec21(sla tutorial)
PDF
Lecture29 cc-security4
PDF
Lecture28 cc-security3
PDF
Lecture27 cc-security2
PDF
Lecture26 cc-security1
PDF
Lecture 30 cloud mktplace
PDF
Gurukul Cse cbcs-2015-16
PDF
Microprocessor full hand made notes
PPTX
Transfer Leaning Using Pytorch synopsis Minor project pptx
DOC
Intro/Overview on Machine Learning Presentation -2
PPTX
Intro/Overview on Machine Learning Presentation
PDF
Cloud computing ebook
DOCX
java program assigment -2
DOCX
java program assigment -1
PPT
Other software processes (Software project Management)
DOCX
Function and class templates
PDF
software project management
PDF
intro to OS
Biometricstechnology in iot and machine learning
Week 3 lecture material cc
Mod05lec21(sla tutorial)
Lecture29 cc-security4
Lecture28 cc-security3
Lecture27 cc-security2
Lecture26 cc-security1
Lecture 30 cloud mktplace
Gurukul Cse cbcs-2015-16
Microprocessor full hand made notes
Transfer Leaning Using Pytorch synopsis Minor project pptx
Intro/Overview on Machine Learning Presentation -2
Intro/Overview on Machine Learning Presentation
Cloud computing ebook
java program assigment -2
java program assigment -1
Other software processes (Software project Management)
Function and class templates
software project management
intro to OS

Recently uploaded (20)

PPTX
UNIT 4 Total Quality Management .pptx
PDF
composite construction of structures.pdf
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
Structs to JSON How Go Powers REST APIs.pdf
PDF
Arduino robotics embedded978-1-4302-3184-4.pdf
PPTX
Geodesy 1.pptx...............................................
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
Lesson 3_Tessellation.pptx finite Mathematics
PPTX
OOP with Java - Java Introduction (Basics)
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
Well-logging-methods_new................
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
UNIT 4 Total Quality Management .pptx
composite construction of structures.pdf
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Structs to JSON How Go Powers REST APIs.pdf
Arduino robotics embedded978-1-4302-3184-4.pdf
Geodesy 1.pptx...............................................
CH1 Production IntroductoryConcepts.pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Lesson 3_Tessellation.pptx finite Mathematics
OOP with Java - Java Introduction (Basics)
Operating System & Kernel Study Guide-1 - converted.pdf
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Well-logging-methods_new................
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx

Mod05lec24(resource mgmt i)

  • 1. CLOUD COMPUTING Resource Management - I PROF. SOUMYA K. GHOSH DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING IIT KHARAGPUR
  • 2. 2 Different Resources in Computing Source: http://www.cse.hcmut.edu.vn/~ptvu/gc/2012/GC-pp.pdf
  • 3. 3 Resources types Source: http://www.cse.hcmut.edu.vn/~ptvu/gc/2012/GC-pp.pdf • Physical resource  Computer, disk, database, network, scientific instruments. • Logical resource  Execution, monitoring, communicate application .
  • 4. 4 Resources Management Source: http://www.cse.hcmut.edu.vn/~ptvu/gc/2012/GC-pp.pdf • The term resource management refers to the operations used to control how capabilities provided by Cloud resources and services cane be made available to other entities, whether users, applications, services in an efficient manner.
  • 5. • Currently it is estimated that servers consume 0.5% of the world’s total electricity usage. • Server energy demand doubles every 5-6 years. • This results in large amounts of CO2 produced by burning fossil fuels. • Need to reduce the energy used with minimal performance impact. 5 Data Center Power Consumption Ref: Efficient Resource Management for Cloud Computing Environments, by Andrew J. Younge, Gregor von Laszewski, Lizhe Wang, Sonia Lopez-Alarcon, Warren Carithers,
  • 6. Motivation for Green Data Centers Economic • New data centers run on the Megawatt scale, requiring millions of dollars to operate. • Recently institutions are looking for new ways to reduce costs • Many facilities are at their peak operating stage, and cannot expand without a new power source. Environmental • Majority of energy sources are fossil fuels. • Huge volume of CO2 emitted each year from power plants. • Sustainable energy sources are not ready. • Need to reduce energy dependence 6
  • 7. Green Computing ? • Advanced scheduling schemas to reduce energy consumption. • Power aware • Thermal aware • Performance/Watt is not following Moore’s law. • Data center designs to reduce Power Usage Effectiveness. • Cooling systems • Rack design 7
  • 8. Research Directions How to conserve energy within a Cloud environment. • Schedule VMs to conserve energy. • Management of both VMs and underlying infrastructure. • Minimize operating inefficiencies for non-essential tasks. • Optimize data center design. 8
  • 10. VM scheduling on Multi-core Systems • There is a nonlinear relationship between the number of processes used and power consumption • We can schedule VMs to take advantage of this relationship in order to conserve power Power consumption curve on an Intel Core i7 920 Server (4 cores, 8 virtual cores with Hyperthreading) Scheduling 90 100 110 120 130 140 150 160 170 180 0 1 2 3 4 5 6 7 8 Watts Number of Processing Cores 10
  • 11. Power-aware Scheduling • Schedule as many VMs at once on a multi-core node. • Greedy scheduling algorithm • Keep track of cores on a given node • Match VM requirements with node capacity Scheduling 11
  • 12. 485 Watts vs. 552 Watts ! 12 Node 1 @ 170W V M V M V M V M V M V M V M V M Node 2 @ 105W Node 3 @ 105W Node 4 @ 105W Node 1 @ 138W V M V M V M V M V M V M V M V M Node 2 @ 138W Node 3 @ 138W Node 4 @ 138W VS.
  • 13. VM Management • Monitor Cloud usage and load. • When load decreases: • Live migrate VMs to more utilized nodes. • Shutdown unused nodes. • When load increases: • Use WOL to start up waiting nodes. • Schedule new VMs to new nodes. Management 13
  • 14. Node 1 VM VM VM VM Node 2 Node 1 VM VM VM VM Node 2 Node 1 VM VM VM VM Node 2 (offline) VM Node 1 VM VM VM VM Node 2 1 2 3 4 14
  • 15. Minimizing VM Instances • Virtual machines are loaded! • Lots of unwanted packages. • Unneeded services. • Are multi-application oriented, not service oriented. • Clouds are based off of a Service Oriented Architecture. • Need a custom lightweight Linux VM for service oriented science. • Need to keep VM image as small as possible to reduce network latency. Management 15
  • 16. Typical Cloud Linux Image • Start with Ubuntu 9.04. • Remove all packages not • required for base image. • No X11 • No Window Manager • Minimalistic server install • Can load language support on demand (via package manager) • Readahead profiling utility. • Reorder boot sequence • Pre-fetch boot files on disk • Minimize CPU idle time due to I/O delay • Optimize Linux kernel. • Built for Xen DomU • No 3d graphics, no sound, minimalistic kernel • Build modules within kernel directly VM Image Design 16
  • 17. Energy Savings • Reduced boot times from 38 seconds to just 8 seconds. • 30 seconds @ 250Watts is 2.08wh or .002kwh. • In a small Cloud where 100 images are created every hour. • Saves .2kwh of operation @ 15.2c per kwh. • At 15.2c per kwh this saves $262.65 every year. • In a production Cloud where 1000 images are created every minute. • Saves 120kwh less every hour. • At 15.2c per kwh this saves over 1 million dollars every year. • Image size from 4GB to 635MB. • Reduces time to perform live-migration. • Can do better. VM Image Design 17
  • 18. Summary - 1 • Cloud computing is an emerging topic in Distributed Systems. • Need to conserve energy wherever possible! • Green Cloud Framework: • Power-aware scheduling of VMs. • Advanced VM & infrastructure management. • Specialized VM Image. • Small energy savings result in a large impact. • Combining a number of different methods together can have a larger impact then when implemented separately. 18
  • 19. • Combine concepts of both Power-aware and Thermal-aware scheduling to minimize both energy and temperature. • Integrated server, rack, and cooling strategies. • Further improve VM Image minimization. • Designing the next generation of Cloud computing systems to be more efficient. 19 Summary - 2