working set size (WSS) of the Dgraph process
The working set of the Dgraph process is a collection of pages in the
virtual address space of the process that is resident in physical memory. The
pages in the working set have been most recently and frequently referenced. In
other words, the Dgraph working set is the amount of memory a Dgraph process is
consuming now. This is the amount of memory that is needed to avoid paging.
The following statements describe the working set size (WSS):
- The WSS cannot be computed,
although it is always less than or equal to the amount of virtual process size
for the MDEX Engine.
- Determine the WSS
experimentally: if you notice that increasing RSS (by adding RAM or subtracting
competing processes) improves performance of the MDEX Engine, this means that
the WSS was previously larger than the RSS. This was likely the cause of the
performance degradation.
- If the size of the WSS grows
too close to the amount of RAM, or starts to exceed it, paging to disk begins
and you will notice rapid decreases in performance.
For more information, see the
MDEX Engine Performance Tuning Guide.