LatencyTOP

Last updated
LatencyTOP
Original author(s) Intel
Developer(s) Arjan van de Ven
Initial release2008
Stable release
0.5
Repository git.infradead.org/latencytop.git
Written in C
Operating system Linux, Solaris
Platform x86, ARM
Type Utility
License GPLv2
Website http://www.latencytop.org/

LatencyTOP is a Linux application for identifying operating system latency within the kernel and find out the operations/actions which cause the latency. [1] LatencyTOP is a tool for software developers to visualize system latencies. Based on these observations, the source code of the application or kernel can be modified to reduce latency. It was released by Intel in 2008 under the GPLv2 license. It works for Intel, AMD and ARM processors.[ citation needed ]

Contents

As of 2021, the project appears inactive with the last commit to the source code in October 2009. [2]

Kernel integration

Support for LatencyTOP first appeared in the Linux 2.6.25 kernel, which added the CONFIG_LATENCYTOP instrumentation and a /proc/latency_stats interface for the userspace client. [3] Jonathan Corbet’s contemporaneous coverage of 2.6.25 highlighted LatencyTop support among the headline features of the release. [4]

Functionality

According to the project’s manual page, latencytop identifies where in the system latency is happening by sampling the kernel’s latency tracker and attributing delays to specific processes, system calls and stack traces. The curses interface presents a real‑time top‑style list of the worst‑offending code paths; a GTK+ front‑end is available as an optional package. [5]

Development and availability

Intel engineer Arjan van de Ven released LatencyTOP in early 2008; the last upstream version, 0.5, was tagged in September 2009 and introduced the new GUI. [6]

Although upstream development stalled, distributions continue to ship the dormant codebase:

Modern generic kernels may omit CONFIG_LATENCYTOP, causing the utility to exit with “Please enable the CONFIG_LATENCYTOP configuration in your kernel”. This issue was reported against Ubuntu 4.4 kernels in 2016 and remains a common hurdle when using distribution kernels. [11]

See also

References

  1. Gray, James (15 February 2008). "Interview With Arjan van de Ven of Intel and Lesswatts.org | Linux Journal". Linux Journal . Retrieved 2022-09-21.
  2. "git.infradead.org Git". Archived from the original on 2013-07-06. Retrieved 2013-07-06. latencytop.git last change Sun, 4 Oct 2009 by Arjan van de Ven
  3. "Linux_2_6_25 - Linux Kernel Newbies". kernelnewbies.org. Retrieved 2025-07-19.
  4. "Kernel development". LWN.net. Retrieved 2025-07-19.
  5. "latencytop". debian.org.
  6. "521954 – consider updating to latencytop 0.5". bugzilla.redhat.com. Retrieved 2025-07-19.
  7. "Red Hat Enterprise Linux". docs.redhat.com.
  8. "latencytop - Fedora Packages". packages.fedoraproject.org. Retrieved 2025-07-19.
  9. "latencytop : Bionic (18.04) : Ubuntu". Launchpad. Retrieved 2025-07-19.
  10. "latencytop-0.5-11.mga10.i686 RPM". www.rpmfind.net. Retrieved 2025-07-19.
  11. "Bug #1624885 "unable to run latencytop" : Bugs : linux package : Ubuntu". Launchpad. 2016-09-18. Retrieved 2025-07-19.