Huawei Version RajkumarBuyya 2018
Huawei Version RajkumarBuyya 2018
Huawei Version RajkumarBuyya 2018
www.buyya.com
Room 5.31, ICT Building, 111, Barry Street, Carlton,
Melbourne, VIC 3053, Australia
P: +61-3-8344 1344 | F : +61-3-9348 1184
www.manjrasoft.com
E: raj@manjrasoft.com
http://www.manjrasoft.com
Major Sponsors/Supporters
Manjrasoft
Outline
Manjrasoft
2
Cloud as a Marketplace of
SaaS
PaaS
Manjrasoft
“Computing Utilities” IaaS
Cloud Broker 1 Cloud Broker N Publish Offers Pool node Pool node
...... VM VM VM
VM VM
Negotiate/Bid
Request Directory
Capacity
Bank Cloud
Coordinator
Auctioneer
Storage Cloud
Cloud
Coordinator
3 Enterprise IT Consumer
Cloud Characteristics and Resource
Manjrasoft
Management Challenging Issues
Shared, Dynamic
Heterogeneous
Multiple Network Topologies
Variety of Resources
Compute, Memory, Storage, Network, Cooling
Varied Pricing Schemes
Distributed and Autonomous Providers
Independent Failures
Variety of Applications and Programming Models
Compute-Intensive, Data-Intensive…| SPMD, MapReduce, Workflow, …
4
Outline
Manjrasoft
5
Market-Oriented Cloud Architecture: QoS negotiation
and SLA-based Resource Allocation
Manjrasoft
Users/
Brokers
VM Service Request
Monitor Dispatcher Monitor
Virtual
Machines
(VMs)
Physical
Machines
6
Cloud to expand (lease more resources) with
increase in demand
Manjrasoft
Users/
Brokers
VM Service Request
Monitor Dispatcher Monitor
Virtual
Machines
(VMs)
Multi-Clouds
Physical
Machines
7
Cloud to shrink (unlease resources) with
decrease in demand
Manjrasoft
Users/
Brokers
VM Service Request
Monitor Dispatcher Monitor
Virtual
Machines
(VMs)
Physical
Machines
8
Outline
Manjrasoft
9
Requirements for Cost and Energy-efficient
Manjrasoft
Clouds
Innovative Resource Management and Scheduling (RMS) Policies
Brokering of Cloud CDC Resources
Provisioning VMs
Mapping VMs to PMs
Mapping Tasks to VMs (Scheduling)
Consolidation of VMs and Resources
What is the “best” approach for Evaluating RMS policies?
10
Experimental Methodologies
Manjrasoft
Model
Benchmark Simulation
Software
Real
In-situ Emulation
Real Model
Hardware
Benchmark Simulation
Model
(TPC, SPEC, (CloudSim,
Software CloudStone) NS2)
In-situ
Real
Emulation
(AWS, Azure,
(EMUSIM)
Aneka..)
Real Model
Hardware
12
Characteristics (Pros/Cons) of Experimental
Manjrasoft
Methodologies
13
Aneka: Cloud Application Platform (CAP) for Resource-
Intensive/Elastic Apps
Manjrasoft
applications
Portability for Customer Apps: 2100 2100 2100 2100
15
CloudSim elements
C1 C2 C3 CN
Manjrasoft
Scheduler Scheduler
VMM VMM
PEs PEs
Hosts Hosts
Network
User/Broker
C1 C2 ... CN
16
CloudSim Architecture
Manjrasoft
User code
Simulation Cloud User Application SaaS
Specification Scenario Requirements … Configuration
Scheduling
User or Data Center Broker
Policy
CloudSim
User
Virtual
Interface Cloudlet
Machine
Structures PaaS
VM Cloudlet VM
Services Execution Management
IaaS
Network Message delay
Network Topology Calculation
VMAllocationPolicy
●
Management of VMs C1 C2
●
Defined @ Data Center level VM1 VM2
–DifferentData Centers in the same VMM
simulation may use different policies
PEs
●
Which host will receive the
VM? Hosts
–Loadbalance
–Consolidation (green IT)
Data Center
●
Migration
18
VM scheduling
Manjrasoft
VMScheduler
●
Defined in Host level C1 C2
–Different hosts in the same
Alloc
Data Center may have
VM1 VM2
different policies
●
How to share PEs among VMM
CloudletScheduler
●
Defined in VM level C1 C2
–Different VMs in the same Alloc
–Application
model: PS?
Network
BoT? Workflow?
–Economic decisions VM1 VM2
C1
C2
21 User/Broker
Outline
Manjrasoft
22
Key Issue: Sustainability
Global Cloud Electricity Consumption
Manjrasoft
1
91 billion kWh
in the U.S. =
Cloud Data Centers(DCs)
X2
Twice of
electricity consumption
in 2013 in New York City
If the Cloud were a country, it would have the 5th largest electricity demand in the world. high carbon
footprint.
23
Source: Natural Resources Defense Council / Greenpeace International / ACS
Where Does the Power Go?
Manjrasoft
Network 7%
Conversion 7%
Lighting 2%
Source: APC
24
Case Study: Dynamic VM Consolidation
Manjrasoft
Virtualization layer
(VMMs, local resources managers)
Pool of
physical
computer
27 nodes Power On Power Off
Consolidation/Overbooking
Manjrasoft
Wasted
28
Three Sub-Problems
Manjrasoft
29
Proposed “Power-Aware” Algorithms
Manjrasoft
• Host overload detection
• Adaptive utilization threshold based algorithms
• Median Absolute Deviation (MAD) algorithm
• Interquartile Range (IQR) algorithm
• Regression based algorithms
• Local Regression (LR) algorithm
• Robust Local Regression (LRR) algorithm
• Host underload detection algorithms
• Migrating the VMs from the least utilized host
• VM selection algorithms
• Minimum Migration Time (MMT) policy
• Random Selection (RS) policy
• Maximum Correlation (MC) policy
• VM placement algorithms
• Heuristic for the bin-packing problem – Power-Aware Best Fit
Decreasing (PABFD) algorithm
30
Simulation Setup
Manjrasoft
33
OpenStack Neat: EE VM Consolidation
Manjrasoft
34
Outline
Manjrasoft
35
Conclusions
Manjrasoft
●
Simulations enable creation of scalable, repeatable, and
controllable experimental environments
●
CloudSim is a tool for simulation of Cloud computing
environments for evaluation of RMS algorithms/policies:
–Provisioning of resources
–Scheduling of applications
●
RMS polices focused on:
–Cost Minimization
–Energy-efficiency (Min energy consumption and Carbon footprint)
–Reliability
●
Once proven in CloudSim, you can incorporate them or
plug-in for “Real” software systems like OpenStack
●
CloudSIm has 3000+ users world-wide.
36
Plugins/Other Efforts
Manjrasoft
●
Power-aware computing modules (INRIA France)
●
Software-defined networks (CloudSimSDN)
●
Containers
●
Workflows (WorkflowSim by University of Southern California)
●
Modeling of tight-coupled applications (like MPI)
●
Big Data Simulations (CloudSimMapReduce)
●
CloudAuctions
●
Reliability modelling (CloudSimFT)
●
Linking CloudSim to OpenStack (CloudSimSpot)
●
Fog and Computing Simulations (iFogSim)
37
iFogSim Toolkit for Simulation of Fog and
Manjrasoft
Edge Computing Environments
39
Thanks for your attention!
Manjrasoft
Rodrigo N. Calheiros, Rajiv Ranjan, Anton Beloglazov, Cesar A. F. De Rose, and Rajkumar
Buyya, CloudSim: A Toolkit for Modeling and Simulation of Cloud Computing Environments
and Evaluation of Resource Provisioning Algorithms, Software: Practice and Experience,
41(1): 23-50, Wiley Press, New York, USA, January 2011.
A. Beloglazov and R. Buyya, Managing Overloaded Hosts for Dynamic Consolidation of Virtual
Machines in Cloud Data Centers Under Quality of Service Constraints, IEEE Transactions on
Parallel and Distributed Systems (TPDS), 24(7): 1366-1379, IEEE CS Press, USA, July 2013.
Anton Beloglazov and Rajkumar Buyya, OpenStack Neat: A Framework for Dynamic and
Energy-Efficient Consolidation of Virtual Machines in OpenStack Clouds, Concurrency and
Computation: Practice and Experience (CCPE), 27(5): 1310-1333, Wiley Press, New York,
USA, April 2015.
Harshit Gupta, Amir Vahid Dastjerdi , Soumya K. Ghosh, and Rajkumar Buyya, iFogSim: A
Toolkit for Modeling and Simulation of Resource Management Techniques in Internet of
Things, Edge and Fog Computing Environments, Software: Practice and Experience (SPE),
47(9):1275-1296, Wiley Press, New York, USA, September 2017.
41
A Reference Book
Manjrasoft
Morgan Kauffman, USA McGraw Hill, India China Machine Press, China
42
Manjrasoft
Manjrasoft
43
Green Cloud Computing
Outline
Manjrasoft
44
Green Cloud or Brown Cloud?
Manjrasoft
46
Source: Best Practices for Data Centers: Lessons Learned from Benchmarking 22 Data Centers by Lawrence Berkeley National Laboratory’s report 46
Green Cloud Architecture
Manjrasoft
End User
d) Allocate
service
Private
a) Request Cloud
a cloud
service
Green Offer
Public Cloud A Directory
47 Public Cloud B
Third Party: Green Offer and Carbon
Manjrasoft
Emission Directory
Carbon Emission Directory
Contains data on Power Usage Effectiveness (PUE), cooling
efficiency, carbon footprint, network cost
Helps user to select cloud services with minimum carbon
footprint
Incentive for providers
Advertising tool to increase the market share, e.g. Google
Require more carbon transparency from providers
Government role by enforcing policies such as Carbon Tax
Green Offer Directory
Incentive for users
Choosing more carbon efficient hours
Lists services with their discounted prices and green hours
48
User: Green Broker
Manjrasoft
Green Broker
Cloud Request Services
QoS
Application
Profiling
Cloud
Offers
• Green Broker
CO2 Analysis Services
– 1st layer: Analyze user
Cost
Calculator
CO2 Emission
Calculator
Green
Information requirements
System
49
Provider: Green Middleware
Manjrasoft
50
Case Study: IaaS Cloud
Manjrasoft
52
Simulation Setup
Manjrasoft
1
D. Irwin, L. Grit, and J. Chase, “Balancing risk and reward in a market-based task service,” in Proc. of the 13th IEEE International Symposium on High
Performance Distributed Computing, Honolulu, USA, 2004.
53 2
L. Wang and Y. Lu, “Efficient Power Management of Heterogeneous Soft Real-Time Clusters,” in Proc. of the 2008 Real-Time Systems Symposium,
EDF: Carbon-Efficient Green Policy (CEGP) Vs Early Start-Time
(EST) algorithm
Manjrasoft
54
Case 2 (InterCloud): Summary
Manjrasoft
55
Final Results
Manjrasoft
56
Benefits of (Public) Clouds
Manjrasoft
57
Manjrasoft
58
A system for VM consolidation
Manjrasoft
59
OpenStack Neat: EE VM Consolidation
Manjrasoft
60
A sequence diagram of handling an
Manjrasoft
underload request
61