Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    L

    LTTng Blog

    lttng.org · Company blog · on HN since 2011

    The LTTng project's blog covers its open-source tracing framework for Linux, with posts on latency analysis, releases, and Userspace RCU.

    Visit blogHN submissions
    Systems & PerformanceOpen Source & Linux
    What HN says

    HN commenters recommend LTTng for correlated kernel and userspace tracing, and one says they are very impressed by it. It is often listed among tracing tools.

    Stats for nerds
    20HN people shared it
    16linked in comments
    311story points
    Jul 2024last shared
    2011people per year2024

    Top posts on HN

    1. 1
      LTTng: An open-source tracing framework for Linux
      9 people · 112 points · first shared 2011 · 15 comments on HN
    2. 2
      Membarrier system call performance and the future of Userspace RCU on Linux
      1 person · 71 points · first shared 2018 · 4 comments on HN
    3. 3
      Tracing bare-metal systems: a multi-core story
      1 person · 47 points · first shared 2014 · Discussion on HN
    4. 4
      Finding the root cause of a web request latency
      3 people · 30 points · first shared 2015 · Discussion on HN
    5. 5
      Full stack system call latency profiling
      1 person · 17 points · first shared 2015 · Discussion on HN
    6. 6
      Monitoring real-time latencies
      2 people · 9 points · first shared 2016 · Discussion on HN
    7. 7
      The new dynamic user space tracing feature in LTTng
      1 person · 6 points · first shared 2019 · Discussion on HN
    8. 8
      Preventing trace event record loss with LTTng-UST's blocking mode
      1 person · 6 points · first shared 2017 · Discussion on HN
    9. 9
      Bringing .NET application performance analysis to Linux
      1 person · 4 points · first shared 2018 · Discussion on HN
    10. 10
      Lttng-2.7-released
      2 people · 3 points · first shared 2015 · Discussion on HN

    What HN people wrote when they linked it

    • jitlNov 2021

      I think [this documentation page][1] does a much better job than the project homepage describing why you’d use lltng over other, related tools:

      > The main distinctive features of LTTng is that it produces correlated kernel and user space traces, as well as doing so with the lowest overhead amongst other solutions. It produces trace files in the CTF format, a file format optimized for the production and analyses of multi-gigabyte data.

      So it has kernel hooks as well as user space libraries for a number of different programming language runtimes like Java and Python.

      Compare to eBPF, which by the way is also open-source, since it’s a kernel feature. From lltng’s documentation:

      > eBPF: A subsystem in the Linux kernel in which a virtual machine can execute programs passed from the user space to the kernel.
      >
      > You can attach such programs to tracepoints and kprobes thanks to a system call, and they can output data to the user space when executed thanks to different mechanisms (pipe, VM register values, and eBPF maps, to name a few).

      [1]: https://lttng.org/docs/v2.13/#doc-lttng-alternatives

    • planckscnstJul 2015

      That's a pretty great overview. I've learned SystemTap myself because that's what's easy to get going in my environment. I was very surprised once I "got" it. It can do pretty much anything you'd ever need. I haven't needed to look at anything else yet, although I've been meaning to play with the LTTNG tools, as I like the idea of setting up the experiment just once, recording everything, then investigating afterwards. This [1] is a good walkthrough of that workflow.

      [1] http://lttng.org/blog/2015/02/04/web-request-latency-root-cause/

    • angry_octetNov 2022

      This article is pretty thin but it's not wrong.

      If you're interested in consistent low latency you do need to avoid TLB misses, and also page faults, cache contention, cache coherency delay (making sure no other cores are accessing your memory) from the CC protocol (MOESI/MESI(F)) and mis-prediction, and that's after you have put all your core's threads into SCHED_FIFO. Using https://lttng.org/ can be really helpful in checking what's happening.

    • edwintorokOct 2014

      Interesting, would it make sense to store/convert the trace in the CTF format[0]? Would the viewers from LTTng[1] be useful in analyzing this trace data?

      [0] https://www.efficios.com/babeltrace
      [1] http://lttng.org/files/lttv-doc/user_guide/c42.html#mainwindow

    • abusqueFeb 2018

      An option for correlated kernel and userspace tracing on Linux is LTTng. [0] For a comparison of LTTng and other tracers, check out the LTTng docs. [1]

      [0] http://lttng.org/

      [1] http://lttng.org/docs/v2.10/#doc-lttng-alternatives

    • jgalarAug 2021

      To provide some context for this release announcement, the LTTng documentation has a nice intro to tracing and an explanation of how LTTng relates to other Linux tracers.

      https://lttng.org/docs/v2.13/#doc-nuts-and-bolts

    Related

    Lacking Rhoticitylackingrhoticity.blogspot.com15 people

    Implementing fork() on the Mill CPU (2014)

    Lacking Rhoticity
    Personal · last shared 2022
    Engineering at Metaengineering.fb.com657 people

    Sapling: A new source control system with Git-compatible client

    Engineering at Meta
    Company · last shared 2026
    LLVM Blogblog.llvm.org226 people

    Clang Is Now Used to Build Chrome for Windows

    LLVM Blog
    Company · last shared 2026
    GNOME Blogsblogs.gnome.org490 people

    AirPods fast connect security vulnerability

    GNOME Blogs
    Company · last shared 2026
    Dan Luudanluu.com1.2k people

    We only hire the trendiest

    Dan Luu
    Personal · last shared 2026
    Datadog Blogdatadoghq.com262 people

    Husky, Datadog's Third-Generation Event Store

    Datadog Blog
    Company · last shared 2026
    Discord Blogdiscord.com728 people

    How Discord Stores Billions of Messages (2017)

    Discord Blog
    Company · last shared 2026
    Dropbox Tech Blogblogs.dropbox.com454 people

    Optimizing web servers for high throughput and low latency

    Dropbox Tech Blog
    Company · last shared 2026