Download other transport layer protocols for ad hoc wireless networks

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Network tap wikipedia , lookup

Point-to-Point Protocol over Ethernet wikipedia , lookup

IEEE 802.1aq wikipedia , lookup

Zigbee wikipedia , lookup

Wireless USB wikipedia , lookup

CAN bus wikipedia , lookup

Asynchronous Transfer Mode wikipedia , lookup

AppleTalk wikipedia , lookup

Zero-configuration networking wikipedia , lookup

Multiprotocol Label Switching wikipedia , lookup

Policies promoting wireless broadband in the United States wikipedia , lookup

RapidIO wikipedia , lookup

Wake-on-LAN wikipedia , lookup

Computer network wikipedia , lookup

Airborne Networking wikipedia , lookup

Wireless security wikipedia , lookup

List of wireless community networks by region wikipedia , lookup

Piggybacking (Internet access) wikipedia , lookup

IEEE 1355 wikipedia , lookup

Deep packet inspection wikipedia , lookup

Cracking of wireless networks wikipedia , lookup

UniPro protocol stack wikipedia , lookup

TCP congestion control wikipedia , lookup

Recursive InterNetwork Architecture (RINA) wikipedia , lookup

Internet protocol suite wikipedia , lookup

Transcript
CSE 6007 Mobile Ad Hoc Wireless Networks
Unit III Topic 20-22 Transport Layer Protocol for
Ad Hoc Wireless Networks
Department of Computer Science and Engineering
Kalasalingam University
1
Outline
 Introduction
 Topic 20 : Introduction, Issues, Design Goals, Classification
of Transport Layer Solutions
o
Introduction, Issues in Designing A Transport Layer Protocol for Ad Hoc
Wireless Networks, Design Goals of a Transport Layer Protocol for Ad Hoc
Wireless Networks, Classification of Transport Layer Solutions
 Topic 21 : TCP over Ad Hoc Wireless Networks
o Traditional TCP, Why does TCP Not Perform well in Ad Hoc Wireless
Networks, Feedback based TCP, TCP with explicit Link Failure Notification,
TCP-Bus, Ad Hoc TCP, Split TCP, Comparison of TCP Solutions for Ad Hoc
Wireless Networks
 Topic 22 : Other Transport Layer Protocols for Ad Hoc Wireless
Networks
o Application Controlled Transport Protocol, Ad Hoc Transport Protocol
2
Transport Layer
 Transport Layer is the
fourth layer of OSI
reference model. It
provided transparent
transfer of data between
end system using the
service of the network
layer.
 Two main protocols are
 Transmission Control
Protocol (TCP)
 User Datagram Protocol
(UDP)
3
TCP vs. UDP
TCP
UDP
 Connection oriented







service
Provides end-to-end
reliable communication
Congestion control
Connection management
Flow control
Wireless ad hoc and
wireless sensor network

Is very simple
connectionless protocol
Does not guarantee
reliability and
correctness of the
sequence of the packet
IPTV, streaming media,
VoIP, and online games
4
TCP vs. UDP
5
TCP vs. UDP
6
Introduction
 The objectives of a transport layer protocol include setting up of:
 End-to-end connection
 End-to-end delivery of data packets
 Flow control
 Congestion control
 Transport layer protocols
 User datagram protocol (UDP): unreliable and connection-less
transport layer protocols
 Transmission control protocol (TCP): reliable, byte-stream-based, and
connection-oriented transport layer protocols
 These traditional wired transport layer protocols are not suitable for ad
hoc wireless networks.
7
Issues
 Issues while designing a transport layer protocol for ad hoc wireless networks:
 Induced traffic refers to the traffic at any given link due to the relay traffic through






neighboring links.
Induced throughput unfairness refers to the throughput unfairness at the
transport layer due to the throughput/delay unfairness existing at the lower layers such
as the network and MAC layers.
Separation of congestion control, reliability, and flow control could improve
the performance of the transport layer.
Power and bandwidth constraints affects the performance of a transport layer
protocol.
Misinterpretation of congestion occurs in ad hoc wireless networks.
Completely decoupled transport layer needs to adapt to the changing network
environment.
Dynamic topology affects the performance of a transport layer.
8
Design Goal
 The protocol should maximize the throughput per connection.
 It should provide throughout fairness across contending flows.
 It should minimize connection setup and connection maintenance overheads.
 The protocol should have mechanisms for congestion control and flow control in







the network.
It should be able to provide both reliable and unreliable connections.
The protocol should be able to adapt to the dynamics of the network.
One of the important resources must be used efficiently.
The protocol should be aware of resource constraints.
The protocol should make use of information from the lower layer.
It should have a well-defined cross-layer interaction framework.
The protocol should maintain end-to-end semantics.
9
Classification of Transport Layer
Solutions
Transport Layer Solutions for Ad Hoc Wireless Networks
TCP over ad hoc wireless networks
Split Approach
SplitTCP
End-to-end
approach
TCP-ELFN
TCP-F
TCP-Bus
ATCP
Other transport layer approach
ACTP
ATP
10
TCP over Ad Hoc Wireless Networks
 TCP taking 90% of the traffic is predominant in the Internet.
 Focuses on TCP extension in ad hoc wireless networks.
 Transport protocol should be independent of the network layer
technology, e.g., no matter fiber or radio is used
 But TCP is optimized for wired network  Congestion control
 TCP assumes timeout is due to congestion
 Wireless links are not reliable, packet loss may be as high as 20%
 In wired network, packet loss is due to congestion  slow down
 In wireless network, due to wireless links  try harder
11
12
Why does TCP not perform well in Ad
Hoc Wireless Networks
 Misinterpretation of packet loss
 Frequent path breaks
 Effect of path length
 Misinterpretation of congestion window
 Asymmetric link behavior
 Uni-directional path: TCP ACK requires RTS-CTS-Data-ACK exchange
 Multipath routing
 Network partitioning and remerging
 The use of sliding-window-based transmission
13
14
15
16
TCP Over Ad Hoc Wireless Network
 Feedback-based TCP (TCP Feedback – TCP-F)
 Requires the support of a reliable link layer and a routing protocol that can provide
feedback to the TCP sender about the path breaks.
 The routing protocol is expected to repair the broken path within a reasonable time
period.
 Advantages: Simple, permits the TCP congestion control mechanism to respond to
congestion
 Disadvantages:
 If a route to the sender is not available at the failure point (FP), then additional
control packets may need to be generated for routing the route failure notification
(RFN) packet.
 Requires modification to the existing TCP.
 The congestion window after a new route is obtained may not reflect the
achievable transmission rate acceptable to the network and the TCP-F receiver.
17
18
TCP-F
S
A
RFN
B
RFN
N
C
Failed
Point
D
19
TCP-F
RFN
S
RRN
RFN
RFN
A
RRN
B
RRN
C
RRN
D
20
TCP Over Ad Hoc Wireless Network
 TCP with explicit link failure notification (TCP-ELFN)
 Handle explicit link failure notification
 Use TCP probe packets for detecting the route reestablishment.
 The ELFN is originated by the node detecting a path break upon detection of a link
failure to the TCP sender.
 Advantages:
 improves the TCP performance by decoupling the path break information from
the congestion information by the use of ELFN.
 Less dependent on the routing protocol and requires only link failure
notification
 Disadvantages
 When the network is partitioned, the path failure may last longer
 The congestion window after a new route is obtained may not reflect the
achievable transmission rate acceptable to the network and TCP receiver.
21
TCP ELFN
 Explicit Link Failure Notification (ELFN)
 The objective :
 To provide the TCP sender with information about link and route
failures
 TCP sender can avoid responding to the failures as if congestion
occurred
 DSR’s route failure message is modified
 A payload similar to the “host unreachable” ICMP message
 The sender and receiver’s addresses and ports and seq number
TCP
data
S
A
Probing
message
B
C
D
DSR ROUTE ERROR
+ ELFN
R
22/41
TCP ELFN
 Sender reaction
 When a TCP sender receives an ELFN,
 It disables its retransmission timers and enters a “standby” mode
 While on standby,
 A packet is sent at periodic intervals to probe the network to see if a
route has been established
 If an acknowledgment is received,
 Then it leaves standby mode
23/41
TCP Over Ad Hoc Wireless Network
TCP with buffering capability and sequence information (TCP-BuS)
 Use feedback information from an intermediate node on detection of a path break.
 Use localized query (LQ) and REPLY to find a partial path
 Upon detection of a path break, an upstream intermediate node originates an explicit
route disconnection notification (ERDN) message.
 Advantages
 Performance improvement and avoidance of fast retransmission
 Use on-demand routing protocol
 Disadvantages
 Increased dependency on the routing protocol and the buffering at the intermediate
nodes
 The failure of intermediate nodes may lead to loss of packets.
 The dependency of TCP-BuS on the routing protocol many degrade its performance.
24
25
TCP Over Ad Hoc Wireless Network
 Ad Hoc TCP (ATCP)
 uses a network layer feedback mechanism to make the TCP sender aware of the status of the
network path
 Based on the feedback information received from the intermediate nodes, the TCP sender
changes its state to the persist state, congestion control state, or the retransmit state.
 When an intermediate node finds that the network is partitioned, then the TCP sender state
is changed to the persist state.
 The ATCP layer makes use of the explicit congestion notification (ECN) for maintenance
for the states.
 Advantages
 Maintain the end-to-end semantics of TCP
 Compatible with traditional TCP
 Provides a feasible and efficient solution to improve throughput of TCP
 Disadvantages
 The dependency on the network layer protocol to detect the route changes and
partitions
 The addition of a thin ATCP layer to the TCP/IP protocol changes the interface
functions currently being used.
26
27
Split-TCP in Solution Topology
28
Motivation for Split-TCP
 Issues addressed by Split-TCP:
 Throughput degradation with increasing path length
 Channel capture effect (802.11)
 Mobility issues with regular TCP
29
Channel Capture Effect
 Definition:
 “The most data-intense connection dominates the multiple-
access wireless channel” [1]
 Higher SNR
 Early start
 Example: 2 simultaneous heavy-load TCP flows located close to
each other.
30
How does Split-TCP work?
 Connection between sender and receiver broken into
segments
 A proxy controls each segment
 Regular TCP is used within segments
 Global end-to-end connection with periodic ACKs (for
multiple packets)
31
Split-TCP Segmentation
32
Split-TCP in a MANET:
Proxy Functionality
 Proxies:
 Intercept and buffer TCP packets
 Transmit packet, wait for LACK
 Send local ACK (LACK) to previous proxy
 Packets cleared upon reception of LACK
 Increase fairness by maintaining equal connection length
33
Split-TCP in a MANET (2)
 Steps:
 Node 1 initiates TCP session
 Nodes 4 and 13 are chosen as
proxies on-demand
 Upon trx, 4 buffers packets
 If a packet lost at 15, request
made to 13 to retransmit
 1 unaware of link failure at 15
34
Split-TCP in a MANET (3)
 Sender is unaware of transient link failure. Congestion
window not reduced.
 Packet retransmissions only incorporate part of a path 
bandwidth usage is reduced.
 Channel capture effect is alleviated (see next slide).
35
TCP Over Ad Hoc Wireless Network
 Split-TCP
 Advantages
 Improved throughput
 Improved throughput fairness
 Lessened impact of mobility
 Disadvantages
 It requires modifications to TCP protocol.
 The end-to-end connection handling of traditional TCP is violated.
 The failure of proxy nodes can lead to throughput degradation.
36
37
OTHER TRANSPORT LAYER PROTOCOLS FOR
AD HOC WIRELESS NETWORKS
 The performance of a transport layer protocol can be
enhanced if it takes into account the nature of the network
environment in which it is applied.
 Discusses the transport layer protocols that were designed
specifically for ad hoc wireless networks.
 Even though interworking with TCP is very important, there
exist several application scenarios such as military
communication where a radically new transport layer
protocol can be used.
38
Application Controlled Transport
Protocol
 Application controlled transport protocol (ACTP) is a light



39
weight transport layer protocol.
It is not an extension to TCP.
ACTP assigns the responsibility of ensuring reliability to the
application layer.
It is more like UDP with feedback of delivery and state
maintenance.
ACTP stands in between TCP and UDP where TCP
experiences low performance with high reliability and UDP
provides better performance with high packet loss in ad hoc
wireless networks
Application Controlled Transport
Protocol
 The key design philosophy of ACTP is to leave the
provisioning of reliability to the application layer and provide
a simple feedback information about the delivery status of
packets to the application layer.
 ACTP supports the priority of packets to be delivered, but it
is the responsibility of the lower layers to actually provide a
differentiated service based on this priority.
40
Application Controlled Transport
Protocol
41
Application Controlled Transport
Protocol
 Each API function call to send a packet [SendTo()] contains the
42
additional information required for ACTP such as the maximum
delay the packet can tolerate (delay), the message number of
the packet, and the priority of the packet.
 The message number is assigned by the application layer, and
it need not to be in sequence.
 The priority level is assigned for every packet by the
application. It can be varied across packets in the same flow
with increasing numbers referring to higher priority packets.
 The non-zero value in the message number field implicitly
conveys that the application layer expects a delivery status
information about the packet to be sent.
Application Controlled Transport
Protocol
 This delivery status is maintained at the ACTP layer, and is
43
available to the application layer for verification through another
API function IsACKed<message number>.
 The delivery status returned by IsACKed<message number> function call
can reflect (i) a successful delivery of the packet (ACK received), (b) a
possible loss of the packet (no ACK received and the deadline has
expired), (iii) remaining time for the packet (no ACK received but
the deadline has not expired), and (iv) no state information exists
at the ACTP layer regarding the message under consideration.
 A zero in the delay field refers to the highest priority packet,
which requires immediate transmission with minimum possible
delay. Any other value in the delay field refers to the delay that the
message can experience.
Application Controlled Transport
Protocol
44
Advantages and Disadvantages
 One of the most important advantages of ACTP is that it
provides the freedom of choosing the required reliability
level to the application layer.
 Since ACTP is a light-weight transport layer protocol, it is
scalable for large networks.
 Throughput is not affected by path breaks as much as in TCP
as there is no congestion window for manipulation as part of
the path break recovery.
 One disadvantage of ACTP is that it is not compatible with
TCP. Use of ACTP in a very large ad hoc wireless network
can lead to heavy congestion in the network as it does not
have any congestion control mechanism.
Ad Hoc Transport Protocol
 Ad hoc transport protocol (ATP) is specifically designed for
ad hoc wireless networks and is not a variant of TCP.
 The major aspects by which ATP defers from TCP are (i)
coordination among multiple layers, (ii) rate based
transmissions, (iii) decoupling congestion control and
reliability, and (iv) assisted congestion control.
 Similar to other TCP variants proposed for ad hoc wireless
networks, ATP uses services from network and MAC layers
for improving its performance.
 ATP uses information from lower layers for (i) estimation of
the initial transmission rate, (ii) detection, avoidance, and
control of congestion, and (iii) detection of path breaks.
45
Ad Hoc Transport Protocol
 Unlike TCP, ATP utilizes a timer-based transmission, where
the transmission rate is decided by the granularity of the
timer which is dependent on the congestion in the network.
 The congestion control mechanism is decoupled from the
reliability and flow control mechanisms. The network
congestion information is obtained from the intermediate
nodes, whereas the flow control and reliability information
are obtained from the ATP receiver.
 The intermediate nodes attach the congestion information to
every ATP packet and the ATP receiver collates it before
including it in the next ACK packet.
46
Ad Hoc Transport Protocol
 Intermediate nodes attach the current delay information to every
ATP data packet if the already existing value is smaller than the
current delay.
 The ATP receiver collects this delay information and the weighted
average value is attached in the periodic ACK (ATP uses SACK
mechanism, hence ACK refers to SACK) packet sent back to the
ATP sender.
 During a connection startup process or when ATP recovers from a
path break, the transmission rate to be used is determined by a
process called quick start. During the quick start process, the ATP sender
propagates a probe packet to which the intermediate nodes attach the
transmission rate (in the form of current delay), which is received
by the ATP receiver, and an ACK is sent back to the ATP sender
47
Ad Hoc Transport Protocol
 The ATP sender starts using the newly obtained
transmission rate by setting the data transmission timers.
During a connection startup, the connection request and
the ACK packets are used as probe packets in order to
reduce control overhead.
 The receiver performs a weighted average of the
delay/transmission rate information for every incoming
packet to obtain the transmission rate for an ATP flow
and this value is included in the subsequent SACK packet
it sends.
48
Ad Hoc Transport Protocol
 ATP has three phases, namely, increase, decrease, and
maintain
 The current transmission rate is updated to the new
transmission rate if the new transmission rate is lower
than the current transmission rate.
 In the maintain phase, if the new transmission rate is
higher than the current transmission rate, but less than
the above mentioned threshold, then the current
transmission rate is maintained without any change.
49
Ad Hoc Transport Protocol
 If an ATP sender has not received any ACK packets for two




50
consecutive feedback periods, it undergoes a multiplicative
decrease of the transmission rate.
When a path break occurs, the network layer detects it and
originates an ELFN packet toward the ATP sender.
The ATP sender freezes the sender state and goes to the
connection initiation phase.
In this phase also, the ATP sender periodically originates probe
packets to know the status of the path.
With a successful probe, the sender begins data transmission
again.
Ad Hoc Transport Protocol
Advantages and Disadvantages
 The major advantages of ATP include improved performance, decoupling of the
congestion control and reliability mechanisms, and avoidance of congestion
window fluctuations.
 The major disadvantage of ATP is the lack of interoperability with TCP. As TCP
is a widely used transport layer protocol, interoperability with TCP servers and
clients in the Internet is important in many applications.
51
Summary
 Introduction
 Topic 20 : Introduction, Issues, Design Goals, Classification
of Transport Layer Solutions
o
Introduction, Issues in Designing A Transport Layer Protocol for Ad Hoc
Wireless Networks, Design Goals of a Transport Layer Protocol for Ad Hoc
Wireless Networks, Classification of Transport Layer Solutions
 Topic 21 : TCP over Ad Hoc Wireless Networks
o Traditional TCP, Why does TCP Not Perform well in Ad Hoc Wireless
Networks, Feedback based TCP, TCP with explicit Link Failure Notification,
TCP-Bus, Ad Hoc TCP, Split TCP, Comparison of TCP Solutions for Ad Hoc
Wireless Networks
 Topic 22 : Other Transport Layer Protocols for Ad Hoc Wireless
Networks
o Application Controlled Transport Protocol, Ad Hoc Transport Protocol
52
CSE 6007 Mobile Ad Hoc Wireless Networks
Unit III Topic 20-22 Transport Layer Protocol for
Ad Hoc Wireless Networks
Department of Computer Science and Engineering
Kalasalingam University
53