SCTP v/s TCP – A Comparison of Transport Protocols for Web Traffic CS740 Project Presentation by N. Gupta, S. Kumar, R. Rajamani.

Slides:



Advertisements
Similar presentations
TCP/IP MODEL Maninder Kaur
Advertisements

Transport Layer3-1 Transport Overview and UDP. Transport Layer3-2 Goals r Understand transport services m Multiplexing and Demultiplexing m Reliable data.
Introduction 1-1 Chapter 3 Transport Layer Intro and Multiplexing Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley.
Camarillo / Schulzrinne / Kantola November 26th, 2001 SIP over SCTP performance analysis
Transmission Control Protocol (TCP)
Chapter 7: Transport Layer
Lecture 7 Transport Layer
TCP/IP Protocol Suite 1 Chapter 13 Upon completion you will be able to: Stream Control Transmission Protocol Be able to name and understand the services.
TCP/IP Protocol Suite 1 Chapter 13 Upon completion you will be able to: Stream Control Transmission Protocol Be able to name and understand the services.
1 Atiquzzaman, “SCTP: State of the art” Oct SCTP: State of the art in Research, Products, and Technical Challenges Mohammed Atiquzzaman School of.
Modeling of Web/TCP Transfer Latency Yujian Peter Li January 22, 2004 M. Sc. Committee: Dr. Carey Williamson Dr. Wayne Eberly Dr. Elena Braverman Department.
Transport Layer 3-1 outline r TCP m segment structure m reliable data transfer m flow control m congestion control.
Computer Communication Digital Communication in the Modern World Transport Layer Multiplexing, UDP
A simulation-based comparative evaluation of transport protocols for SIP Authors: M.Lulling*, J.Vaughan Department of Computer science, University college.
Stream Control Transmission Protocol 網路前瞻技術實驗室 陳旻槿.
Stanford University August 22, 2001 TCP Switching: Exposing Circuits to IP Pablo Molinero-Fernández Nick McKeown Stanford University.
1 Summer Report Reporter : Yi-Cheng Lin Data: 2008/09/02.
EEC-484/584 Computer Networks Lecture 6 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
Gursharan Singh Tatla Transport Layer 16-May
Chapter 16 Stream Control Transmission Protocol (SCTP)
TRANSPORT LAYER T.Najah Al-Subaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
Review: –What is AS? –What is the routing algorithm in BGP? –How does it work? –Where is “policy” reflected in BGP (policy based routing)? –Give examples.
Presentation on Osi & TCP/IP MODEL
1 Semester 2 Module 10 Intermediate TCP/IP Yuda college of business James Chen
Adaptive Failover Mechanism Motivation End-to-end connectivity can suffer during net failures Internet path outage detection and recovery is slow (shown.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking.
CS 3214 Computer Systems Godmar Back Lecture 23. Announcements Project 5 due Dec 8 Exercise 10 handed out Exercise 11 coming before Thanksgiving CS 3214.
Transport Layer 3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Part.
TELE202 Lecture 5 Packet switching in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lectures »C programming »Source: ¥This Lecture »Packet switching in Wide.
1 Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
The Transport Layer application transport network data link physical application transport network data link physical application transport network data.
23.1 Chapter 23 Process-to-Process Delivery: UDP, TCP, and SCTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 End-user Protocols, Services and QoS. 2 Layering: logical communication application transport network link physical application transport network link.
Computer Security Workshops Networking 101. Reasons To Know Networking In Regard to Computer Security To understand the flow of information on the Internet.
Transport Layer COM211 Communications and Networks CDA College Theodoros Christophides
03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Streaming 1.
4.1.4 multi-homing.
Transport Layer 3-1 Chapter 3 Outline r 3.1 Transport-layer services r 3.2 Multiplexing and demultiplexing r 3.3 Connectionless transport: UDP.
Computer Networks23-1 PART 5 Transport Layer. Computer Networks23-2 Position of Transport Layer Responsible for the delivery of a message from one process.
STREAM CONTROL TRANSMISSION PROTOCOL (SCTP)
SCTP: A new networking protocol for super-computing Mohammed Atiquzzaman Shaojian Fu Department of Computer Science University of Oklahoma.
Teacher:Quincy Wu Presented by: Ying-Neng Hseih
Stream Control Transmission Protocol
1 Transport Layer: Basics Outline Intro to transport UDP Congestion control basics.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 16 Stream Control Transmission.
© 2002, Cisco Systems, Inc. All rights reserved..
CSEN 404 Transport Layer I Amr El Mougy Lamia Al Badrawy.
Ch23 Ameera Almasoud 1 Based on Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007.
Chapter 7: Transport Layer
Introduction to Networks
Chapter 9: Transport Layer
Chapter 3 outline 3.1 Transport-layer services
Instructor Materials Chapter 9: Transport Layer
CS 3214 Computer Systems Networking.
4.1.5 multi-homing.
Long-haul Transport Protocols
CS 3214 Computer Systems Networking.
PART 5 Transport Layer Computer Networks.
TCP Transport layer Er. Vikram Dhiman LPU.
SCTP v/s TCP – A Comparison of Transport Protocols for Web Traffic
Introduction to Networks
Process-to-Process Delivery:
Transport Layer Unit 5.
SCTP: Stream Control Transport Protocol
Transport Layer Our goals:
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Stream Control Transmission Protocol (SCTP)
Computer Networks Protocols
Chapter 3 Transport Layer
Transport Layer 9/22/2019.
Presentation transcript:

SCTP v/s TCP – A Comparison of Transport Protocols for Web Traffic CS740 Project Presentation by N. Gupta, S. Kumar, R. Rajamani

Outline Motivation Introduction to SCTP Server Architecture Experimental Design ParametersResultsConclusion

Motivation Many applications need reliable message delivery – they do so by delineating a TCP stream TCP provides both strict-ordering and reliability – many applications may not need both

Motivation (contd) HTTP is one such application –While transferring multiple embedded files we only want Reliable file transfer for each file Partial ordering for the packets of each file but not total ordering amongst all the packets –TCP provides more than this (but overhead?) –SCTP may help (how? – later)

What is SCTP? Originally designed to support PSTN signaling messages over IP Networks It is a reliable transport protocol operating on top of a connectionless packet network such as IP (same level as TCP)

Major Differences from TCP SCTP is message oriented as opposed to being byte stream oriented SCTP has the concept of an association instead of a connection –Each association can have multiple streams SCTP separates reliable transfer of datagrams from the delivery mechanism SCTP supports multihoming Connection Setup

Packet Format

Similarities to TCP Similar Flow Control and Congestion Control Strategies employed –Slow Start and Congestion Avoidance phases –Selective Acknowledgement –Fast Retransmit –Slight differences for supporting multihoming Will allow co-existence of TCP and SCTP [JST 2000]

HTTP Server Architecture Single File Transfer ( Both TCP and SCTP are similar) Client Server Child process Request file Fork child Send file

HTTP Server Architecture Multiple File Transfer (Embedded files) - TCP Client Server Child process Request file 0 Fork child Send file 0 Request file 1..N Send file 1,2,…N

SCTP Packet Format streams

HTTP Server Architecture Multiple Files Transfer (Embedded Files) - SCTP Client Server Child process Request file 0 Fork child Send file 0 – stream 0 Request files 1..N Send file 1 – stream 1 Send file N – stream N

The Scientific Method Observation – HTTP does not require strict-order of delivery, when fetching embedded links. Also, HTTP is message- oriented protocol Hypothesis and Predictions – SCTP provides partially ordered delivery and guarantees reliability. This can reduce user-perceived latency and improve throughput

Hypothesis File 1File 2File 3 1 TCP Receive buffer in kernel ServerClient

Hypothesis File 1File 2File 3 1 SCTP Receive buffer in kernel ServerClient

Experimental Design FreeBSD kernel implementation of SCTP and TCP Reno HTTP 1.1 Server and Client –Similar implementations for TCP/SCTP Dummynet to simulate interconnection network

Our setup ServerClient Dummynet configured with different b/w, delay and loss characteristics

Parameters We observe latencies for single file and multiple file transfers by varying the following parameters –Loss rate (0%, 1%, 2%, 5%, 8%, 10%, 15%, 20%, 25%) –Link Bandwidth (40kbps, 400kbps, 3mbps,10mbps) We keep Latency constant (80ms)

Results

Results

Results

About Errors Loss in this direction 1%

Reason File 2File 3 1 TCP Receive buffer in kernel ServerClient TCP Send buffer in kernel

Reason File 2File 3 1 SCTP Receive buffer in kernel ServerClient SCTP Receive buffer in kernel

Conclusions The current SCTP implementation performs almost as well as TCP when there are no losses – However, there is an extra overhead in sending messages instead of just a stream of bytes SCTP seems to perform better in the presence of losses, because it does not enforce strictly ordered delivery More graphs available at

Implications SCTP can be a viable transport protocol for HTTP traffic, because – –It helps reduce user-perceived latency and also improves throughput –Uses a 4-way handshake and also uses an encrypted cookie, which offer better protection against SYN floods and DoS attacks –Multihoming feature can be exploited to transparently allow mobile users to switch between networks

References [CT90] D. Clark and D. Tennenhouse, Architectural Consideration for a New Generation of Protocols, In Proc. of ACM SIGCOMM '90. RFC 2960 ( [JST 2000] [JST 2000] A. Jungmaier, et. al, Performance Evaluation of the Stream Control Transmission Protocol, In Proc. of the IEEE conference on High Performance Switching and Routing, June 2000.

Acknowledgements Paul Barford Doug Thain Jim Gast, Joel Sommers, Winfred Byrd, CSL Randall Stewart, Jon Grimm, La Monte Henry Piggy Yarroll

Questions?

Server Architecture Single File Transfer –Server forks a child process for each request –Child parses the request and sends the requested file or an appropriate error message –Similar for both TCP and SCTP

Server Architecture contd. Server Architecture contd. Multiple File Transfer (embedded files) –TCP Child process at server parses the request and sends the requested file Client parses the received file and sends the requests for embedded files Child process at server receives these requests and sends the files one after other using persistent connection

Server Architecture contd. Multiple files transfer (embedded files) –SCTP Child process at server parses the request and sends the requested file Client parses the received file and sends requests for embedded files Child process at server receives the requests and sends the files on different streams within the same association –Major difference from TCP

Server Architecture Single File Transfer ( Both TCP and SCTP are similar) Client Server Child process request Fork child response