SlideShare una empresa de Scribd logo
1 de 18
Cellular Networks and Mobile 
Computing 
COMS 6998-11, Fall 2012 
1
Syllabus 
• Mobile App Development (lecture 2,3) 
– Mobile operating systems: iOS and Android 
– Development environments: Xcode, Eclipse with Android SDK 
– Programming: Objective-C and android programming 
• System Support for Mobile App Optimization (lecture 4,7) 
– Mobile device power models, energy profiling and ebug debugging 
– Core OS topics: virtualization, storage and OS support for power and context management 
• Interaction with Cellular Networks (lecture 1,5, 8) 
– Basics of 3G/LTE cellular networks 
– Mobile application cellular radio resource usage profiling 
– Measurement-based cellular network and traffic characterization 
• Interaction with the Cloud (lecture 6,9) 
– Mobile cloud computing platform services: push notification, iCloud and Google Cloud Messaging 
– Mobile cloud computing architecture and programming models 
• Mobile Platform Security and Privacy (lecture 10,11,12) 
– Mobile platform security: malware detection and characterization, attacks and defenses 
– Mobile data and location privacy: attacks, monitoring tools and defenses 
2
Mobile App Development: iOS 
• iOS Overview 
• Objective C 
• Xcode 
• Model-View-Controller 
• Blocks and Multithreading 
• Core Data and Location 
• iCloud 
3
Mobile App Development: 
Android 
• Android OS Overview 
• Eclipse and Android SDK 
• Application Framework 
– Activity, content provider, broadcast receiver, 
intent 
• Networking 
• Google Cloud Messaging (GCM) 
4
System Support for Mobile App 
Optimization 
• Mobile device power models, energy profiler 
and ebug debugging 
• Core OS topics: 
– Virtualization 
– Storage 
5
System Calls As Power Triggers 
Key observation: System call is the interface through which an 
application communicates with the underlying system 
(hardware) and outside world (Internet, GPS, etc.) 
Key Idea: Use System Calls as triggers in power modeling 
Advantages: 
– Encapsulates utilization based triggers 
• Parameters of system calls 
– Captures power behavior of ones that do not 
necessarily imply utilization 
– Can be traced back to process, thread, function 
• Eases energy accounting 
6
Finite-State-Machine (FSM) 
as Power Model Representation 
Use Finite-State-Machine (FSM) 
•Nodes: Power states 
– Base State: No activity on phone 
– Productive state: Actual utilization 
– Tail state: No-useful work 
•Edges: Transition rules 
– System calls (start/completion) 
– Workload (Ex: 50 pkts/sec) 
– Timeout 
7 
State 
1 State 
2 
Transitions 
State 
3
Virtualization: Device Namespace 
Linux 
Kernel 
VP 1 VP 2 VP 3 
Power 
WiFi 
Cell Radio 
Framebuffer 
GPU 
RTC / Alarms 
••• 
Sensors 
Input 
Android... 
Audio/Video 
••• 
safely, 
correctly 
multiplex 
access to 
devices 
device namespaces 
8
How Apps Use Storage? 
• Exactly what makes web browsing slow on Android? 
– Key lies in understanding how apps use SQLite and FS interface 
/ 
data/data/com.necla.webvi 
ew 
lib (empty) 
cache 
webviewCac 
he 
6aaa3f00, 03051d8d, 
… 
databases many files (5.5MB) 
webview.db (14KB) 
webviewCache.db 
(129KB) 
These files written 
to SQLite in sync 
These files written to 
FS in write-behind 
WebBench 
Storage Schema 
 Apps typically store some data in FS (e.g., cache files) 
and some in a SQLite database (e.g., cache map) 
– All data through SQLite is written synchronously  slow! 
– Apps often use SQLite oblivious to performance effects 
9
Interaction with Cellular Networks 
• Basics of 3G/LTE cellular networks 
• Impact of radio access network on mobile 
apps 
– Radio resource usage profiling (ARO) 
• Impact of cellular network core on mobile 
applications 
– In-depth study of middleboxes in cellular networks 
– Cellular network architecture characterization and 
Implication to CDN 
10
eNodeB 1 
Cellular Core Network 
eNodeB 3 S-GW 2 
P-GW 
11 
S-GW 1 
eNodeB 2 
Internet and 
Other IP Networks 
GTP Tunnels 
UE 1 
UE 2 
LTE Infrastructure 
MME/PCRF/HSS 
• UE: user equipment 
• eNodeB: base station 
• S-GW: serving 
gateway 
• P-GW: packet data 
network gateway 
• MME: mobility 
management entity 
• HSS: home 
subscriber server 
• PCRF: policy charging 
and rule function
12 
LTE Architecture (Cont’d) 
• eNodeB, S-GW and P-GW 
are involved in 
session setup, handoff, 
routing 
Control Plane 
Data Plane 
User 
Equipme 
nt (UE) Gateway 
BBaassee SSeerrvviningg PPaacckkeett D Daattaa 
(S-GW) 
Mobility 
Management 
Entity 
(MME) 
Network 
Gateway 
(P-GW) 
Home 
Subscriber 
Server 
(HSS) 
Policy Control 
and Charging 
Rules Function 
(PCRF) 
Station 
(eNodeB)
Power Management: LTE 
• UE runs radio resource 
control (RRC) state 
machine 
• Two states: IDLE, 
CONNECTED 
• Discontinuous 
reception (DRX): 
monitor one subframe 
per DRX cylce; receiver 
sleeps in other 
subframes 
13
Power Management: UMTS 
• State promotions have promotion delay 
• State demotions incur tail times 
Tail Time 
Delay: 2s Delay: 1.5s 
Tail Time 
Channel Radio 
Power 
IDLE Not 
allocated 
Almost 
zero 
CELL_FACH Shared, 
Low Speed 
Low 
CELL_DCH Dedicated, 
High Speed 
High 
14
Example: RRC State Machine 
for a Large Commercial 3G Network 
DCH Tail: 5 sec 
Promo Delay: 2 Sec 
FACH Tail: 12 sec 
Tail Time 
Waiting inactivity timers to expire 
DCH: High Power State (high throughput and power consumption) 
FACH: Low Power State (low throughput and power consumption) 
IDLE: No radio resource allocated 
15
ARO: Mobile Application Resource 
Optimizer 
• Motivations: 
– Are developers aware of the RRC state machine and its implications on radio 
resource / energy? NO. 
– Do they need a tool for automatically profiling their prototype applications? YES. 
– If we provide that visibility, would developers optimize their applications and 
reduce the network impact? Hopefully YES. 
• ARO: Mobile Application Resource Optimizer 
– Provide visibility of radio resource and energy utilization. 
– Benchmark efficiencies of cellular radio resource and battery life for a specific 
application 
16
RRC State Machine Inference 
• State promotion inference 
– Determine one of the two promotion procedures 
– P1: IDLEFACHDCH;P2:IDLEDCH 
A packet of min bytes never triggers FACHDCH promotion (we use 28B) 
A packet of max bytes always triggers FACHDCH promotion (we use 1KB) 
• State demotion and inactivity time inference 
– See paper for details 
P1: IDLEFACH, P2:IDLEDCH 
P1: FACHDCH, P2:Keep on DCH 
Normal RTT < 300ms 
RTT w/ Promo > 1500ms 
17
ARO System Architecture 
18

Más contenido relacionado

La actualidad más candente

Overview Of I E C61850 Presentation..... W S M
Overview Of  I E C61850  Presentation..... W S MOverview Of  I E C61850  Presentation..... W S M
Overview Of I E C61850 Presentation..... W S M
ginquesada
 
artiicial intelligence in power system
artiicial intelligence in power systemartiicial intelligence in power system
artiicial intelligence in power system
pratikguptateddy
 
Airtificial Intelligence in Power System
Airtificial Intelligence in Power SystemAirtificial Intelligence in Power System
Airtificial Intelligence in Power System
Pratik Doshi
 

La actualidad más candente (20)

RT15 Berkeley | OPAL-RT Solutions for Microgrid Applications
RT15 Berkeley | OPAL-RT Solutions for Microgrid ApplicationsRT15 Berkeley | OPAL-RT Solutions for Microgrid Applications
RT15 Berkeley | OPAL-RT Solutions for Microgrid Applications
 
Artificial Intelligence in Power Systems
Artificial Intelligence in Power SystemsArtificial Intelligence in Power Systems
Artificial Intelligence in Power Systems
 
Overview Of I E C61850 Presentation..... W S M
Overview Of  I E C61850  Presentation..... W S MOverview Of  I E C61850  Presentation..... W S M
Overview Of I E C61850 Presentation..... W S M
 
artiicial intelligence in power system
artiicial intelligence in power systemartiicial intelligence in power system
artiicial intelligence in power system
 
Traffic light controller with verilog
Traffic light controller with verilogTraffic light controller with verilog
Traffic light controller with verilog
 
RT15 Berkeley | Real-Time Simulation of A Modular Multilevel Converter Based ...
RT15 Berkeley | Real-Time Simulation of A Modular Multilevel Converter Based ...RT15 Berkeley | Real-Time Simulation of A Modular Multilevel Converter Based ...
RT15 Berkeley | Real-Time Simulation of A Modular Multilevel Converter Based ...
 
Traffic Control Signalling
Traffic Control SignallingTraffic Control Signalling
Traffic Control Signalling
 
Traffic light using plc
Traffic light using  plcTraffic light using  plc
Traffic light using plc
 
Artificial Intelligence in Power Systems
Artificial Intelligence in Power SystemsArtificial Intelligence in Power Systems
Artificial Intelligence in Power Systems
 
Airtificial Intelligence in Power System
Airtificial Intelligence in Power SystemAirtificial Intelligence in Power System
Airtificial Intelligence in Power System
 
339_311 PPT
339_311 PPT339_311 PPT
339_311 PPT
 
Artificial intelligence in Power Stations
Artificial intelligence in Power StationsArtificial intelligence in Power Stations
Artificial intelligence in Power Stations
 
Ai in power plant
Ai in power plantAi in power plant
Ai in power plant
 
Embedded system for traffic light control
Embedded system for traffic light controlEmbedded system for traffic light control
Embedded system for traffic light control
 
Artifical intelligence
Artifical intelligenceArtifical intelligence
Artifical intelligence
 
IEC61850 tutorial
IEC61850 tutorialIEC61850 tutorial
IEC61850 tutorial
 
Under Water Wireless Control Using Zigbee For Transmissions Systems
Under Water Wireless Control Using Zigbee For Transmissions SystemsUnder Water Wireless Control Using Zigbee For Transmissions Systems
Under Water Wireless Control Using Zigbee For Transmissions Systems
 
Artificial intelligence in power systems
Artificial intelligence in power systemsArtificial intelligence in power systems
Artificial intelligence in power systems
 
smart traffic light control system
smart traffic light control systemsmart traffic light control system
smart traffic light control system
 
artificial intelligence in power plants.
artificial intelligence in power plants.artificial intelligence in power plants.
artificial intelligence in power plants.
 

Destacado

Modeling, Analysis, and Design of Multi-tier and Cognitive Cellular Wireless ...
Modeling, Analysis, and Design of Multi-tier and Cognitive Cellular Wireless ...Modeling, Analysis, and Design of Multi-tier and Cognitive Cellular Wireless ...
Modeling, Analysis, and Design of Multi-tier and Cognitive Cellular Wireless ...
indonesiabelajar
 
Virtual Network Computing
Virtual Network ComputingVirtual Network Computing
Virtual Network Computing
rojalina nanda
 
Introduction of gps global navigation satellite systems
Introduction of gps   global navigation satellite systems Introduction of gps   global navigation satellite systems
Introduction of gps global navigation satellite systems
DocumentStory
 
Introduction To Cellular Networks
Introduction To Cellular NetworksIntroduction To Cellular Networks
Introduction To Cellular Networks
Yoram Orzach
 

Destacado (20)

Gps
GpsGps
Gps
 
Gps.exe
Gps.exeGps.exe
Gps.exe
 
my seminar in aits on mobile computing
my seminar in aits on mobile computingmy seminar in aits on mobile computing
my seminar in aits on mobile computing
 
Modeling, Analysis, and Design of Multi-tier and Cognitive Cellular Wireless ...
Modeling, Analysis, and Design of Multi-tier and Cognitive Cellular Wireless ...Modeling, Analysis, and Design of Multi-tier and Cognitive Cellular Wireless ...
Modeling, Analysis, and Design of Multi-tier and Cognitive Cellular Wireless ...
 
Sdn04
Sdn04Sdn04
Sdn04
 
Presentation4
Presentation4Presentation4
Presentation4
 
Virtual Network Computing
Virtual Network ComputingVirtual Network Computing
Virtual Network Computing
 
CellSDN: Software-Defined Cellular Core networks
CellSDN: Software-Defined Cellular Core networksCellSDN: Software-Defined Cellular Core networks
CellSDN: Software-Defined Cellular Core networks
 
Iridium , Globalstar , ICO satellite system
Iridium , Globalstar , ICO satellite systemIridium , Globalstar , ICO satellite system
Iridium , Globalstar , ICO satellite system
 
Virtual network computing ppt
Virtual network computing pptVirtual network computing ppt
Virtual network computing ppt
 
4G & Beyond – Changes and Challenges
4G & Beyond – Changes and Challenges4G & Beyond – Changes and Challenges
4G & Beyond – Changes and Challenges
 
Introduction of gps global navigation satellite systems
Introduction of gps   global navigation satellite systems Introduction of gps   global navigation satellite systems
Introduction of gps global navigation satellite systems
 
Wireless networking
Wireless networkingWireless networking
Wireless networking
 
Presentation1
Presentation1Presentation1
Presentation1
 
Introduction To Mobile Computing
Introduction To Mobile ComputingIntroduction To Mobile Computing
Introduction To Mobile Computing
 
Introduction To Cellular Networks
Introduction To Cellular NetworksIntroduction To Cellular Networks
Introduction To Cellular Networks
 
Iridium satellite system
Iridium satellite systemIridium satellite system
Iridium satellite system
 
Concept of gps
Concept of gpsConcept of gps
Concept of gps
 
Sdn ppt
Sdn pptSdn ppt
Sdn ppt
 
Soigner sa e-réputation
Soigner sa e-réputationSoigner sa e-réputation
Soigner sa e-réputation
 

Similar a Synapseindia mobile apps cellular networks and mobile computing part1

Smartphone fpga based balloon payload using cots components
Smartphone fpga based balloon payload using cots componentsSmartphone fpga based balloon payload using cots components
Smartphone fpga based balloon payload using cots components
eSAT Journals
 
6 lte-a challenges and evolving lte network architecture
6 lte-a challenges and evolving lte network architecture6 lte-a challenges and evolving lte network architecture
6 lte-a challenges and evolving lte network architecture
CPqD
 
A SOFTWARE DEFINED RADIO BASED
A SOFTWARE DEFINED RADIO BASEDA SOFTWARE DEFINED RADIO BASED
A SOFTWARE DEFINED RADIO BASED
ANGELIN JOHN
 
WMSN Dev Kit Brochure
WMSN Dev Kit BrochureWMSN Dev Kit Brochure
WMSN Dev Kit Brochure
Srideep Ghosh
 

Similar a Synapseindia mobile apps cellular networks and mobile computing part1 (20)

Link labs LTE-M NB-IOT Hype Webinar slides
Link labs LTE-M NB-IOT Hype Webinar slidesLink labs LTE-M NB-IOT Hype Webinar slides
Link labs LTE-M NB-IOT Hype Webinar slides
 
02/2017 Santa Clara, California: Networks of autonomous devices and their imp...
02/2017 Santa Clara, California: Networks of autonomous devices and their imp...02/2017 Santa Clara, California: Networks of autonomous devices and their imp...
02/2017 Santa Clara, California: Networks of autonomous devices and their imp...
 
Project
ProjectProject
Project
 
PPT of SCADA DMS by CESU PED PURI
PPT of SCADA DMS by CESU PED PURIPPT of SCADA DMS by CESU PED PURI
PPT of SCADA DMS by CESU PED PURI
 
Mastering IoT Design: Sense, Process, Connect: Processing: Turning IoT Data i...
Mastering IoT Design: Sense, Process, Connect: Processing: Turning IoT Data i...Mastering IoT Design: Sense, Process, Connect: Processing: Turning IoT Data i...
Mastering IoT Design: Sense, Process, Connect: Processing: Turning IoT Data i...
 
Tutorials - History Evolution and Future of SCADA.pdf
Tutorials - History Evolution and Future of SCADA.pdfTutorials - History Evolution and Future of SCADA.pdf
Tutorials - History Evolution and Future of SCADA.pdf
 
Smartphone fpga based balloon payload using cots components
Smartphone fpga based balloon payload using cots componentsSmartphone fpga based balloon payload using cots components
Smartphone fpga based balloon payload using cots components
 
6 lte-a challenges and evolving lte network architecture
6 lte-a challenges and evolving lte network architecture6 lte-a challenges and evolving lte network architecture
6 lte-a challenges and evolving lte network architecture
 
Requirment anlaysis , application, device, network requirements
Requirment anlaysis , application, device, network requirementsRequirment anlaysis , application, device, network requirements
Requirment anlaysis , application, device, network requirements
 
CSIR 5G Research
CSIR 5G ResearchCSIR 5G Research
CSIR 5G Research
 
Ameya_Kasbekar_Resume
Ameya_Kasbekar_ResumeAmeya_Kasbekar_Resume
Ameya_Kasbekar_Resume
 
Getting to the Edge – Exploring 4G/5G Cloud-RAN Deployable Solutions
Getting to the Edge – Exploring 4G/5G Cloud-RAN Deployable SolutionsGetting to the Edge – Exploring 4G/5G Cloud-RAN Deployable Solutions
Getting to the Edge – Exploring 4G/5G Cloud-RAN Deployable Solutions
 
A SOFTWARE DEFINED RADIO BASED
A SOFTWARE DEFINED RADIO BASEDA SOFTWARE DEFINED RADIO BASED
A SOFTWARE DEFINED RADIO BASED
 
Lte training session_1
Lte training session_1Lte training session_1
Lte training session_1
 
WMSN Dev Kit Brochure
WMSN Dev Kit BrochureWMSN Dev Kit Brochure
WMSN Dev Kit Brochure
 
Parimal Resume
Parimal ResumeParimal Resume
Parimal Resume
 
5G peek
5G peek5G peek
5G peek
 
5 g peek from cmcc 20may2013
5 g peek from cmcc 20may20135 g peek from cmcc 20may2013
5 g peek from cmcc 20may2013
 
1. An Introduction to Embed Systems_DRKG.pptx
1. An Introduction to Embed Systems_DRKG.pptx1. An Introduction to Embed Systems_DRKG.pptx
1. An Introduction to Embed Systems_DRKG.pptx
 
[EWiLi2016] Towards a performance-aware power capping orchestrator for the Xe...
[EWiLi2016] Towards a performance-aware power capping orchestrator for the Xe...[EWiLi2016] Towards a performance-aware power capping orchestrator for the Xe...
[EWiLi2016] Towards a performance-aware power capping orchestrator for the Xe...
 

Más de saritasingh19866

Synapse india reviews on android application
Synapse india reviews on android applicationSynapse india reviews on android application
Synapse india reviews on android application
saritasingh19866
 
Synapse india reviews on asp.net mobile application
Synapse india reviews on asp.net mobile applicationSynapse india reviews on asp.net mobile application
Synapse india reviews on asp.net mobile application
saritasingh19866
 

Más de saritasingh19866 (20)

Synapseindia drupal intro 0
Synapseindia drupal intro 0Synapseindia drupal intro 0
Synapseindia drupal intro 0
 
Synapse india reviews on mobile and tablet computing
Synapse india reviews on mobile and tablet computingSynapse india reviews on mobile and tablet computing
Synapse india reviews on mobile and tablet computing
 
Synapse india complaints iphone or ipad application development
Synapse india complaints iphone or ipad application developmentSynapse india complaints iphone or ipad application development
Synapse india complaints iphone or ipad application development
 
Synapse india reviews on cross plateform mobile apps development
Synapse india reviews on cross plateform mobile apps developmentSynapse india reviews on cross plateform mobile apps development
Synapse india reviews on cross plateform mobile apps development
 
Synapse india reviews on android and ios
Synapse india reviews on android and iosSynapse india reviews on android and ios
Synapse india reviews on android and ios
 
Synapse india reviews on i phone and android os
Synapse india reviews on i phone and android osSynapse india reviews on i phone and android os
Synapse india reviews on i phone and android os
 
Synapse india reviews on share point development
Synapse india reviews on share point developmentSynapse india reviews on share point development
Synapse india reviews on share point development
 
Synapse india reviews on security for the share point developer
Synapse india reviews on security for the share point developerSynapse india reviews on security for the share point developer
Synapse india reviews on security for the share point developer
 
Synapse india reviews on gui programming in .net
Synapse india reviews on gui programming in .netSynapse india reviews on gui programming in .net
Synapse india reviews on gui programming in .net
 
Synapse india reviews on mobile application development
Synapse india reviews on mobile application developmentSynapse india reviews on mobile application development
Synapse india reviews on mobile application development
 
Synapse india reviews on android application
Synapse india reviews on android applicationSynapse india reviews on android application
Synapse india reviews on android application
 
Synapse india reviews on asp.net mobile application
Synapse india reviews on asp.net mobile applicationSynapse india reviews on asp.net mobile application
Synapse india reviews on asp.net mobile application
 
Synapse india reviews on php website development
Synapse india reviews on php website developmentSynapse india reviews on php website development
Synapse india reviews on php website development
 
Synapse india reviews on php and sql
Synapse india reviews on php and sqlSynapse india reviews on php and sql
Synapse india reviews on php and sql
 
Synapseindia reviews on array php
Synapseindia reviews on array phpSynapseindia reviews on array php
Synapseindia reviews on array php
 
Synapseindia reviews about Basic Networking
Synapseindia reviews about Basic NetworkingSynapseindia reviews about Basic Networking
Synapseindia reviews about Basic Networking
 
Synapseindia revirews about networking
Synapseindia revirews about networkingSynapseindia revirews about networking
Synapseindia revirews about networking
 
Synapseindia reviews
Synapseindia reviewsSynapseindia reviews
Synapseindia reviews
 
Synapse india reviews abot Networking Concept
Synapse india reviews abot Networking ConceptSynapse india reviews abot Networking Concept
Synapse india reviews abot Networking Concept
 
Synapse india reviews
Synapse india reviewsSynapse india reviews
Synapse india reviews
 

Último

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Último (20)

DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 

Synapseindia mobile apps cellular networks and mobile computing part1

  • 1. Cellular Networks and Mobile Computing COMS 6998-11, Fall 2012 1
  • 2. Syllabus • Mobile App Development (lecture 2,3) – Mobile operating systems: iOS and Android – Development environments: Xcode, Eclipse with Android SDK – Programming: Objective-C and android programming • System Support for Mobile App Optimization (lecture 4,7) – Mobile device power models, energy profiling and ebug debugging – Core OS topics: virtualization, storage and OS support for power and context management • Interaction with Cellular Networks (lecture 1,5, 8) – Basics of 3G/LTE cellular networks – Mobile application cellular radio resource usage profiling – Measurement-based cellular network and traffic characterization • Interaction with the Cloud (lecture 6,9) – Mobile cloud computing platform services: push notification, iCloud and Google Cloud Messaging – Mobile cloud computing architecture and programming models • Mobile Platform Security and Privacy (lecture 10,11,12) – Mobile platform security: malware detection and characterization, attacks and defenses – Mobile data and location privacy: attacks, monitoring tools and defenses 2
  • 3. Mobile App Development: iOS • iOS Overview • Objective C • Xcode • Model-View-Controller • Blocks and Multithreading • Core Data and Location • iCloud 3
  • 4. Mobile App Development: Android • Android OS Overview • Eclipse and Android SDK • Application Framework – Activity, content provider, broadcast receiver, intent • Networking • Google Cloud Messaging (GCM) 4
  • 5. System Support for Mobile App Optimization • Mobile device power models, energy profiler and ebug debugging • Core OS topics: – Virtualization – Storage 5
  • 6. System Calls As Power Triggers Key observation: System call is the interface through which an application communicates with the underlying system (hardware) and outside world (Internet, GPS, etc.) Key Idea: Use System Calls as triggers in power modeling Advantages: – Encapsulates utilization based triggers • Parameters of system calls – Captures power behavior of ones that do not necessarily imply utilization – Can be traced back to process, thread, function • Eases energy accounting 6
  • 7. Finite-State-Machine (FSM) as Power Model Representation Use Finite-State-Machine (FSM) •Nodes: Power states – Base State: No activity on phone – Productive state: Actual utilization – Tail state: No-useful work •Edges: Transition rules – System calls (start/completion) – Workload (Ex: 50 pkts/sec) – Timeout 7 State 1 State 2 Transitions State 3
  • 8. Virtualization: Device Namespace Linux Kernel VP 1 VP 2 VP 3 Power WiFi Cell Radio Framebuffer GPU RTC / Alarms ••• Sensors Input Android... Audio/Video ••• safely, correctly multiplex access to devices device namespaces 8
  • 9. How Apps Use Storage? • Exactly what makes web browsing slow on Android? – Key lies in understanding how apps use SQLite and FS interface / data/data/com.necla.webvi ew lib (empty) cache webviewCac he 6aaa3f00, 03051d8d, … databases many files (5.5MB) webview.db (14KB) webviewCache.db (129KB) These files written to SQLite in sync These files written to FS in write-behind WebBench Storage Schema  Apps typically store some data in FS (e.g., cache files) and some in a SQLite database (e.g., cache map) – All data through SQLite is written synchronously  slow! – Apps often use SQLite oblivious to performance effects 9
  • 10. Interaction with Cellular Networks • Basics of 3G/LTE cellular networks • Impact of radio access network on mobile apps – Radio resource usage profiling (ARO) • Impact of cellular network core on mobile applications – In-depth study of middleboxes in cellular networks – Cellular network architecture characterization and Implication to CDN 10
  • 11. eNodeB 1 Cellular Core Network eNodeB 3 S-GW 2 P-GW 11 S-GW 1 eNodeB 2 Internet and Other IP Networks GTP Tunnels UE 1 UE 2 LTE Infrastructure MME/PCRF/HSS • UE: user equipment • eNodeB: base station • S-GW: serving gateway • P-GW: packet data network gateway • MME: mobility management entity • HSS: home subscriber server • PCRF: policy charging and rule function
  • 12. 12 LTE Architecture (Cont’d) • eNodeB, S-GW and P-GW are involved in session setup, handoff, routing Control Plane Data Plane User Equipme nt (UE) Gateway BBaassee SSeerrvviningg PPaacckkeett D Daattaa (S-GW) Mobility Management Entity (MME) Network Gateway (P-GW) Home Subscriber Server (HSS) Policy Control and Charging Rules Function (PCRF) Station (eNodeB)
  • 13. Power Management: LTE • UE runs radio resource control (RRC) state machine • Two states: IDLE, CONNECTED • Discontinuous reception (DRX): monitor one subframe per DRX cylce; receiver sleeps in other subframes 13
  • 14. Power Management: UMTS • State promotions have promotion delay • State demotions incur tail times Tail Time Delay: 2s Delay: 1.5s Tail Time Channel Radio Power IDLE Not allocated Almost zero CELL_FACH Shared, Low Speed Low CELL_DCH Dedicated, High Speed High 14
  • 15. Example: RRC State Machine for a Large Commercial 3G Network DCH Tail: 5 sec Promo Delay: 2 Sec FACH Tail: 12 sec Tail Time Waiting inactivity timers to expire DCH: High Power State (high throughput and power consumption) FACH: Low Power State (low throughput and power consumption) IDLE: No radio resource allocated 15
  • 16. ARO: Mobile Application Resource Optimizer • Motivations: – Are developers aware of the RRC state machine and its implications on radio resource / energy? NO. – Do they need a tool for automatically profiling their prototype applications? YES. – If we provide that visibility, would developers optimize their applications and reduce the network impact? Hopefully YES. • ARO: Mobile Application Resource Optimizer – Provide visibility of radio resource and energy utilization. – Benchmark efficiencies of cellular radio resource and battery life for a specific application 16
  • 17. RRC State Machine Inference • State promotion inference – Determine one of the two promotion procedures – P1: IDLEFACHDCH;P2:IDLEDCH A packet of min bytes never triggers FACHDCH promotion (we use 28B) A packet of max bytes always triggers FACHDCH promotion (we use 1KB) • State demotion and inactivity time inference – See paper for details P1: IDLEFACH, P2:IDLEDCH P1: FACHDCH, P2:Keep on DCH Normal RTT < 300ms RTT w/ Promo > 1500ms 17

Notas del editor

  1. Verizon claims that, at its current rate of traffic growth, which is roughly doubling each year, it will reach the capacity thresholds on both its 3G EV-DO and LTE networks beginning in some markets by the end of 2013, and across its entire network by the end of 2015. Unless it can get new spectrum — i.e., the cable operators’ 20 MHz of AWS spectrum — its customers’ connection speeds and service quality will start suffering.
  2. State machine – the standard for all UMTS carriers – transitions &amp; paras can change