[PATCH] Simple ARC stats in top
Andriy Gapon
avg at FreeBSD.org
Tue Jun 26 14:49:49 UTC 2012
on 26/06/2012 17:29 Mark Felder said the following:
> 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
Hmm, the above numbers add up to about 10MB...
> 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?
Please also reproduce the zfs-stats lines preceding the quoted output.
Additionally, please run this script http://people.freebsd.org/~avg/arc-sizes.sh
--
Andriy Gapon
More information about the freebsd-fs
mailing list