SlideShare a Scribd company logo
1 of 25
between Mobile Device and
Cloud
Byung-Gon Chun Sunghwan Ihm Petros Maniatis
Intel Labs Berkeley Princeton University Intel Labs Berkeley
Mayur Naik Ashwin Patti
Intel Labs Berkeley Intel Labs Berkeley
Presenter : Das
Motivation
 With the increasing use of mobile
devices, mobile applications with
richer functionalities are becoming
ubiquitous.
 But mobile phone devices are limited
by their resources for computing and
power consumption.
 Cloud – the place for abundant
resources
 Clouds provide opportunity to do huge
Common approach
 Split in traditional client-server
paradigm, pushing most computation
to the remote server
 Few approaches
◦ Cloudlets
◦ MAUI
Questions
 Will it be efficient to move all the
computations to cloud?
 If programmer has to specify which
computation to be run in cloud, will
that be same for all mobile
configuration like Faster CPU with
good network connection, Slower
CPU with slow network connection.
Goals
Main goal
“….a flexible architecture for the seamless
use of ambient computation to augment
mobile device applications and energy-
efficient”
Other aims:
 Allow such fine grained flexibility on what
run where(on mobile or in cloud)
 Take programmer out of the business of
application partitioning(make it automatic
and seamless)
CloneCloud
 CloneCloud envisions at an architecture that
uses cloud to do computations that consume
resources badly on mobiles.
 It believes in the intuition that “as long as
execution on the cloud is significantly faster
than execution on the mobile device, paying
the cost for sending the relevant data and
code from device to the cloud and back may
be worth it”
 It aims at finding the right spots in an
application automatically where the execution
can be partitioned and migrated to the cloud.
Schema
 Clone an unmodified application executable.
 The modified executable is running at mobile device.
 At automatically chosen points individual threads
migrate from mobile device to device clone in a cloud.
 Remaining functionality on the mobile device keep
executing.
 Remaining functionality blocks if attempts to access
migrated state.
 The migrated thread executes on the clone, possibly
accessing native features on hosting platforms(fast
CPU, hardware accelerations)
 Merge remote and local state back into original process.
Partitioning
 Partitioning mechanism yields the
partitions in the application that are
optimal at execution time and energy
consumption
 It is run multiple time under different
conditions and objective functions –
stores all partitions in a database.
 It is done offline
 At run time, the execution picks a
partition among these modifies the
executables before invocation
 It has three components – static
analyzer, dynamic profiler and
optimization solver.
Static Analyzer
 The static analyzer identifies the legal
partitions of the application executable
according to the set of constraints
 Migration is restricted to the method
entry and exit points
 Two more restrictions for simplicity
◦ Migration is allowed only at the boundaries
of application methods but not core system
library methods
◦ Migration is allowed at the VM-layer method
boundaries but not native method
boundaries.
Static Analyzer – constraints
Three properties of any legal partition
 Methods that access specific features of a machine
must be pinned to the machine[Vm]
◦ Static analysis marks the declaration of such methods with
a special annotation M
◦ Done once for each platform, not repeated for each
application
 Methods that share native state must be collocated at
the same machine[Vnat]
◦ When an image processing class has initialize, detect and
fetch result methods that access native state, they need to
be collocated
 Prevent nested migration
◦ Static analysis of the control flow graph to identity the set of
methods called directly by a method(DC) and
transitively(TC).
Dynamic Profiler
 Profiler collects data that will be used to
construct the cost model.
 Currently using randomly chosen set of
inputs
◦ Future work is to explore symbolic-execution-
based techniques since randomly chosen
inputs may not explore all execution paths
 Each execution is run once on mobile
device and once on the clone in the
cloud.
 Profiler outputs set of execution S and a
“profile tree”, for both mobile device and
the clone.
Profile Tree
 One node for each method invocation
 Every non-leaf node also has a leaf child called its
residual node.
 Residual node holds residual cost which represents the
cost of running of the body of code excluding the costs
of the methods called by it
 Each edge is annotated with the state size at the time of
invocation of the child node, plus the state size at the
end of that invocation
◦ Amount of data that migrator needs to capture and transmit
in both directions if edge were to be migration cost
 Computation cost Cc(I,l); l=0 on mobile device and filled
from T, l =1 on the clone and filled from T’
 Migration cost Cs(i); sum of a suspend/resume cost and
the transfer cost.
Dynamic Profiler
 For energy consumption model, we do
the energy measurements with off-board
equipment.
 CPU activity(processing/idle) , display
state(on/off), and network state
(transmitting or receiving/idle), and
translate them to a power value using
func P.
 Cc(i,0) = P(CPUOn, ScrOn, NetIdle) *
T[i]
 Cc(i,1) = P(CPUIdle, ScrOn, NetIdle)
 Cs(i) = <Cs(i) value from time model> * P
(CPUOn, ScrOn, netOn)
Optimization Solver
 It aims at picking up application
methods to migrate the clone from
mobile device, so as to minimize the
expected cost of partitioned
application.
 Optimization problem is to minimize
the time taken to execute and energy
consumed.
Distributed Execution
 Thread granularity migration
◦ Migration operates at the granularity of a
thread.
 Native-Everywhere:
◦ Enables migrated threads to use native
non-virtualized hardware (GPUs,
Cryptographic accelerators, etc).
 Suspend and capture
◦ Thread migrator suspends migrant thread
◦ Captures its state, passes it to node manager
◦ Node manager transfers the capture to clone
 Resume and Merge
◦ Clone's thread migrator captures and packages the
thread state
◦ Node manager transfers the capture back to the
mobile device
◦ Migrator in the original process is given the capture
for resumption
Conclusion
 Pros
◦ Prototype delivers up to 20x speed up and
20x energy reduction.
◦ Programmer involvement is not required.
 Cons
◦ Programmer does not have the flexibility
to specify a method to be executed on
cloud.
◦ It may not be possible to run dynamic
profiler for all possible parameters.
Questions?

More Related Content

What's hot

Continual learning: Survey
Continual learning: SurveyContinual learning: Survey
Continual learning: SurveyWonjun Jeong
 
Continual Learning: why, how, and when
Continual Learning: why, how, and whenContinual Learning: why, how, and when
Continual Learning: why, how, and whenGabriele Graffieti
 
Paraphrase Detection in NLP
Paraphrase Detection in NLPParaphrase Detection in NLP
Paraphrase Detection in NLPYuriy Guts
 
Optimization in deep learning
Optimization in deep learningOptimization in deep learning
Optimization in deep learningRakshith Sathish
 
Feature selection
Feature selectionFeature selection
Feature selectionDong Guo
 
Time Delayed Recurrent Neural Network for Multi-Step Prediction
Time Delayed Recurrent Neural Network for Multi-Step PredictionTime Delayed Recurrent Neural Network for Multi-Step Prediction
Time Delayed Recurrent Neural Network for Multi-Step PredictionKostas Hatalis, PhD
 
Mobilenetv1 v2 slide
Mobilenetv1 v2 slideMobilenetv1 v2 slide
Mobilenetv1 v2 slide威智 黃
 
PhD Viva Presentation-9-6-2015
PhD Viva Presentation-9-6-2015PhD Viva Presentation-9-6-2015
PhD Viva Presentation-9-6-2015omar wahdan
 
Transfer Learning and Domain Adaptation - Ramon Morros - UPC Barcelona 2018
Transfer Learning and Domain Adaptation - Ramon Morros - UPC Barcelona 2018Transfer Learning and Domain Adaptation - Ramon Morros - UPC Barcelona 2018
Transfer Learning and Domain Adaptation - Ramon Morros - UPC Barcelona 2018Universitat Politècnica de Catalunya
 
Natural Language Processing in AI
Natural Language Processing in AINatural Language Processing in AI
Natural Language Processing in AISaurav Shrestha
 

What's hot (13)

Continual learning: Survey
Continual learning: SurveyContinual learning: Survey
Continual learning: Survey
 
Continual Learning: why, how, and when
Continual Learning: why, how, and whenContinual Learning: why, how, and when
Continual Learning: why, how, and when
 
Pseudo Random Number
Pseudo Random NumberPseudo Random Number
Pseudo Random Number
 
Paraphrase Detection in NLP
Paraphrase Detection in NLPParaphrase Detection in NLP
Paraphrase Detection in NLP
 
Optimization in deep learning
Optimization in deep learningOptimization in deep learning
Optimization in deep learning
 
Feature selection
Feature selectionFeature selection
Feature selection
 
Time Delayed Recurrent Neural Network for Multi-Step Prediction
Time Delayed Recurrent Neural Network for Multi-Step PredictionTime Delayed Recurrent Neural Network for Multi-Step Prediction
Time Delayed Recurrent Neural Network for Multi-Step Prediction
 
Mobilenetv1 v2 slide
Mobilenetv1 v2 slideMobilenetv1 v2 slide
Mobilenetv1 v2 slide
 
PhD Viva Presentation-9-6-2015
PhD Viva Presentation-9-6-2015PhD Viva Presentation-9-6-2015
PhD Viva Presentation-9-6-2015
 
CNS - Unit - 5 - Cryptographic Hash Functions
CNS - Unit - 5 - Cryptographic Hash FunctionsCNS - Unit - 5 - Cryptographic Hash Functions
CNS - Unit - 5 - Cryptographic Hash Functions
 
Transfer Learning and Domain Adaptation - Ramon Morros - UPC Barcelona 2018
Transfer Learning and Domain Adaptation - Ramon Morros - UPC Barcelona 2018Transfer Learning and Domain Adaptation - Ramon Morros - UPC Barcelona 2018
Transfer Learning and Domain Adaptation - Ramon Morros - UPC Barcelona 2018
 
Internet Key Exchange Protocol
Internet Key Exchange ProtocolInternet Key Exchange Protocol
Internet Key Exchange Protocol
 
Natural Language Processing in AI
Natural Language Processing in AINatural Language Processing in AI
Natural Language Processing in AI
 

Similar to Clone cloud

Cloud data management
Cloud data managementCloud data management
Cloud data managementambitlick
 
Disadvantages Of Robotium
Disadvantages Of RobotiumDisadvantages Of Robotium
Disadvantages Of RobotiumSusan Tullis
 
AN EFFICIENT AND SECURED FRAMEWORK FOR MOBILE CLOUD COMPUTING
AN EFFICIENT AND SECURED FRAMEWORK FOR MOBILE CLOUD COMPUTINGAN EFFICIENT AND SECURED FRAMEWORK FOR MOBILE CLOUD COMPUTING
AN EFFICIENT AND SECURED FRAMEWORK FOR MOBILE CLOUD COMPUTINGCHANDUVEERARAMAKRISH
 
Efficient Resource Allocation to Virtual Machine in Cloud Computing Using an ...
Efficient Resource Allocation to Virtual Machine in Cloud Computing Using an ...Efficient Resource Allocation to Virtual Machine in Cloud Computing Using an ...
Efficient Resource Allocation to Virtual Machine in Cloud Computing Using an ...ijceronline
 
Network Robots - Abhijeet
Network Robots - AbhijeetNetwork Robots - Abhijeet
Network Robots - AbhijeetAbhijeet Kalsi
 
Hybrid Scheduling Algorithm for Efficient Load Balancing In Cloud Computing
Hybrid Scheduling Algorithm for Efficient Load Balancing In Cloud ComputingHybrid Scheduling Algorithm for Efficient Load Balancing In Cloud Computing
Hybrid Scheduling Algorithm for Efficient Load Balancing In Cloud ComputingEswar Publications
 
Resource provisioning for video on demand in saas
Resource provisioning for video on demand in saasResource provisioning for video on demand in saas
Resource provisioning for video on demand in saasIAEME Publication
 
A Review: Metaheuristic Technique in Cloud Computing
A Review: Metaheuristic Technique in Cloud ComputingA Review: Metaheuristic Technique in Cloud Computing
A Review: Metaheuristic Technique in Cloud ComputingIRJET Journal
 
Architecture & data acquisition by embedded systems in automobiles seminar ppt
Architecture & data acquisition by embedded systems in automobiles seminar pptArchitecture & data acquisition by embedded systems in automobiles seminar ppt
Architecture & data acquisition by embedded systems in automobiles seminar pptAnkit Kaul
 
CS8603_Notes_003-1_edubuzz360.pdf
CS8603_Notes_003-1_edubuzz360.pdfCS8603_Notes_003-1_edubuzz360.pdf
CS8603_Notes_003-1_edubuzz360.pdfKishaKiddo
 
Multilevel Hybrid Cognitive Load Balancing Algorithm for Private/Public Cloud...
Multilevel Hybrid Cognitive Load Balancing Algorithm for Private/Public Cloud...Multilevel Hybrid Cognitive Load Balancing Algorithm for Private/Public Cloud...
Multilevel Hybrid Cognitive Load Balancing Algorithm for Private/Public Cloud...IDES Editor
 
Embedded Intro India05
Embedded Intro India05Embedded Intro India05
Embedded Intro India05Rajesh Gupta
 
NoC simulators presentation
NoC simulators presentationNoC simulators presentation
NoC simulators presentationHossam Hassan
 
CPU Performance in Data Migrating from Virtual Machine to Physical Machine in...
CPU Performance in Data Migrating from Virtual Machine to Physical Machine in...CPU Performance in Data Migrating from Virtual Machine to Physical Machine in...
CPU Performance in Data Migrating from Virtual Machine to Physical Machine in...Editor IJCATR
 

Similar to Clone cloud (20)

Cloud data management
Cloud data managementCloud data management
Cloud data management
 
Disadvantages Of Robotium
Disadvantages Of RobotiumDisadvantages Of Robotium
Disadvantages Of Robotium
 
AN EFFICIENT AND SECURED FRAMEWORK FOR MOBILE CLOUD COMPUTING
AN EFFICIENT AND SECURED FRAMEWORK FOR MOBILE CLOUD COMPUTINGAN EFFICIENT AND SECURED FRAMEWORK FOR MOBILE CLOUD COMPUTING
AN EFFICIENT AND SECURED FRAMEWORK FOR MOBILE CLOUD COMPUTING
 
Effective VM Scheduling Strategy for Heterogeneous Cloud Environment
Effective VM Scheduling Strategy for Heterogeneous Cloud EnvironmentEffective VM Scheduling Strategy for Heterogeneous Cloud Environment
Effective VM Scheduling Strategy for Heterogeneous Cloud Environment
 
GRID COMPUTING
GRID COMPUTINGGRID COMPUTING
GRID COMPUTING
 
Efficient Resource Allocation to Virtual Machine in Cloud Computing Using an ...
Efficient Resource Allocation to Virtual Machine in Cloud Computing Using an ...Efficient Resource Allocation to Virtual Machine in Cloud Computing Using an ...
Efficient Resource Allocation to Virtual Machine in Cloud Computing Using an ...
 
Network Robots - Abhijeet
Network Robots - AbhijeetNetwork Robots - Abhijeet
Network Robots - Abhijeet
 
Hybrid Scheduling Algorithm for Efficient Load Balancing In Cloud Computing
Hybrid Scheduling Algorithm for Efficient Load Balancing In Cloud ComputingHybrid Scheduling Algorithm for Efficient Load Balancing In Cloud Computing
Hybrid Scheduling Algorithm for Efficient Load Balancing In Cloud Computing
 
Resource provisioning for video on demand in saas
Resource provisioning for video on demand in saasResource provisioning for video on demand in saas
Resource provisioning for video on demand in saas
 
A Review: Metaheuristic Technique in Cloud Computing
A Review: Metaheuristic Technique in Cloud ComputingA Review: Metaheuristic Technique in Cloud Computing
A Review: Metaheuristic Technique in Cloud Computing
 
Architecture & data acquisition by embedded systems in automobiles seminar ppt
Architecture & data acquisition by embedded systems in automobiles seminar pptArchitecture & data acquisition by embedded systems in automobiles seminar ppt
Architecture & data acquisition by embedded systems in automobiles seminar ppt
 
CS8603_Notes_003-1_edubuzz360.pdf
CS8603_Notes_003-1_edubuzz360.pdfCS8603_Notes_003-1_edubuzz360.pdf
CS8603_Notes_003-1_edubuzz360.pdf
 
p850-ries
p850-riesp850-ries
p850-ries
 
Microkontroler
MicrokontrolerMicrokontroler
Microkontroler
 
Multilevel Hybrid Cognitive Load Balancing Algorithm for Private/Public Cloud...
Multilevel Hybrid Cognitive Load Balancing Algorithm for Private/Public Cloud...Multilevel Hybrid Cognitive Load Balancing Algorithm for Private/Public Cloud...
Multilevel Hybrid Cognitive Load Balancing Algorithm for Private/Public Cloud...
 
Embedded Intro India05
Embedded Intro India05Embedded Intro India05
Embedded Intro India05
 
Modeling and Real-Time Simulation of Induction Motor Using RT-LAB
Modeling and Real-Time Simulation of Induction Motor Using RT-LABModeling and Real-Time Simulation of Induction Motor Using RT-LAB
Modeling and Real-Time Simulation of Induction Motor Using RT-LAB
 
NoC simulators presentation
NoC simulators presentationNoC simulators presentation
NoC simulators presentation
 
CPU Performance in Data Migrating from Virtual Machine to Physical Machine in...
CPU Performance in Data Migrating from Virtual Machine to Physical Machine in...CPU Performance in Data Migrating from Virtual Machine to Physical Machine in...
CPU Performance in Data Migrating from Virtual Machine to Physical Machine in...
 
Grid Presentation
Grid PresentationGrid Presentation
Grid Presentation
 

Recently uploaded

Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 

Recently uploaded (20)

Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 

Clone cloud

  • 1. between Mobile Device and Cloud Byung-Gon Chun Sunghwan Ihm Petros Maniatis Intel Labs Berkeley Princeton University Intel Labs Berkeley Mayur Naik Ashwin Patti Intel Labs Berkeley Intel Labs Berkeley Presenter : Das
  • 2. Motivation  With the increasing use of mobile devices, mobile applications with richer functionalities are becoming ubiquitous.  But mobile phone devices are limited by their resources for computing and power consumption.  Cloud – the place for abundant resources  Clouds provide opportunity to do huge
  • 3. Common approach  Split in traditional client-server paradigm, pushing most computation to the remote server  Few approaches ◦ Cloudlets ◦ MAUI
  • 4. Questions  Will it be efficient to move all the computations to cloud?  If programmer has to specify which computation to be run in cloud, will that be same for all mobile configuration like Faster CPU with good network connection, Slower CPU with slow network connection.
  • 5. Goals Main goal “….a flexible architecture for the seamless use of ambient computation to augment mobile device applications and energy- efficient” Other aims:  Allow such fine grained flexibility on what run where(on mobile or in cloud)  Take programmer out of the business of application partitioning(make it automatic and seamless)
  • 6. CloneCloud  CloneCloud envisions at an architecture that uses cloud to do computations that consume resources badly on mobiles.  It believes in the intuition that “as long as execution on the cloud is significantly faster than execution on the mobile device, paying the cost for sending the relevant data and code from device to the cloud and back may be worth it”  It aims at finding the right spots in an application automatically where the execution can be partitioned and migrated to the cloud.
  • 7. Schema  Clone an unmodified application executable.  The modified executable is running at mobile device.  At automatically chosen points individual threads migrate from mobile device to device clone in a cloud.  Remaining functionality on the mobile device keep executing.  Remaining functionality blocks if attempts to access migrated state.  The migrated thread executes on the clone, possibly accessing native features on hosting platforms(fast CPU, hardware accelerations)  Merge remote and local state back into original process.
  • 8.
  • 9. Partitioning  Partitioning mechanism yields the partitions in the application that are optimal at execution time and energy consumption  It is run multiple time under different conditions and objective functions – stores all partitions in a database.  It is done offline  At run time, the execution picks a partition among these modifies the executables before invocation  It has three components – static analyzer, dynamic profiler and optimization solver.
  • 10.
  • 11. Static Analyzer  The static analyzer identifies the legal partitions of the application executable according to the set of constraints  Migration is restricted to the method entry and exit points  Two more restrictions for simplicity ◦ Migration is allowed only at the boundaries of application methods but not core system library methods ◦ Migration is allowed at the VM-layer method boundaries but not native method boundaries.
  • 12.
  • 13. Static Analyzer – constraints Three properties of any legal partition  Methods that access specific features of a machine must be pinned to the machine[Vm] ◦ Static analysis marks the declaration of such methods with a special annotation M ◦ Done once for each platform, not repeated for each application  Methods that share native state must be collocated at the same machine[Vnat] ◦ When an image processing class has initialize, detect and fetch result methods that access native state, they need to be collocated  Prevent nested migration ◦ Static analysis of the control flow graph to identity the set of methods called directly by a method(DC) and transitively(TC).
  • 14. Dynamic Profiler  Profiler collects data that will be used to construct the cost model.  Currently using randomly chosen set of inputs ◦ Future work is to explore symbolic-execution- based techniques since randomly chosen inputs may not explore all execution paths  Each execution is run once on mobile device and once on the clone in the cloud.  Profiler outputs set of execution S and a “profile tree”, for both mobile device and the clone.
  • 15.
  • 16. Profile Tree  One node for each method invocation  Every non-leaf node also has a leaf child called its residual node.  Residual node holds residual cost which represents the cost of running of the body of code excluding the costs of the methods called by it  Each edge is annotated with the state size at the time of invocation of the child node, plus the state size at the end of that invocation ◦ Amount of data that migrator needs to capture and transmit in both directions if edge were to be migration cost  Computation cost Cc(I,l); l=0 on mobile device and filled from T, l =1 on the clone and filled from T’  Migration cost Cs(i); sum of a suspend/resume cost and the transfer cost.
  • 17. Dynamic Profiler  For energy consumption model, we do the energy measurements with off-board equipment.  CPU activity(processing/idle) , display state(on/off), and network state (transmitting or receiving/idle), and translate them to a power value using func P.  Cc(i,0) = P(CPUOn, ScrOn, NetIdle) * T[i]  Cc(i,1) = P(CPUIdle, ScrOn, NetIdle)  Cs(i) = <Cs(i) value from time model> * P (CPUOn, ScrOn, netOn)
  • 18. Optimization Solver  It aims at picking up application methods to migrate the clone from mobile device, so as to minimize the expected cost of partitioned application.  Optimization problem is to minimize the time taken to execute and energy consumed.
  • 19. Distributed Execution  Thread granularity migration ◦ Migration operates at the granularity of a thread.  Native-Everywhere: ◦ Enables migrated threads to use native non-virtualized hardware (GPUs, Cryptographic accelerators, etc).
  • 20.
  • 21.  Suspend and capture ◦ Thread migrator suspends migrant thread ◦ Captures its state, passes it to node manager ◦ Node manager transfers the capture to clone  Resume and Merge ◦ Clone's thread migrator captures and packages the thread state ◦ Node manager transfers the capture back to the mobile device ◦ Migrator in the original process is given the capture for resumption
  • 22.
  • 23.
  • 24. Conclusion  Pros ◦ Prototype delivers up to 20x speed up and 20x energy reduction. ◦ Programmer involvement is not required.  Cons ◦ Programmer does not have the flexibility to specify a method to be executed on cloud. ◦ It may not be possible to run dynamic profiler for all possible parameters.