Carsten Bormann – Universität Bremen TZI

Slides:



Advertisements
Similar presentations
Congestion Control and Fairness Models Nick Feamster CS 4251 Computer Networking II Spring 2008.
Advertisements

Low-Power Interoperability for the IPv6 Internet of Things Presenter - Bob Kinicki Low-Power Interoperability for the IPv6 Internet of Things Adam Dunkels,
1 Transport Protocols & TCP CSE 3213 Fall April 2015.
Guide to TCP/IP, Third Edition
NET0183 Networks and Communications Lecture 28 TCP: a transport layer protocol... the story continues... Sagan halda áfram 8/25/20091 NET0183 Networks.
Cloud Control with Distributed Rate Limiting Raghaven et all Presented by: Brian Card CS Fall Kinicki 1.
Doc.: IEEE /0604r1 Submission May 2014 Slide 1 Modeling and Evaluating Variable Bit rate Video Steaming for ax Date: Authors:
Improving TCP Performance over Mobile Ad Hoc Networks by Exploiting Cross- Layer Information Awareness Xin Yu Department Of Computer Science New York University,
1 End to End Bandwidth Estimation in TCP to improve Wireless Link Utilization S. Mascolo, A.Grieco, G.Pau, M.Gerla, C.Casetti Presented by Abhijit Pandey.
Advanced Computer Networking Congestion Control for High Bandwidth-Delay Product Environments (XCP Algorithm) 1.
6/3/ Improving TCP Performance over Mobile Ad Hoc Networks by Exploiting Cross-Layer Information Awareness CS495 – Spring 2005 Northwestern University.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6600: Internet Protocols Informal Quiz #07 Shivkumar Kalyanaraman: GOOGLE: “Shiv RPI”
Vijay Vasudevan, Amar Phanishayee, Hiral Shah, Elie Krevat David Andersen, Greg Ganger, Garth Gibson, Brian Mueller* Carnegie Mellon University, *Panasas.
Leveraging IP for Sensor Network Deployment Simon Duquennoy, Niklas Wirstrom, Nicolas Tsiftes, Adam Dunkels Swedish Institute of Computer Science Presenter.
18 Nov 2009 TCP VEGAS Mohammad AlKurbi CMPT – 771: Internet Architecture and Protocols.
AQM for Congestion Control1 A Study of Active Queue Management for Congestion Control Victor Firoiu Marty Borden.
End-to-End TCP-Friendly Streaming Protocol and Bit Allocation for Scalable Video Over Wireless Internet Fan Yang, Qian Zhang, Wenwu Zhu, and Ya-Qin Zhang.
Re-routing Instability in IEEE Multi-hop Ad-hoc Networks Ping Chung Ng and Soung Chang Liew The 4th IEEE International Workshop on Wireless Local.
Low Delay Marking for TCP in Wireless Ad Hoc Networks Choong-Soo Lee, Mingzhe Li Emmanuel Agu, Mark Claypool, Robert Kinicki Worcester Polytechnic Institute.
1 Experiment And Analysis of Dynamic TCP Acknowledgement Daeseob Lim Sam Lai Wing-Ho Gordon Wong.
1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.
Medium Start in TCP-Friendly Rate Control Protocol CS 217 Class Project Spring 04 Peter Leong & Michael Welch.
Adaptive Self-Configuring Sensor Network Topologies ns-2 simulation & performance analysis Zhenghua Fu Ben Greenstein Petros Zerfos.
A Transmission Control Scheme for Media Access in Sensor Networks Alec Woo, David Culler (University of California, Berkeley) Special thanks to Wei Ye.
Low-Rate TCP Denial of Service Defense Johnny Tsao Petros Efstathopoulos Tutor: Guang Yang UCLA 2003.
MAC Layer Protocols for Sensor Networks Leonardo Leiria Fernandes.
Junxian Huang 1 Feng Qian 2 Yihua Guo 1 Yuanyuan Zhou 1 Qiang Xu 1 Z. Morley Mao 1 Subhabrata Sen 2 Oliver Spatscheck 2 1 University of Michigan 2 AT&T.
COMT 4291 Communications Protocols and TCP/IP COMT 429.
CS 4396 Computer Networks Lab
An End-to-end Approach to Increase TCP Throughput Over Ad-hoc Networks Sarah Sharafkandi and Naceur Malouch.
Performance Evaluation of L3 Transport Protocols for IEEE (2 nd round) Richard Rouil, Nada Golmie and David Griffith National Institute of Standards.
Understanding the Performance of TCP Pacing Amit Aggarwal, Stefan Savage, Thomas Anderson Department of Computer Science and Engineering University of.
B 李奕德.  Abstract  Intro  ECN in DCTCP  TDCTCP  Performance evaluation  conclusion.
CA-RTO: A Contention- Adaptive Retransmission Timeout I. Psaras, V. Tsaoussidis, L. Mamatas Demokritos University of Thrace, Xanthi, Greece This study.
U Innsbruck Informatik - 1 CADPC/PTP in a nutshell Michael Welzl
1 TCP III - Error Control TCP Error Control. 2 ARQ Error Control Two types of errors: –Lost packets –Damaged packets Most Error Control techniques are.
An OLSR implementation, experience, and future design issues.
Versatile Low Power Media Access for Wireless Sensor Networks Sarat Chandra Subramaniam.
Performance Analysis of IEEE Distributed Coordination Function (DCF) Author : Giuseppe Bianchi Presented by: 李政修 December 23, 2003.
Deadline-based Resource Management for Information- Centric Networks Somaya Arianfar, Pasi Sarolahti, Jörg Ott Aalto University, Department of Communications.
CS640: Introduction to Computer Networks Aditya Akella Lecture 15 TCP – III Reliability and Implementation Issues.
Computer Networking Lecture 18 – More TCP & Congestion Control.
TCP: Transmission Control Protocol Part II : Protocol Mechanisms Computer Network System Sirak Kaewjamnong Semester 1st, 2004.
1 CS 4396 Computer Networks Lab TCP – Part II. 2 Flow Control Congestion Control Retransmission Timeout TCP:
1 SIGCOMM ’ 03 Low-Rate TCP-Targeted Denial of Service Attacks A. Kuzmanovic and E. W. Knightly Rice University Reviewed by Haoyu Song 9/25/2003.
Energy Efficient Implementation of IETF Constrained Protocol Suite draft-ietf-lwig-energy-efficient-01 Z. Cao, C. Gomez, M. Kovatsch, H. Tian, X. He Carles.
The Macroscopic behavior of the TCP Congestion Avoidance Algorithm.
Internet of Things Fall 2015
Development of a QoE Model Himadeepa Karlapudi 03/07/03.
Murari Sridharan Windows TCP/IP Networking, Microsoft Corp. (Collaborators: Kun Tan, Jingmin Song, MSRA & Qian Zhang, HKUST)
-Mayukh, clemson university1 Project Overview Study of Tfrc Verification, Analysis and Development Verification : Experiments. Analysis : Check for short.
Transport Layer3-1 Transport Layer If you are going through Hell Keep going.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
Performance Evaluation of L3 Transport Protocols for IEEE (2 nd round) Richard Rouil, Nada Golmie, and David Griffith National Institute of Standards.
Performance Comparison of Ad Hoc Network Routing Protocols Presented by Venkata Suresh Tamminiedi Computer Science Department Georgia State University.
Performance Evaluation of L3 Transport Protocols for IEEE Richard Rouil, Nada Golmie and David Griffith National Institute of Standards and Technology.
Low-Power Interoperability for the IPv6 Internet of Things Presenter - Bob Kinicki Low-Power Interoperability for the IPv6 Internet of Things Adam Dunkels,
TCP - Part II.
Carles Gomez Universitat Politècnica de Catalunya (UPC)/Fundació i2cat
Transmission Control Protocol (TCP) Retransmission and Time-Out
Carles Gomez, S. M. Darroudi
MACAW: A Media Access Protocol for Wireless LAN’s
Carles Gomez, Josep Paradells
Improving Packet Delivery Performance of Publish/Subscribe Protocols in Wireless Sensor Networks Sensors 2013, Volume 13, Issue 1 Presenter:
TCP in Mobile Ad-hoc Networks
Carles Gomez, Josep Paradells
Carles Gomez Universitat Politècnica de Catalunya Jon Crowcroft
Chapter 17. Transport Protocols
TCP III - Error Control TCP Error Control.
TCP: Transmission Control Protocol Part II : Protocol Mechanisms
Presentation transcript:

CoAP Simple Congestion Control/Advanced (CoCoA) draft-bormann-core-cocoa-02 Carsten Bormann – Universität Bremen TZI cabo@tzi.org August Betzler, Carles Gomez, Ilker Demirkol Universitat Politècnica de Catalunya (UPC)/Fundació i2cat carlesgo@entel.upc.edu UPC members have been partly supported by the Spanish Government through project TEC2012-32531, and FEDER IETF 92 – Dallas, March 2015

Context (I) Constrained Application Protocol (CoAP) RFC 7252 Lightweight, efficient protocol For constrained node networks Over UDP Messages Confirmable (CON) Non-confirmable (NON)

Context (II) Default CoAP congestion control for CONs CoCoA RTO chosen from a fixed interval: [2, 3] s Binary Exponential Backoff (BEB) Outstanding interactions to a destination = 1 CoCoA Simple mechanism for advanced congestion control Using RTT measurements for CONs Rules for NONs

CoCoA: RTO calculation (I) Strong and weak RTTs Weak RTTs: retransmissions have been required RTO estimator Input from weak and strong RTO estimators RTOoverall is evolved from the estimator that made the most recent contribution RTOweak  SRTTweak + 1*RTTVARweak Weak RTTs: to increase the chances of getting at least some RTT samples in the presence of errors RTOoverall RTOstrong  SRTTstrong + 4*RTTVARstrong (RFC 6298)

CoCoA: RTO calculation (II) Reduced RTOweak contribution: RTOoverall := 0.25*RTOweak + 0.75*RTOoverall RTOoverall := 0.5*RTOstrong + 0.5*RTOoverall Only responses obtained before the 3rd retransmission update RTOweak RTOoverall is dithered

CoCoA: Variable Backoff Factor Goals Avoid too quick retries for low RTO values Could contribute to congestion Reduce too slow retries for large RTO values Could lead to unnecessary delay increase Definition RTO < 1 s  VBF = 3 1 ≤ RTO ≤ 3 s  VBF = 2 RTO > 3 s  VBF = 1.5

CoCoA: RTO aging High RTO values Low RTO values If RTO > 3 s, and not updated for 4*RTO , then RTO = 1 + 0.5*RTO Converge towards default RTO values Low RTO values If RTO < 1 s, and not updated for 16*RTO , then RTO = 2*RTO

Running code cocoa-02 has been implemented for Californium (Cf) CoAP implementation for unconstrained platforms Optional CongestionControlLayer Californium with CoCoA is publicly available https://github.com/eclipse/californium cf-cocoa example org.eclipse.californium.core.network.stack.congestioncontrol CoCoA implementation for Erbium (Er) is underway Erbium: official CoAP implementation for Contiki OS

Evaluation: scenarios and results Simulation of IEEE 802.15.4 networks With/without reliability, NullRDC/ContikiMAC Various topologies Real experiments GPRS scenario 802.15.4 scenario Note: for details, please refer to published/upcoming papers or ask the authors Ethernet GPRS link Cf CoAP Cf CoAP Mention that other researchers have recently started to evaluate CoCoA as well Ethernet Er CoAP FlockLab testbed

Considered RTO algorithms Default CoAP Insensitive to RTT CoCoA CoCoA-S Strong only Basic RTO RTO randomly chosen from [last_RTT, 1.5*last_RTT] Also uses weak RTTs Linux RTO Reduces contribution of variance to the RTO when RTT decreases Avoids RFC 2988 RTO getting too close to the RTT Peak-Hopper RTO Short history and long history estimator Maximum of the two estimators Linux RTO: - MDEV variable: very low weight when RTTVAR changes due to RTT drop (avoid large RTO increase) - RTTVAR is set to the maximum of MDEV values in the last RTT (to avoid RTO too close to the RTT) Peak-hopper: - When there is an RTT peak, the short history dominates and PH hops the RTO quickly to a higher value - When RTT decreases or there is not much variance, long history dominates (factored by a decay) and avoids RTO too close to the RTT

Successful exchanges per time unit GPRS and 802.15.4 scenario New CON sent once the previous one is ACKed I repeated 3 minutes experiments around 10-20 times per config. 11

Initial RTO GPRS scenario New CON sent once the previous one is ACKed I repeated 3 minutes experiments around 10-20 times per config.

Retry ratio GPRS scenario New CON sent once the previous one is ACKed 1226% 283% 278% I repeated 3 minutes experiments around 10-20 times per config.

Fairness 802.15.4 scenario Fairness index RFC 5166 CoCoA does not degrade fairness Variable Backoff Factor Use of weak RTTs

Settling time GPRS scenario Time to serve 80% of the requests in a burst

Settling time 802.15.4 scenario Time to serve 80% of the requests in a burst TCP-oriented RTO algorithms underperform

Observations (I) CoCoA performs similarly to or better than default CoAP Good use of RTT samples Throughput increase, settling time decrease Fairness not degraded Underperformance not observed CoCoA-S Often good performance in congested scenarios (vs default CoAP) But high number of retries in low congestion scenario! A bit less conservative than CoCoA No weak RTTs/RTO

Not adapted to IoT scenarios Observations (II) Too simplistic RTT-sensitive approaches underperform default CoAP Basic RTO considers only the last RTT sample Not enough safety margin (RTO vs actual RTT) Huge amount of (too early) retries TCP-oriented RTO algorithms underperform default CoAP in some aspects/scenarios: Weak RTT updates are missed A problem when losses take place Settling time (802.15.4) Fairness (802.15.4) Dithering Contribution of RTT drop to the RTO Linux and PH try to minimize/avoid RTO growth when RTT decreases (due to RTTVAR increase) CoCoA does not avoid RTO increase (maybe if there has been a drop it is likely to get back to a past situation?) I think this is particularly good for a dynamic environment (wireless, etc.) Weak RTTs How does Linux deal with weak RTTs / Karn algorithm? Only strong. PH applies Karn’s algorithm, and therefore does not consider weak RTTs, right? Only strong. Dithering Linux, PH do *not* apply dithering Not adapted to IoT scenarios

Memory considerations RAM requirements Per client role   RAM (bytes) Default CoAP 2 CoCoA 29 CoCoA-S 19 Basic RTO Linux RTO 21 Peak-Hopper RTO 43

Checklist (1/2) draft-bormann-core-cc-qq-00 Algorithm for general use? Does it protect the network? Compared with default CoAP Regardless of lower layer mechanisms Stable? Synchronization avoided by using dithering Hint on granularity missing RTT history length RFC 6298 behavior and modifications analyzed Scalable? Tested/simulated for networks up to ~ 50 nodes

Checklist (2/2) draft-bormann-core-cc-qq-00 Range? Scope? Higher offered loads needed Low RTT / High RTT evaluated Single-hop / multihop networks evaluated Scope? Possible to consider different destination scopes Aggregate congestion behavior Good performance? Yes (so far…) Fairness? Self-fair Fair with TCP Evaluation quality? Additional security considerations? TBD

Call to Action Please implement cocoa-02 Is the draft specification clear? Please experiment with cocoa-02 Performance issues? Improvement possibilities? Can the checklist be covered? Please provide feedback

References Details can be found in published and upcoming papers: A. Betzler, C. Gomez, I. Demirkol, J. Paradells, "Congestion Control in Reliable CoAP Communication", MSWIM'13, Barcelona, Spain, Nov. 2013. A. Betzler, C. Gomez, I. Demirkol, M. Kovatsch, "Congestion Control for CoAP cloud services", 8th International Workshop on Service-Oriented Cyber-Physical Systems in Converging Networked Environments (SOCNE) 2014, Barcelona, Spain, Sept. 2014. Two more papers under review Or you may contact the authors! cocoa-00 cocoa-02