From owner-freebsd-fs@FreeBSD.ORG Tue Jun 26 14:29:27 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB5D41065679 for ; Tue, 26 Jun 2012 14:29:27 +0000 (UTC) (envelope-from feld@feld.me) Received: from feld.me (unknown [IPv6:2607:f4e0:100:300::2]) by mx1.freebsd.org (Postfix) with ESMTP id B204B8FC18 for ; Tue, 26 Jun 2012 14:29:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=feld.me; s=blargle; h=In-Reply-To:Message-Id:From:Mime-Version:Date:References:Subject:To:Content-Type; bh=bJB6g+H7oy25qTHrQTVIfnjyRN0LGVZKGWO8+bVjdrw=; b=WwnqFP1oiB1DX53sUyqrfE/mrNGvhbJ7DEArWcZUnIb05WeOt2WcVcLNbp5WB/jaq4RPAoBDPnuzyCTBIhP0g8bE1CwfiTVYkKW8GVA58NHXqIdXu6efGA8l3LMHPRwL; Received: from localhost ([127.0.0.1] helo=mwi1.coffeenet.org) by feld.me with esmtp (Exim 4.77 (FreeBSD)) (envelope-from ) id 1SjWle-000Dbt-Aj for freebsd-fs@freebsd.org; Tue, 26 Jun 2012 09:29:27 -0500 Received: from feld@feld.me by mwi1.coffeenet.org (Archiveopteryx 3.1.4) with esmtpa id 1340720956-94480-94479/5/56; Tue, 26 Jun 2012 14:29:16 +0000 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: freebsd-fs@freebsd.org References: <201206251443.41768.jhb@freebsd.org> Date: Tue, 26 Jun 2012 09:29:16 -0500 Mime-Version: 1.0 From: Mark Felder Message-Id: In-Reply-To: <201206251443.41768.jhb@freebsd.org> User-Agent: Opera Mail/12.00 (FreeBSD) X-SA-Score: -1.5 Subject: Re: [PATCH] Simple ARC stats in top X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2012 14:29:28 -0000 On Mon, 25 Jun 2012 13:43:41 -0500, John Baldwin 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 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?