Proportional set size explained

In computing, proportional set size (PSS) is the portion of main memory (RAM) occupied by a process and is composed by the private memory of that process plus the proportion of shared memory with one or more other processes. Unshared memory including the proportion of shared memory is reported as the PSS.

Example:

Since the PSS is defined as the sum of the unshared memory of a process and the proportion of memory shared with other processes, the PSS for these two processes are as follows:

This concept is mostly related (if not unique) to the Linux operating system. It was proposed by Matt Mackall[1] because of the complications that arose when trying to count the "real memory" used by a process. The concepts of resident set size or virtual memory size (VmSize) weren't helping developers who tried to know how much memory their programs were using.

See also

External links

Notes and References

  1. Linux-Kernel Archive: Re: [PATCH] PSS(proportional set size) accounting in smaps]. 2007-08-14. Fengguang . Wu . 2022-03-02.