From owner-freebsd-current@FreeBSD.ORG Sat Dec 6 14:28:07 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 CCCC4B8D for ; Sat, 6 Dec 2014 14:28:07 +0000 (UTC) Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6FBF38E8 for ; Sat, 6 Dec 2014 14:28:07 +0000 (UTC) Received: by mail-wi0-f178.google.com with SMTP id em10so1173155wid.5 for ; Sat, 06 Dec 2014 06:28:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/6TBf1SdQnngwHF/k6au9uJEdKMzSoq2e87bBiz7+co=; b=qZy6Lm/RStY3/1LCmYtBolK5n49ivzFoqMQyoqO9MlrsbuUpJqNTyhzrXuJCg6kr/C BGMQxyBfQP1knyUrBmd+AXxewu8x8bad6bPY8tCYZlETFVUfm/iEK211m9WJ+mpn2vrY r4Pkd0KPn67jda86iLRnICnPA4NXExA3ePLDLtRbcE+ehqveeGvx9jTn01xwhBj/xSxa zyJQowgrqNTMjsr/KiobQ4IQOOGFjPuQLKKF1R2H7NBbAB29gY26myodhC3FTIAZNil9 I4zg2ziCHYY08ilTjgcpXL/T8JfoUdUTACwwXr5STpAfGILDw+TNy7qwnk5UH+KZNSTB kRfw== MIME-Version: 1.0 X-Received: by 10.194.85.161 with SMTP id i1mr31929798wjz.35.1417876085669; Sat, 06 Dec 2014 06:28:05 -0800 (PST) Received: by 10.216.214.201 with HTTP; Sat, 6 Dec 2014 06:28:05 -0800 (PST) In-Reply-To: <20141206053520.7d7cb92fd8987545d3dc3de8@j.email.ne.jp> References: <20141206053520.7d7cb92fd8987545d3dc3de8@j.email.ne.jp> Date: Sat, 6 Dec 2014 15:28:05 +0100 Message-ID: Subject: Re: sysctl -zarc for ZFS users From: "Ranjan1018 ." <214748mv@gmail.com> To: Yoshihiro Ota Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD CURRENT 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 14:28:07 -0000 2014-12-06 11:35 GMT+01:00 Yoshihiro Ota : > 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 > Hi Hiro, just applied the patch, but I receive the error: # make make: don't know how to make zarc.c. Stop make: stopped in /usr/src/usr.bin/systat The file zarc,c is missing. Where can I find it ? Thanks. Maurizio