Transport layer.

Slides:



Advertisements
Similar presentations
1 SpaceWire Update NASA GSFC November 25, GSFC SpaceWire Status New Link core with split clock domains complete (Much faster) New Router core.
Advertisements

Transmission Control Protocol (TCP)
1 Chapter 3 TCP and IP. Chapter 3 TCP and IP 2 Introduction Transmission Control Protocol (TCP) Transmission Control Protocol (TCP) User Datagram Protocol.
Improving TCP Performance over Mobile Ad Hoc Networks by Exploiting Cross- Layer Information Awareness Xin Yu Department Of Computer Science New York University,
1-1 CMPE 259 Sensor Networks Katia Obraczka Winter 2005 Transport Protocols.
DTNLite: Reliable Data Delivery in Sensornets Rabin Patra and Sergiu Nedevschi UCB Nest Retreat 2004.
1 TCP Transport Control Protocol Reliable In-order delivery Flow control Responds to congestion “Nice” Protocol.
1-1 CMPE 259 Sensor Networks Katia Obraczka Winter 2005 Transport Protocols II.
1-1 Transport Layer. 1-2 Motivation  What is expected out of a transport protocol for sensor networks ? Reliability, QoS (e.g., delay guarantees, priority.
Transport Protocol in Wireless Sensor Networks. Motivation  What is expected out of a “transport” protocol for sensor networks ? Reliability, congestion.
Unlocking the demo…. Jason Hill. Data Aggregation  Reduce network bandwidth requirements by aggregating data close to the source.  Two types aggregation:
FBRT: A Feedback-Based Reliable Transport Protocol for Wireless Sensor Networks Yangfan Zhou November, 2004 Supervisors: Dr. Michael Lyu and Dr. Jiangchuan.
Error Checking continued. Network Layers in Action Each layer in the OSI Model will add header information that pertains to that specific protocol. On.
ICMP (Internet Control Message Protocol) Computer Networks By: Saeedeh Zahmatkesh spring.
CIS 725 Wireless networks. Low bandwidth High error rates.
Sharing the Network It slices, it dices, it sequences ….. All of this and error checking too!
ESRT: Event to Sink Reliable Transport in Sensor Networks Yogesh S., O. Akan, I. Akyildiz (GaTech) ECE 256 Spring 2009.
COP 4930 Computer Network Projects Summer C 2004 Prof. Roy B. Levow Lecture 3.
Chapter 5 Peer-to-Peer Protocols and Data Link Layer PART I: Peer-to-Peer Protocols ARQ Protocols and Reliable Data Transfer Flow Control.
1 Computer Communication & Networks Lecture 21 Network Layer: Delivery, Forwarding, Routing Waleed.
CSC 600 Internetworking with TCP/IP Unit 5: IP, IP Routing, and ICMP (ch. 7, ch. 8, ch. 9, ch. 10) Dr. Cheer-Sun Yang Spring 2001.
TCP OVER ADHOC NETWORK. TCP Basics TCP (Transmission Control Protocol) was designed to provide reliable end-to-end delivery of data over unreliable networks.
Transmission Control Protocol (TCP) TCP Flow Control and Congestion Control CS 60008: Internet Architecture and Protocols Department of CSE, IIT Kharagpur.
Network Models. 2.1 what is the Protocol? A protocol defines the rules that both the sender and receiver and all intermediate devices need to follow,
1 Wireless Networks Lecture 37 Transport Protocols/Security in WSN Part IV Dr. Ghalib A. Shah.
Airmail: A Link-layer Protocol for Wireless Networks
MAC Protocols for Sensor Networks
Congestion Control in Data Networks and Internets
Chapter 9: Transport Layer
Computer Communication & Networks
Fast Retransmit For sliding windows flow control we waited for a timer to expire before beginning retransmission of a packet TCP uses an additional mechanism.
Instructor Materials Chapter 9: Transport Layer
Process-to-Process Delivery, TCP and UDP protocols
Wireless Sensor Network Architectures
PART 5 Transport Layer Computer Networks.
6 Transport Layer Computer Networks Tutun Juhana
Ad hoc and Sensor Networks Chapter 13a: Protocols for dependable data transport Holger Karl Note: This chapter is missing a section on transport protocols.
Magda El Zarki Professor, ICS UC, Irvine
Ad-hoc Transport Layer Protocol (ATCP)
Encapsulation/Decapsulation
Introduction of Transport Protocols
Transport Layer Unit 5.
Mobile and Wireless Networking
William Stallings Data and Computer Communications
Data Link Layer as a Reliable Data Transport Protocol
Chapter 20 Network Layer: Internet Protocol
Chapter 5 Peer-to-Peer Protocols and Data Link Layer
Tarun Banka Department of Computer Science Colorado State University
Congestion Control (from Chapter 05)
Viet Nguyen Jianqing Liu Yaqin Tang
Congestion Control (from Chapter 05)
Chapter 15. Internet Protocol
Chapter 17. Transport Protocols
Chapter 11. Frame Relay Background Frame Relay Protocol Architecture
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Transport Protocols: TCP Segments, Flow control and Connection Setup
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Hongchao Zhou, Xiaohong Guan, Chengjie Wu
Chapter 5 Peer-to-Peer Protocols and Data Link Layer
Lecture 4 Peer-to-Peer Protocols and Data Link Layer
Congestion Control (from Chapter 05)
Transport Protocols: TCP Segments, Flow control and Connection Setup
Process-to-Process Delivery: UDP, TCP
Congestion Control (from Chapter 05)
Routing in Mobile Wireless Networks Neil Tang 11/14/2008
Error Checking continued
Transport Layer 9/22/2019.
By Pramit Choudhary, Balaji Raao & Ravindra Bhanot
Presentation transcript:

Transport layer

Classical transport layer End-to-end Reliability retransmission Flow control vs Congestion control

Transport layer in sensor network Multi-hop “data-centric” transport service No endpoint address but group or cluster 1->N (downlink): controlled broadcast M->1 (uplink): data aggregation/processing Cooperative/collective paradigm Not competitive

Sensor network: traditional viewpoint Sources to sink communications Occasional loss is OK

New viewpoint Sink to sources communications Occasional loss is disastrous

Reliability in Sensor networks When reliability is required Sink to sources Reprogramming: binary Reconfiguration: script Lightweight

Pump slowly, fetch quickly (PSFQ) Customizable transport protocol Different application needs Ensure delivery with minimum requirements on routing infrastructure Minimum signaling traffic High error rate

How PSFQ? Source paces data slowly (PS) When sink detects message loss, quickly performs local recovery (FQ) Detection: sequence number Negative ACK Assumption: message loss is due to link error rather than congestion

PSFQ Negative ACK Hop by hop error recovery Packet loss rate: p Src and sink are n hops away Successful e2e delivery: (1-p)^n

E2e success rate

If multiple reXmission

Multi-modal operations Localize the loss event Store-and-forward approach

Multi-model operations Packet-forwarding mode Low error rate Store-and-forward mode High error rate

PSFQ: 3 functions Pump: message relaying Inject message File Id, file length, sequence number, TTL From user node to every sensor node Re-tasking (broadcasting) Fetch: relay-initiated error recovery Report: selective status reporting Reference application

pump User node broadcasts a packet every Tmin until all data segments are sent out Tmin is for local recovery Neighbors receive each segment and decrement TTL by 1 If TTL > 0 && no gap in sequence number, PSFQ sets a schedule (Tmin..Tmax) to forward the message If PSFQ heard the same message 4 times, schedule is canceled Tmax can be used to provide a loose statistical delay bound (e2e) Delay = Tmax * number of hops * number of fragments

fetch NACK message Loss aggregation Fetch timer Proactive fetch File id, file length, loss window Loss aggregation Window of lost packets Bursty loss is possible Fetch timer NACK at every timer expiration Only one-hop broadcasting Proactive fetch If next packet is not delivered after Tpro

Report From target node to user node Report message Header: the relaying node id Payload: a chain of node Ids and seq. numbers Source node will trigger by setting report bit in TTL field The last hop (final destination) will initiate this reporting What if no space to append more info? Create new message and send it first before relaying the old one

ESRT: Event-to-sink Reliable Transport

Problem definition For reliable temporal tracking, the sink must decide on the event every t units The sink derives a reliability metric r_i at every decision interval i Def1: the observed event reliability, r_i is the number of received data packets in decision interval i at the sink Def2: the desired event reliability, R is the number of data packets required for reliable event detection If r_i > R, the event is deemed to be reliably detected f: reporting rate

r vs f n: the number of source nodes CSMA-CA DSR

5 regions  = r/R, a normalized reliability

ESRT ESRT identifies the current state S_i For each interval i: _i, f_i A congestion detection mechanism ESRT derives a new _(i+1) and calculates the updated f_(i+1) for interval i+1 and determines the next state S_(i+1)

NC, LR Failure, power down of some nodes Packet loss due to link errors f_(i+1) = f_i / _i Multiplicative increase

NC, HR Reliability is overly achieved f_(i+1) = f_i * (1 + 1/_i)/2 Multiplicative Half the slope

C, HR Decrease reporting frequency Energy saving f_(i+1) = f_i / _i Multiplicative decrease

C, LR Worst state Aggressively decrease k: the number of decision intervals with state (C, LR) including this interval so, k >= 1

OOR Frequency is left unchanged f_(i+1) = f_i

Congestion detection Local buffer level monitoring Congestion indication condition Set the CN bit in the packet header

Open issue? End-to-end reliability is r arrival over R generation What if intermediate nodes know this context? Number of hops A intermediate node receives some packets (between r and R) Does it have to request retransmission?

CODA: congestion detection and avoidance

Congestion detection Buffer queue length Channel loading sampling Report rate/fidelity measurement

CODA design Open-loop hop-by-hop backpressure Receiver-based detection Minimum cost sampling Suppression message Closed-loop multi-source regulation Source sets regulate bit at the event packets ACK packets from the sink