+ All Categories
Home > Documents > By Arjuna Sathiaseelan Tomasz Radzik Department of Computer Science King’s College London

By Arjuna Sathiaseelan Tomasz Radzik Department of Computer Science King’s College London

Date post: 19-Jan-2016
Category:
Upload: aiden
View: 19 times
Download: 0 times
Share this document with a friend
Description:
EPDN: Explicit Packet Drop Notification and its uses. By Arjuna Sathiaseelan Tomasz Radzik Department of Computer Science King’s College London. Motivation. Reordering or Corruption of packets leads to overestimation of the congestion of the network. - PowerPoint PPT Presentation
26
By Arjuna Sathiaseelan Tomasz Radzik Department of Computer Science King’s College London EPDN: Explicit Packet Drop Notificati and its uses
Transcript
Page 1: By Arjuna Sathiaseelan   Tomasz Radzik Department of Computer Science King’s College London

ByArjuna Sathiaseelan

Tomasz RadzikDepartment of Computer Science

King’s College London

EPDN: Explicit Packet Drop Notification and its uses

Page 2: By Arjuna Sathiaseelan   Tomasz Radzik Department of Computer Science King’s College London

Motivation

Reordering or Corruption of packets leads to overestimation of the congestion of the network.

Decreases the TCP performance of a network

Imperative to propose a mechanism that allows the TCP sender to know the exact cause of the out of order data

Page 3: By Arjuna Sathiaseelan   Tomasz Radzik Department of Computer Science King’s College London

Problem of Packet Reordering

Packet reordering is common : due to parallelism in networks. Parallelism reduces cost of equipments and trunks.

Types of Parallelism: Local parallelism : Multiple paths within a device. Multi-path routing.

Effects of Parallelism: Decreases the TCP performance of the network.

Page 4: By Arjuna Sathiaseelan   Tomasz Radzik Department of Computer Science King’s College London

Detecting packet loss

Retransmission Timer

Fast Retransmit

Page 5: By Arjuna Sathiaseelan   Tomasz Radzik Department of Computer Science King’s College London

Implications of Reordering

Unnecessary retransmission of data segments means that some of the bandwidth is wasted.

Unnecessary reduction of the congestion window.

TCP ensures that the receiving application receives data in order. Burden on the TCP receiver since the receiver must buffer the out-of-order data until the missing data arrive to fill the gaps.

Page 6: By Arjuna Sathiaseelan   Tomasz Radzik Department of Computer Science King’s College London

Impact of Reordering

Page 7: By Arjuna Sathiaseelan   Tomasz Radzik Department of Computer Science King’s College London

Related Work

[Floyd, Mahdavi, Mathis, Podolsky; 2000]: DSACK option allows the TCP receiver to report to the sender when duplicate segments arrive at the receiver. Using this information, the sender can determine when a retransmission is spurious. If spurious, the cwnd can be restored to the previous value.

RR-TCP [Zhang, Karp, Floyd, Peterson; 2003]: RR-TCP: mechanisms to detect and recover from false retransmits using the DSACK information. They propose several algorithms for proactively avoiding false retransmits by adaptively varying DUPTHRESH.

Page 8: By Arjuna Sathiaseelan   Tomasz Radzik Department of Computer Science King’s College London

EPDN: Explicit Packet Drop Notification

Each gateway has a hashtable storing entries:

<i, max:PNO, min:PNO>

i is the flow id (also the key used to index the hashtable).

max:PNO is the maximum sequence number of the packet dropped in the gateway.

min:PNO is the minimum sequence number of the packet dropped in the gateway.

Page 9: By Arjuna Sathiaseelan   Tomasz Radzik Department of Computer Science King’s College London

Packet Drop

Hash Table

Flow Id: Min: Max:

P1

Received PacketsReceived Packets

P1

P2

Hash Table

Flow Id: 1Min: P2Max: P2

P3

Hash Table

Flow Id: 1Min: P2Max: P3

P4

Hash Table

Flow Id: Min: Max:

P4 3,2

Received Packets

P1 P4

Droplist:

Reorderedlist:

Droplist: 2 3

Page 10: By Arjuna Sathiaseelan   Tomasz Radzik Department of Computer Science King’s College London

Packet Reorder

Hash Table

Flow Id: Min: Max:

P1

Received PacketsReceived Packets

P1

P2 P3P3

Droplist:

Reorderedlist:Reorderedlist: P2

Received Packets

P1 P3

Page 11: By Arjuna Sathiaseelan   Tomasz Radzik Department of Computer Science King’s College London

RN-TCP: Reorder Notifying TCP

Receiver uses the following information to identify whether a packet has been dropped or reordered.

Packet Notation: P<fid,n,max,min>

P:n - Sequence number of the current received packet

P:max - Maximum dropped entry

P:min - Minimum dropped entry

Q:n - Last received packet in the receiver buffer queue

Page 12: By Arjuna Sathiaseelan   Tomasz Radzik Department of Computer Science King’s College London

RN-TCP: Reorder Notifying TCP (contd.)

Receiver maintains two lists:

- Reorder List

- Drop List

Drop is notified by not setting ‘drop-negative’ bit in the ACK.

Reorder is notified by setting ‘drop-negative’ bit in the ACK.

Page 13: By Arjuna Sathiaseelan   Tomasz Radzik Department of Computer Science King’s College London

Storage and Computational Costs

The IP options field has 40 bytes. We use 4 bytes for each minimum and maximum dropped

entries to be inserted into the option field of the IP segment.

We use one bit from the reserved bits in TCP to denote the ‘drop-negative' bit.

Our monitoring process records only flows whose packets

have been dropped. When the dropped information is inserted into the

corresponding packet that leaves the gateway successfully, the entry is deleted.

Rough estimate: 500KB SRAM would be sufficient for storing infoirmation about dropped packets ?

Page 14: By Arjuna Sathiaseelan   Tomasz Radzik Department of Computer Science King’s College London

Storage and Computational Costs(contd..)

For each packet, the computational cost in each gateway is constant, assuming a constant time access/update of the hashtable.

Computational costs at the receiver are as follows: - Insertion O(n) where n is the number of packets

the receiver has assumed to be dropped or reordered. - Deletion and comparison costs O(m) where m is

the length of the list.

Computational cost O(log n) and O(log m) respectively if we use balanced trees.

Page 15: By Arjuna Sathiaseelan   Tomasz Radzik Department of Computer Science King’s College London

Simulation Details

Used Network Simulator ns-2.

Segment size : 1500 bytes.

Conducted experiments for Drop-tail.

Queue size used : 65 segments.

Used FTP traffic flows.

Page 16: By Arjuna Sathiaseelan   Tomasz Radzik Department of Computer Science King’s College London

Throughput – Packet Delays (Delays: Normally distributed with mean = 25ms, std.dev =

8ms)

Page 17: By Arjuna Sathiaseelan   Tomasz Radzik Department of Computer Science King’s College London

Throughput – Multipath Routing(Delays: Modal Distribution)

Page 18: By Arjuna Sathiaseelan   Tomasz Radzik Department of Computer Science King’s College London

Link Utilization(30% Packets Delayed)

Page 19: By Arjuna Sathiaseelan   Tomasz Radzik Department of Computer Science King’s College London

Throughput: Delays and Drops(5% Packets Delayed)

Page 20: By Arjuna Sathiaseelan   Tomasz Radzik Department of Computer Science King’s College London

TCP-R : Robust TCP

RN-TCP: proposed for terrestrial networks.

Terrestrial networks:- the out of order packets are caused mainly due to losses

related to congestion and reordering of packets. - Losses due to corruption is negligible.

Satellite links have high RTTs, typically on the order of severalhundred milliseconds.

Losses mainly due to corruption than congestion.

If a packet had been actually dropped due to corruption, having an increased value of dupthresh requires a RTO to detect the packet loss.

Imperative to propose a mechanism that improves the performance when packets get corrupted, reordered and dropped for networks with large RTT.

Page 21: By Arjuna Sathiaseelan   Tomasz Radzik Department of Computer Science King’s College London

TCP-R : Robust TCP TCP-R uses EPDN.

The TCP-R receiver informs the TCP-R sender about its assumption.

If the packets had been dropped in the network, the lost packets are retransmitted after waiting for 3 DUPACKS (fast retransmit) and reduces the congestion window by half (fast recovery).

If the packets are assumed to be reordered or corrupted in the network, - TCP-R sender retransmits the packet after receiving three DUPACKS

- Enters our modified fast recovery mechanism where the procedure of reducing the slow start threshold

(ssthresh) and the congestion window (cwnd) are bypassed.

Page 22: By Arjuna Sathiaseelan   Tomasz Radzik Department of Computer Science King’s College London

Simulations Segment size : 1000 bytes Queue size used : 100 segments. Used FTP traffic flows.

Page 23: By Arjuna Sathiaseelan   Tomasz Radzik Department of Computer Science King’s College London

Throughput – Packet Delays (Delays: Normally distributed with mean = 200ms, std.dev =

80ms)

Page 24: By Arjuna Sathiaseelan   Tomasz Radzik Department of Computer Science King’s College London

Throughput: Delays and Corruption(5% Packets Delayed)

ANDTimeout Avoidance

Page 25: By Arjuna Sathiaseelan   Tomasz Radzik Department of Computer Science King’s College London

Throughput – Delays and Drops(3% Packets Delayed)

Page 26: By Arjuna Sathiaseelan   Tomasz Radzik Department of Computer Science King’s College London

Future Work

Scalability of EPDN in wired networks – is it possible just to use EPDN in hot spots where packets get dropped?

In case the routing changes and if the dropped information cannotbe propagated to the receiver - send the dropped information in an ICMP message to the sender ?

Use the RED packet drop history for EPDN?

Verify the size requirements needed for EPDN?


Recommended