R i iti S ft St t A h t Revisiting a Soft-State Approach to Managing Reliable Transport Connections
Gonca Gursun, Ibrahim Matta, Karim Mattar Computer Science Boston U.
1
R Revisiting a Soft-State Approach to i iti S ft St t A h t - - PowerPoint PPT Presentation
R Revisiting a Soft-State Approach to i iti S ft St t A h t Managing Reliable Transport Connections Gonca Gursun, Ibrahim Matta , Karim Mattar Computer Science Boston U. 1 Ad-Hoc Wireless Network Whats wrong with Laptop today s
1
Ad-Hoc Wireless Network
Laptop PDA
Wireless Mesh Backbone Internet
PDA Cell phone
Mesh router with gateway
VoIP + video/TV
Cellular Data Network
Laptop Sensor Sensor Event
Wireless Sensor Network
Cell phone Base Station VoIP + video/TV streaming PDA Sink Sensor
Larger scale, more diverse technologies New services: content-driven, context-aware, mobile,
2
Transport Application Transport Application Web, email, ftp, … IP t l TCP, UDP, … Network Transport Data Link Network Transport Data Link
IP protocol TCP, UDP, … Data Link Physical Data Link Physical
www.cs.bu.edu
www.cs.bu.edu
3
4
Each DIF layer provides (transport) service / QoS over its scope
5
IPC Transfer IPC Control IPC Management D li iti Delimiting Transfer Relaying/ Muxing PDU P t ti Common Application Applications, e.g., routing, resource allocation, access control, etc.
PDU Protection Common Application Protocol DTSV RIB
IPC Transfer actually moves the data
y
IPC Control (optional) for error, flow control, etc. IPC Management for routing, resource allocation, locating
applications access control monitoring lower layer etc
6
applications, access control, monitoring lower layer, etc.
IAP
Flows without data transfer control are UDP-like. Flows without reliability
requirement do not ACK. Different policies support different requirements Delta-t is a soft-state (SS) protocol Delta t is a soft state (SS) protocol If there is a long idle period, conn state is discarded, but ports
7
a u t e be o e C (U )
That no explicit state synchronization, i.e., hard-
8
No flow / congestion control No flow / congestion control
Two-packet exchange (DATA + ACK) Two packet exchange (DATA + ACK) Three-packet ( … + CLOSE) Five-packet (ala TCP)
Delta-t
9
Host A Host B
sync, accept data A->B closed knows B accepted data A->B closed p
10
11
11
Host A Host B Host A Host B
A->B closed A->B closed A B closed
12
Host A Host B
A->B closed A->B closed
13
14
Host A Host B First Pi
15
Host A Host B
16
Host A Host B
Recv timer set to Rtime MPL resume G for Pi+1 p
R First Pi+1 ACK(Pi+1) lost Recv timer set to Rtime G = n*RTO = n*RTT MPL resume G for Pi+1 R Pi+1 attempts lost
Recv timer set to Rtime First Pi+2 Worst-case pattern repeats
17
18
19
Assumes all connections
exist all the time
TCBs are simply caches of
state of ones with recent activity G = n x RTO Rtime = 2MPL + G + UAT Stime
Memory requirement is not a concern
We should revisit MPL: should be seconds rather than minutes!
19
20
20
21
SS (Delta-t) has higher goodput and lower message overhead than
HS+SS (TCP)
21
No explicit handshaking messages for opening and
Data transfer is done in an SS fashion Port allocation and access control is HS More @ http://csr bu edu/rina
22
More @ http://csr.bu.edu/rina