[PATCH] Simple ARC stats in top

Mark Felder feld at feld.me
Tue Jun 26 15:25:47 UTC 2012


On Tue, 26 Jun 2012 09:49:36 -0500, Andriy Gapon <avg at freebsd.org> wrote:

>
> Please also reproduce the zfs-stats lines preceding the quoted output.

zfs2# zfs-stats -A

------------------------------------------------------------------------
ZFS Subsystem Report				Tue Jun 26 10:24:40 2012
------------------------------------------------------------------------

ARC Summary: (HEALTHY)
	Memory Throttle Count:			0

ARC Misc:
	Deleted:				87.09m
	Recycle Misses:				50.58m
	Mutex Misses:				299.09k
	Evict Skips:				5.28m

ARC Size:				941.88%	5.89	GiB
	Target Size: (Adaptive)		100.00%	640.00	MiB
	Min Size (Hard Limit):		12.50%	80.00	MiB
	Max Size (High Water):		8:1	640.00	MiB

ARC Size Breakdown:
	Recently Used Cache Size:	0.66%	40.00	MiB
	Frequently Used Cache Size:	99.34%	5.85	GiB

ARC Hash Breakdown:
	Elements Max:				29.25m
	Elements Current:		100.00%	29.25m
	Collisions:				89.81m
	Chain Max:				131
	Chains:					524.29k

------------------------------------------------------------------------

> Additionally, please run this script  
> http://people.freebsd.org/~avg/arc-sizes.sh
>


zfs2# sh arc-sizes.sh
ARC top-level breakdown:
size: 6319074560
hdr_size: 10166488
data_size: 1513472
other_size: 245576

ARC size vs hdr_size + data_size + other_size:
6319074560 vs 11925536

ARC Data breakdown:
mfu_size: 212992
mru_size: 1251328
anon_size: 49152

Data size vs mfu_size + mru_size + anon_size:
1513472 vs 1513472

mfu breakdown:
data_lsize: 0
metadata_lsize: 0

other (overhead? ghost entries?): 212992

mru breakdown:
data_lsize: 0
metadata_lsize: 49152

other (overhead? ghost entries?): 1202176

anon breakdown:
data_lsize: 0
metadata_lsize: 0

other (overhead? ghost entries?): 49152


More information about the freebsd-fs mailing list