From owner-freebsd-current@FreeBSD.ORG Sat Dec 6 10:35:59 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1279D5C6 for ; Sat, 6 Dec 2014 10:35:59 +0000 (UTC) Received: from mail1.asahi-net.or.jp (mail1.asahi-net.or.jp [202.224.39.197]) by mx1.freebsd.org (Postfix) with ESMTP id DC583F48 for ; Sat, 6 Dec 2014 10:35:58 +0000 (UTC) Received: from localhost (pool-96-242-149-4.nwrknj.fios.verizon.net [96.242.149.4]) by mail1.asahi-net.or.jp (Postfix) with ESMTP id A791BEE32 for ; Sat, 6 Dec 2014 19:35:47 +0900 (JST) Date: Sat, 6 Dec 2014 05:35:20 -0500 From: Yoshihiro Ota To: freebsd-current@freebsd.org Subject: sysctl -zarc for ZFS users Message-Id: <20141206053520.7d7cb92fd8987545d3dc3de8@j.email.ne.jp> X-Mailer: Sylpheed 3.3.1 (GTK+ 2.24.22; i386-portbld-freebsd8.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Dec 2014 10:35:59 -0000 Hi all. I've been watching ZFS activites on my machine and improved systat to monitor such. One of my first goals is to watch ZFS cache statistics. I posted my patch to the bugzilla @ https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195460 I've been using on 11-CURRENT and 10.1-RELEASE myself. Regards, Hiro % systat -zarc Total MFU MRU Anon Hdr L2Hdr Other ZFS ARC 206M 63M 136M 826K 1102K 0K 5251K rate hits misses total hits total misses arcstats : 75% 1183 388 23721 4202 arcstats.demand_data : 0% 0 0 528 0 arcstats.demand_metadata : 76% 1007 308 21441 2757 arcstats.prefetch_data : 0% 0 0 0 0 arcstats.prefetch_metadata: 68% 176 80 1752 1445 zfetchstats : 44% 954 1204 26410 25482 arcstats.l2 : 0% 0 0 0 0 vdev_cache_stats : 0% 0 0 0 0