You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At linux, the /proc/{pid}/smaps causes the kernel to do iterations for every process. This looks awful and unneeded in our use case.
Assuming that we have 10 processes to collect, to work on all the 10 processes by the proc file system, the kernel actually does 10+ iterations on the same memory struct.
At linux, the
/proc/{pid}/smaps
causes the kernel to do iterations for every process. This looks awful and unneeded in our use case.Assuming that we have 10 processes to collect, to work on all the 10 processes by the
proc
file system, the kernel actually does 10+ iterations on the same memory struct.To reduce the current high cpu of collecting
smaps
, we only do 1 iteration for all process collections./cc @lolBig @FeelyChau
The text was updated successfully, but these errors were encountered: