Jump to content

Working set size

From Wikipedia, the free encyclopedia

This is the current revision of this page, as edited by BattyBot (talk | contribs) at 21:29, 30 July 2022 (Replaced {{unreferenced}} with {{more citations needed}} and other General fixes). The present address (URL) is a permanent link to this version.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

In computing, working set size is the amount of memory needed to compute the answer to a problem. In any computing scenario, but especially high performance computing where mistakes can be costly, this is a significant design-criteria for a given super computer system in order to ensure that the system performs as expected.[1]

When a program/algorithm computes the answer to a problem, it uses a set of data (input and intermediate data) to complete the work. For any given instance of the problem, the program has one such data set, which is called the working set. The Working Set Size (WSS) is the size of this data set.

The significance of this is that if the Working Set Size is larger than the available memory in a virtual memory system then the memory manager must refer to the next level in the memory hierarchy (usually hard disk) to perform a swap operation swapping some memory contents from RAM to hard disk to enable the program to continue working on the problem. If this swapping goes on continuously the program is slowed significantly. This phenomenon is known as thrashing.

References

[edit]
  1. ^ "windows - What is Working Set?". Stack Overflow. Retrieved 2022-07-11.