From owner-freebsd-current@FreeBSD.ORG Sun Dec 14 09:52:29 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 36E1FDFC for ; Sun, 14 Dec 2014 09:52:29 +0000 (UTC) Received: from mail-wi0-x22c.google.com (mail-wi0-x22c.google.com [IPv6:2a00:1450:400c:c05::22c]) (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 AE976348 for ; Sun, 14 Dec 2014 09:52:28 +0000 (UTC) Received: by mail-wi0-f172.google.com with SMTP id n3so6259216wiv.5 for ; Sun, 14 Dec 2014 01:52:26 -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=2kn1NdStdhmK2faFCwWI1ATzUs89jmDmFJ/O+W5wu2o=; b=jjiD4sBakHo8t8nS1kk/ZOua1Q4+lBQ8NtVNhl5TPR98XXr5iuBsAk/V2MrvYzBzCV YSlUyTpbp2n3dekSqhzoDXLanGh7rXBoqH6Jlf7ToaD17gyOc9tIdPbbB7Ig9MdBoAE6 WH0FiS1PR3dbOrllS+GCYrUReh1XJ7ZF30cFB+gp1ULYecBP19jWhJlBunN77UJ9FSwx 5Jfb/Ono8AQjtdJDgS8ANlkb0cnBqxTr3rbZEe+B+CQBxX/QsmswKrmvmOTjkxp+Cr9c BgN9H7D+HmbmgbGX4UZPOuNRyu4otT7ww04j0C+2C0ZHN0ylMtztQCTAJOYJIqlFTpGi bprQ== MIME-Version: 1.0 X-Received: by 10.194.184.199 with SMTP id ew7mr43464217wjc.85.1418550746860; Sun, 14 Dec 2014 01:52:26 -0800 (PST) Received: by 10.217.46.132 with HTTP; Sun, 14 Dec 2014 01:52:26 -0800 (PST) In-Reply-To: <20141207233452.cc49a49e62f056255da9cbb0@j.email.ne.jp> References: <20141206053520.7d7cb92fd8987545d3dc3de8@j.email.ne.jp> <20141207233452.cc49a49e62f056255da9cbb0@j.email.ne.jp> Date: Sun, 14 Dec 2014 10:52:26 +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: Sun, 14 Dec 2014 09:52:29 -0000 2014-12-08 5:34 GMT+01:00 Yoshihiro Ota : > > Thank you for your report, Maurizio. > > I missed 'svn add zarc.c' and resuled an incompelte patch. > I uploaded a new one with a complete set to the bugzilla. > > Please try against clean directory, i.e. svn revert -R usr.bin/systat. > > Thanks, > Hiro > > > On Sat, 6 Dec 2014 15:28:05 +0100 > "Ranjan1018 ." <214748mv@gmail.com> wrote: > > > 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 > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to " > freebsd-current-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > This patch is running on a 9.3-STABLE server for about a week with no problems. Only two cosmetics issues - big numbers are difficult to read eg. zfetchstats : 99% 646 4 272407322 143761103 is more readable, for me, as zfetchstats : 99% 646 4 272.41M 143.76M - a total rate percent is missing. Thank you for your work Hiro. -- Maurizio.