A Valgrind Tool to Compute the Working Set of a Software Process

02/28/2019
by   Martin Becker, et al.
0

This paper introduces a new open-source tool for the dynamic analyzer Valgrind. The tool measures the amount of memory that is actively being used by a process at any given point in time. While there exist numerous tools to measure the memory requirements of a process, the vast majority only focuses on metrics like resident or proportional set sizes, which include memory that was once claimed, but is momentarily disused. Consequently, such tools do not permit drawing conclusions about how much cache or RAM a process actually requires at each point in time, and thus cannot be used for performance debugging. The few tools which do measure only actively used memory, however, have limitations in temporal resolution and introspection. In contrast, our tool offers an easy way to compute the memory that has recently been accessed at any point in time, reflecting how cache and RAM requirements change over time. In particular, this tool computes the set of memory references made within a fixed time interval before any point in time, known as the working set, and captures call stacks for interesting peaks in the working set size. We first introduce the tool, then we run some examples comparing the output from our tool with similar memory tools, and we close with a discussion of limitations

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/17/2023

DRackSim: Simulator for Rack-scale Memory Disaggregation

Memory disaggregation has emerged as an alternative to traditional serve...
research
02/27/2022

Technical Debt and Maintainability: How do tools measure it?

The technical state of software, i.e., its technical debt (TD) and maint...
research
10/15/2021

Metrics and Design of an Instruction Roofline Model for AMD GPUs

Due to the recent announcement of the Frontier supercomputer, many scien...
research
09/18/2023

Testaro: Efficient Ensemble Testing for Web Accessibility

As automated web accessibility testing tools become enriched with new an...
research
10/03/2017

Finding Talk About the Past in the Discourse of Non-Historians

A heightened interest in the presence of the past has given rise to the ...
research
06/24/2019

Platform Independent Software Analysis for Near Memory Computing

Near-memory Computing (NMC) promises improved performance for the applic...
research
02/10/2021

NumaPerf: Predictive and Full NUMA Profiling

Parallel applications are extremely challenging to achieve the optimal p...

Please sign up or login with your details

Forgot password? Click here to reset