1 Porting VoIP Applications to DCCP Speaker: Jia-Yu Wang Adviser: Quincy Wu School: National Chi Nan University.

Slides:



Advertisements
Similar presentations
Camarillo / Schulzrinne / Kantola November 26th, 2001 SIP over SCTP performance analysis
Advertisements

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 2 TCP/IP Fundamentals.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSI Transport Layer Network Fundamentals – Chapter 4.
Chapter 7: Transport Layer
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking Assist. Prof.
Lecture 7 Transport Layer
Winter 2008CS244a Handout #61 CS244a: An Introduction to Computer Networks Handout 6: The Transport Layer, Transmission Control Protocol (TCP), and User.
Application Layer 2-1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Application Layer – Lecture.
Chapter 3: Transport Layer
School of Information Technologies Revision NETS3303/3603 Week 13.
A Pragmatic Approach towards the Improvement of Performance of Ad Hoc Routing Protocols Designing DCCP: Congestion Control Without Reliability CS595F (Fall.
Transport Layer3-1 Transport Layer Our goals: r understand principles behind transport layer services: m multiplexing/demultipl exing m reliable data transfer.
Lecture 8 Chapter 3 Transport Layer
Real-time traffic Dr. Abdulaziz Almulhem. Almulhem©20012 Agenda RT traffic characteristic RT traffic profiles RT traffic requirements RT Architecture.
Reliable Networking Systems The goals: Implement a reliable network application of a file sharing network. Implement a reliable network application of.
DCP: Datagram Control Protocol Tim Sohn and Eiman Zolfaghari March 11, 2002.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Transport Protocols Slide 1 Transport Protocols.
1 Ch. 7 : Internet Transport Protocols. Transport Layer Our goals: r understand principles behind transport layer services: m Multiplexing / demultiplexing.
Some slides are in courtesy of J. Kurose and K. Ross Review of Previous Lecture Electronic Mail: SMTP, POP3, IMAP DNS Socket programming with TCP.
Datagram Congestion Control Protocol Timothy Sohn Eiman Zolfaghari CS268 Project May 15, 2002.
1 Computer Networks Transport Layer Protocols. 2 Application-layer Protocols Application-layer protocols –one “piece” of an app –define messages exchanged.
8-1 Transport Layer Our goals: r understand principles behind transport layer services: m multiplexing/demultipl exing m reliable data transfer m flow.
Process-to-Process Delivery:
Communications Recap Duncan Smeed. Introduction 1-2 Chapter 1: Introduction Our goal: get “feel” and terminology more depth, detail later in course.
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.
Application Layer 2-1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012.
1 TAC2000/ IP Telephony Lab IP Telephony (Voice over IP) Associate Professor Quincy Wu Graduate Institute of Communication.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking.
What makes a network good? Ch 2.1: Principles of Network Apps 2: Application Layer1.
Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing.
Data Communications and Computer Networks Chapter 3 CS 3830 Lecture 12 Omar Meqdadi Department of Computer Science and Software Engineering University.
TCP/IP Protocol Suite 1 Chapter 25 Upon completion you will be able to: Multimedia Know the characteristics of the 3 types of services Understand the methods.
University of the Western Cape Chapter 12: The Transport Layer.
Sockets process sends/receives messages to/from its socket
Datagram Congestion Control Protocol
11 TRANSPORT LAYER PROTOCOLS Chapter 6 TCP and UDP SPX and NCP.
Fall 2005 By: H. Veisi Computer networks course Olum-fonoon Babol Chapter 6 The Transport Layer.
1 Transport Layer Lecture 7 Imran Ahmed University of Management & Technology.
Lecture91 Administrative Things r Return homework # 1 r Review some problems in homework # 1 r Questions about grading? Yona r WebCT for CSE245 is working!
1 End-user Protocols, Services and QoS. 2 Layering: logical communication application transport network link physical application transport network link.
Transport Layer COM211 Communications and Networks CDA College Theodoros Christophides
Application Layer 2-1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012.
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.
RTP – Real-time Transport Protocol Elbert Tsay, Brad Bargabus, Patrick Lim, Henry Quach The Five Packeteers (minus 1  )
Selective Retransmission of MPEG Video Streams over IP Networks Árpád Huszák, Sándor Imre Budapest University of Technology and Economics Department of.
Network and the internet Part eight Introduction to computer, 2nd semester, 2009/2010 Mr.Nael Aburas Faculty of Information.
Advanced UNIX programming Fall 2002, lecture 16 Instructor: Ashok Srinivasan Acknowledgements: The syllabus and power point presentations are modified.
TCP/IP Protocol Suite 1 Chapter 25 Upon completion you will be able to: Multimedia Know the characteristics of the 3 types of services Understand the methods.
Teacher:Quincy Wu Presented by: Ying-Neng Hseih
Transport Protocols.
3/10/2016 Subject Name: Computer Networks - II Subject Code: 10CS64 Prepared By: Madhuleena Das Department: Computer Science & Engineering Date :
Transport Layer3-1 Chapter 3: Transport Layer Our goals: r understand principles behind transport layer services: m multiplexing/demultipl exing m reliable.
Java’s networking capabilities are declared by the classes and interfaces of package java.net, through which Java offers stream-based communications that.
Introduction 1-1 source application transport network link physical HtHt HnHn M segment HtHt datagram destination application transport network link physical.
Cisco I Introduction to Networks Semester 1 Chapter 7 JEOPADY.
2: Transport Layer 11 Transport Layer 1. 2: Transport Layer 12 Part 2: Transport Layer Chapter goals: r understand principles behind transport layer services:
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
Long-haul Transport Protocols
Introduction to Networks
Chapter 2 Introduction Application Requirements VS. Transport Services
Process-to-Process Delivery:
Process-to-process delivery UDP TCP SCTP
Process-to-Process Delivery: UDP, TCP
Presentation transcript:

1 Porting VoIP Applications to DCCP Speaker: Jia-Yu Wang Adviser: Quincy Wu School: National Chi Nan University

2 Outline Introduction Linphone  The architecture of Linphone  Linphone original Function call  Porting Linphone to DCCP  Implementing DCCP Function call Implementation Conclusion Reference

3 Introduction Datagram Congestion Control Protocol (RFC 4340) TCPUDPDCCP ReliableYesNo Connection-OrientedYesNoYes Congestion ControlYesNoYes Sequence NumberYesNoYes

4 Introduction (Cont.) Unreliable  No re-transmissions Reliable handshakes for connection setup and teardown Modular congestion control  Can detect congestion and take avoiding action  Different algorithms can be selected – CCID TCP-like ( CCID2) TCP Friendly Rate Control ( CCID3) Packet sequence numbers

5 Introduction (Cont.) DCCP Applications  Video streaming  Audio streaming  IP Telephony

6 SIP (Session Initiation Protocol) ClientServer

7 RTP (Real-time Transport Protocol) over DCCP RTP UDP IP Data link layer Physical layer DCCP Network layer Transport layer Application layer

8 DCCP Connection

9 Linphone Linphone is an internet phone Linphone complies to the SIP protocol Linphone is free-software (or open-source), you can download and redistribute it freely

10 The architecture of Linphone

11 Linphone original Function call 1.Create socket and RTP session 2.Set RTP session 3.Receive and Send RTP packets

12 Porting Linphone to DCCP Create 2 RTP Session  DCCP connection is uni-directional Connection-Oriented  Receiver socket need to use Blocking for accept  Receiver socket need to accept the establishment of waiting for sender socket connect Set socket parameters  Socket parameters need to use DCCP protocol

13 Implementing DCCP Function call oRTP/rtpsession_inet.c create_and_bind_recv() SOCK_DCCP=6; SOL_DCCP=269; DCCP_SOCKOPT_PACKET_SIZE=1; DCCP_SOCKOPT_SERVICE=2; IPPROTO_DCCP=33; socket(ai_family, SOCK_DCCP, IPPROTO_DCCP); setsockopt(sock,SOL_DCCP,DCCP_SOCKOPT_PACKET_SIZE, (char*)&pkt_size,sizeof(pkt_size)); setsockopt(sock,SOL_DCCP,DCCP_SOCKOPT_SERVICE,(char*)&pkt_size,sizeof(pkt_size));

14 Implementing DCCP Function call (Cont.)

15 Implementing DCCP Function call (Cont.)

16 Implementation

17 Experimental Result IPERF to generate the TCP flow oRTP to generate DCCP (CCID2) flow and UDP flow Bandwidth : 10Mb/s, Total Time : 30 seconds. Repeating test : 100 TCP7.74 Mbit/s DCCP2.02 Mbit/s TCP0.10 Mbit/s UDP9.66 Mbit/s

18 Conclusion Implementing RTP over DCCP Porting Linphone to DCCP

19 Reference Datagram Congestion Control Protocol (RFC 4340) CCID2-TCP-like Congestion Control (RFC 4341) CCID3-TCP-Friendly Rate Control (TFRC) (RFC4342) RTP and the Datagram Congestion Control Protocol (DCCP)  draft-ietf-dccp-rtp-07.txt draft-ietf-dccp-rtp-07.txt Linphone 