From owner-freebsd-fs@FreeBSD.ORG Fri Apr 23 00:24:12 2010 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 B1785106564A for ; Fri, 23 Apr 2010 00:24:12 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.221.181]) by mx1.freebsd.org (Postfix) with ESMTP id 640D58FC08 for ; Fri, 23 Apr 2010 00:24:11 +0000 (UTC) Received: by qyk11 with SMTP id 11so10630824qyk.13 for ; Thu, 22 Apr 2010 17:24:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=qCJ+ZA1M7paIgVravmz61K1uW7TC+l5y44SIZH+LQoU=; b=x2VU55Vt7T92O869/i1ttpCAOIAYPH1iUGT8kyQsSxqpDsi8D91mF26ybKx8DAkgJP K7IcsulDBgtjM9csijH5cdqKlRCWJki2s0wukfB5Y3QyRXVMJs6CpZtiMpPzqk7yjceT FL3Dz1BRdtqbbxx9zx1MnlbY3skRuDIzQ+Isg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=qI+YfJ9qFEoVXroCBVC/8seFHcoiq9Vci+gZZYIwdCmYScRjc++VrqpQhDVlOyuFOP NvvasKR+BzGF1pKkh7LB19x5+MtJAzEMx4KZwUfa6Ot2BRpr92sp6kJ8gaOd0Q2yedwv eqjihoB/FWphJlW08biIWA9l5mrvB15RjEcz4= Received: by 10.224.88.40 with SMTP id y40mr3506956qal.383.1271982251478; Thu, 22 Apr 2010 17:24:11 -0700 (PDT) Received: from centel.dataix.local (c-71-205-129-194.hsd1.mi.comcast.net [71.205.129.194]) by mx.google.com with ESMTPS id 6sm1982089qwk.31.2010.04.22.17.24.07 (version=SSLv3 cipher=RC4-MD5); Thu, 22 Apr 2010 17:24:10 -0700 (PDT) Sender: "J. Hellenthal" Message-ID: <4BD0E8A9.4040403@dataix.net> Date: Thu, 22 Apr 2010 20:24:09 -0400 From: jhell User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100331 Thunderbird/3.0.4 MIME-Version: 1.0 To: Andriy Gapon References: <4BC86CF3.7060708@icyb.net.ua> <4BCEF7E4.6080606@dataix.net> <4BD0BC44.1040204@icyb.net.ua> In-Reply-To: <4BD0BC44.1040204@icyb.net.ua> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: some arc_reclaim_needed stats 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: Fri, 23 Apr 2010 00:24:12 -0000 On 04/22/2010 17:14, Andriy Gapon wrote: > on 21/04/2010 16:04 jhell said the following: >> If these are not tunable values and serve a good purpose as a stat to be >> added at some point, would they not be better in kstat.zfs.misc? rather >> than vfs.zfs so they can be collected with the rest of the stats via >> arc_summary.pl. > > Yes, I agree. > But right now no one seems to think that there is anything useful about these > stats :-) > >> Without seeing the thread "kstat.zfs.misc.arcstats.hash_collisions" I >> had updated the arc_summary.pl script yesterday to include these under a >> "ARC Misc" section in the output. Just a FYI in case it may be useful to >> you or others. > > BTW, it would be nice if hash table size (number of buckets) would be reported > too. But that's a kernel change, not arc_summary. > Something like what is in r59 and in the download section ? ARC Hash Breakdown: Elements Max: 129057 Elements Current: 99.24% 128070 Collisions: 251021 Chain Max: 21 Chains: 16326 ;) -- jhell