[PATCH] Simple ARC stats in top

Mark Felder feld at feld.me
Tue Jun 26 14:29:28 UTC 2012


On Mon, 25 Jun 2012 13:43:41 -0500, John Baldwin <jhb at freebsd.org> wrote:
>
> Comments, etc.?
>

Why do these stats differ from the ones in the zfs-stats script?

CPU:  0.1% user,  0.0% nice,  0.3% system,  0.1% interrupt, 99.5% idle
Mem: 81M Active, 1118M Inact, 9714M Wired, 76K Cache, 1850M Buf, 6930M Free
ARC: 6026M Total, 128K MRU, 1222K MFU, 24K Anon, 9961K Header, 238K Other
Swap: 18G Total, 18G Free

zfs-stats output:

ARC Size Breakdown:
         Recently Used Cache Size:       0.67%   40.11   MiB
         Frequently Used Cache Size:     99.33%  5.85    GiB

Shouldn't your MFU be 5.85GiB and MRU be 40MiB?


More information about the freebsd-fs mailing list