Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2012 17:49:36 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Mark Felder <feld@feld.me>
Cc:        freebsd-fs@FreeBSD.org
Subject:   Re: [PATCH] Simple ARC stats in top
Message-ID:  <4FE9CC00.9090501@FreeBSD.org>
In-Reply-To: <op.wgik62ia34t2sn@tech304>
References:  <201206251443.41768.jhb@freebsd.org> <op.wgik62ia34t2sn@tech304>

next in thread | previous in thread | raw e-mail | index | archive | help
on 26/06/2012 17:29 Mark Felder said the following:
> On Mon, 25 Jun 2012 13:43:41 -0500, John Baldwin <jhb@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FE9CC00.9090501>