Explicit Congestion Notification - PowerPoint PPT Presentation

1 / 28
About This Presentation
Title:

Explicit Congestion Notification

Description:

New method to indicate congestion. To help control congestion problems in the ... A non-complaint TCP connection could set the ECN field to indicate that it was ... – PowerPoint PPT presentation

Number of Views:239
Avg rating:3.0/5.0
Slides: 29
Provided by: PBA81
Category:

less

Transcript and Presenter's Notes

Title: Explicit Congestion Notification


1
Explicit CongestionNotification



  • Patrick Allison

  • Surren
    Deorajsingh

  • cse 4346

2
ECN
  • What it stands for?
  • ECN Explicit Congestion notification
  • Why it was started?
  • New method to indicate congestion.
  • To help control congestion problems in the
    network.

3
ECN How it Works
  • ECT- ECN Capable Transport
  • End nodes are capable of ECN.
  • AQM Active Queue Management.
  • Before buffers are filled, router makes packet
    dropping decisions. (e.g. RED)
  • CE Congestion Experienced
  • Router has detected congestion using AQM.

4
ECN Field - IP Header
00 Non-ECT 01 ECT capable 10 ECT capable 11
CE
  • ECT 01 and 10 are synonymous. Treated as the
    same.
  • End systems set ECT capable
  • Router sets CE

5
ECN TCP Header
  • Two new fields added to bit 8 and 9 of Reserved.
  • ECE ECN-Echo Let sender know that receiver
    got a CE packet.
  • CWR Congestion Window Reduced Let receiver
    know the window is reduced

6
Scenario
sender
receiver
7
TCP Sender
  • Establish connection
  • Sends SYN Packet with ECE and CWR set.
  • Waits for SYN-ACK Packet with ECE set.
  • Transmit Data
  • Sends packet with ECT field set
  • If receives ACK packet with ECE congestion
    occurred.
  • Reduce congestion window set CWR flag in next
    packet.

8
Routers
  • Receive ECT packet.
  • If congestion occurs at router, manage buffers
    using AQM
  • If packet would have been dropped, but room in
    buffer, check if ECN-capable.
  • If ECN-capable, set CE in packet and send to
    destination.
  • If packet is dropped, regular TCP congestion
    control occurs.

9
TCP Receiver
  • Establish connection
  • Waits for SYN Packet with ECE and CWR set
  • Sends SYN-ACK Packet with ECE set
  • Transmit Data
  • Receives packet with CE field set
  • Sends ECE-ACK packets until receives a CWR packet

10
Negotiating ECN capabilities
11
Summary
  • ECN is a way for the network to handle
    congestion.
  • End systems negotiate a connection and leave it
    up to routers to notify them of congestion.
  • They respond to congestion by reducing
    transmission rates.
  • If all systems used ECN, theoretically there
    would be no dropped packets.

12
Performance Issues
  • ECN Resource Efficiency
  • Pentikousis and Badr
  • LAN Simulation Comparison
  • Drop Tail, RED w/o ECN, RED w/ECN
  • Dr. Sally Floyd

13
NS-2 Simulation Topology
14
TCP/DT vs. TCP/ECN
  • TCP/ECN aware of congestion sooner
  • 10 Active Clients
  • TCP/DT transmits 445 packets above payload
  • TCP/ECN transmits 149 above payload
  • 25 Active Clients
  • TCP/ECN 535 packets above payload
  • TCP/DT 1960 packets above payload
  • TCP/ECN 72 reduction

15
LAN SIMULATION SCENARIO
16
LAN Simulation
17
LAN Simulation
18
LAN Simulation
19
LAN Simulation TCP clock 0.1msBulk Data
20
LAN Simulation TCP clock 0.1msBulk Data
21
LAN Simulation TCP clock 0.1msSmallest Bulk
Data throughput
22
LAN Simulation TCP clock 0.1msSmallest Bulk
Data throughput
23
LAN Simulation TCP clock 0.1msHighest Telnet
Delay
24
LAN Simulation TCP clock 0.1msHighest Telnet
Delay
25
ECN ISSUES
  • Cost and Complexity of implementation.
  • A non-complaint TCP connection could set the ECN
    field to indicate that it was ECN-capable, and
    then ignore ECN notifications.
  • Potential loss of ECN messages in the network. In
    this case the congestion notification message
    could fail to reach the end node.

26
ECN ISSUES
  • Many Firewalls and Network Address Translators
    drop all ECN packets or clear ECN bits.
  • http//urchin.earth.li/cgi-bin/ecn.pl

27
ECN Problem Spots
28
REFERENCES
  • Performance Evaluation of Explicit Congestion
    Notification (ECN) in IP Networks. (RFC 2884)
  • The Addition of Explicit Congestion Notification
    (ECN) to IP. (RFC 3168)
  • TCP and Explicit Congestion Notification
  • Sally Floyd, Lawrence Berkeley Laboratory
  • On The Resource Efficiency of Explicit Congestion
    Notification
  • Pentikousis and Badr, Stony Brook University
Write a Comment
User Comments (0)
About PowerShow.com