Tools to diagnose network slowness (lentency)

Hello Daoud

Troubleshooting a slow network can be tricky. There is no single process to follow since a slow network can be due to many different things. A slow network can be due to:

  • network congestion resulting from incorrect QoS processes, routing, or simply due to a time of high network usage
  • data corruption - there may be a high number of corrupted packets/frames arriving at ports that simply drop them, requiring applications to resend much data.
  • collisions - due to an incorrectly configured network, once again resulting in applications needing to resend data
  • faulty physical infrastructure such as cables
  • too many STP topology change notifications (TCNs) resulting in flapping interfaces
  • non-optimal routing configuration,
  • hardware failure

There are several strategies you can use to diagnose these including:

  • Ping and traceroute will allow you to see the measured delays as well as the paths that are taken. Delays from end to end as well as to each individual hop will give you an idea of where the problem may be.
  • Monitoring suites such as Solarwinds and LibreNMS can use protocols including SNMP to monitor specific aspects of a network and the network devices, identifying errors and events that can help you troubleshoot.
  • Other tools such as NBAR and NetFlow are also useful to gain insight into what is happening on your network.

Having a network monitoring system is critical for such situations. It’s not easy to troubleshoot such problems using the CLI, beyond very basic diagnosis tasks. Using monitoring systems increase visibility, and will warn you whenever any thresholds you set, such as the upper limit of allowed latency, are surpassed.

If you’d like us to go over something more specific, please let us know.

I hope this has been helpful!

Laz