Skip to content

Support splitted PSS components (anon, file, and shmem)#257

Open
ShirleyFei wants to merge 1 commit intoAtoptool:masterfrom
bytedance:splitted-pss
Open

Support splitted PSS components (anon, file, and shmem)#257
ShirleyFei wants to merge 1 commit intoAtoptool:masterfrom
bytedance:splitted-pss

Conversation

@ShirleyFei
Copy link
Contributor

According to [1], Linux kernel has reported separate components (anon, file, and shmem) for PSS in smaps_rollup. This helps understand and tune the memory manager behavior in consumer devices.

Thus collect and show these three indicators for per process:

  • Pss_Anon
  • Pss_File
  • Pss_Shmem

[1]http://lkml.kernel.org/r/20190626234333.44608-1-semenzato@chromium.org

According to [1], Linux kernel has reported separate components
(anon, file, and shmem) for PSS in smaps_rollup. This helps
understand and tune the memory manager behavior in consumer devices.

Thus collect and show these three indicators for per process:
- Pss_Anon
- Pss_File
- Pss_Shmem

[1]http://lkml.kernel.org/r/20190626234333.44608-1-semenzato@chromium.org

Signed-off-by: Fei Li <lifei.shirley@bytedance.com>
@natoscott
Copy link
Contributor

@ShirleyFei in more recent kernels there's also a new Pss_Dirty row in smaps_rollup, might be a useful addition here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants