Visualizing The Linux Kernel Performance with FlameGraph AR

dc.contributor.authorTiara Rojas-Stambuk
dc.contributor.authorLuis Fernando Gil-Gareca
dc.contributor.authorJuan Pablo Sandoval Alcocer
dc.contributor.authorLeonel Merino
dc.contributor.authorDavid Moreno-Lumbreras
dc.coverage.spatialBolivia
dc.date.accessioned2026-03-22T19:45:39Z
dc.date.available2026-03-22T19:45:39Z
dc.date.issued2025
dc.description.abstractIn this challenge, we explore the evolution of the Linux kernel’s performance during compilation by comparing versions 5.19.17 and 6.14 through sampling-based CPU profiling. We collect profiling data using perf, transform into Chromecompatible .cpuprofile format, and analyze through a novel spatial visualization called FlameGraph AR.FlameGraph AR extends traditional flamegraphs beyond the limitations of IDE panels and conventional screens by rendering visualizations with augmented reality on a Microsoft HoloLens 2 device. By offloading the flamegraph to physical space, the FlameGraph AR tool enables developers to walk through wide and deeply nested call stacks, examine function frames through gesture-based interactions, and gain spatial awareness of the runtime behavior of a software system.In effect, we found immersive visualization especially valuable for analyzing architectural changes between the two kernel versions. We found that version 6.14 exhibits a significantly higher number of samples in several functions, such as native_write_msr, indicating intensified low-level CPU interactions. In addition, functions such as intel_pmu_enable_all and x86_pmu_enable also increased in frequency, suggesting increased reliance on performance monitoring. The stack depth analysis revealed that certain functions in version 6.14, including fpregs_assert_state_consistent and account_user_time, appear at significantly deeper levels than in earlier versions. Indeed, some reach the maximum stack trace depth of the profiling tool. The results indicate a growth in both modularity and the depth of instrumentation within the kernel execution paths.Multiple performance changes become visible and interactive with Flamegraph AR. For example, time-consuming functions show up as wide frames that span over desks or walls, and deep call stacks are explored physically by approaching or gazing upward. By mapping performance traces into the spatial domain, our tool provides a compelling method for understanding systemic evolution in large-scale software like the Linux kernel.Video URL: https://vimeo.com/1092935027/7d09676a83
dc.identifier.doi10.1109/vissoft67405.2025.00024
dc.identifier.urihttps://doi.org/10.1109/vissoft67405.2025.00024
dc.identifier.urihttps://andeanlibrary.org/handle/123456789/77956
dc.language.isoen
dc.sourceUniversidad Católica Bolivia San Pablo
dc.subjectComputer science
dc.subjectVisualization
dc.subjectProfiling (computer programming)
dc.subjectKernel (algebra)
dc.subjectInteractive visualization
dc.subjectRendering (computer graphics)
dc.subjectSoftware
dc.subjectData visualization
dc.subjectComputer graphics (images)
dc.subjectAugmented reality
dc.titleVisualizing The Linux Kernel Performance with FlameGraph AR
dc.typearticle

Files