SlideShare a Scribd company logo
Project Guide:
Dr. G R Gangadharan
Institute for Development & Research in Banking
Technology, Hyderabad
1
Project Trainee:
Tapender Singh Yadav
B.Tech IIIrd Year,
Department of Computer Science & Engineering,
Indian Institute of Technology, Patna
Virtual Machine
 Software-based emulation
 Creation and Management done by Hypervisor (also
known as Virtual Machine Manager)
2
Hardware – “real physical machine”
Virtual Machine Manager (VMM)
Virtual Machine 1 Virtual Machine 2
Operating System 2Operating System 1
APP APP APP APP APP APP APP APP
VM Migration and its need
 Migrating VM from one host to another host is known
as Virtual Machine Migration
 Why we need VM Migration?
Dynamically changing workloads
Maintenance of Host Server
Server downtime due some fault
Ease in migrating OS + Applications from an outdated
host to new host.
3
Current Scenarios
 Lot of research has been done on:
 Workload balancing based on % CPU utilization
 Migration of VM(s) over LAN or WAN
 VM placement based on resource demand prediction
 But there are some factors where the work is not much
significant.
 Less focus on dynamic on-demand requests for
applications
 Less focus on providing better Quality of Service (QoS)
and minimizing the number of Service Level Agreement
(SLA) violations
4
Our Idea and Problem Statement
 There are “M” Virtual Machines (VMs) and their corresponding
resource usage based on the number of cores (processing elements)
used by them, in the past few days on each hour of the day. Based
on this historical data, we have to forecast the future resource
demand for number of cores required by all the “M” VM(s) in the
datacenter using the Trend Seasonality Model.
 Based on the forecasting result, we need to optimize the dynamic
allocation of VM to a best-fit host for migration from “N” available
hosts.
5
Methodologies
6
Forecasting Method
 Future Demand of the VM(s) are computed based on the
historical resource utilization of the VM(s)
 Trend Seasonality Model used
 Advantages of Trend Seasonality Model:
 Small size of dataset
 Efficient Prediction
7
Forecasting Method Continued…
 Trend is periodic change in the series which evolves slowly.
 Seasonality is the periodic recurrence of a pattern for each period
over the time.
 The “raw” historical data is composed of various components
such as seasonality, trend, irregularities and cyclic oscillations.
 In order to forecast the future resource demand efficiently, we
need to get rid of these components i.e., we need to decompose
(deseasonalize) the “raw” historical data first.
8
Forecasting Method – Deseasonalizing the
raw data
 Following steps are followed for deseasonalizing the raw
data:
1. Compute a centred 24-period moving average for all possible
periods for all given days.
2. Compute the ratio of actual resource demand in each period to
the centred moving average obtained in Step 1.
3. Average the above ratios for periods 1-24 for all given days.
4. Round-off of the averaged ratios from Step 3 to obtain a 24-
period seasonal index values.
5. Divide the actual resource usage by the seasonal indexes to get
the deseasonalized resource usage levels.
9
Forecasting Method – Trend Line Equation
 To find the ‘trend’ component from the raw data, we use trend
line equation.
 Trend Line equation is obtained by applying the Simple Linear
Regression (SLR) on the deseasonalized data and time variable
‘t’.
 Trend Line equation is of the form:
𝑌 = 𝐴 + 𝐵𝑋
where, A = vertical-intercept of the trend line
B = slope of the trend line
10
Forecasting Method – Final step
 Multiply the resource demand trend level from previous step
with the seasonal index for that period to include the seasonality
effect and get the final forecast of the resource demand.
11
Result of Prediction (Forecast)
12
Obtained MSE ≈ 1.3
Forecast
0
2
4
6
8
10
12
1 4 7 10 13 16 19 22 1 4 7 10 13 16 19 22 1 4 7 10 13 16 19 22 1 4 7 10 13 16 19 22 1 4 7 10 13 16 19 22
Day 1
Day 2
Day 3
Day 4
Day 5
Forecast
No. of CPU Cores (a)
Resource Utilization of VM 1 (in # of cores used)
No.ofCPUcores
Resource Utilization of VM 1 (in # of cores used)
No.ofCPUcores
Result – Prediction Step
13
Period Hour Seasonal Index
Trend
Component
Forecast
Day 5 1 0.11 5.40 1
2 0.25 5.40 1
3 0.24 5.40 1
4 0.37 5.40 2
5 0.43 5.40 2
6 0.24 5.40 1
7 0.49 5.39 3
8 1.10 5.39 6
9 1.11 5.39 6
10 0.99 5.39 5
11 1.48 5.39 8
12 1.38 5.39 7
13 1.34 5.39 7
14 1.91 5.39 10
15 1.52 5.39 8
16 1.55 5.39 8
17 2.13 5.39 11
18 1.35 5.39 7
19 0.95 5.38 5
20 1.71 5.38 9
21 1.72 5.38 9
22 1.32 5.38 7
23 0.37 5.38 2
24 0.27 5.38 1
Best optimized VM-host mapping and Live
VM Migration Algorithm
14
Overview of the algorithm
15
For each vm in the
datacenter, predict
the future demand
using trend
seasonality model
Based on the future
demands, create a list
of vm(s) which are
needed to be
migrated
Find the best-fit map
for the vm to host,
and start the
migration process
 Expected decrease in the power consumption due to switching off
of the un-utilized hosts
 Less server downtime during migration
 Less Migration Time
 More scalable and robust
 Best for small and large scale expanding businesses
16
Advantages of the proposed algorithm
Conclusions
 We have proposed a resource demand forecasting technique, a
key step in optimizing the VM-host mapping before the actual
Live VM migration could be triggered.
 Our prediction technique employs data mining and statistical
methods for forecasting (predicting) the future resource demand
of the VM(s).
 We proposed a Live VM migration algorithm, which based on
the future demands, will find the best host for the VM to meet
its future demands.
 Special care has also been taken in case of un-utilized hosts
which would be running unnecessarily and consuming power, to
switch off those hosts in order to save the power consumption
17
Future Work
 Future work on this problem includes experimental
implementation and testing of the proposed Live VM migration
policy using some of the known techniques and proposing an
optimized version of these techniques.
18
Thank You
19

More Related Content

PPTX
Challenges in Cloud Computing – VM Migration
PDF
Survey on virtual machine placement techniques in cloud computing environment
PDF
Virtual Machine Migration Techniques in Cloud Environment: A Survey
PDF
Virtual Machine Migration and Allocation in Cloud Computing: A Review
PPTX
cloud computing: Vm migration
PDF
Live VM Migration
PPTX
Openstack vm live migration
PPTX
load balancing in public cloud ppt
Challenges in Cloud Computing – VM Migration
Survey on virtual machine placement techniques in cloud computing environment
Virtual Machine Migration Techniques in Cloud Environment: A Survey
Virtual Machine Migration and Allocation in Cloud Computing: A Review
cloud computing: Vm migration
Live VM Migration
Openstack vm live migration
load balancing in public cloud ppt

What's hot (20)

PPTX
Vm migration techniques
PPTX
Load balancing
PPTX
Base paper ppt-. A load balancing model based on cloud partitioning for the ...
PPT
Black-box and Gray-box Strategies for Virtual Machine Migration
PPTX
An Efficient Decentralized Load Balancing Algorithm in Cloud Computing
PPT
Load balancing
PPTX
A load balancing model based on cloud partitioning for the public cloud. ppt
DOCX
A gossip protocol for dynamic resource management in large cloud environments
PPT
Load Balancing In Cloud Computing newppt
PPTX
Probabilistic consolidation of virtual machines in self organizing cloud data...
PDF
Xen Cloud Platform Installation Guide
PPTX
Optimal load balancing in cloud computing
PDF
Performance Comparision of Dynamic Load Balancing Algorithm in Cloud Computing
PDF
A load balancing model based on cloud partitioning
PPTX
Load Balancing in Cloud
PPTX
Hyper-V High Availability and Live Migration
PPTX
3 migration
PPT
Presentation major
PPTX
Load balancing In cloud - In a semi distributed system
PPTX
6. Live VM migration
Vm migration techniques
Load balancing
Base paper ppt-. A load balancing model based on cloud partitioning for the ...
Black-box and Gray-box Strategies for Virtual Machine Migration
An Efficient Decentralized Load Balancing Algorithm in Cloud Computing
Load balancing
A load balancing model based on cloud partitioning for the public cloud. ppt
A gossip protocol for dynamic resource management in large cloud environments
Load Balancing In Cloud Computing newppt
Probabilistic consolidation of virtual machines in self organizing cloud data...
Xen Cloud Platform Installation Guide
Optimal load balancing in cloud computing
Performance Comparision of Dynamic Load Balancing Algorithm in Cloud Computing
A load balancing model based on cloud partitioning
Load Balancing in Cloud
Hyper-V High Availability and Live Migration
3 migration
Presentation major
Load balancing In cloud - In a semi distributed system
6. Live VM migration
Ad

Viewers also liked (11)

PPTX
Vm consolidation for energy efficient cloud computing
PDF
Performance analysis of an energy efficient virtual machine consolidation alg...
PPTX
An Implementation of Virtual Cluster on a Cloud
PPTX
Overcoming EHR Implementation Barriers
PDF
The METISfiles - Data Centers and the Cloud
PDF
Virtualization in green computing
PDF
Hr Transformation Overview
PDF
Virtualization and cloud Computing
PPT
Virtualization in cloud computing ppt
PDF
Introduction to virtualization
PDF
How to Become a Thought Leader in Your Niche
Vm consolidation for energy efficient cloud computing
Performance analysis of an energy efficient virtual machine consolidation alg...
An Implementation of Virtual Cluster on a Cloud
Overcoming EHR Implementation Barriers
The METISfiles - Data Centers and the Cloud
Virtualization in green computing
Hr Transformation Overview
Virtualization and cloud Computing
Virtualization in cloud computing ppt
Introduction to virtualization
How to Become a Thought Leader in Your Niche
Ad

Similar to Live virtual machine migration based on future prediction of resource requirements in cloud datacenter (20)

PPT
Capacity and Demand Management
PDF
Streaming Analytics Unit 1 notes for engineers
PDF
Iaetsd active resource provision in cloud computing
PDF
Enhancing minimal virtual machine migration in cloud environment
PDF
SA UNIT I STREAMING ANALYTICS.pdf
PPT
Unit 1 Introduction to Streaming Analytics
PPTX
Comparative Study of ML Techniques for RealTime Credit Card Fraud Detection S...
DOCX
Large scale virtual Machine log collector (Project-Report)
PPTX
Stock prediction1600759770283_ak.ppt.pptx
PDF
Smart E-Logistics for SCM Spend Analysis
PPTX
Ajila (1)
PDF
Mathworks CAE simulation suite – case in point from automotive and aerospace.
PDF
IRJET- Performance Analysis of Store Inventory Management (SIM) an Enterp...
PPTX
Stock Market Prediction using Machine Learning
PDF
TENDER_DOC_TD53asjbdhsadguaysguayfduyf309 3...pdf
PDF
TENDERytftrsreaehgchgchgctatshfxgjcjgcgcycjtr
PDF
MRAC BASED DC SERVO MOTOR MOTION CONTROL
PDF
Improving Resource Utilization in Cloud using Application Placement Heuristics
PPTX
Technical Webinar with AWS - Everything You Need to Measure in Your Migration
PDF
dynamic resource allocation using virtual machines for cloud computing enviro...
Capacity and Demand Management
Streaming Analytics Unit 1 notes for engineers
Iaetsd active resource provision in cloud computing
Enhancing minimal virtual machine migration in cloud environment
SA UNIT I STREAMING ANALYTICS.pdf
Unit 1 Introduction to Streaming Analytics
Comparative Study of ML Techniques for RealTime Credit Card Fraud Detection S...
Large scale virtual Machine log collector (Project-Report)
Stock prediction1600759770283_ak.ppt.pptx
Smart E-Logistics for SCM Spend Analysis
Ajila (1)
Mathworks CAE simulation suite – case in point from automotive and aerospace.
IRJET- Performance Analysis of Store Inventory Management (SIM) an Enterp...
Stock Market Prediction using Machine Learning
TENDER_DOC_TD53asjbdhsadguaysguayfduyf309 3...pdf
TENDERytftrsreaehgchgchgctatshfxgjcjgcgcycjtr
MRAC BASED DC SERVO MOTOR MOTION CONTROL
Improving Resource Utilization in Cloud using Application Placement Heuristics
Technical Webinar with AWS - Everything You Need to Measure in Your Migration
dynamic resource allocation using virtual machines for cloud computing enviro...

Recently uploaded (20)

PDF
RMMM.pdf make it easy to upload and study
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PPTX
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
PPTX
Cell Structure & Organelles in detailed.
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PPTX
History, Philosophy and sociology of education (1).pptx
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
Classroom Observation Tools for Teachers
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Cell Types and Its function , kingdom of life
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Yogi Goddess Pres Conference Studio Updates
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
RMMM.pdf make it easy to upload and study
Weekly quiz Compilation Jan -July 25.pdf
Chinmaya Tiranga quiz Grand Finale.pdf
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
Cell Structure & Organelles in detailed.
Practical Manual AGRO-233 Principles and Practices of Natural Farming
History, Philosophy and sociology of education (1).pptx
Microbial disease of the cardiovascular and lymphatic systems
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Classroom Observation Tools for Teachers
Orientation - ARALprogram of Deped to the Parents.pptx
Final Presentation General Medicine 03-08-2024.pptx
Cell Types and Its function , kingdom of life
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Yogi Goddess Pres Conference Studio Updates
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
What if we spent less time fighting change, and more time building what’s rig...
LDMMIA Reiki Yoga Finals Review Spring Summer

Live virtual machine migration based on future prediction of resource requirements in cloud datacenter

  • 1. Project Guide: Dr. G R Gangadharan Institute for Development & Research in Banking Technology, Hyderabad 1 Project Trainee: Tapender Singh Yadav B.Tech IIIrd Year, Department of Computer Science & Engineering, Indian Institute of Technology, Patna
  • 2. Virtual Machine  Software-based emulation  Creation and Management done by Hypervisor (also known as Virtual Machine Manager) 2 Hardware – “real physical machine” Virtual Machine Manager (VMM) Virtual Machine 1 Virtual Machine 2 Operating System 2Operating System 1 APP APP APP APP APP APP APP APP
  • 3. VM Migration and its need  Migrating VM from one host to another host is known as Virtual Machine Migration  Why we need VM Migration? Dynamically changing workloads Maintenance of Host Server Server downtime due some fault Ease in migrating OS + Applications from an outdated host to new host. 3
  • 4. Current Scenarios  Lot of research has been done on:  Workload balancing based on % CPU utilization  Migration of VM(s) over LAN or WAN  VM placement based on resource demand prediction  But there are some factors where the work is not much significant.  Less focus on dynamic on-demand requests for applications  Less focus on providing better Quality of Service (QoS) and minimizing the number of Service Level Agreement (SLA) violations 4
  • 5. Our Idea and Problem Statement  There are “M” Virtual Machines (VMs) and their corresponding resource usage based on the number of cores (processing elements) used by them, in the past few days on each hour of the day. Based on this historical data, we have to forecast the future resource demand for number of cores required by all the “M” VM(s) in the datacenter using the Trend Seasonality Model.  Based on the forecasting result, we need to optimize the dynamic allocation of VM to a best-fit host for migration from “N” available hosts. 5
  • 7. Forecasting Method  Future Demand of the VM(s) are computed based on the historical resource utilization of the VM(s)  Trend Seasonality Model used  Advantages of Trend Seasonality Model:  Small size of dataset  Efficient Prediction 7
  • 8. Forecasting Method Continued…  Trend is periodic change in the series which evolves slowly.  Seasonality is the periodic recurrence of a pattern for each period over the time.  The “raw” historical data is composed of various components such as seasonality, trend, irregularities and cyclic oscillations.  In order to forecast the future resource demand efficiently, we need to get rid of these components i.e., we need to decompose (deseasonalize) the “raw” historical data first. 8
  • 9. Forecasting Method – Deseasonalizing the raw data  Following steps are followed for deseasonalizing the raw data: 1. Compute a centred 24-period moving average for all possible periods for all given days. 2. Compute the ratio of actual resource demand in each period to the centred moving average obtained in Step 1. 3. Average the above ratios for periods 1-24 for all given days. 4. Round-off of the averaged ratios from Step 3 to obtain a 24- period seasonal index values. 5. Divide the actual resource usage by the seasonal indexes to get the deseasonalized resource usage levels. 9
  • 10. Forecasting Method – Trend Line Equation  To find the ‘trend’ component from the raw data, we use trend line equation.  Trend Line equation is obtained by applying the Simple Linear Regression (SLR) on the deseasonalized data and time variable ‘t’.  Trend Line equation is of the form: 𝑌 = 𝐴 + 𝐵𝑋 where, A = vertical-intercept of the trend line B = slope of the trend line 10
  • 11. Forecasting Method – Final step  Multiply the resource demand trend level from previous step with the seasonal index for that period to include the seasonality effect and get the final forecast of the resource demand. 11
  • 12. Result of Prediction (Forecast) 12 Obtained MSE ≈ 1.3 Forecast 0 2 4 6 8 10 12 1 4 7 10 13 16 19 22 1 4 7 10 13 16 19 22 1 4 7 10 13 16 19 22 1 4 7 10 13 16 19 22 1 4 7 10 13 16 19 22 Day 1 Day 2 Day 3 Day 4 Day 5 Forecast No. of CPU Cores (a) Resource Utilization of VM 1 (in # of cores used) No.ofCPUcores Resource Utilization of VM 1 (in # of cores used) No.ofCPUcores
  • 13. Result – Prediction Step 13 Period Hour Seasonal Index Trend Component Forecast Day 5 1 0.11 5.40 1 2 0.25 5.40 1 3 0.24 5.40 1 4 0.37 5.40 2 5 0.43 5.40 2 6 0.24 5.40 1 7 0.49 5.39 3 8 1.10 5.39 6 9 1.11 5.39 6 10 0.99 5.39 5 11 1.48 5.39 8 12 1.38 5.39 7 13 1.34 5.39 7 14 1.91 5.39 10 15 1.52 5.39 8 16 1.55 5.39 8 17 2.13 5.39 11 18 1.35 5.39 7 19 0.95 5.38 5 20 1.71 5.38 9 21 1.72 5.38 9 22 1.32 5.38 7 23 0.37 5.38 2 24 0.27 5.38 1
  • 14. Best optimized VM-host mapping and Live VM Migration Algorithm 14
  • 15. Overview of the algorithm 15 For each vm in the datacenter, predict the future demand using trend seasonality model Based on the future demands, create a list of vm(s) which are needed to be migrated Find the best-fit map for the vm to host, and start the migration process
  • 16.  Expected decrease in the power consumption due to switching off of the un-utilized hosts  Less server downtime during migration  Less Migration Time  More scalable and robust  Best for small and large scale expanding businesses 16 Advantages of the proposed algorithm
  • 17. Conclusions  We have proposed a resource demand forecasting technique, a key step in optimizing the VM-host mapping before the actual Live VM migration could be triggered.  Our prediction technique employs data mining and statistical methods for forecasting (predicting) the future resource demand of the VM(s).  We proposed a Live VM migration algorithm, which based on the future demands, will find the best host for the VM to meet its future demands.  Special care has also been taken in case of un-utilized hosts which would be running unnecessarily and consuming power, to switch off those hosts in order to save the power consumption 17
  • 18. Future Work  Future work on this problem includes experimental implementation and testing of the proposed Live VM migration policy using some of the known techniques and proposing an optimized version of these techniques. 18