TCP Futures and Performance - PowerPoint PPT Presentation

1 / 17
About This Presentation
Title:

TCP Futures and Performance

Description:

client-SYN, client-data (the request), client-FIN, and client-CC. ... in a single operation to allow the FIN in the second segment to piggyback with the reply ... – PowerPoint PPT presentation

Number of Views:35
Avg rating:3.0/5.0
Slides: 18
Provided by: cseOhi
Category:
Tags: tcp | fin | futures | performance

less

Transcript and Presenter's Notes

Title: TCP Futures and Performance


1
TCP Futures and Performance
  • What needs to be changed for tomorrow?

2
Outline
  • Path MTU Discovery
  • Long Fat Pipes
  • Window Scale Option
  • Timestamp Option
  • PAWS Protection Against Wrapped Sequence Numbers
  • T/TCP
  • Performance

3
Path MTU Discovery
  • Initial segment size min(my MTU of the outgoing
    interface - 40, MSS from other end)
  • Set DF flag
  • If ICMP error
  • reduce segment size
  • retransmit
  • Do not change congestion window
  • Perform slow start
  • A larger value can be tried after a certain time
    (recommended 10 minutes)

4
(No Transcript)
5
Big Packets of Small Packets?
  • Why are big packets good?
  • Why are small packets good?

6
Small or Big Packets
(4096 40 bytes) x 8 bits/bytes / 1'544'000
bits/sec 21.4 ms per hop

7
Long Fat Networks (Elefan(t)s)
  • Bandwidth delay product is increasing in newer
    networks mostly due to increase in the bandwidth

8
Problems with Elephants
  • TCP window size is limited to 65535
  • Soln window scale option
  • Packet loss can drain the pipe
  • SACKs can be used
  • Only one RTT measurement per window (windows are
    large)
  • More segments can be timed with timestamp option
  • Limited Sequence Number Space
  • PAWS

9
Gigabit Networks
  • How much throughput can you increase by doubling
    the speed of the Gigabit network?
  • The throughput is becoming latency limited

10
Window Scale Option
  • Scale the size of the advertised window by 20
    through 214
  • Used only in SYNs
  • Used only if both sides are capable of using it
  • In SYN the raw window is advertised

Window 128000 B lines 1- 10
Window 220000 B lines 11-13
11
Timestamp Option
12
PAWS Protection Against Wrapped Sequence Numbers
  • Uses the timestamp field to identify if the
    sequence number is old
  • Timestamp field is incremented every 500 ms
  • PAWS requires timestamp to increase by 1 per
    window

13
T/TCP A TCP Extension for Transactions
  • It assigns a 32-bit connection count (CC) value
    to connections it opens
  • Every segment between two hosts using T/TCP
    includes a new TCP option named CC.
  • A host maintains a per-host cache of the last CC
    value received in an acceptable SYN segment from
    that host.
  • If new CC received, data is passed to application
    (half-synchronized connection)
  • Else, TCP three-way handshake is performed.

14
T/TCP minimal transaction
  • client-SYN, client-data (the request),
    client-FIN, and client-CC.
  • Server to client server-SYN, server-data
    (reply), server-FIN, ACK of client-FIN,
    server-CC, and CCECHO of client-CC.
  • Client to server ACK of server-FIN, which
    acknowledges the server's SYN, data, and FIN.

15
Issues with T/TCP
  • The server's SYN, ACK (the second segment) should
    be delayed, to allow the reply to piggyback with
    it.
  • Normally when data arrives before the SYN, the
    data is discarded and a reset is generated. With
    T/TCP this out-of-order data should be queued
    instead.
  • The API must allow the server process to send
    data and close the connection in a single
    operation to allow the FIN in the second segment
    to piggyback with the reply
  • Caches old MSS, ssthreh value, smoothed RTT, RTT
    variance

16
TCP Performance
  • For 2 back-to-back segments
  • throughput
  • 2 x 1460 bytes / (2 x 1538 84 bytes) x
    10,000,000 bits/sec / 8 buts/byte 1,155,063
    bytes/sec

17
TCP Fundamental Limits
  • Speed of slowest link
  • Memory reading speed of the slowest machine
  • Receiver window / RTT
Write a Comment
User Comments (0)
About PowerShow.com