SlideShare a Scribd company logo
Authors: 
Carlo Mastroianni, 
Michela Meo, 
Giuseppe Papuzzo 
Presented By: 
Iffat Anjum 
Rk-554 
Date: 26-10-2014 
1
 
 
 
 
 
 
2
 The design of large and powerful Cloud Data Centers 
mainly depends 
 Power Efficiency. 
 Efficient Virtual Machine (VM) Consolidation. 
 Reduce of over-all power consumption. 
 Avoid low Utilized Servers, also 
 Avoid Over-loaded Servers. 
 Service Level Agreements. 
3
 Virtualization: Many Virtual Machine (VM) instances 
can be executed on the same physical server. 
 Consolidation of the workload: allocating the maximum 
number of VMs in the minimum number of physical 
machines. 
 Allows unneeded servers to be in 
 low-power state, or 
 switched off, or 
 devoted to the execution of incremental workload 
4
 The optimal assignment of VMs to the servers of a data 
center is analogous to the NP-hard “Bin Packing 
Problem” 
 The problem is more complicated by two circumstances: 
 The assignment of VMs should take into account multiple 
server resources at the same time, for example, CPU and RAM, 
(multidimensional bin packing Problem) 
 The VMs continuously modify their hardware requirements, 
potentially baffling the previous assignment decisions in a few 
hours. 
5
 ecoCloud Key characteristics: 
 the use of the swarm intelligence paradigm 
 which allows a complex problem to be solved by 
combining simple operations performed by many 
autonomous actors (the single servers in our case) 
 the use of probabilistic procedures and 
 the self-organizing behavior of the system 
 which ensures that the assignment of VMs to servers 
dynamically adapts to the varying workload 
6
 ecoCloud: an approach for consolidating VMs on a 
multidimensional computing resources. 
 CPU and RAM 
 Two types probabilistic procedures for dynamic 
consolidation and better-utilization of server: 
 Assignment 
 Migration 
 The assignment and migration of VMs are driven by 
probabilistic processes and are based exclusively on local 
information. 
 Data center manager combine local decisions. 
 Single servers take key decisions. 
7
 The assignment and migration procedures aim at 
 increasing the utilization of servers 
 consolidating the workload dynamically 
 with the twofold objective 
 saving electrical costs 
 respecting the Service Level Agreements stipulated 
with users. 
8
9 
Figure: Assignment and migration of VMs in a data center.
10 
 An Application request: 
 transmitted from a client to the data center manager 
 Data center manager selects a VM that is appropriate for the 
application on the basis of application characteristics: 
 the amount of required resources (CPU, memory, storage 
space) 
 The type of operating system specified by the client. 
 Then, the VM is assigned to one of the available servers 
through the assignment procedure.
 Actually single servers decide whether they should accept or 
reject a VM 
 Data center manager has only a coordinating role 
 It does not need to execute any complex centralized algorithm 
to optimize the mapping of VMs. 
 The workload of each application is dynamic: 
(for example, the CPU demand of a web server depends on 
the workload generated by web users) 
11 
 assignment of VMs is monitored continuously 
 tuned through the migration procedure
12 
 VM Migration occurs: 
 the resources utilization is too low 
 meaning that the server is highly underutilized 
 too high 
 possibly causing overload situations and service level 
agreement violations. 
 The migration procedure consists of two steps: 
 a server requests the migration of a VM, on the basis of its 
CPU/RAM utilization. 
 choose the server that will host the migrating VM
 On a new Application Request: 
 Data Center Manager sends an invitation to all the active 
servers, or to a subset of them. 
 Depending on the data center size and architecture 
 To check if they are available to accept the new VM 
 Servers take its decision whether or not to accept the invitation 
 try to contribute to the consolidation of the workload on as 
few servers as possible 
13
 A server rejects invitation if the server is over-utilized or 
underutilized on either of the two considered resources, CPU 
and RAM 
 the rationale is to: 
 avoid overload situations that can penalize the quality of 
service perceived by users 
 while in the case of underutilization the objective is to put 
the server in a sleep mode and save energy, 
 Underutilized server should refuse new VMs and try to get 
rid of those that are currently running 
 A server with intermediate utilization should accept to foster 
consolidation. 
14
 The server decision is taken performing a Bernoulli trial. 
 The success probability for this trial is equal to the value of 
the overall assignment function 
 Which is defined by evaluating the assignment function on 
each resource of interest. 
x (valued between 0 and 1): relative 
utilization of a resource, CPU or RAM 
T: maximum allowed utilization 
If x > T assignment function is equal to zero 
p: is a shape parameter 
Mp: used to normalize the maximum value to 1 
15
16 
Figure: Assignment probability function f(x, p, T) for three different 
values of the parameter p, and T equal to 0.9.
 The overall assignment function for the server s is denoted as 
fs 
us and ms: respectively, the current CPU and RAM 
utilization at server s 
x = us and x = ms are used for CPU and RAM, 
respectively 
pu and pm: the shape parameters defined for the 
two resources 
Tu and Tm: the respective maximum utilizations 
 ensures that servers tend to respond 
 positively when they have intermediate utilization values for both 
CPU and RAM 
 if one of the resources is under- or over-utilized the probability of 
the Bernoulli trial is low 
17
 If the Bernoulli trial is successful, 
 the server communicates notifies availability. 
 Data Center Manager selects one of the available servers, and 
assigns the new VM. 
 If all the Bernoulli trials are unsuccessful, 
 the manager wakes up an inactive server and requests it to run 
the new VM. 
 If no server to wake up, 
 a sign that altogether the servers are unable to sustain the 
load even when consolidating the workload 
 company should consider the acquisition of new servers. 
18
 On underutilization and overutilization of servers 
 some VMs can be profitably migrated to other servers 
 either to switch off a server, or 
 to alleviate its load 
 Each server monitors its CPU and RAM utilization 
 using the libraries provided by the virtualization 
infrastructure checks if it is between two specified 
thresholds 
 the lower threshold Tl and 
 the upper threshold Th 
19
 When this condition is violated, the server evaluates the 
corresponding probability function: 
 Performs a Bernoulli trial whose success probability is set to the 
value of the function. 
 Trigger the migration of VMs when the utilization is below the 
threshold Tl or above the threshold Th, respectively. 
 These two kinds of migrations are referred as 
 low migrations 
 high migrations 
20
21 
Figure: Migration probability functions fl migrate and fh migrate (labeled as fl and 
fh) for two different values of the parameters and . In this example, the threshold 
Tl is set to 0.3, Th is set to 0.8.
 In the case of high migration, 
 the server focuses on the over-utilized resource (CPU or 
RAM) and 
 considers the VMs for which the utilization of that resource 
is larger than the difference between the current server 
utilization and the threshold Th. 
 Then one of such VMs is randomly selected for migration, as 
this will allow the utilization to go below the threshold. 
 In the case of low migration the choice of the VM to 
migrate is made randomly. 
22
 The choice of the new server made using a variant of the 
assignment procedure, with two main differences. 
 The first one concerns the migration from an overloaded server: 
 the threshold T of the assignment function is set to 0.9 times the 
resource utilization of the server that initiated the procedure , this 
value is sent to servers along with the invitation. 
 This ensures that the VM will migrate to a less loaded server, and 
helps to avoid multiple migrations of the same VM. 
 The second difference concerns the migration from a lightly 
loaded server: 
 When no server is available to run a migrating VM, it would not be 
acceptable to switch on a new server to accommodate the VM. 
23
24 
 The performance of ecoCloud is assessed through the 
following metrics: 
 Resource utilization 
 To foster consolidation and save power, a server should be either 
highly exploited or in a sleep mode. 
 Number of active servers 
 VMs should be clustered into as few servers as possible. 
 Consumed power 
 The ultimate objective is to save electrical power. 
 The power consumed by a single server is expressed as 
 SLA violations 
Pmax: The power consumed at 
maximum CPU utilization (u = 1) 
Pidle: The power consumed when 
the server is active but idle (u = 0).
25 
 Frequency of migrations and server switches 
 Any VM migration causes a slight performance degradation of the 
application. 
 The time needed to transfer the VM memory may vary from a few 
seconds up to two minutes in the worst cases. 
 In this interval, the VM is active on the source server. 
 During the actual handover of the VM, the VM experiences a 
downtime in the order of milliseconds. 
 Analogously, the activation of an off server needs a startup time 
and additional power. 
 Therefore, though migrations and switches are essential for VM 
consolidation and power reduction, it is important to limit their 
frequency.
 tackles the issue of energy-related costs in data 
 centers and Cloud infrastructures, which are the largest 
 contributor to the overall cost of operating such 
environments. 
 The aim is to consolidate the Virtual Machines on as few 
physical servers as possible 
 switch the other servers off 
 minimizing power consumption and 
 carbon emissions 
26
Thank You 
27

More Related Content

What's hot

High virtualizationdegree
High virtualizationdegreeHigh virtualizationdegree
High virtualizationdegree
sscetrajiv
 
Database replication
Database replicationDatabase replication
Database replication
Arslan111
 
Load balancing
Load balancingLoad balancing
Load balancing in Distributed Systems
Load balancing in Distributed SystemsLoad balancing in Distributed Systems
Load balancing in Distributed Systems
Richa Singh
 
Madsqlserver
MadsqlserverMadsqlserver
Cloud quiz question answer
Cloud quiz question answerCloud quiz question answer
Cloud quiz question answer
Lahore Garrison University
 
Performance Comparision of Dynamic Load Balancing Algorithm in Cloud Computing
Performance Comparision of Dynamic Load Balancing Algorithm in Cloud ComputingPerformance Comparision of Dynamic Load Balancing Algorithm in Cloud Computing
Performance Comparision of Dynamic Load Balancing Algorithm in Cloud Computing
Eswar Publications
 
Virtual Machine Migration Techniques in Cloud Environment: A Survey
Virtual Machine Migration Techniques in Cloud Environment: A SurveyVirtual Machine Migration Techniques in Cloud Environment: A Survey
Virtual Machine Migration Techniques in Cloud Environment: A Survey
ijsrd.com
 
data replication
data replicationdata replication
data replication
Hassanein Alwan
 
Error tolerant resource allocation and payment minimization for cloud system
Error tolerant resource allocation and payment minimization for cloud systemError tolerant resource allocation and payment minimization for cloud system
Error tolerant resource allocation and payment minimization for cloud system
JPINFOTECH JAYAPRAKASH
 
Load Balancing from the Cloud - Layer 7 Aware Solution
Load Balancing from the Cloud - Layer 7 Aware SolutionLoad Balancing from the Cloud - Layer 7 Aware Solution
Load Balancing from the Cloud - Layer 7 Aware Solution
Imperva Incapsula
 
cloud computing: Vm migration
cloud computing: Vm migrationcloud computing: Vm migration
cloud computing: Vm migration
Dr.Neeraj Kumar Pandey
 
Congetion Control.pptx
Congetion Control.pptxCongetion Control.pptx
Congetion Control.pptx
Naveen Dubey
 
Load Balancing
Load BalancingLoad Balancing
Load Balancing
nashniv
 
Database , 13 Replication
Database , 13 ReplicationDatabase , 13 Replication
Database , 13 Replication
Ali Usman
 
Congestion control 1
Congestion control 1Congestion control 1
Congestion control 1
Aman Jaiswal
 
UNIT II tramission control
UNIT II tramission controlUNIT II tramission control
UNIT II tramission control
sangusajjan
 
Congestion control
Congestion controlCongestion control
Congestion Control
Congestion ControlCongestion Control
Congestion Control
VaishnaviVaishnavi17
 
CS6601 DISTRIBUTED SYSTEMS
CS6601 DISTRIBUTED SYSTEMSCS6601 DISTRIBUTED SYSTEMS
CS6601 DISTRIBUTED SYSTEMS
Kathirvel Ayyaswamy
 

What's hot (20)

High virtualizationdegree
High virtualizationdegreeHigh virtualizationdegree
High virtualizationdegree
 
Database replication
Database replicationDatabase replication
Database replication
 
Load balancing
Load balancingLoad balancing
Load balancing
 
Load balancing in Distributed Systems
Load balancing in Distributed SystemsLoad balancing in Distributed Systems
Load balancing in Distributed Systems
 
Madsqlserver
MadsqlserverMadsqlserver
Madsqlserver
 
Cloud quiz question answer
Cloud quiz question answerCloud quiz question answer
Cloud quiz question answer
 
Performance Comparision of Dynamic Load Balancing Algorithm in Cloud Computing
Performance Comparision of Dynamic Load Balancing Algorithm in Cloud ComputingPerformance Comparision of Dynamic Load Balancing Algorithm in Cloud Computing
Performance Comparision of Dynamic Load Balancing Algorithm in Cloud Computing
 
Virtual Machine Migration Techniques in Cloud Environment: A Survey
Virtual Machine Migration Techniques in Cloud Environment: A SurveyVirtual Machine Migration Techniques in Cloud Environment: A Survey
Virtual Machine Migration Techniques in Cloud Environment: A Survey
 
data replication
data replicationdata replication
data replication
 
Error tolerant resource allocation and payment minimization for cloud system
Error tolerant resource allocation and payment minimization for cloud systemError tolerant resource allocation and payment minimization for cloud system
Error tolerant resource allocation and payment minimization for cloud system
 
Load Balancing from the Cloud - Layer 7 Aware Solution
Load Balancing from the Cloud - Layer 7 Aware SolutionLoad Balancing from the Cloud - Layer 7 Aware Solution
Load Balancing from the Cloud - Layer 7 Aware Solution
 
cloud computing: Vm migration
cloud computing: Vm migrationcloud computing: Vm migration
cloud computing: Vm migration
 
Congetion Control.pptx
Congetion Control.pptxCongetion Control.pptx
Congetion Control.pptx
 
Load Balancing
Load BalancingLoad Balancing
Load Balancing
 
Database , 13 Replication
Database , 13 ReplicationDatabase , 13 Replication
Database , 13 Replication
 
Congestion control 1
Congestion control 1Congestion control 1
Congestion control 1
 
UNIT II tramission control
UNIT II tramission controlUNIT II tramission control
UNIT II tramission control
 
Congestion control
Congestion controlCongestion control
Congestion control
 
Congestion Control
Congestion ControlCongestion Control
Congestion Control
 
CS6601 DISTRIBUTED SYSTEMS
CS6601 DISTRIBUTED SYSTEMSCS6601 DISTRIBUTED SYSTEMS
CS6601 DISTRIBUTED SYSTEMS
 

Similar to Cloud datacenters

CNR @ VMUG.IT 20150304
CNR @ VMUG.IT 20150304CNR @ VMUG.IT 20150304
CNR @ VMUG.IT 20150304
VMUG IT
 
Virtual machine consolidation for balanced resource utilisation and energy ef...
Virtual machine consolidation for balanced resource utilisation and energy ef...Virtual machine consolidation for balanced resource utilisation and energy ef...
Virtual machine consolidation for balanced resource utilisation and energy ef...
SuvomDas
 
dynamic resource allocation using virtual machines for cloud computing enviro...
dynamic resource allocation using virtual machines for cloud computing enviro...dynamic resource allocation using virtual machines for cloud computing enviro...
dynamic resource allocation using virtual machines for cloud computing enviro...
Kumar Goud
 
Presentation major
Presentation majorPresentation major
Presentation major
mallika26
 
Iaetsd active resource provision in cloud computing
Iaetsd active resource provision in cloud computingIaetsd active resource provision in cloud computing
Iaetsd active resource provision in cloud computing
Iaetsd Iaetsd
 
ICC paper
ICC paperICC paper
ICC paper
Qi Chen
 
Iaetsd appliances of harmonizing model in cloud
Iaetsd appliances of harmonizing model in cloudIaetsd appliances of harmonizing model in cloud
Iaetsd appliances of harmonizing model in cloud
Iaetsd Iaetsd
 
Optimal load balancing in cloud computing
Optimal load balancing in cloud computingOptimal load balancing in cloud computing
Optimal load balancing in cloud computing
Priyanka Bhowmick
 
Probabilistic consolidation of virtual machines in self organizing cloud data...
Probabilistic consolidation of virtual machines in self organizing cloud data...Probabilistic consolidation of virtual machines in self organizing cloud data...
Probabilistic consolidation of virtual machines in self organizing cloud data...
Papitha Velumani
 
Distributed, concurrent, and independent access to encrypted cloud databases
Distributed, concurrent, and independent access to encrypted cloud databasesDistributed, concurrent, and independent access to encrypted cloud databases
Distributed, concurrent, and independent access to encrypted cloud databases
Papitha Velumani
 
Distributed, concurrent, and independent access to encrypted cloud databases
Distributed, concurrent, and independent access to encrypted cloud databasesDistributed, concurrent, and independent access to encrypted cloud databases
Distributed, concurrent, and independent access to encrypted cloud databases
Papitha Velumani
 
MSIT Research Paper on Power Aware Computing in Clouds
MSIT Research Paper on Power Aware Computing in CloudsMSIT Research Paper on Power Aware Computing in Clouds
MSIT Research Paper on Power Aware Computing in Clouds
Asiimwe Innocent Mudenge
 
33. dynamic resource allocation using virtual machines
33. dynamic resource allocation using virtual machines33. dynamic resource allocation using virtual machines
33. dynamic resource allocation using virtual machines
muhammed jassim k
 
IEEE Paper Presentation by Chandan Kumar
IEEE Paper Presentation by Chandan KumarIEEE Paper Presentation by Chandan Kumar
IEEE Paper Presentation by Chandan Kumar
Chandan Kumar
 
Role of Virtual Machine Live Migration in Cloud Load Balancing
Role of Virtual Machine Live Migration in Cloud Load BalancingRole of Virtual Machine Live Migration in Cloud Load Balancing
Role of Virtual Machine Live Migration in Cloud Load Balancing
IOSR Journals
 
Cloud Computing Load Balancing Algorithms Comparison Based Survey
Cloud Computing Load Balancing Algorithms Comparison Based SurveyCloud Computing Load Balancing Algorithms Comparison Based Survey
Cloud Computing Load Balancing Algorithms Comparison Based Survey
INFOGAIN PUBLICATION
 
Enhancing minimal virtual machine migration in cloud environment
Enhancing minimal virtual machine migration in cloud environmentEnhancing minimal virtual machine migration in cloud environment
Enhancing minimal virtual machine migration in cloud environment
eSAT Publishing House
 
Paper id 41201624
Paper id 41201624Paper id 41201624
Paper id 41201624
IJRAT
 
Summer Intern Report
Summer Intern ReportSummer Intern Report
Summer Intern Report
Shantanu Bharadwaj
 
Could the “C” in HPC stand for Cloud?
Could the “C” in HPC stand for Cloud?Could the “C” in HPC stand for Cloud?
Could the “C” in HPC stand for Cloud?
IBM India Smarter Computing
 

Similar to Cloud datacenters (20)

CNR @ VMUG.IT 20150304
CNR @ VMUG.IT 20150304CNR @ VMUG.IT 20150304
CNR @ VMUG.IT 20150304
 
Virtual machine consolidation for balanced resource utilisation and energy ef...
Virtual machine consolidation for balanced resource utilisation and energy ef...Virtual machine consolidation for balanced resource utilisation and energy ef...
Virtual machine consolidation for balanced resource utilisation and energy ef...
 
dynamic resource allocation using virtual machines for cloud computing enviro...
dynamic resource allocation using virtual machines for cloud computing enviro...dynamic resource allocation using virtual machines for cloud computing enviro...
dynamic resource allocation using virtual machines for cloud computing enviro...
 
Presentation major
Presentation majorPresentation major
Presentation major
 
Iaetsd active resource provision in cloud computing
Iaetsd active resource provision in cloud computingIaetsd active resource provision in cloud computing
Iaetsd active resource provision in cloud computing
 
ICC paper
ICC paperICC paper
ICC paper
 
Iaetsd appliances of harmonizing model in cloud
Iaetsd appliances of harmonizing model in cloudIaetsd appliances of harmonizing model in cloud
Iaetsd appliances of harmonizing model in cloud
 
Optimal load balancing in cloud computing
Optimal load balancing in cloud computingOptimal load balancing in cloud computing
Optimal load balancing in cloud computing
 
Probabilistic consolidation of virtual machines in self organizing cloud data...
Probabilistic consolidation of virtual machines in self organizing cloud data...Probabilistic consolidation of virtual machines in self organizing cloud data...
Probabilistic consolidation of virtual machines in self organizing cloud data...
 
Distributed, concurrent, and independent access to encrypted cloud databases
Distributed, concurrent, and independent access to encrypted cloud databasesDistributed, concurrent, and independent access to encrypted cloud databases
Distributed, concurrent, and independent access to encrypted cloud databases
 
Distributed, concurrent, and independent access to encrypted cloud databases
Distributed, concurrent, and independent access to encrypted cloud databasesDistributed, concurrent, and independent access to encrypted cloud databases
Distributed, concurrent, and independent access to encrypted cloud databases
 
MSIT Research Paper on Power Aware Computing in Clouds
MSIT Research Paper on Power Aware Computing in CloudsMSIT Research Paper on Power Aware Computing in Clouds
MSIT Research Paper on Power Aware Computing in Clouds
 
33. dynamic resource allocation using virtual machines
33. dynamic resource allocation using virtual machines33. dynamic resource allocation using virtual machines
33. dynamic resource allocation using virtual machines
 
IEEE Paper Presentation by Chandan Kumar
IEEE Paper Presentation by Chandan KumarIEEE Paper Presentation by Chandan Kumar
IEEE Paper Presentation by Chandan Kumar
 
Role of Virtual Machine Live Migration in Cloud Load Balancing
Role of Virtual Machine Live Migration in Cloud Load BalancingRole of Virtual Machine Live Migration in Cloud Load Balancing
Role of Virtual Machine Live Migration in Cloud Load Balancing
 
Cloud Computing Load Balancing Algorithms Comparison Based Survey
Cloud Computing Load Balancing Algorithms Comparison Based SurveyCloud Computing Load Balancing Algorithms Comparison Based Survey
Cloud Computing Load Balancing Algorithms Comparison Based Survey
 
Enhancing minimal virtual machine migration in cloud environment
Enhancing minimal virtual machine migration in cloud environmentEnhancing minimal virtual machine migration in cloud environment
Enhancing minimal virtual machine migration in cloud environment
 
Paper id 41201624
Paper id 41201624Paper id 41201624
Paper id 41201624
 
Summer Intern Report
Summer Intern ReportSummer Intern Report
Summer Intern Report
 
Could the “C” in HPC stand for Cloud?
Could the “C” in HPC stand for Cloud?Could the “C” in HPC stand for Cloud?
Could the “C” in HPC stand for Cloud?
 

More from Iffat Anjum

Fog computing ( foggy cloud)
Fog computing  ( foggy cloud)Fog computing  ( foggy cloud)
Fog computing ( foggy cloud)
Iffat Anjum
 
Cognitive radio network_MS_defense_presentation
Cognitive radio network_MS_defense_presentationCognitive radio network_MS_defense_presentation
Cognitive radio network_MS_defense_presentation
Iffat Anjum
 
Lecture 15 run timeenvironment_2
Lecture 15 run timeenvironment_2Lecture 15 run timeenvironment_2
Lecture 15 run timeenvironment_2
Iffat Anjum
 
Lecture 16 17 code-generation
Lecture 16 17 code-generationLecture 16 17 code-generation
Lecture 16 17 code-generation
Iffat Anjum
 
Lecture 14 run time environment
Lecture 14 run time environmentLecture 14 run time environment
Lecture 14 run time environment
Iffat Anjum
 
Lecture 12 intermediate code generation
Lecture 12 intermediate code generationLecture 12 intermediate code generation
Lecture 12 intermediate code generation
Iffat Anjum
 
Lecture 13 intermediate code generation 2.pptx
Lecture 13 intermediate code generation 2.pptxLecture 13 intermediate code generation 2.pptx
Lecture 13 intermediate code generation 2.pptx
Iffat Anjum
 
Lecture 11 semantic analysis 2
Lecture 11 semantic analysis 2Lecture 11 semantic analysis 2
Lecture 11 semantic analysis 2
Iffat Anjum
 
Lecture 09 syntax analysis 05
Lecture 09 syntax analysis 05Lecture 09 syntax analysis 05
Lecture 09 syntax analysis 05
Iffat Anjum
 
Lecture 10 semantic analysis 01
Lecture 10 semantic analysis 01Lecture 10 semantic analysis 01
Lecture 10 semantic analysis 01
Iffat Anjum
 
Lecture 07 08 syntax analysis-4
Lecture 07 08 syntax analysis-4Lecture 07 08 syntax analysis-4
Lecture 07 08 syntax analysis-4
Iffat Anjum
 
Lecture 06 syntax analysis 3
Lecture 06 syntax analysis 3Lecture 06 syntax analysis 3
Lecture 06 syntax analysis 3
Iffat Anjum
 
Lecture 05 syntax analysis 2
Lecture 05 syntax analysis 2Lecture 05 syntax analysis 2
Lecture 05 syntax analysis 2
Iffat Anjum
 
Lecture 03 lexical analysis
Lecture 03 lexical analysisLecture 03 lexical analysis
Lecture 03 lexical analysis
Iffat Anjum
 
Lecture 04 syntax analysis
Lecture 04 syntax analysisLecture 04 syntax analysis
Lecture 04 syntax analysis
Iffat Anjum
 
Lecture 02 lexical analysis
Lecture 02 lexical analysisLecture 02 lexical analysis
Lecture 02 lexical analysis
Iffat Anjum
 
Lecture 01 introduction to compiler
Lecture 01 introduction to compilerLecture 01 introduction to compiler
Lecture 01 introduction to compiler
Iffat Anjum
 
Compiler Design - Introduction to Compiler
Compiler Design - Introduction to CompilerCompiler Design - Introduction to Compiler
Compiler Design - Introduction to Compiler
Iffat Anjum
 
Distributed contention based mac protocol for cognitive radio
Distributed contention based mac protocol for cognitive radioDistributed contention based mac protocol for cognitive radio
Distributed contention based mac protocol for cognitive radio
Iffat Anjum
 
On qo s provisioning in context aware wireless sensor networks for healthcare
On qo s provisioning in context aware wireless sensor networks for healthcareOn qo s provisioning in context aware wireless sensor networks for healthcare
On qo s provisioning in context aware wireless sensor networks for healthcare
Iffat Anjum
 

More from Iffat Anjum (20)

Fog computing ( foggy cloud)
Fog computing  ( foggy cloud)Fog computing  ( foggy cloud)
Fog computing ( foggy cloud)
 
Cognitive radio network_MS_defense_presentation
Cognitive radio network_MS_defense_presentationCognitive radio network_MS_defense_presentation
Cognitive radio network_MS_defense_presentation
 
Lecture 15 run timeenvironment_2
Lecture 15 run timeenvironment_2Lecture 15 run timeenvironment_2
Lecture 15 run timeenvironment_2
 
Lecture 16 17 code-generation
Lecture 16 17 code-generationLecture 16 17 code-generation
Lecture 16 17 code-generation
 
Lecture 14 run time environment
Lecture 14 run time environmentLecture 14 run time environment
Lecture 14 run time environment
 
Lecture 12 intermediate code generation
Lecture 12 intermediate code generationLecture 12 intermediate code generation
Lecture 12 intermediate code generation
 
Lecture 13 intermediate code generation 2.pptx
Lecture 13 intermediate code generation 2.pptxLecture 13 intermediate code generation 2.pptx
Lecture 13 intermediate code generation 2.pptx
 
Lecture 11 semantic analysis 2
Lecture 11 semantic analysis 2Lecture 11 semantic analysis 2
Lecture 11 semantic analysis 2
 
Lecture 09 syntax analysis 05
Lecture 09 syntax analysis 05Lecture 09 syntax analysis 05
Lecture 09 syntax analysis 05
 
Lecture 10 semantic analysis 01
Lecture 10 semantic analysis 01Lecture 10 semantic analysis 01
Lecture 10 semantic analysis 01
 
Lecture 07 08 syntax analysis-4
Lecture 07 08 syntax analysis-4Lecture 07 08 syntax analysis-4
Lecture 07 08 syntax analysis-4
 
Lecture 06 syntax analysis 3
Lecture 06 syntax analysis 3Lecture 06 syntax analysis 3
Lecture 06 syntax analysis 3
 
Lecture 05 syntax analysis 2
Lecture 05 syntax analysis 2Lecture 05 syntax analysis 2
Lecture 05 syntax analysis 2
 
Lecture 03 lexical analysis
Lecture 03 lexical analysisLecture 03 lexical analysis
Lecture 03 lexical analysis
 
Lecture 04 syntax analysis
Lecture 04 syntax analysisLecture 04 syntax analysis
Lecture 04 syntax analysis
 
Lecture 02 lexical analysis
Lecture 02 lexical analysisLecture 02 lexical analysis
Lecture 02 lexical analysis
 
Lecture 01 introduction to compiler
Lecture 01 introduction to compilerLecture 01 introduction to compiler
Lecture 01 introduction to compiler
 
Compiler Design - Introduction to Compiler
Compiler Design - Introduction to CompilerCompiler Design - Introduction to Compiler
Compiler Design - Introduction to Compiler
 
Distributed contention based mac protocol for cognitive radio
Distributed contention based mac protocol for cognitive radioDistributed contention based mac protocol for cognitive radio
Distributed contention based mac protocol for cognitive radio
 
On qo s provisioning in context aware wireless sensor networks for healthcare
On qo s provisioning in context aware wireless sensor networks for healthcareOn qo s provisioning in context aware wireless sensor networks for healthcare
On qo s provisioning in context aware wireless sensor networks for healthcare
 

Recently uploaded

MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 

Cloud datacenters

  • 1. Authors: Carlo Mastroianni, Michela Meo, Giuseppe Papuzzo Presented By: Iffat Anjum Rk-554 Date: 26-10-2014 1
  • 2.       2
  • 3.  The design of large and powerful Cloud Data Centers mainly depends  Power Efficiency.  Efficient Virtual Machine (VM) Consolidation.  Reduce of over-all power consumption.  Avoid low Utilized Servers, also  Avoid Over-loaded Servers.  Service Level Agreements. 3
  • 4.  Virtualization: Many Virtual Machine (VM) instances can be executed on the same physical server.  Consolidation of the workload: allocating the maximum number of VMs in the minimum number of physical machines.  Allows unneeded servers to be in  low-power state, or  switched off, or  devoted to the execution of incremental workload 4
  • 5.  The optimal assignment of VMs to the servers of a data center is analogous to the NP-hard “Bin Packing Problem”  The problem is more complicated by two circumstances:  The assignment of VMs should take into account multiple server resources at the same time, for example, CPU and RAM, (multidimensional bin packing Problem)  The VMs continuously modify their hardware requirements, potentially baffling the previous assignment decisions in a few hours. 5
  • 6.  ecoCloud Key characteristics:  the use of the swarm intelligence paradigm  which allows a complex problem to be solved by combining simple operations performed by many autonomous actors (the single servers in our case)  the use of probabilistic procedures and  the self-organizing behavior of the system  which ensures that the assignment of VMs to servers dynamically adapts to the varying workload 6
  • 7.  ecoCloud: an approach for consolidating VMs on a multidimensional computing resources.  CPU and RAM  Two types probabilistic procedures for dynamic consolidation and better-utilization of server:  Assignment  Migration  The assignment and migration of VMs are driven by probabilistic processes and are based exclusively on local information.  Data center manager combine local decisions.  Single servers take key decisions. 7
  • 8.  The assignment and migration procedures aim at  increasing the utilization of servers  consolidating the workload dynamically  with the twofold objective  saving electrical costs  respecting the Service Level Agreements stipulated with users. 8
  • 9. 9 Figure: Assignment and migration of VMs in a data center.
  • 10. 10  An Application request:  transmitted from a client to the data center manager  Data center manager selects a VM that is appropriate for the application on the basis of application characteristics:  the amount of required resources (CPU, memory, storage space)  The type of operating system specified by the client.  Then, the VM is assigned to one of the available servers through the assignment procedure.
  • 11.  Actually single servers decide whether they should accept or reject a VM  Data center manager has only a coordinating role  It does not need to execute any complex centralized algorithm to optimize the mapping of VMs.  The workload of each application is dynamic: (for example, the CPU demand of a web server depends on the workload generated by web users) 11  assignment of VMs is monitored continuously  tuned through the migration procedure
  • 12. 12  VM Migration occurs:  the resources utilization is too low  meaning that the server is highly underutilized  too high  possibly causing overload situations and service level agreement violations.  The migration procedure consists of two steps:  a server requests the migration of a VM, on the basis of its CPU/RAM utilization.  choose the server that will host the migrating VM
  • 13.  On a new Application Request:  Data Center Manager sends an invitation to all the active servers, or to a subset of them.  Depending on the data center size and architecture  To check if they are available to accept the new VM  Servers take its decision whether or not to accept the invitation  try to contribute to the consolidation of the workload on as few servers as possible 13
  • 14.  A server rejects invitation if the server is over-utilized or underutilized on either of the two considered resources, CPU and RAM  the rationale is to:  avoid overload situations that can penalize the quality of service perceived by users  while in the case of underutilization the objective is to put the server in a sleep mode and save energy,  Underutilized server should refuse new VMs and try to get rid of those that are currently running  A server with intermediate utilization should accept to foster consolidation. 14
  • 15.  The server decision is taken performing a Bernoulli trial.  The success probability for this trial is equal to the value of the overall assignment function  Which is defined by evaluating the assignment function on each resource of interest. x (valued between 0 and 1): relative utilization of a resource, CPU or RAM T: maximum allowed utilization If x > T assignment function is equal to zero p: is a shape parameter Mp: used to normalize the maximum value to 1 15
  • 16. 16 Figure: Assignment probability function f(x, p, T) for three different values of the parameter p, and T equal to 0.9.
  • 17.  The overall assignment function for the server s is denoted as fs us and ms: respectively, the current CPU and RAM utilization at server s x = us and x = ms are used for CPU and RAM, respectively pu and pm: the shape parameters defined for the two resources Tu and Tm: the respective maximum utilizations  ensures that servers tend to respond  positively when they have intermediate utilization values for both CPU and RAM  if one of the resources is under- or over-utilized the probability of the Bernoulli trial is low 17
  • 18.  If the Bernoulli trial is successful,  the server communicates notifies availability.  Data Center Manager selects one of the available servers, and assigns the new VM.  If all the Bernoulli trials are unsuccessful,  the manager wakes up an inactive server and requests it to run the new VM.  If no server to wake up,  a sign that altogether the servers are unable to sustain the load even when consolidating the workload  company should consider the acquisition of new servers. 18
  • 19.  On underutilization and overutilization of servers  some VMs can be profitably migrated to other servers  either to switch off a server, or  to alleviate its load  Each server monitors its CPU and RAM utilization  using the libraries provided by the virtualization infrastructure checks if it is between two specified thresholds  the lower threshold Tl and  the upper threshold Th 19
  • 20.  When this condition is violated, the server evaluates the corresponding probability function:  Performs a Bernoulli trial whose success probability is set to the value of the function.  Trigger the migration of VMs when the utilization is below the threshold Tl or above the threshold Th, respectively.  These two kinds of migrations are referred as  low migrations  high migrations 20
  • 21. 21 Figure: Migration probability functions fl migrate and fh migrate (labeled as fl and fh) for two different values of the parameters and . In this example, the threshold Tl is set to 0.3, Th is set to 0.8.
  • 22.  In the case of high migration,  the server focuses on the over-utilized resource (CPU or RAM) and  considers the VMs for which the utilization of that resource is larger than the difference between the current server utilization and the threshold Th.  Then one of such VMs is randomly selected for migration, as this will allow the utilization to go below the threshold.  In the case of low migration the choice of the VM to migrate is made randomly. 22
  • 23.  The choice of the new server made using a variant of the assignment procedure, with two main differences.  The first one concerns the migration from an overloaded server:  the threshold T of the assignment function is set to 0.9 times the resource utilization of the server that initiated the procedure , this value is sent to servers along with the invitation.  This ensures that the VM will migrate to a less loaded server, and helps to avoid multiple migrations of the same VM.  The second difference concerns the migration from a lightly loaded server:  When no server is available to run a migrating VM, it would not be acceptable to switch on a new server to accommodate the VM. 23
  • 24. 24  The performance of ecoCloud is assessed through the following metrics:  Resource utilization  To foster consolidation and save power, a server should be either highly exploited or in a sleep mode.  Number of active servers  VMs should be clustered into as few servers as possible.  Consumed power  The ultimate objective is to save electrical power.  The power consumed by a single server is expressed as  SLA violations Pmax: The power consumed at maximum CPU utilization (u = 1) Pidle: The power consumed when the server is active but idle (u = 0).
  • 25. 25  Frequency of migrations and server switches  Any VM migration causes a slight performance degradation of the application.  The time needed to transfer the VM memory may vary from a few seconds up to two minutes in the worst cases.  In this interval, the VM is active on the source server.  During the actual handover of the VM, the VM experiences a downtime in the order of milliseconds.  Analogously, the activation of an off server needs a startup time and additional power.  Therefore, though migrations and switches are essential for VM consolidation and power reduction, it is important to limit their frequency.
  • 26.  tackles the issue of energy-related costs in data  centers and Cloud infrastructures, which are the largest  contributor to the overall cost of operating such environments.  The aim is to consolidate the Virtual Machines on as few physical servers as possible  switch the other servers off  minimizing power consumption and  carbon emissions 26

Editor's Notes

  1. depending on the data center size and architecture,1 to check if they are available to accept the new VM.
  2. depending on the data center size and architecture,1 to check if they are available to accept the new VM.