LFCS · Question #154
When investigating memory usage, what is the most important measurement for capacity planning purposes?
The correct answer is A. Resident set size (RSS). Resident Set Size (RSS) is the most critical memory measurement for capacity planning because it reflects the actual physical RAM utilized by a process.
Question
Options
- AResident set size (RSS)
- BTotal memory
- CVirtual memory size (VSZ)
- DSwap memory usage
How the community answered
(35 responses)- A94% (33)
- B3% (1)
- C3% (1)
Why each option
Resident Set Size (RSS) is the most critical memory measurement for capacity planning because it reflects the actual physical RAM utilized by a process.
Resident Set Size (RSS) measures the amount of physical RAM a process occupies, excluding swapped-out pages and shared libraries not currently resident. It is crucial for capacity planning because it directly indicates the true physical memory demand of an application, impacting the server's available RAM.
Total memory refers to the entire RAM installed on the system, which is a static value and not a per-process measurement of usage for capacity planning.
Virtual Memory Size (VSZ) includes all memory a process *can* access, including mapped files and swapped memory, often overestimating actual physical memory consumption.
Swap memory usage indicates memory moved from RAM to disk, which is a symptom of insufficient physical memory rather than the primary measure of a process's actual RAM footprint.
Concept tested: Memory metrics for capacity planning
Source: https://perf.wiki.kernel.org/index.php/RSS
Topics
Community Discussion
No community discussion yet for this question.