4 ms·
Nice! /proc/<pid>/pagemap is basically an alternate to my kernel module. So I could do a pure userspace solution now. Can anyone recommend visualisation tools
by jbert 14y ago
Nice! /proc/<pid>/pagemap is basically an alternate to my kernel module. So I could do a pure userspace solution now.
Can anyone recommend visualisation tools using pagemap? I'd like to get the exmap functionality (per-process 'effective usage' and also ELF-section/symbol resolution.
If that already exists great - if not maybe I can enhance an existing pagemap tool.
- morsch 14y agoThis is a visualisation tool by the guy who implemented pagemap: http://www.selenic.com/smem/ http://www.selenic.com/smem/ Unlike existing tools, smem can report proportional set size (PSS), which is a more meaningful representation of the amount of memory used by libraries and applications in a virtual memory system. Because large portions of physical memory are typically shared among multiple applications, the standard measure of memory usage known as resident set size (RSS) will significantly overestimate memory usage. PSS instead measures each application's "fair share" of each shared area to give a realistic measure. Here's some history behind it: http://lwn.net/Articles/329458/ http://lwn.net/Articles/329458/