From owner-freebsd-fs@FreeBSD.ORG Tue Jun 26 04:02:39 2012 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 84023106566C for ; Tue, 26 Jun 2012 04:02:39 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: from mail-gh0-f182.google.com (mail-gh0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2A5888FC1A for ; Tue, 26 Jun 2012 04:02:39 +0000 (UTC) Received: by ghbz22 with SMTP id z22so4053255ghb.13 for ; Mon, 25 Jun 2012 21:02:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dataix.net; s=rsa; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; bh=Oh8kn6tusBxtG24sh2R743iHwizGYdnFgfyPFhJAVaw=; b=MBlxxFr5VDbsuit6+y00ntVNkyqpFOUonUdok74sBTpjsAzfxq33aaOxICUpoKFM1c 8NcNB4jq7HVIe0iqAGTI+Jcp4kpMPTkZ33F8oG6swT9D7+j1cezy1qj6zuHMGTucMooe P/tI3tpT67ejABrSOq3l/VVKtb2HC/j9Ux9aw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-gm-message-state; bh=Oh8kn6tusBxtG24sh2R743iHwizGYdnFgfyPFhJAVaw=; b=W9Z5YwaGzbKTz5mnKIMUjzTWybKIjRGowwj9wSuMkVPftowhTHM+hZ4evEid9nOpuu x945K3d3LHs1PWjPj6QGoIKUa4fPw22KHDAlRmWOKeiprEX+E0Zx0oEPz7KhzpcE463A ShD3//rqxP5UEbpM3ZKISkqlHU42+L+e0fi1MLXt2zBsz/thIVS7wMI/O3GN9K7DHFvn EXJLQHjBv+XCgxFVXnF8TEdOs1YPrAvHEIadjhk++Kx3s8I+Iy7XadUMolIZdi0BjLOD ypA721IJn+/HeanrK7O6OCPlx3JPaSOFR9SX2JAojmZVoldpKHM68AGAz5e+KgoB46sw 0M9g== Received: by 10.50.217.199 with SMTP id pa7mr9889182igc.17.1340683358368; Mon, 25 Jun 2012 21:02:38 -0700 (PDT) Received: from DataIX.net (75-128-120-86.dhcp.aldl.mi.charter.com. [75.128.120.86]) by mx.google.com with ESMTPS id pp4sm1890881igb.5.2012.06.25.21.02.37 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 25 Jun 2012 21:02:37 -0700 (PDT) Received: from DataIX.net (localhost [127.0.0.1]) by DataIX.net (8.14.5/8.14.5) with ESMTP id q5Q42awl058156 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 26 Jun 2012 00:02:36 -0400 (EDT) (envelope-from jhellenthal@DataIX.net) Received: (from jh@localhost) by DataIX.net (8.14.5/8.14.5/Submit) id q5Q42a10058155; Tue, 26 Jun 2012 00:02:36 -0400 (EDT) (envelope-from jhellenthal@DataIX.net) Date: Tue, 26 Jun 2012 00:02:36 -0400 From: "J. Hellenthal" To: John Baldwin Message-ID: <20120626040235.GA57300@DataIX.net> References: <201206251443.41768.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gBBFr7Ir9EOA20Yy" Content-Disposition: inline In-Reply-To: <201206251443.41768.jhb@freebsd.org> X-Gm-Message-State: ALoCoQnaDIftt6ajaYgqPPMaNhEvzXdGSZqSBLxaLtFMqkU0K1sh8f1TpTJf8hi68cM5sS4gAJZf Cc: fs@freebsd.org 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 04:02:39 -0000 --gBBFr7Ir9EOA20Yy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 25, 2012 at 02:43:41PM -0400, John Baldwin wrote: > I have some patches based on a script I got from avg@ that add some simpl= istic=20 > ARC stats to top so that one can see how much of wired memory is set asid= e for=20 > ARC, and how that memory is split up. The patch is against 8-stable: > http://www.FreeBSD.org/~jhb/patches/top_arc.patch >=20 > Sample output: >=20 > Mem: 1245M Active, 1393M Inact, 21G Wired, 309M Buf, 23G Free > ARC: 19G Total, 1381M MRU, 17G MFU, 272K Anon, 232M Header, 442M Other > Swap: 8192M Total, 8192M Free >=20 > Comments, etc.? >=20 Run with it! Only question I can come up with throughout this patch is how would it act on a system that was built WITHOUT_ZFS ? I just tested it out on a machine where there is no ZFS and one where there is and its golden. I don't have the resources to test for WITHOUT_ZFS though. --=20 - (2^(N-1)) --gBBFr7Ir9EOA20Yy Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJP6TRbAAoJEBSh2Dr1DU7WWiwIAISN0edWCkQTLhG4EZaMWQ5x R0KQDD/VYQPhVUTVL5GnCeug6zikJ2TAZUD6VAT0N0QfKb+/MFaUoQSmOzcTuAFA 9GJHhxzirMwFeOEpHYXsF91duLY7fXbS4HhrD3oNxe6VLxSKbovZK5FdTy01KgXh 5pTUChYnFWcFlpdUA6gSCCS9vT3GZwdoFbhTfoSLVCksowp2njqmEXJpvsTSuUkj gjjys3gkUPvfeOBQSIDABwbA4B8LHoSlcPwUKWwWXw/eB9RAvIDGwbjL9+JpvI0f bnhwIuqc8n+Pz9IC+Lk1heWeasfO3ppLosQ6Y4qH9wY6ZbEUUZsi0TuWahaGocU= =+qH5 -----END PGP SIGNATURE----- --gBBFr7Ir9EOA20Yy--