Shark Fest 16 Europe Real World Case Studies

  • Slides: 12
Download presentation
Shark. Fest ‘ 16 Europe Real World Case Studies Packet A(nalysis)-Team 19 October 2016

Shark. Fest ‘ 16 Europe Real World Case Studies Packet A(nalysis)-Team 19 October 2016 Kary Rogers #sf 16 eu Director, Staff Engineering - Riverbed Shark. Fest ’ 16 Europe • Arnhem, Netherlands • October 17 -19, 2016 • #sf 16 eu

Packet A(nalysis)-Team • Real world problems from real Internet strangers • They get their

Packet A(nalysis)-Team • Real world problems from real Internet strangers • They get their problem solved, I get a case study Shark. Fest ’ 16 Europe • Arnhem, Netherlands • October 17 -19, 2016 • #sf 16 eu

Case Studies • One Way Performance Problem • Slow Web Page Load • Tomcat

Case Studies • One Way Performance Problem • Slow Web Page Load • Tomcat Performance Issue Shark. Fest ’ 16 Europe • Arnhem, Netherlands • October 17 -19, 2016 • #sf 16 eu

One Way Performance Issue • Transatlantic MPLS • ~100 ms • 100 Mbps bandwidth

One Way Performance Issue • Transatlantic MPLS • ~100 ms • 100 Mbps bandwidth • Wget test • 100 Mbps in one direction • 20 to 40 Mbps in the other • Why god why? Shark. Fest ’ 16 Europe • Arnhem, Netherlands • October 17 -19, 2016 • #sf 16 eu

One Way Performance Take Away • Wireshark setup • i. RTT to determine client

One Way Performance Take Away • Wireshark setup • i. RTT to determine client or server side • Tcptrace stream graph is your friend • Analyze from the perspective of client or server • Know what you should see (fast retransmission) • Play with config settings e. g. relative sequence numbers Shark. Fest ’ 16 Europe • Arnhem, Netherlands • October 17 -19, 2016 • #sf 16 eu

Free Beer Challenge • Download client pcap from http: //packetbomb. com/troubleshooting -a-one-way-performance-issue/ • Tell

Free Beer Challenge • Download client pcap from http: //packetbomb. com/troubleshooting -a-one-way-performance-issue/ • Tell me if frame 24 is a Fast Transmission and why reasons) • First 3 people get a free drink Shark. Fest ’ 16 Europe • Arnhem, Netherlands • October 17 -19, 2016 • #sf 16 eu (2

Slow Web Page Load Issue • Users experiencing very slow load times • All

Slow Web Page Load Issue • Users experiencing very slow load times • All external sites • Checked DNS • Asked for simple test case Shark. Fest ’ 16 Europe • Arnhem, Netherlands • October 17 -19, 2016 • #sf 16 eu

Slow Web Page Load Take Away • Start with Stats > Conversations • Ask

Slow Web Page Load Take Away • Start with Stats > Conversations • Ask user for simple, specific test and only capture that • Always check the i. RTT • TCP pref – Allow subdissectors to reassemble streams • Add TCP conversation deltas for HTTP analysis • Troubleshoot up the stack (don‘t forget about layer 2) • When in doubt, Google Shark. Fest ’ 16 Europe • Arnhem, Netherlands • October 17 -19, 2016 • #sf 16 eu

Tomcat Performance Issue • Downloads from Tomcat server are slow • Windows 2008 R

Tomcat Performance Issue • Downloads from Tomcat server are slow • Windows 2008 R 2 • No issue with IIS or Apache • Should we help or nah? Shark. Fest ’ 16 Europe • Arnhem, Netherlands • October 17 -19, 2016 • #sf 16 eu

Host A seq=0 len=1460 seq=1460 len=1460 3420 bytes Host B 1460 MSS delayed ACK

Host A seq=0 len=1460 seq=1460 len=1460 3420 bytes Host B 1460 MSS delayed ACK timer ack=2920 seq=2920 len=500 delayed ACK timer 200 ms ack=3420 Shark. Fest ’ 16 Europe • Arnhem, Netherlands • October 17 -19, 2016 • #sf 16 eu

Tomcat Performance Take Away • Know TCP basics e. g. delayed ACK • Know

Tomcat Performance Take Away • Know TCP basics e. g. delayed ACK • Know TCP basics e. g. bytes in flight • Wireshark setup • Not all questions can be answered • But issues can still be solved • The journey holds the value Shark. Fest ’ 16 Europe • Arnhem, Netherlands • October 17 -19, 2016 • #sf 16 eu

 • kary@packetbomb. com Contact • http: //packetbomb. com • @packetbomb • Fill out

• kary@packetbomb. com Contact • http: //packetbomb. com • @packetbomb • Fill out the survey in the app! • Free beer challenge! Shark. Fest ’ 16 Europe • Arnhem, Netherlands • October 17 -19, 2016 • #sf 16 eu