Cellular Networks and Mobile Computing COMS 6998-7, Spring 2014 Instructor: Li Erran Li

Slides:



Advertisements
Similar presentations
TRAINING SERVICES NIGTEL-CS TRAINING SERVICE Mobile Telecommunications in Africa especially Nigeria has recorded rapid growth and expansion in the.
Advertisements

Cognitive Radio Communications and Networks: Principles and Practice By A. M. Wyglinski, M. Nekovee, Y. T. Hou (Elsevier, December 2009) 1 Chapter 9 Fundamentals.
Towards Software Defined Cellular Networks
1 3GPP LTE presentation 3GPP TSG RAN Chairman 3GPP TSG RAN Chairman 3GPP LTE presentation Kyoto May 22rd 2007.
LTE-A Carrier Aggregation
Cellular Networks and Mobile Computing COMS , Spring 2014
CS 443 Advanced OS Fabián E. Bustamante, Spring 2005 Resource Containers: A new Facility for Resource Management in Server Systems G. Banga, P. Druschel,
Network Based Services in Mobile Networks Context, Typical Use Cases, Problem Area, Requirements IETF 87 Berlin, 29 July 2013 BoF Meeting on Network Service.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 10 – Circuit Switching and Packet Switching.
LTE Call Flow and MS Attached Procedures
All rights reserved © 2001, Alcatel, Paris. ITG-Fachgruppe „IP und Mobility“ Kamp-Lintfort, 20 June 2001 Multistandard Radio Access Network for Wireless.
Making Cellular Networks Scalable and Flexible Li Erran Li Bell Labs, Alcatel-Lucent Joint work with collaborators at university of Michigan, Princeton,
Mobile Communication MMS / GPRS. What is GPRS ? General Packet Radio Service (GPRS) is a new bearer service for GSM that greatly improves and simplifies.
Aida BotonjićTieto1 LTE Aida Botonjić. Aida BotonjićTieto2 Why LTE? Applications: Interactive gaming DVD quality video Data download/upload Targets: High.
6 The IP Multimedia Subsystem Selected Topics in Information Security – Bazara Barry.
Overview.  UMTS (Universal Mobile Telecommunication System) the third generation mobile communication systems.
CDMA X RTT Overview. Global 3G Evolution.
Cellular Networks Guest lecture by Li Erran Li, Bell Labs COS 461: Computer Networks 4/18/2012 W 10-10:50am in Architecture N101 1 Cellular Core Network.
SoftRAN : Software Defined RAN
Cellular Networks COS 461: Computer Networks Spring 2013 Guest Lecture by Li Erran Li, Bell Labs 4/10/2013 W 10-10:50am
CSci5221: 3G/4G Cellular Network Architecture Overview 1 Cellular Voice/Data Architectures: A Primer Basics of Cellular Networks Survey of 2G/3G Cellular.
Cellular IP: Proxy Service Reference: “Incorporating proxy services into wide area cellular IP networks”; Zhimei Jiang; Li Fung Chang; Kim, B.J.J.; Leung,
Cellular Core Network Architecture
Cellular Networks and Mobile Computing COMS , Spring 2013 Instructor: Li Erran Li
CECS 5460 – Assignment 3 Stacey VanderHeiden Güney.
Mobile IP Performance Issues in Practice. Introduction What is Mobile IP? –Mobile IP is a technology that allows a "mobile node" (MN) to change its point.
Mobile IP, PMIP, FMC, and a little bit more
Lectured By: Vivek Dimri Assistant Professor, CSE Dept. SET, Sharda University, Gr. Noida.
CELLULAR DATA NETWORKS Mr. Husnain Sherazi Lecture 5.
6: Wireless and Mobile Networks6-1 Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition.
Design of Multi-RAT Virtualization Architectures in LTE-Advanced Wireless Network Location: 國立暨南國際大學電機系 Source: ICIC Express Letters, vol. 8, no. 5, May.
Data and Computer Communications Chapter 10 – Circuit Switching and Packet Switching (Wide Area Networks)
TELE202 Lecture 5 Packet switching in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lectures »C programming »Source: ¥This Lecture »Packet switching in Wide.
Data and Computer Communications Circuit Switching and Packet Switching.
An Introduction to CDMA Air Interface: IS-95A
LTE Architecture KANNAN M JTO(3G).
1 SAE architecture harmonization R RAN2/3, SA2 Drafting Group.
1 © 2006 Nokia pullola_ ppt / Extending Base Station Active Radio Link Set for Improved Uplink Scheduling Esa-Pekka Pullola Supervisor:
1 Presentation_ID © 1999, Cisco Systems, Inc. Cisco All-IP Mobile Wireless Network Reference Model Presentation_ID.
William Stallings Data and Computer Communications
1 © NOKIA Functionality and Testing of Policy Control in IP Multimedia Subsystem Skander Chaichee HUT/Nokia Networks Supervisor: Professor Raimo.
CS533 - Concepts of Operating Systems 1 The Mach System Presented by Catherine Vilhauer.
CellSDN: Software-Defined Cellular Core networks Xin Jin Princeton University Joint work with Li Erran Li, Laurent Vanbever, and Jennifer Rexford.
eHRPD (evolved High Rate Packet Data)
Heikki Lindholm , Lirim Osmani , Sasu Tarkoma , Hannu Flinck*, Ashwin Rao  State Space Analysis to Refactor the Mobile Core  University of Helsinki.
Long Term Evolution (LTE) and System Architecture Evolution (SAE)
NETLMM Applicability Draft (Summary) 28 Sep
Long Term Evolution Protocols
Features of Long Term Evolution (LTE)
By Suman(1RV12LDC29).  Long Term Evolution (LTE) promises higher data rates, 100Mbps in the downlink and 50Mbps in the uplink in LTE’s first phase, and.
1 Wireless Networks Lecture 21 WCDMA (Part I) Dr. Ghalib A. Shah.
1 Lecture 19 EEE 441 Wireless And Mobile Communications.
4G Wireless Technology Prepared by K.Sai Kumar Yadav 07K81A0584.
LONG TERM EVOLUTION DANISH HASRAT (091042) DEEPAK SINGH (091043) GAURAV THAWANI (091052) NILESH SINGH (091079)
1 Wireless Networks Lecture 17 GPRS: General Packet Radio Service (Part I) Dr. Ghalib A. Shah.
Seminar on 4G wireless technology
LTE Long Term Evolution
Long Term Evolution (LTE) and System Architecture Evolution (SAE)
University of Maryland College Park
3G architecture and protocols
NOX: Towards an Operating System for Networks
SoftMoW: Recursive and Reconfigurable Cellular WAN Architecture
LTE Long Term Evolution
Long Term Evolution (LTE)
GPRS GPRS stands for General Packet Radio System. GPRS provides packet radio access for mobile Global System for Mobile Communications (GSM) and time-division.
Software Defined Networking (SDN)
Network Architecture How does it all work?
GPRS Architecture Ayan Ganguly Bishakha Roy Akash Dutta.
An Introduction to CDMA Air Interface: IS-95A
Presentation transcript:

Cellular Networks and Mobile Computing COMS , Spring 2014 Instructor: Li Erran Li Spring2014/ 3/7/2014: Introduction to Cellular Networks 1

Review of Previous Lecture What are the different approaches of virtualization? 2 Cellular Networks and Mobile Computing (COMS ) 3/7/14

Review of Previous Lecture What are the different approaches of virtualization? – Bear-metal hypervisor, hosted hypervisor, container (Linux LXC, Samsung Knox) 3 Cellular Networks and Mobile Computing (COMS ) 3/7/14

OS Kernel OS Kernel OS Kernel OS Kernel OS Kernel OS Kernel Hypervisor / VMM Hardware Bare-Metal Hypervisor poor device support / sharing Courtesy: Jason Nieh et al. 4 Cellular Networks and Mobile Computing (COMS ) 3/7/14

OS Host OS Kernel OS Hypervisor / VMM Hosted Hypervisor kernel module kernel module Hardware poor device performance poor device performance emulated devices emulated devices Courtesy: Jason Nieh et al. 5 Cellular Networks and Mobile Computing (COMS ) 3/7/14

Review of Previous Lecture (Cont’d) What approach does Cell use? What are the key design choices for Cell’s extremely low overhead? 6 Cellular Networks and Mobile Computing (COMS ) 3/7/14

Review of Previous Lecture (Cont’d) Device namespace – It is designed to be used by individual device drivers or kernel subsystems to tag data structures and to register callback functions. Callback functions are called when a device namespace changes state. – Each VP uses a unique device namespace for device interaction. Cells leverages its foreground-background VP usage model to register callback functions that are called when the VP changes between foreground and background state. 7 Cellular Networks and Mobile Computing (COMS ) 3/7/14

Linux Kernel Linux Kernel Power WiFi Cell Radio Framebuffer GPU RTC / Alarms SensorsInputAndroid... Audio/Video Device Namespaces safely, correctly multiplex access to devices device namespaces VP 3 VP 2 VP 1 Courtesy: Jason Nieh et al. 8 Cellular Networks and Mobile Computing (COMS ) 3/7/14

Review of Previous Lecture (Cont’d) How to run iOS applications on Android OS? 9 Cellular Networks and Mobile Computing (COMS ) 3/7/14

Cider Architecture Interaction between app and OS is defined by kernel app binary interface (ABI) – ABI includes: binary loader, async signal delivery, and syscall Mach-O binary loader built into Linux kernel – Kernel tags current thread with iOS persona Persona is an execution mode (exec foreign or domestic code) assigned to each thread Translation layer for async signal (illegal instruction, segmentation fault) delivery Multiple syscall interface – Wrapper mapping arguments from XNU structures to Linux ones 10 Cellular Networks and Mobile Computing (COMS ) 3/7/14

Duct Tape Mach IPC missing in Linux Duct tape to the rescue – Direct compilation of unmodified foreign kernel source code into domestic kernel – Direct translates foreign Kernel API such as sync, memory allocation, processing control into domestic kernel API Duct tape has three steps: – Create three distinct coding zones: foreign, domestic, duct tape No cross access between foreign and domestic Cross access between foreign (domestic) and duct tape – Identify foreign symbols conflicting with domestic code – Remap conflicting symbols to unique domestic ones Duct tape advantages: easy to maintain and reusable 11 Cellular Networks and Mobile Computing (COMS ) 3/7/14

Duct Tape (Cont’d) Cider uses duct tape to add three subsystems – pthread: differ from Linux, use kernel-level support for mutexes, semaphores and condition variables – Mach IPC: direct compilation; rewrite recursive queuing structures – Apple’s I/O Kit device driver framework Source code at: /iokit/ 12 Cellular Networks and Mobile Computing (COMS ) 3/7/14

Diplomatic Functions Mobile apps often use closed proprietary hardware and software stacks – OpenGL ES libraries directly communicate with GPU through proprietary software and hardware interfaces using device-specific ioctls (Android) or opaque IPC messages (iOS) How to direct access to proprietary hardware? Diplomatic function temporarily switches the persona of a calling thread to exec domestic functions from within foreign app 13 Cellular Networks and Mobile Computing (COMS ) 3/7/14

Review of Previous Lecture (Cont’d) What are the most expensive flash memory operations? – Random read – Random write – Sequential write – Sequential read 14 Cellular Networks and Mobile Computing (COMS ) 3/7/14

Random versus Sequential Disparity Performance for random I/O significantly worse than seq; inherent with flash storage Mobile flash storage classified into speed classes based on sequential throughput  Random write performance is orders of magnitude worse Vendor (16GB) Speed Class Cost US $ Seq Write Rand Write Transcend RiData Sandisk Kingston Wintec A-Data Patriot PNY Consumer-grade SD performance Performance MB/s For several popular apps, substantial fraction of I/O is random writes (including web browsing!) Courtesy: Nitin Agrawal et al. 15 Cellular Networks and Mobile Computing (COMS ) 3/7/14

Syllabus Mobile App Development (lecture 1,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,5) – 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 6,7,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 9,10) – 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 11,12,13) – Mobile platform security: malware detection and characterization, attacks and defenses – Mobile data and location privacy: attacks, monitoring tools and defenses 16 Cellular Networks and Mobile Computing (COMS ) 3/7/14

Outline Goal of this lecture: understand the basics of current networks and future directions Current Cellular Networks – Introduction – Radio Aspects – Architecture – Power Management – Security – QoS What Is Next? A Clean-Slate Design: Software-Defined Cellular Networks Conclusion and Future Work 17 Cellular Networks and Mobile Computing (COMS ) 3/7/14

Cellular Networks Impact our Lives More Mobile Connection More Mobile Information Sharing More Mobile Users More Infrastructure Deployment 18 Cellular Networks and Mobile Computing (COMS ) 3/7/14

Global Convergence LTE is the major technology for future mobile broadband – Convergence of 3GPP and 3GPP2 technology tracks – Convergence of FDD and TDD into a single technology track GSMWCDMAHSPA TD-SCDMAHSPA/TDD LTE FDD and TDD IS-95cdma2000EV-DO D-AMPS PDC WiMAX ? 3GPP 3GPP2 IEEE 19 Cellular Networks and Mobile Computing (COMS ) 3/7/14

3GPP introduction 3 rd Generation Partnership Program – Established in 1998 to define UMTS – Today also works on LTE and access-independent IMS – Still maintains GSM 3GPP standardizes systems – Architecture, protocols Works in releases – All specifications are consistent within a release 20 Cellular Networks and Mobile Computing (COMS ) 3/7/14

3GPP TS V Stage 1 Requirements “It shall be possible to...” “It shall support…” 3GPP way of working E.g., 22-series specs Stage 2 Architecture Nodes, functions Reference points Procedures (no errors) Stage 3 Protocols Message formats Error cases E.g., 23-series specs E.g., 29-series specs Specification numbering example: Spec. number TS=Technical Specification (normative) TR=Technical Report (info only) Release Consistent set of specs per release New release every 1-2 years Updated after a meeting Courtesy: Zoltán Turányi 21 Cellular Networks and Mobile Computing (COMS ) 3/7/14

3GPP specification groups 2G 3G/LTE System Protocols Cellular Networks and Mobile Computing (COMS ) 22 3/7/14

Starting points on 3GPP specifications – Pointers to the series of specifications – Architecture documents in 23-series23-series Main architecture references – – Overall architecture reference – – Evolved Packet Core with LTE access, GTP- based core – – 2G/3G access, and integration to Evolved Packet Core – – Non-3GPP access, and PMIP-based core Courtesy: Zoltán Turányi 23 Cellular Networks and Mobile Computing (COMS ) 3/7/14

Example A base station with 3 sectors (3 cells) Courtesy: Zoltán Turányi

Large distances – Terminals do not see each other – Tight control of power and timing needed – Highly variable radio channel – quick adaptation needed Many users in a cell – A UMTS cell can carry roughly 100 voice calls on 5 MHz – Resource sharing must be fine grained – but also flexible Quality of Service with resource management – Voice – low delay, glitch-free handovers – Internet traffic – more, more, more Battery consumption critical – Low energy states, wake-up procedures – Parsimonious signaling Key challenges Courtesy: Zoltán Turányi

Radio basics 26 Cellular Networks and Mobile Computing (COMS ) 3/7/14

LTE air interface The key improvement in LTE radio is the use of OFDM Orthogonal Frequency Division Multiplexing – 2D frame: frequency and time – Narrowband channels: equal fading in a channel Allows simpler signal processing implementations – Sub-carriers remain orthogonal under multipath propagation One resource element One resource block 12 subcarriers during one slot (180 kHz × 0.5 ms) One OFDM symbol One slot 12 subcarriers time frequency Frame (10 ms) Subframe (1 ms)Slot (0.5 ms) Time domain structure 27 Cellular Networks and Mobile Computing (COMS ) 3/7/14

Orthogonal Frequency Division Multiple Access (OFDM)  Closely spaced sub-carriers without guard band  Each sub-carrier undergoes (narrow band) flat fading - Simplified receiver processing  Frequency or multi-user diversity through coding or scheduling across sub-carriers  Dynamic power allocation across sub- carriers allows for interference mitigation across cells  Orthogonal multiple access Frequency Narrow Band (~10 Khz) Wide Band (~ Mhz) T large compared to channel delay spread Sub-carriers remain orthogonal under multipath propagation T 1 Courtesy: Harish Vishwanath LTE air interface: Downlink 28 Cellular Networks and Mobile Computing (COMS ) 3/7/14

LTE air interface: Uplink User 1 User 2 User 3  Efficient use of spectrum by multiple users  Sub-carriers transmitted by different users are orthogonal at the receiver - No intra-cell interference  CDMA uplink is non-orthogonal since synchronization requirement is ~ 1/W and so difficult to achieve  Users are carrier synchronized to the base  Differential delay between users’ signals at the base need to be small compared to symbol duration W Courtesy: Harish Vishwanath 29 Cellular Networks and Mobile Computing (COMS ) 3/7/14

LTE air interface: Multiplexing  Each color represents a user  Each user is assigned a frequency-time tile which consists of pilot sub-carriers and data sub-carriers  Block hopping of each user’s tile for frequency diversity Time Frequency Typical pilot ratio: 4.8 % (1/21) for LTE for 1 Tx antenna and 9.5% for 2 Tx antennas Courtesy: Harish Vishwanath Pilot sub-carriers 30 Cellular Networks and Mobile Computing (COMS ) 3/7/14

Assign each Resource Block to one of the terminals – LTE – channel-dependent scheduling in time and frequency domain – HSPA – scheduling in time-domain only Time Frequency User #1 scheduled User #2 scheduled 1 ms 180 kHz Time-frequency fading, user #1 Time-frequency fading, user #2 LTE Scheduling Courtesy: Zoltán Turányi 31 Cellular Networks and Mobile Computing (COMS ) 3/7/14

Architecture 32 Cellular Networks and Mobile Computing (COMS ) 3/7/14

CS CN 3G Radio Access Network PS Core Network Why separate RAN and CN? – Two CNs with same RAN – Multiple RANs with same CN – Modularization – Independent scaling, deployment and vendor selection Why two GSNs? – Roaming: traffic usually taken home – Independent scaling, deployment and vendor selection – User can connect to multiple PDNs UMTS Architecture RNC GGSN Gn/Gp NodeB Iub L1 HSPA scheduling Real-time radio control Radio Resource Management Soft handover UP Ciphering Header Compression First-hop router GW towards external PDNs VPN support over Gi IP address management Policy Control Gi GPRS – Generic Packet Radio Service GGSN – Gateway GPRS Support Node SGSN – Serving GPRS Support Node RNC – Radio Network Controller PDN – Packet Data Network CN – Core Network PS – Packet Switched CS – Circuit Switched MSC – Mobile Switching Center HSS – Home Subscriber Server MSC SGSN IuPS IuCS Manage CN procedures HSS connection (authenticator) Idle mode state Lawful Intercept Bearer management

CS CN 3G Radio Access Network PS Core Network RNC GGSN Gn/Gp NodeB Iub L1 HSPA scheduling Real-time radio control Radio Resource Management Soft handover UP Ciphering Header Compression First-hop router GW towards external PDNs VPN support over Gi IP address management Policy Control Gi MSC SGSN IuPS IuCS Manage CN procedures HSS connection (authenticator) Idle mode state Lawful Intercept Bearer management Drivers for change Vendor lock-in due to proprietary Iub features Too many specialized data plane nodes Overhead of separate CS core when bulk of traffic is PS Complex, real- time RAN Courtesy: Zoltán Turányi

From 3G to EPC/LTE architecture 3G Radio Access Network PS Core Network LTE Radio Access Network eNodeB eNodeB – Evolved Node B RNC functions moved down to base station Evolved Packet Core (EPC) SGi PDN GW SGW S1-UP Only two data plane nodes in the typical case. user plane Packet Data Network GW Serving GW PS only MME S11 Mobility Management Entity Data plane/control plane split for better scalability. control plane S1-CP CS MSC IuCS RNC GGSN Gn/Gp NodeB Iub Gi SGSN IuPS Courtesy: Zoltán Turányi 35

Why separate SGW and PDN GW? LTE Radio Access Network eNodeB eNodeB – Evolved Node B Evolved Packet Core (EPC) SGi SGW Serving GW MME Mobility Management Entity S1-CP PDN GW S1-UP Packet Data Network GW S11 S5/S8 SGW and PDN GW separate in some special cases: Roaming: PDN GW in home network, SGW in visited network Mobility to another region in a large network Corporate connectivity Courtesy: Zoltán Turányi 36

Interworking with 3G SGW PDN GW S5 eNodeB S1-CP MME S1-U S11 SGi HSS MSC RNC IuCS NodeB Iub SGSN IuPS UE MSC – Mobile Switching Center Gn Courtesy: Zoltán Turányi 37 Cellular Networks and Mobile Computing (COMS ) 3/7/14

Interworking with non-3GPP accesses SGW PDN GW S5 eNodeB S1-CP MME S1-U S11 SGi HSS MSC RNC IuCS NodeB Iub SGSN IuPS Non-3GPP Access (cdma2000, WiMax, WiFi) S2 UE PMIP – Proxy Mobile IP Gn Courtesy: Zoltán Turányi 38 Cellular Networks and Mobile Computing (COMS ) 3/7/14

Debate of 2006: GTP vs. PMIP SGW PDN GW S5 eNodeB S1-CP MME S1-U S11 SGi HSS MSC RNC IuCS NodeB Iub SGSN IuPS Non-3GPP Access (cdma2000, WiMax, WiFi) S2 PMIP GTP GTP? PMIP? GTP PMIP UE Gn Conclusion: Specify both Courtesy: Zoltán Turányi 39 Cellular Networks and Mobile Computing (COMS ) 3/7/14

EPC + LTE: EPC + 2G/3G: SGW PDN GW S5 eNodeB S1-CP MME S1-U S11 SGi HSS MSC RNC IuCS NodeB Iub SGSN IuPS GTP UE GTP Gn Courtesy: Zoltán Turányi 40 Cellular Networks and Mobile Computing (COMS ) 3/7/14

EPC + non-3GPP: SGW PDN GW S5 eNodeB S1-CP MME S1-U S11 SGi HSS GTP UE PMIP EPC – Evolved Packet Core Non-3GPP Access (cdma2000, WiMax, WiFi) S2 PMIP Courtesy: Zoltán Turányi 41 Cellular Networks and Mobile Computing (COMS ) 3/7/14

Access Procedure Cell Search – Base station broadcasts synchronization signals and cell system information (similar to WiFi) – UE obtains physical layer information UE acquires frequency and synchronizes to a cell Determine the start of the downlink frame Determine the cell identity Random access to establish a radio link Base station UE 2 UE 1 42 Cellular Networks and Mobile Computing (COMS ) 3/7/14

ClientBase stationCore network Step 1: random access request (pick one of 64 preambles) Step 2: random access response Step 3: transmission of mobile ID Step 4: contention resolution msg Only if UE is not known in Base station Random Access Adjust uplink timing If ID in msg matches UE ID, succeed. If collision, ID will not match! 43 Cellular Networks and Mobile Computing (COMS ) 3/7/14

Base station Random Access (Cont’d) UE 2 UE 1 Why not carrier sensing like WiFi? Base station coverage is much larger than WiFi AP – UEs most likely cannot hear each other How come base station can hear UEs’ transmissions? – Base station receivers are much more sensitive and expensive 44 Cellular Networks and Mobile Computing (COMS ) 3/7/14

Modes of operation 45 Cellular Networks and Mobile Computing (COMS ) 3/7/14

Used during communication Signaling connection exists between network and UE Both CN and RAN keeps state about the UE UE location is tracked on a cell granularity – Needed to deliver the data Network controlled mobility Connected mode SGWMME Cellular Networks and Mobile Computing (COMS ) 3/7/14 46

Procedure 1.UE measures nearby cells 2.UE sends measurement reports to network 3.Network decides on and controls handover 4.Handover is prepared by network 5.Handover executes Network controlled mobility SGWMME Reason: To allow the network to tune handovers 1.Select proper target cell 2.Network has additional information for handover decision 3.Collect and analyze data for cell planning and troubleshooting 4.Penalize ping-ponging UEs 5.Penalize microcells for fast UEs 6.Cell breathing Courtesy: Zoltán Turányi 47

Used when the UE is not communicating UE location is tracked on a Tracking Area (TA) granularity – eNodeBs advertise their TA – UE periodically listens to advertisements (every few seconds) – UE sends Tracking Area Update (TAU) to MME, when TA changes – TAU also sent periodically (e.g., once every 2 hours) No eNodeB state is kept for UE When traffic arrives to the UE, the UE is paged Idle Mode 48

UE periodically checks if data is available for it – Wakes up, (re)selects cell, reads broadcast and the paging channel – Exact timing is pseudo-random per UE PAGING › If packet arrives to SGW… –…it buffers the packet –…and notifies MME. –MME sends a Paging Request to all eNodeBs in the TA of the UE –eNodeBs page the UE on its paging slot locally –UE responds with a Service Request… –…eNodeB state is built up… –…and UE is moved to connected state. SGW PDN GW MME UE Courtesy: Zoltán Turányi 49

Idle mode is a great power-saving feature – A system-wide feature – Also saves a lot of RAN resources Balancing of TA size is needed – Too large: many paging messages – Too small: many TAU messages from UE – Lot of optimizations: per-UE TA, overlapping TA, etc. Connected  Idle transitions are costly – Usually a timeout is used to go to idle Not a good fit for chatty packet traffic Easy to attack: an IP address range scan wakes up everyone – Key application design goal: reduce chattyness The Phone OS also has responsibility – However, can be very effective when combined with DRX Idle mode issues Cellular Networks and Mobile Computing (COMS ) 50

LTE RRC State Machine 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 Courtesy:Morley Mao 51 3/7/14

UMTS RRC State Machine State promotions have promotion delay State demotions incur tail times Tail Time Delay: 1.5s Delay: 2s ChannelRadio Power IDLENot allocated Almost zero CELL_FACHShared, Low Speed Low CELL_DCHDedicated, High Speed High Courtesy: Feng Qian 52 Cellular Networks and Mobile Computing (COMS ) 3/7/14

IDLE: procedures based on reception rather than transmission – Reception of System Information messages – Reception of paging messages with a DRX cycle (may trigger RRC connection establishment) – Location and routing area updates (requires RRC connection establishment) CONNECTED: need to continuously receive, and sent whenever there is data Why Power Consumptions of RRC States so different? 53 Cellular Networks and Mobile Computing (COMS ) 3/7/14

Security 54 Cellular Networks and Mobile Computing (COMS ) 3/7/14

Subscriber Identity Module – Usually embedded in a physical SIM card Initially specified in 1990 for GSM (freeze date of TS 11.11) Carries subscriber credentials – IMSI: International Mobile Subscriber Identity – digits MCC: Mobile Country Code – 3 digits MNC: Mobile Network Code – 2 or 3 digits Rest of the digits identify the subscriber – Keying material (essentially symmetric keys) In the network HSS stores subscriber data – Including keying and phone number (MSISDN) Enables roaming and phone replacement – Key features in GSM The SIM card MSISDN – Mobile Subscriber ISDN Number 55

KEY hierarchy AuC – Authentication Centre AKA – Authentication and Key Agreement CK: Encryption, IK: integrity Protection ASME: Access Security Management Entity NH – Next Hop SGW PDN GW S5 eNodeB S1-CP MME S1-U S11 SGi HSS UE AuC AKA procedure USIM Courtesy: Zoltán Turányi 56

Authentication at initial attach 57

MME pre-calculates NH keys – From K ASME and NCC – NCC: NH Chaining Counter 3: Source eNodeB sends {NH, NCC} to target eNodeB Target eNB uses NH for K eNB UE also calculates new K eNB 12: MME sends next {NH, NCC} to target eNB handover

QoS architecture 59 Cellular Networks and Mobile Computing (COMS ) 3/7/14 59

A bearer is a L2 packet transmission channel – …to a specific external Packet Data Network, – …using a specific IP address/prefix, – …carrying a specific set of IP flows (maybe all) – …providing a specific QoS. In 2G/3G also known as “PDP Context” Bearer setup is explicitly signaled – In LTE one bearer is always set up at attachment Bearers SGW PDN-GW S5 eNodeB S1-CP MME S1-U S11 SGi HSS UE See more in: QoS concept and architecture Courtesy: Zoltán Turányi 60 Cellular Networks and Mobile Computing (COMS )

Service Data Flow Bearers default bearer Service Data Flow dedicated bearer Service Data Flow PDN connection APN traffic Terminal traffic IP microflows A set of IP microflows A set of IP microflows with the same QoS Traffic with the same IP address or IPv6 prefix Traffic to the same external network All traffic of a UE Dedicated bearer: bearer with special QoS Default bearer: rest of traffic with default QoS SGW PDN GW eNodeB MME SGi UE PDN GW SGi PDN 1PDN 2 APN1 PDN – Packet Data Network APN – Access Point Name APN2 External networks Two default bearers to different APNs Courtesy: Zoltán Turányi 61

Terminal apps do not use QoS – Original IP socket API has minimal QoS features No widespread QoS mechanism in fixed networks Usually IP app developers do not care about network QoS – A number of QoS API failures Conceptual difficulties – QoS must be authorized and charged QoS can only be effectively decided in the face of its price – Complex QoS descriptors Determining QoS parameters is challenging – E.g., or bit error rate? – Yet not flexible enough to cater for e.g., VBR video Why then no QoS today? (Apart from voice) 62

QCI: QoS Class Indicator – Scalar value encompassing all packet treatment aspects – 9 mandatory, operators can define new MBR: Max bitrate GBR: Guaranteed bitrate – If nonzero, admission control is performed ARP: Allocation and Retention Priority – priority (scalar): Governs priority at establishment and handover – pre-emption capability (flag): can this bearer pre-empt another? – pre-emption vulnerability (flag): can another bearer pre-empt this one? AMBR: Aggregated Maximum bitrate – Both a per-terminal and per-APN value #1: Simple parameters Source: , GPRS Enhancements for E-UTRAN Policy and Charging Control Architecture 63

Allow a network application request QoS – Terminal app can remain QoS un-aware – Network can fully control QoS provided & payment charged First specified in Release 7 for 3G – Not all terminals support it Mandatory mode in LTE #2: Network initiated bearers App LTE App LTE + EPC UENetwork 1. Session setup 2. Request QoS 3. Bearer setup No QoS API Courtesy: Zoltán Turányi 64

Policy and Charging SGW PDN GW S5 eNodeB S1-MME MME S1-U S11 SGi PCRF Gx Rx UE Flow descriptor (5-tuple) QoS descriptor Charging rules Gating (on/off) Flow descriptor (5-tuple) Bandwidth Application (voice/video/etc.) App Policy and Charging Rules Function – Decides on QoS and Charging – Controls gating – Service Policy Based on Request Subscription data – Makes no resource decisions Courtesy: Zoltán Turányi 65

What Is Next? Cellular Networks and Mobile Computing (COMS ) 3/7/14 66

LTE Evolution LTE-A – meeting and exceeding IMT-Advanced requirements – Carrier aggregation – Enhanced multi-antenna support – Relaying – Enhancements for heterogeneous deployments LTE LTE-A LTE-B LTE-C Rel-8 Rel-9 Rel-10 Rel-11 Rel-12 Rel-13 Rel Cellular Networks and Mobile Computing (COMS ) 3/7/14

LTE Evolution LTE-B – Work starting fall 2012 Topics (speculative) – Device-to-device communication – Enhancements for machine-to-machine communication – Green networking: reduce energy use – And more… LTE LTE-A LTE-B LTE-C Rel-8 Rel-9 Rel-10 Rel-11 Rel-12 Rel-13 Rel Cellular Networks and Mobile Computing (COMS ) 3/7/14

Outline Goal of this lecture: understand the basics of current networks and future directions Current Cellular Networks What Is Next? A Clean-Slate Design: Software-Defined Cellular Networks – Radio Access Networks – Core Networks – Wide Access Networks Conclusion and Future Work 69 Cellular Networks and Mobile Computing (COMS ) 3/7/14

A Clean-Slate Design: Software-Defined Radio Access Networks 70 Cellular Networks and Mobile Computing (COMS ) 3/7/14

Carrier’s Dilemma 71 Exponential Traffic Growth Limited Capacity Gain Poor wireless connectivity if left unaddressed

LTE Radio Access Networks accesscore Packet Data Network Gateway Serving Gateway Internet Serving Gateway Base Station (BS) User Equipment (UE) 72 Goal: high capacity wide-area wireless network – Dense deployment of small cells

Dense and Chaotic Deployments Dense: high SNR per user leads to higher capacity o Small cells, femto cells, repeaters, etc 73

Problems Current LTE distributed control plane is ill-suited o Hard to manage inter-cell interference o Hard to optimize for variable load of cells Dense deployment is costly o Need to share cost among operators o Maintain direct control of radio resources o Lacking in current 3gpp RAN sharing standards 74

SoftRAN: Big Base Station Abstraction 75 time frequency time frequency time frequency radio element time controller Radio Element 1 Radio Element 2Radio Element 3 Big Base Station

Radio Resource Allocation 76 frequency radio element time Flows3D Resource Grid

SoftRAN: SDN Approach to RAN BS1 BS2 BS3 BS4 BS5 PHY & MAC Control Algo Coordination : X2 Interface 77 PHY & MAC Control Algo PHY & MAC Control Algo PHY & MAC Control Algo PHY & MAC Control Algo

SoftRAN: SDN Approach to RAN RE1 RE2 RE3 RE4 RE5 Network OS Control AlgoOperator Inputs PHY & MAC 78 RadioVisor PHY & MAC Radio Element (RE)

SoftRAN Architecture Summary 79 RADIO ELEMENTS CONTROLLER Radio Element API Controller API Interference Map Flow Records Bytes Rate Queue Size Network Operator Inputs QoS Constraints RAN Information Base Radio Resource Management Algorithm POWER FLOW Time Frequency Radio Element 3D Resource Grid Periodic Updates

SoftRAN Architecture: Updates Radio element -> controller (updates) – Flow information (downlink and uplink) – Channel states (observed by clients) Network operator -> controller (inputs) – QoS requirements – Flow preferences 80

SoftRAN Architecture: Controller Design RAN information base (RIB) – Update and maintain global network view Interference map Flow records Radio resource management – Given global network view: maximize global utility – Determine RRM at each radio element 81

SoftRAN Architecture: Radio Element API Controller -> radio element – Handovers to be performed – RF configuration per resource block Power allocation and flow allocation – Relevant information about neighboring radio elements Transmit Power being used 82

Refactoring Control Plane 83 Controller responsibilities: -Decisions influencing global network state Load balancing Interference management Radio element responsibilities: -Decisions based on frequently varying local network state Flow allocation based on channel states

SoftRAN Advantages 84 Logically centralized control plane: – Global view on interference and load Easier coordination of radio resource management Efficient use of wireless resources – Plug-and-play control algorithms Simplified network management – Smoother handovers Better user-experience

SoftRAN: Evolving the RAN Switching off radio elements based on load – Energy savings Dynamically splitting the network into Big-BSs – Handover radio elements between Big-BSs 85

Implementation: Modifications SoftRAN is incrementally deployable with current infrastructure – No modification needed on client-side – API definitions at base station Femto API : Standardized interface between scheduler and L1 ( technical-papers) technical-papers Minimal modifications to FemtoAPI required 86

RadioVisor Design Slice manager o Slice configuration, creation, modification, deletion and multi-slice operations Traffic to slice mapping at RadioVisor and radio elements 3D resource grid allocation and isolation o Considers traffic demand, interference graph and policy 87 RadioVisor Slice Manager 3D Resource Grid Allocation & Isolation Traffic to Slice Mapping

Slice Manager Slice definition o Predicates on operator, device, subscriber, app attributes o A slice can be all M2M traffic of operator 1 Slice configuration at data plane and control plane o PHY and scheduler: narrow band PHY for M2M slice o Interference management algorithm Slice algebra to support flexible slice operations o Slice merge, split, (un)nest, duplicate 88

Resource Grid Allocation and Isolation Slices present resource demands every time window Max min fair allocation Example o Red slice entitles 2/3 and demands 2/3 RE1 only o Blue slice entitles 1/3 and demand 1/3 RE2 and 1 RE3 Radio Element 1 Radio Element 2 Radio Element 3 Interference Edge Time Radio Element Frequency 89

Conclusion Dense deployment calls for central control of radio resources Deployment costs motivate RAN Sharing We present the design of RadioVisor o Enables direct control of per slice radio resources o Configures per slice PHY and MAC, and interference management algorithm o Supports flexible slice definitions and operations

A Clean-Slate Design: Software-Defined Cellular Core Networks 91 Cellular Networks and Mobile Computing (COMS ) 3/7/14

Cellular Core Network Architecture accesscore Packet Data Network Gateway Serving Gateway Internet Serving Gateway Base Station (BS) User Equipment (UE) 92

93 Interne t Controller Simple hardware SoftCell Overview + SoftCell software

SoftCell Design Goal Fine-grained service policy for diverse app needs  Video transcoder, content filtering, firewall  M2M services: fleet tracking, low latency medical device updates 94 with diverse needs!

Characteristics of Cellular Core Networks 1. “North south” traffic pattern 2. Asymmetric edge 3. Traffic initiated from low-bandwidth access edge 95 Access Edge Internet Gateway Edge ~1K Users ~10K flows ~1 – 10 Gbps ~1 million Users ~10 million flows ~400 Gbps – 2 Tbps

Challenge: Scalability Packet classification: decide which service policy to be applied to a flow  How to classify millions of flows per second? Traffic steering: generate switch rules to implement policy paths, e.g. traversing a sequence of middleboxes  How to implement million of paths? Limited switch flow tables: ~1K – 4K TCAM, ~16K – 64K L2/Ethernet Network dynamics: setup policy paths for new users and new flow?  How to hand million of control plane events per second? 96

SoftCell: Design-in-the-Large 1. Scalable system design  Classifying flows at access edge  Offloading controller tasks to switch local agent 2. Intelligent algorithms  Enforcing policy consistency under mobility  Multi-dimension aggregation to reduce switch rule entries ~1K Users ~10K flows ~1 – 10 Gbps Gateway Edge ~1 million Users ~10 million flows ~up to 2 Tbps Access Edge Controller LA 97

Multi-Dimensional Aggregation Use multi-dimensional tags rather than flat tags Exploit locality in network topology and traffic pattern Selectively match on one or multiple dimensions  Supported by the multiple tables in today’s switch chipset Policy TagBS IDUser ID 98 Aggregate flows going to the same Users. Aggregate flows going to the same (group of) base stations Aggregate flows that share a common policy (even across Users and BSs)

Conclusion and Future Work SoftCell uses commodity switches and middelboxes to build flexible and cost-effective cellular core networks SoftCell cleanly separates fine-grained service policies from traffic management policies SoftCell achieves scalability with 99 Data Plane Control Plane Asymmetric Edge Design Multi-dimensional Aggregation Hierarchical Controller Design Deploy SoftCell in real test bed Exploit multi-stage tables in modern switches – Reduce m×n rules to m+n rules

A Clean-Slate Design: Software-Defined WAN 100 Cellular Networks and Mobile Computing (COMS ) 3/7/14

Current Mobile WANs Organized into rigid and very large regions Minimal interactions among regions Centralized policy enforcement at PGWs Two Regions 101

Mobile WANs Problems Suboptimal routing in large carriers –Lack of sufficiently close PGW is a major cause of path inflation Lack of support for seamless inter-region mobility –Users crossing regions experience service interruption Scalability and reliability –The sheer amount of traffic and centralized policy enforcement Ill-suited to adapt to the rise of new applications –E.g., machine-to-machine –All users’ outgoing traffic traverses a PGW to the Internet, even for reaching a user served by a close base station in a neighbor region 102

SoftMoW Motivation Question: How to make the packet core scalable, simple, and flexible for tens of thousands of base stations and millions of mobile users? Mobile networks should have fully connected core topology, small logical regions, and more egress points Operators should leverage SDN to manage the whole network with a logically-centralized controller: –Directs traffic through efficient network paths that might cross region boundaries –Handles high amount of intra-region signaling load from mobile users –Supports seamless inter-region mobility and optimizes its performance –Performs network-wide application-based such as region optimization 103

SoftMoW Solution Hierarchically builds up a network-wide control plane –Lies in the family of recursive SDN designs (e.g. XBAR, ONS’13) In each level, abstracts both control and data planes and exposes a set of “dynamically-defined” logical components to the control plane of the level above. –Virtual Base stations (VBS), Gigantic Switches (GS), and Virtual Middleboxes (VMB) 104 Core Net GS Latency Matrix Radio Net VBS Union of Coverage Policy VMB Sum of capacities

New Dynamic Feature: In each level, the control logic can modify its logical components for optimization purposes –E.g., merge/spilt and move operations 105 SoftMoW Solution Move and Split Merge/Split

First Level-SoftMoW Architecture Replace inflexible and expensive hardware devices (i.e., PGW, SGW) with SDN switches Perform distributed policy enforcement using middle-box instances Partition the network into independent and dynamic logical regions A child controller manages the data plane of each regions Bootstrapping phase: based on location and processing capabilities of child controllers Bootstrapping phase: based on location and processing capabilities of child controllers 106

Second Level-SoftMoW Architecture A parent runs a global link discovery protocol –Inter-region links are not detected by BDDP and LLDP A parent participates in the inter-domain routing protocol A parent builds virtual middlebox chains and egress- point policies, and dictates to GSs 107

Hierarchical Traffic Engineering Latency (P1,E2)=300 Latency (P1,E4)=100 Web Voice GS Rules 108 A parent pushes a global label into each traffic group Child controllers perform label swapping o Ingress point: pop the global label and push some local labels for intra-region paths o Egress point: pop the local labels and push back the global label Push W Pop W Push W Push W2 Push W1 Pop W2 Pop W Pop W1

Time-of-day Handover Optimization Handover graph 109 Q: How can an operator reduce inter-region handovers in peak hours? Abstraction update GS Rule: Move Border VBS 1 coordination

Conclusion SoftMoW: Brings both simplicity and scalability to the control plane of very large cellular networks – decouples control and data planes at multiple levels ( focused only on two levels here) Makes the deployment and design of network- wide applications feasible – E.g., seamless inter-region mobility, time-of-day handover optimization, region optimization, and traffic engineering 110

Summary Mobile computing depends on cellular networks Cellular network performance still far from meeting demands of mobile computing Cellular network architecture is evolving to meet demands of mobile computing – SDN and NFV AT&T’s domain 2.0 3/7/14Cellular Networks and Mobile Computing (COMS ) 111