TCP latency issues

Until now we have been troubleshooting connection-related issues. In this section, we will check the latency part. Latency can be on the network, or in application processing on the part of the client or server.

Cause of latency

Identifying the source of latency also plays an important role in TCP troubleshooting. Let's see what the common causes of latency are:

  • Network slow wire latency can be measured with the ping utility
  • Too many running processes eat memory. Check the memory management, work with free, top command to identify CPU and memory use
  • Application not started with sufficient memory or cannot serve more requests
  • Bad TCP tuning; verify the /etc/sysctl.cnf file
  • Network jitter; verify your network and check with the network ...

Get Packet Analysis with Wireshark now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.