HomeFreeBSD

Seeing negative values for wlentime and rlentime

Description

Seeing negative values for wlentime and rlentime

Linux kstat IO and TIMER printed values as signed. However the counters
only increment. Thus humans looking at the data can be confused when
the counters roll over.

Note: The recommended use of these values is to monitor the derivative,
which don't really care about the sign. See explanations related to
non-negative derivatives in the various time-series databases.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Giuseppe Di Natale <guss80@gmail.com>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Richard Elling <Richard.Elling@RichardElling.com>
Closes #8131
Closes #8198

Details

Provenance
Richard Elling <Richard.Elling@RichardElling.com>Authored on Dec 11 2018, 9:56 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Dec 11 2018, 9:56 PM
Parents
rGfa61e72340c1: Rename macro ZFS_MINOR due to Lustre conflict
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGa48cd034c8df: Seeing negative values for wlentime and rlentime (authored by Richard Elling <Richard.Elling@RichardElling.com>).Dec 11 2018, 9:56 PM