Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
arc_summary.py probably displays false data for "Evict Skips" in ARC Misc #6882
Describe the problem you're observing
The source code for arc_summary.py contains these lines (line numbers ex vim):
Note that both "mutex_miss" and "evict_skips" are both assigned the human-readable number of mutex_miss. Actually, kstats has a parameter "evict_skip" in arcstats that on this system returns the value 10, while the number of mutex misses is given as 0. The parameter "evict_skip", however, is currently not collected at all by arc_summary.py.
It is assumed that the displayed value for evict_skips is wrong and is actually a repeat of the mutex value. Somebody who knows what is actually going on under the hood here needs to confirm that this is in fact a bug and not an intentional assignment for some strange reason.
Describe how to reproduce the problem
Diagnosis is by source code examination and comparison of the arc_summary.py value for "Evict Skips" and the raw value from kstat.zfs.misc.arcstats.evict_skip