SlideShare a Scribd company logo
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

More Related Content

What's hot (20)

PDF
RT15 Berkeley | OPAL-RT Solutions for Microgrid Applications
OPAL-RT TECHNOLOGIES
 
PPT
Artificial Intelligence in Power Systems
Sowmya T
 
PDF
Overview Of I E C61850 Presentation..... W S M
ginquesada
 
PPTX
artiicial intelligence in power system
pratikguptateddy
 
PDF
Traffic light controller with verilog
Chetan Dabral
 
PDF
RT15 Berkeley | Real-Time Simulation of A Modular Multilevel Converter Based ...
OPAL-RT TECHNOLOGIES
 
PPTX
Traffic Control Signalling
nagalaxmis
 
DOCX
Traffic light using plc
Arcanjo Salazaku
 
PPTX
Artificial Intelligence in Power Systems
manogna gwen
 
PPT
Airtificial Intelligence in Power System
Pratik Doshi
 
PPT
339_311 PPT
Mohd Raihan
 
PPTX
Artificial intelligence in Power Stations
Chaitanya Avinash Somarlapati
 
PPTX
Ai in power plant
Sri Kanth
 
DOCX
Embedded system for traffic light control
Madhu Prasad
 
PPTX
Artifical intelligence
Bishal Rimal
 
PPTX
IEC61850 tutorial
Alidu Abubakari
 
PDF
Under Water Wireless Control Using Zigbee For Transmissions Systems
IJERA Editor
 
PPTX
Artificial intelligence in power systems
sunil babu
 
PPTX
smart traffic light control system
arunkumar6836
 
PPTX
artificial intelligence in power plants.
8105268008
 
RT15 Berkeley | OPAL-RT Solutions for Microgrid Applications
OPAL-RT TECHNOLOGIES
 
Artificial Intelligence in Power Systems
Sowmya T
 
Overview Of I E C61850 Presentation..... W S M
ginquesada
 
artiicial intelligence in power system
pratikguptateddy
 
Traffic light controller with verilog
Chetan Dabral
 
RT15 Berkeley | Real-Time Simulation of A Modular Multilevel Converter Based ...
OPAL-RT TECHNOLOGIES
 
Traffic Control Signalling
nagalaxmis
 
Traffic light using plc
Arcanjo Salazaku
 
Artificial Intelligence in Power Systems
manogna gwen
 
Airtificial Intelligence in Power System
Pratik Doshi
 
339_311 PPT
Mohd Raihan
 
Artificial intelligence in Power Stations
Chaitanya Avinash Somarlapati
 
Ai in power plant
Sri Kanth
 
Embedded system for traffic light control
Madhu Prasad
 
Artifical intelligence
Bishal Rimal
 
IEC61850 tutorial
Alidu Abubakari
 
Under Water Wireless Control Using Zigbee For Transmissions Systems
IJERA Editor
 
Artificial intelligence in power systems
sunil babu
 
smart traffic light control system
arunkumar6836
 
artificial intelligence in power plants.
8105268008
 

Viewers also liked (20)

PPTX
Gps.exe
Ragul M
 
PPTX
my seminar in aits on mobile computing
tejya pranthi kamisetty
 
PDF
Modeling, Analysis, and Design of Multi-tier and Cognitive Cellular Wireless ...
indonesiabelajar
 
PDF
Sdn04
KellyCheah
 
PPTX
Presentation4
raman2390
 
PPTX
Virtual Network Computing
rojalina nanda
 
PDF
CellSDN: Software-Defined Cellular Core networks
Open Networking Summits
 
PPTX
Iridium , Globalstar , ICO satellite system
SambitShreeman
 
PPTX
Virtual network computing ppt
TheGreatLeo
 
PDF
4G & Beyond – Changes and Challenges
CPqD
 
PPTX
Introduction of gps global navigation satellite systems
DocumentStory
 
PPT
Wireless networking
METHODIST COLLEGE OF ENGG & TECH
 
PPTX
Presentation1
KellyCheah
 
PPTX
Introduction To Mobile Computing
Madhuri Badgujar
 
PDF
Introduction To Cellular Networks
Yoram Orzach
 
PPTX
Iridium satellite system
PRADEEP Cheekatla
 
PPTX
Concept of gps
Salauddin Rubel
 
PPTX
Sdn ppt
Pallavi Chhikara
 
PDF
Soigner sa e-réputation
Hajer Esseghir
 
Gps.exe
Ragul M
 
my seminar in aits on mobile computing
tejya pranthi kamisetty
 
Modeling, Analysis, and Design of Multi-tier and Cognitive Cellular Wireless ...
indonesiabelajar
 
Sdn04
KellyCheah
 
Presentation4
raman2390
 
Virtual Network Computing
rojalina nanda
 
CellSDN: Software-Defined Cellular Core networks
Open Networking Summits
 
Iridium , Globalstar , ICO satellite system
SambitShreeman
 
Virtual network computing ppt
TheGreatLeo
 
4G & Beyond – Changes and Challenges
CPqD
 
Introduction of gps global navigation satellite systems
DocumentStory
 
Presentation1
KellyCheah
 
Introduction To Mobile Computing
Madhuri Badgujar
 
Introduction To Cellular Networks
Yoram Orzach
 
Iridium satellite system
PRADEEP Cheekatla
 
Concept of gps
Salauddin Rubel
 
Soigner sa e-réputation
Hajer Esseghir
 
Ad

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

PPTX
Chapter 2&3hdhjejjejhehhehehheheheheu.pptx
BinyamBekeleMoges
 
PDF
LTE Architecture.pdf
sureshkumarsaini8
 
PPTX
Mobile Computing UNIT 1 by surbhi saroha
Dr. SURBHI SAROHA
 
PPTX
Mobile_Communication [Unit-I]_updated.pptx
mayuri1551
 
PDF
Mobile system overview
Jack Zheng
 
PPTX
Mobile Computing Complete Introduction
Denis R
 
PPTX
Mobile Ecosystem
Pragati Rai
 
KEY
Week1 subject overview
hhann
 
PDF
An Update on Mobility in Today's Internet
APNIC
 
PDF
3G Technology
Jennifer Wright
 
PPTX
Mobile Compute ( Transmitter & receiver)
LaxmiPrasannaKumarEC
 
PDF
4g and 5g technologies evolution of wireless technology
ManiKandan Manis
 
PPTX
Network Architectures & Interworking.pptx
boutainajiar7
 
PPTX
High performance browser networking ch7,8
Seung-Bum Lee
 
PPTX
Basics of Mobile COmmunication.pptx
Dr.R.SUGANYA RENGARAJ
 
PDF
Mobile computing unit-I-notes 07.01.2020
Ramco Institute of Technology, Rajapalayam, Tamilnadu, India
 
PDF
Efficient data transfer in Android
Cotap Engineering
 
PDF
The Mobile Ecosystem
Ivano Malavolta
 
PPTX
Become a mobile developer from scratch
Ruben Goncalves
 
PPTX
CellularMobileNetworkFINAL.Networkingpptx
ErickWasonga2
 
Chapter 2&3hdhjejjejhehhehehheheheheu.pptx
BinyamBekeleMoges
 
LTE Architecture.pdf
sureshkumarsaini8
 
Mobile Computing UNIT 1 by surbhi saroha
Dr. SURBHI SAROHA
 
Mobile_Communication [Unit-I]_updated.pptx
mayuri1551
 
Mobile system overview
Jack Zheng
 
Mobile Computing Complete Introduction
Denis R
 
Mobile Ecosystem
Pragati Rai
 
Week1 subject overview
hhann
 
An Update on Mobility in Today's Internet
APNIC
 
3G Technology
Jennifer Wright
 
Mobile Compute ( Transmitter & receiver)
LaxmiPrasannaKumarEC
 
4g and 5g technologies evolution of wireless technology
ManiKandan Manis
 
Network Architectures & Interworking.pptx
boutainajiar7
 
High performance browser networking ch7,8
Seung-Bum Lee
 
Basics of Mobile COmmunication.pptx
Dr.R.SUGANYA RENGARAJ
 
Mobile computing unit-I-notes 07.01.2020
Ramco Institute of Technology, Rajapalayam, Tamilnadu, India
 
Efficient data transfer in Android
Cotap Engineering
 
The Mobile Ecosystem
Ivano Malavolta
 
Become a mobile developer from scratch
Ruben Goncalves
 
CellularMobileNetworkFINAL.Networkingpptx
ErickWasonga2
 
Ad

More from saritasingh19866 (20)

PPT
Synapseindia drupal intro 0
saritasingh19866
 
PPT
Synapse india reviews on mobile and tablet computing
saritasingh19866
 
PPT
Synapse india complaints iphone or ipad application development
saritasingh19866
 
ODP
Synapse india reviews on cross plateform mobile apps development
saritasingh19866
 
PPT
Synapse india reviews on android and ios
saritasingh19866
 
PPT
Synapse india reviews on i phone and android os
saritasingh19866
 
ODP
Synapse india reviews on share point development
saritasingh19866
 
ODP
Synapse india reviews on security for the share point developer
saritasingh19866
 
ODP
Synapse india reviews on gui programming in .net
saritasingh19866
 
ODP
Synapse india reviews on mobile application development
saritasingh19866
 
PPT
Synapse india reviews on android application
saritasingh19866
 
ODP
Synapse india reviews on asp.net mobile application
saritasingh19866
 
PPT
Synapse india reviews on php website development
saritasingh19866
 
PPT
Synapse india reviews on php and sql
saritasingh19866
 
PPT
Synapseindia reviews on array php
saritasingh19866
 
PPT
Synapseindia reviews about Basic Networking
saritasingh19866
 
PPT
Synapseindia revirews about networking
saritasingh19866
 
POT
Synapseindia reviews
saritasingh19866
 
PPT
Synapse india reviews abot Networking Concept
saritasingh19866
 
ODP
Synapse india reviews
saritasingh19866
 
Synapseindia drupal intro 0
saritasingh19866
 
Synapse india reviews on mobile and tablet computing
saritasingh19866
 
Synapse india complaints iphone or ipad application development
saritasingh19866
 
Synapse india reviews on cross plateform mobile apps development
saritasingh19866
 
Synapse india reviews on android and ios
saritasingh19866
 
Synapse india reviews on i phone and android os
saritasingh19866
 
Synapse india reviews on share point development
saritasingh19866
 
Synapse india reviews on security for the share point developer
saritasingh19866
 
Synapse india reviews on gui programming in .net
saritasingh19866
 
Synapse india reviews on mobile application development
saritasingh19866
 
Synapse india reviews on android application
saritasingh19866
 
Synapse india reviews on asp.net mobile application
saritasingh19866
 
Synapse india reviews on php website development
saritasingh19866
 
Synapse india reviews on php and sql
saritasingh19866
 
Synapseindia reviews on array php
saritasingh19866
 
Synapseindia reviews about Basic Networking
saritasingh19866
 
Synapseindia revirews about networking
saritasingh19866
 
Synapseindia reviews
saritasingh19866
 
Synapse india reviews abot Networking Concept
saritasingh19866
 
Synapse india reviews
saritasingh19866
 

Recently uploaded (20)

PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
July Patch Tuesday
Ivanti
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
July Patch Tuesday
Ivanti
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 

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

Editor's Notes

  • #12: 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.
  • #15: State machine – the standard for all UMTS carriers – transitions &amp; paras can change