You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the enhancement:
Add the following metrics to the list of exposed memory/swap metrics pgscank = pgscan_kswapd from /proc/vmstat, number of pages scanned by the kswapd daemon pgscand = pgscan_direct from /proc/vmstat, number of pages scanned directly pgfreed = pgfree from /proc/vmstat, number of pages freed by the system pgsteal = pgsteal from /proc/vmstat, Number of pages placed on the free list by the system
We call GetVMStat to fetch a VMStatInfo struct but we only fetch few metrics, while GetVMStat returns the aforementioned struct which has all metrics from /proc/vmstat.
Moreover, it would be great if you can caluclate the vmeff metric that sar tool list:
%vmeff
Calculated as pgsteal / pgscan, this is a metric of the efficiency of page
reclaim. If it is near 100% then almost every page coming off the tail of
the inactive list is being reaped. If it gets too low (e.g. less than 30%)
then the virtual memory is having some difficulty. This field is displayed
as zero if no pages have been scanned during the interval of time.
Describe a specific use case for the enhancement or feature:
These metrics will help us to have visibility in memory saturation cases
The text was updated successfully, but these errors were encountered:
Describe the enhancement:
Add the following metrics to the list of exposed memory/swap metrics
pgscank
=pgscan_kswapd
from/proc/vmstat
, number of pages scanned by the kswapd daemonpgscand
=pgscan_direct
from/proc/vmstat
, number of pages scanned directlypgfreed
=pgfree
from/proc/vmstat
, number of pages freed by the systempgsteal
=pgsteal
from/proc/vmstat
, Number of pages placed on the free list by the systemWe call GetVMStat to fetch a
VMStatInfo
struct but we only fetch few metrics, while GetVMStat returns the aforementioned struct which has all metrics from/proc/vmstat.
Moreover, it would be great if you can caluclate the
vmeff
metric thatsar
tool list:Describe a specific use case for the enhancement or feature:
These metrics will help us to have visibility in memory saturation cases
The text was updated successfully, but these errors were encountered: