Professional Documents
Culture Documents
1
EXFO Solution
• Testing TCP
Network
Social networking
Video streaming
The structure of networking
Network
• We have a link Physical Layer 1 • The server link is active
Layer Layer
• Our ID is a MAC address 2 2 • It is identified with a MAC address
Network
How are the emails transferred?
Can it suffer some frame loss?
Are retransmissions allowed?
What is managing all of this?
The structure of networking
Network
Transport Layer 4
UDP or TCP
OSI and TCP/IP model
TCP or UDP
IP
Ethernet
• Best-effort service
User Datagram Protocol (UDP)
Application Application
writes data reads data
Socket Socket
layer layer
TCP TCP
Data segment
send buffer receive buffer
ACK segment
Note: In the context of testing a service, the RWND is taken out of the equation
TCP – Connection Flow
The amount of data sent during the CWND is obtain with the
Bandwidth-Delay Product or BDP.
BDP = Link Rate x RTT
Sequence Number
?
Impairments That Impact TCP Throughput
Sequence Number
Sequence Number
Sequence Number
Sequence Number
Sequence Number
Sequence Number
Sequence Number
RFC6349
RFC2544
EtherSAM Y.1564
• iPerf test
• RFC-6349
• Speedtest by Ookla
• TCP connectivity
33
© 2020 EXFO Inc. All rights reserved.
iPerf test
Network Core
cloud
iPerf server
Transport
Client
RFC6349 TCP Test Methodology
http://www.rfc-base.org/rfc-6349.html
RFC6349 TCP Throughput Test - Steps
Note: TCP throughput measurement should not be accomplished when the network is dysfunctional.
5% packet loss and/or 150 ms jitter is considered too high for an accurate measurement
RFC6349 TCP Throughput Test
Sequence Number
RTT
RTT Time
TCP Efficiency
Buffer Delay
Transport
Client
4
Capture – single connection
Wireshark TCP sessions
Capture – Multiple connections - 16 SYNs all at once
Wireshark TCP sessions
Speedtest by Ookla
Server
Network
Download
upload
EX1
TCP Troubleshooting
TCP problems
Server configuration
• Bad congestion algorithm
• Interface setup
Service issues: Application using TCP (Netflix, large data server) and
TCP over UDP (I.e. MS Teams)
• Service availability
• Latency, Jitter
• Packet loss
• Refused connections
Throughput issues
• Bottleneck
• Latency, Jitter
• Packet loss
• Refused connections
Outside
cabinet
Core
Patch
Panel
OLT
iPerf server FTTx
TCP/IP
Transport
Service
cloud On demand RFC 6349
Jitter
Frame
Loss
TCP Performance:
- Max Throughput reached
- Window settings to reach these
- Efficiency and Buffer Delay
Core
B 100GE D
A Transport Network
cloud
OTU4
112G C
1GE
MEC
10GE
xHaul
Public
cloud
Verification of same path from another location
Core d’
B 100GE
D
A Transport Network
cloud
OTU4
112G C
1GE
MEC
a’ 10GE
xHaul
Public
Mixed of fixe traffic with TCP cloud
Core d’
Network
cloud RFC6349 B 100GE
D
Traffic Gen
A Transport
OTU4
112G C
1GE
MEC
a’ 10GE
xHaul
– If the CWND is smaller than the BDP, the connection is unable to fill the pipe.
TCP: Congestion Algorithm (continued)