LatencyTOP

LatencyTOP
Original author(s)Intel
Developer(s)Arjan van de Ven
Initial release2008
Stable release
0.5
Repositorygit.infradead.org/latencytop.git
Written inC
Operating systemLinux, Solaris
Platformx86, ARM
TypeUtility
LicenseGPLv2
Websitehttp://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]

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

Kernel integration

[edit]

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

[edit]

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

[edit]

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:

  • Red Hat Enterprise Linux 6.3 split the package into ›latencytop‹and a non‑GTK ›latencytop‑tui‹ build and corrected several debugfs‑mount issues in 2012.[7]
  • Fedora 42/Rawhide still compiles version 0.5 (GUI and TUI flavours) as of 2025.[8]
  • Ubuntu 18.04 LTS provides 0.5‑ubuntu3 binaries for all architectures.[9]
  • Mageia Cauldron rebuilt the same source as `latencytop‑0.5‑11.mga10` in October 2024.[10]

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][12]

See also

[edit]

References

[edit]
  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.
  12. ^ "Bug #1624885 "unable to run latencytop" : Bugs : linux package : Ubuntu". Launchpad. 2016-09-18. Retrieved 2025-07-19.
[edit]