Amazon Engineers Introduce "DAMON" For Linux Kernel To Monitor Data Accesses

Written by Michael Larabel in Linux Kernel on 10 January 2020 at 09:55 AM EST. 8 Comments
LINUX KERNEL
Amazon engineers announced their work today on "DAMON", a Linux kernel module for monitoring of data accesses for specific user-space processes.

Here is how Amazon's team explains DAMON:
DAMON is a kernel module that allows users to monitor the actual memory access pattern of specific user-space processes. It aims to be 1) accurate enough to be useful for performance-centric domains, and 2) sufficiently light-weight so that it can be applied online.

For the goals, DAMON utilizes its two core mechanisms, called region-based sampling and adaptive regions adjustment. The region-based sampling allows users to make their own trade-off between the quality and the overhead of the monitoring and set the upperbound of the monitoring overhead. Further, the adaptive regions adjustment mechanism makes DAMON to maximize the quality and minimize the overhead with its best efforts while preserving the users configured trade-off.

Among the expected uses of DAMON are for program behavior analysis, debugging, analyzing systems with over-committed memory use, optimizing software based upon actual data access patterns, and other software optimizations.

More details on this proposed DAMON implementation for the Linux kernel can be found via this request for comments.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week