Path Awareness and Selection in the Socket Intents prototype. Theresa Enghardt TU Berlin

Similar documents
Reliable Stream Analysis on the Internet of Things

Multipath QUIC: Design and Evaluation

Control plane requirements for wireless and cellular networks based on SDN

Multipath QUIC: Design and Evaluation

Toward Next-Gen Low Latency Mobile Networks

Improving Reliable Transport and Handoff Performance in Cellular Wireless Networks

DevoFlow: Scaling Flow Management for High Performance Networks

msctp for Vertical Handover Between Heterogeneous Networks

BLEST: Blocking Estimation-based MPTCP Scheduler for Heterogeneous Networks. Simone Ferlin, Ozgu Alay, Olivier Mehani and Roksana Boreli

Recap. TCP connection setup/teardown Sliding window, flow control Retransmission timeouts Fairness, max-min fairness AIMD achieves max-min fairness

Making TCP more Robust against Packet Reordering

How YouTube Performance is Improved in the T-Mobile Network. Jie Hui, Kevin Lau, Ankur Jain, Andreas Terzis, Jeff Smith T Mobile, Google

Developing Multipath TCP. Damon Wischik, Mark Handley, Costin Raiciu

The Measurement Manager Modular End-to-End Measurement Services

Dual-Band VoIP With Walls. Dual-Band VoIP With Walls

Mobile Network Congestion Management

Improving Web QoE: The effect of reducing RTT and Page Load times for subscribers

CSE 473 Introduction to Computer Networks. Final Exam. Your name here: 12/17/2012

A Programming Model for Applicationdefined Multipath TCP Scheduling

Improving Multipath TCP. PhD Thesis - Christoph Paasch

MobilityFirst Future Internet Architecture. Samuel Nelson

Exploring Alternative Routes Using Multipath TCP

PARCEL: Proxy Assisted BRowsing in Cellular networks for Energy and Latency reduction

A Background: Ethernet

Dynamic Traffic Load Balancing Mechanism for SHAKE Architecture

Implementation and Operation of Mobility in WIDE

An In-depth Study of LTE: Effect of Network Protocol and Application Behavior on Performance

CHAPTER 3 GRID MONITORING AND RESOURCE SELECTION

DCCP (Datagram Congestion Control Protocol)

estadium Project Lab 2: Iperf Command

Innovation in Regulation: Broadband Quality monitoring Chanuka Wattegama

EVALUATION OF LTE PERFORMANCE

DNS Survival Guide. Artyom Gavrichenkov

P_HGI02715R02 HYBRID ACCESS. David Thorne, BT TSO HGI CLOSING SYMPOSIUM VENICE, MARCH 2016

An Architecture. What the MEC? for 5G

The State of the Art in Bufferbloat Testing and Reduction on Linux

Accelerating Multipath Transport Through Balanced Subflow Completion

MultiPath TCP : Linux Kernel Implementation

CS 326: Operating Systems. Networking. Lecture 17

Performance and Scalability of WebRTC

An Ant-Based Routing Algorithm to Achieve the Lifetime Bound for Target Tracking Sensor Networks

Student ID: CS457: Computer Networking Date: 3/20/2007 Name:

ETHOS A Generic Ethernet over Sockets Driver for Linux

An In-depth Understanding of Multipath TCP on Mobile Devices: Measurement and System Design

Advanced Network Design

WiZi-Cloud: Application-transparent Dual ZigBee-WiFi Radios for Low Power Internet Access

ECE 697J Advanced Topics in Computer Networks

QPROBE: DETECTING THE BOTTLENECK IN CELLULAR COMMUNICATION

Marooned Magic Numbers An Adaptive Congestion Control Architecture

CIS 632 / EEC 687 Mobile Computing

Design and Implementation of Service Migration

Subset-sum Based Relay Selection for Multipath TCP in Cooperative LTE Networks

Mobile Edge Cloud Services in 5G

Chapter -5 QUALITY OF SERVICE (QOS) PLATFORM DESIGN FOR REAL TIME MULTIMEDIA APPLICATIONS

Advanced Computer Networking. CYBR 230 Jeff Shafer University of the Pacific QUIC

Multi-class Applications for Parallel Usage of a Guaranteed Rate and a Scavenger Service

Introduction to Networking and Systems Measurements

Improving Reliable Transport and Handoff Performance in Cellular Wireless Networks 1

TCP with dynamic FEC For High Delay and Lossy Networks. Simone Ferlin and Ozgu Alay Simula Research Laboratory, Norway

Performance Evaluation of Tcpdump

COMPUTER NETWORK. Homework #3. Due Date: May 22, 2017 in class

Washington State University CptS 455 Sample Final Exam (corrected 12/11/2011 to say open notes) A B C

DeTail Reducing the Tail of Flow Completion Times in Datacenter Networks. David Zats, Tathagata Das, Prashanth Mohan, Dhruba Borthakur, Randy Katz

What s an API? Do we need standardization?

TCP in 5G mmwave Networks: Link Level Retransmissions. and MP-TCP

bitcoin allnet exam review: transport layer TCP basics congestion control project 2 Computer Networks ICS 651

MPTCP Application Considerations. draft-scharf-mptcp-api-00.txt. Michael Scharf Alan Ford

Measuring end-to-end bandwidth with Iperf using Web100

Sense & Sensibility for Wireless Networks. Hari Balakrishnan Department of EECS and CSAIL M.I.T. nms.csail.mit.edu/~hari

Evaluating the Eifel Algorithm for TCP in a GPRS Network

Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 4021: Networks Discussion. Chapter 1.

Measurements of In-Motion Networking

Vertical Handover in Vehicular Ad-hoc Networks A Survey

Use of SCTP for IP Handover Support

Proxy-based TCP-friendly streaming over mobile networks

Network & Device Guide

Delay Controlled Elephant Flow Rerouting in Software Defined Network

Application-defined Multipath TCP Scheduling

Measuring quality of user experience in communication networks

A Hierarquical MEC Architecture: Experimenting the RAVEN Use-Case

Ultra high-speed transmission technology for wide area data movement

An Architecture for Transport Services

Tutorial 8 : Congestion Control

STUDY OF SOCKET PROGRAMMING AND CLIENT SERVER MODEL

5G World Summit London, 30 th June 2016

TCP HACK: TCP Header Checksum Option to improve Performance over Lossy Links

Impact of transmission errors on TCP performance. Outline. Random Errors

CMPE 257: Wireless and Mobile Networking

Virtual University of Pakistan. Describe the Hidden Node and Exposed Node problems in Standard? VUSR. [Larry L. Peterson]

Robust Header Compression (ROHC)

Comparision study of MobileIPv4 and MobileIPv6

TuneInNet Flooding on the Internet Backbone Beispielbild

COMPUTER NETWORK. Homework #3. Due Date: May 22, 2017 in class

BESS: A Virtual Switch Tailored for NFV

Model-based Measurements Of Network Loss

Internet Engineering Task Force (IETF) Request for Comments: ISSN: December 2017

Traffic Characteristics of Bulk Data Transfer using TCP/IP over Gigabit Ethernet

Implementation of cluster control manager for multiple wireless links sharing systems

October 18, This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.

Outline. Internet. Router. Network Model. Internet Protocol (IP) Design Principles

Transcription:

Path Awareness and Selection in the Socket Intents prototype Theresa Enghardt TU Berlin theresa@inet.tu-berlin.de

Scenario: Multiple paths Multiple paths via different access networks Laptop can use WiFi or cellular WiFi usually default, but not always better¹ ¹ Deng et al.: WiFi, LTE, or Both? Measuring Multi-Homed Wireless Internet Performance (2014) Pick the better one? Use both? 2

Socket API Connection 1 Connection 2 Vanilla BSD sockets: Connections look the same No information about paths Path 1 Connection 3 Connection 4 use default path based on system policy Path 2 3

Socket Intents Connection 1 Connection 2 Connection 3 Connection 4 Intents: What the application wants, knows, prefers, or assumes about its traffic (connection or message) What to optimize for Path 1 Path 2 See our draft-tiesel-taps-socketintents 4

Socket Intents Connection 1 Connection 2 Connection 3 Connection 4 Intents: Traffic Category Size to be received Bitrate to send Timeliness Cost preferences Path 1 Path 2 See our draft-tiesel-taps-socketintents 5

Socket Intents Connection 1 Query, 10 KB Connection 2 Connection 3 Connection 1: Traffic Category: Query Size to be Received: 10 KB Path 1 Connection 4 Path 2 See our draft-tiesel-taps-socketintents 6

Socket Intents Connection 1 Query, 10 KB Connection 2 Connection 3 Connection 4 Path property estimates: Median Round Trip Time (RTT) Maximum bitrate WiFi utilization... Path 1 Path 2 7

Socket Intents Connection 1 Query, 10 KB Connection 2 Connection 3 Connection 4 Path 1: LTE RTT = 100 ms Bandwidth = 20 Mbit/s Path 2: WiFi RTT = 10 ms Bandwidth = 2 Mbit/s LTE WiFi 8

Socket Intents Connection 2 Connection 3 Path Selection Policy: Use path with shorter completion time LTE: 200 ms WiFi: 20 ms LTE 100ms, 20 Mbit/s Connection 4 Use WiFi Connection 1 Query, 10 KB WiFi 10ms, 2 Mbit/s 9

Socket Intents Connection 2 Bulk, 500 KB Connection 3 Connection 2: Traffic Category: Bulk Size to be Received: 500 KB LTE 100ms, 20 Mbit/s Connection 4 WiFi 10ms, 2 Mbit/s 10

Socket Intents Connection 3 Path Selection Policy: Use path with shorter completion time LTE: 225 ms WiFi: 450 ms LTE 100ms, 20 Mbit/s Connection 12 Query, Bulk, 500 10 KB Connection 4 Use LTE or both (MPTCP) WiFi 10ms, 2 Mbit/s 11

Socket Intents Prototype 1. Connect Request With Intents 4. Bind to address A, connect Application Socket Intent Library Original Socket Library 2. Which path to use? Multi Access Manager Policy Path 1 Path 2 3. Use Path 1 for this connection, with local address A Socket Intents Library: Augmented Socket API Multi Access Manager: Standalone daemon with policy modules Gathers current performance estimates Chooses path and local address See our draft-tiesel-taps-socketintents-bsdsockets and code https://github.com/fg-inet/socket-intents 12

Paths Multi Access Manager: Application Detects locally configured interfaces with their prefixes and addresses Socket Intent Library Gathers statistics on them passively, based on current and past traffic Original Socket Library Multi Access Manager Policy Path 1 Path 2 Path 1 Path 2 Local prefix a:a:a:a::a/64 1.2.3.4/24 b:b:b:b::b/64 5.6.7.8/24 Minimum RTT 95 ms 105 ms 8 ms 10.5 ms Maximum Bitrate 18.9 Mbit/s 1.8 Mbit/s Utilization N/A 2% 13

Path Bitrate Bitrate per interface Read interface counter every n ms¹ bitrate current = counter current counter prev n bitrate_max: Maximum within the last m minutes² estimate of bandwidth of the path Assumes the bottleneck on each path is within the first few hops ¹ 100 ms works for us ² 5 minutes works for us 14

Path RTT RTT per prefix Linux kernel keeps list of current TCP connections Each TCP connection has a current Smoothed RTT (SRTT) Query SRTTs of all connections over prefix every n ms Compute current mean, median or SRTTs If no current values, retain values for up to m minutes Compute minimum of the last m minutes We expect the first hop or first few hops to dominate latency 15

Radio properties on path For WiFi: Current Received Signal Strength Last observed modulation bitrates Utilization: QBSS Information Element from Beacon frames Other wireless technologies possible, but hard 16

Current and Future Work Show page load time reduction for web browsing More path selection policies More path properties RTT variation Packet loss Information from the network 17

Summary Socket Intents: Application provides hints on Connection (or Message ) We know what to optimize for Path properties: Socket Intents prototype gathers them locally Observed median SRTT, maximum bitrate, WiFi Utilization Path selection: E.g. use Path with shortest expected completion time Other optimization possible, e.g. for cost See our draft-tiesel-taps-socketintents-bsdsockets and code https://github.com/fg-inet/socket-intents 18