Design a site like this with WordPress.com
Get started

What is PSS of a process?

Answer

The “proportional set size” or PSS of process is the sum of the unshared memory of a process and the proportion of memory shared with other processes.

Formula: unshared memory of a process + (memory shared with other processes /number of processes that share memory)

We’ll understand through an example

Example

  • Process A has 100 KiB of unshared memory
  • Process B has 200 KiB of unshared memory
  • Both process A and process B have 150 KiB of the same shared memory region
  • There are 2 processes

Now, the PSS for these two processes are as follows:

  • PSS of process A = 100 KiB + (150 KiB / 2) = 175 KiB
  • PSS of process B = 200 KiB + (150 KiB / 2) = 275 KiB

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Create a free website or blog at WordPress.com.

Up ↑

%d bloggers like this: