+ All Categories
Home > Documents > Trace File Analysis - Wireshark · Wire Latency - Client Latency SYN ACK GET / SYN ACK ACK DATA 5...

Trace File Analysis - Wireshark · Wire Latency - Client Latency SYN ACK GET / SYN ACK ACK DATA 5...

Date post: 18-Mar-2020
Category:
Upload: others
View: 6 times
Download: 0 times
Share this document with a friend
12
Trace File Ana Identifying Wire Latency, Server Latency Laura Chappell Founder | Wireshark Un SHARKFEST '08 | Foothill Colleg Founder | Wireshark Un SHARKFEST '08 Foothill College March 31 - April 2, 2008 alysis Client Latency, niversity ge | March 31 - April 2, 2008 niversity
Transcript
Page 1: Trace File Analysis - Wireshark · Wire Latency - Client Latency SYN ACK GET / SYN ACK ACK DATA 5 Time from the GET command to the actual return of data indicates the time required

Trace File AnalysisIdentifying Wire Latency, Client Latency, Server Latency

Laura ChappellFounder | Wireshark University

SHARKFEST '08 | Foothill College | March 31

Founder | Wireshark University

SHARKFEST '08Foothill CollegeMarch 31 - April 2, 2008

Trace File AnalysisIdentifying Wire Latency, Client Latency,

Founder | Wireshark University

SHARKFEST '08 | Foothill College | March 31 - April 2, 2008

Founder | Wireshark University

Page 2: Trace File Analysis - Wireshark · Wire Latency - Client Latency SYN ACK GET / SYN ACK ACK DATA 5 Time from the GET command to the actual return of data indicates the time required

Full Speed

Traffic TAP

AggregationWireshark

2Copperports

1 Gb

Capture

Traffic TAP

Capture and

Injection

AggregationWinPcap

Page 3: Trace File Analysis - Wireshark · Wire Latency - Client Latency SYN ACK GET / SYN ACK ACK DATA 5 Time from the GET command to the actual return of data indicates the time required

Key Issues:

• High Latency (Client, Server, Link)

• Packet Loss (Upstream, Downstream)

• Congestion (Network, Receiver)

• Configuration Problems (Service Unavailable, Loops)

Redirections (Routing, Service)

Analyzing Network Performance Issues

• Redirections (Routing, Service)

• Interdependencies (Third Parties)

• Low throughput (Itty-Bitty Stinkin’ Packets)

• Negotiation Faults (Protocol or Application Layer)

High Latency (Client, Server, Link)

Packet Loss (Upstream, Downstream)

Congestion (Network, Receiver)

Configuration Problems (Service Unavailable, Loops)

Redirections (Routing, Service)

Analyzing Network Performance Issues

Redirections (Routing, Service)

Interdependencies (Third Parties)

Bitty Stinkin’ Packets)

Negotiation Faults (Protocol or Application Layer)

Page 4: Trace File Analysis - Wireshark · Wire Latency - Client Latency SYN ACK GET / SYN ACK ACK DATA 5 Time from the GET command to the actual return of data indicates the time required

Wire Latency - Client Latency

SYN

ACK

GET /

SYN ACK

ACK

GET /

DATA

Client Latency - Server Latency

Page 5: Trace File Analysis - Wireshark · Wire Latency - Client Latency SYN ACK GET / SYN ACK ACK DATA 5 Time from the GET command to the actual return of data indicates the time required

Wire Latency - Client Latency

SYN

ACK

GET /

SYN ACK11

Time between the SYN and SYN ACK indicates the roundtrip wire latency time and processing through the TCP/IP stack to establish a connection. If this takes a long time on average, consider looking at links and devices along the network path that might be introducing latency.

1

ACK

GET /

DATA

Client Latency - Server Latency

Time between the SYN and SYN ACK indicates the roundtrip wire latency time and processing through the TCP/IP stack to establish a connection. If this takes a long time on average, consider looking at links and devices along the network path that might be

Page 6: Trace File Analysis - Wireshark · Wire Latency - Client Latency SYN ACK GET / SYN ACK ACK DATA 5 Time from the GET command to the actual return of data indicates the time required

Wire Latency - Client Latency

SYN

ACK

GET /

SYN ACK

22

Time between the SYN ACK and the ACK indicates the speed of the client in responding – this only relates to the client's TCP/IP stack, not their ability to process applications.

2

ACK

GET /

DATA

Client Latency - Server Latency

Time between the SYN ACK and the ACK indicates the speed of the this only relates to the client's TCP/IP stack, not

their ability to process applications.

Page 7: Trace File Analysis - Wireshark · Wire Latency - Client Latency SYN ACK GET / SYN ACK ACK DATA 5 Time from the GET command to the actual return of data indicates the time required

Wire Latency - Client Latency

SYN

ACK

GET /

SYN ACK

33

Time between the ACK and the GET command (or whatever command is sent next) indicates the speed of the client's application to make requests. Applications typically make an immediate request to the server upon completion of the TCP hanshake process. (Exception that wait for a server to send data first – FTP, for example

3

ACK

GET /

DATA

33

Client Latency - Server Latency

Time between the ACK and the GET command (or whatever command is sent next) indicates the speed of the client's application to make requests. Applications typically make an immediate request to the server upon completion of the TCP hanshake process. (Exception – applications

FTP, for example – the client waits for the banner.)

Page 8: Trace File Analysis - Wireshark · Wire Latency - Client Latency SYN ACK GET / SYN ACK ACK DATA 5 Time from the GET command to the actual return of data indicates the time required

Wire Latency - Client Latency

SYN

ACK

GET /

SYN ACK

Time between the GET command and the ACK indicates wire latency again. If this takes a long time, then look at the network path again.

4

ACK

GET /

DATA

44

Client Latency - Server Latency

Time between the GET command and the ACK indicates wire latency again. If this takes a long time, then look at the network path again.

Page 9: Trace File Analysis - Wireshark · Wire Latency - Client Latency SYN ACK GET / SYN ACK ACK DATA 5 Time from the GET command to the actual return of data indicates the time required

Wire Latency - Client Latency

SYN

ACK

GET /

SYN ACK

ACK

GET /

DATA

55

Time from the GET command to the actual return of data indicates the time required by the server to process the request and get the data back to the client. If this time value is high (but #4 is low), then we'd look at the server as the slow one in this connection.

5

Client Latency - Server Latency

Time from the GET command to the actual return of data indicates the time required by the server to process the request and get the data back to the client. If this time value is high (but #4 is low), then we'd look at the server as the slow

Page 10: Trace File Analysis - Wireshark · Wire Latency - Client Latency SYN ACK GET / SYN ACK ACK DATA 5 Time from the GET command to the actual return of data indicates the time required

Lab: LatencyIssue: downloads take too long

File: download-bad.pcap

Review the handshake process and evaluate the time between:

� SYN and SYN ACK

SYN ACK and ACK� SYN ACK and ACK

� GET and related ACK

� ACK and data requested

At this point, where does the latency problem appear to be located? Server? Client? Wire?

Lab: Latencydownloads take too long

Review the handshake process and evaluate the time

_______ ms

_______ ms_______ ms

_______ ms

_______ ms

At this point, where does the latency problem appear to be located? Server? Client? Wire?

Page 11: Trace File Analysis - Wireshark · Wire Latency - Client Latency SYN ACK GET / SYN ACK ACK DATA 5 Time from the GET command to the actual return of data indicates the time required

Lab: LatencyIssue: downloads take too long

File: anotherlousyhotelnetwork.pcap

Review the handshake process and evaluate the time between:

� DNS query

� DNS response

� SYN and SYN ACK

� SYN ACK and ACK

� GET and related ACK

� ACK and data requested

At this point, where does the latency problem appear to be located? Server? Client? Wire?

Lab: Latencydownloads take too long

anotherlousyhotelnetwork.pcap

Review the handshake process and evaluate the time

_______ ms

_______ ms

_______ ms

_______ ms

_______ ms

_______ ms

At this point, where does the latency problem appear to be located? Server? Client? Wire?

Page 12: Trace File Analysis - Wireshark · Wire Latency - Client Latency SYN ACK GET / SYN ACK ACK DATA 5 Time from the GET command to the actual return of data indicates the time required

What’s Next?

Laura’s Lab Kit v9

In show bags as well as…

ISO image: www.novell.com/connectionmagazine/laurachappell.htmlwww.novell.com/connectionmagazine/laurachappell.html


Recommended