LatencyTOP explained

LatencyTOP
Author:Intel
Developer:Arjan van de Ven
Released:2008
Latest Release Version:0.5
Programming Language:C
Operating System:Linux, Solaris
Platform:x86, ARM
Genre: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.

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

Notes and References

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