From owner-freebsd-fs@FreeBSD.ORG Fri Apr 23 01:10:37 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 77C601065673 for ; Fri, 23 Apr 2010 01:10:37 +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 291548FC1C for ; Fri, 23 Apr 2010 01:10:36 +0000 (UTC) Received: by qyk11 with SMTP id 11so10686772qyk.13 for ; Thu, 22 Apr 2010 18:10:36 -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=UhjvMp21IYmX4oQ9fHYz0hNcQ1l5Rv2o43SFNcMqMy4=; b=Q1Bk8RQOEpVIsPQR+cwU2GeRfvmGGqQjX1gLiDgzMACIfT43UwFNMtqWXbANDKLjVm 0z+8t2SJI+AIsn1F+K1wvMMYPJqXBfNcWelOzdKfYVt3LSwM8HbX8FmYfJGU13LGrwQX H5G8C3fHcVKPZumGMj7sWPu4un+uB/zg/FpY0= 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=cDHR93Pn/YF69QT3K5KQChZi7pD4WUo39wuHMtZy/ywogjKbs6Lylmm2422lkLT6iF H/M+IoDBe1ZCi2KjqDGM3hmSyYqkFB7pKANvxoUVH/A/w02elk8cDusaZ4tftCoFHncP UrJ6KSwBtt4nxgd1vUdE0RnUyAm3KOKc69soM= Received: by 10.224.26.223 with SMTP id f31mr3553714qac.56.1271985036160; Thu, 22 Apr 2010 18:10:36 -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 6sm1468787qwd.23.2010.04.22.18.10.35 (version=SSLv3 cipher=RC4-MD5); Thu, 22 Apr 2010 18:10:35 -0700 (PDT) Sender: "J. Hellenthal" Message-ID: <4BD0F38A.9040107@dataix.net> Date: Thu, 22 Apr 2010 21:10:34 -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> <4BD0E8A9.4040403@dataix.net> <4BD0EABF.6030100@icyb.net.ua> In-Reply-To: <4BD0EABF.6030100@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 01:10:37 -0000 On 04/22/2010 20:33, Andriy Gapon wrote: > on 23/04/2010 03:24 jhell said the following: >> 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 > > No, I mean number of the buckets (not elements) in the hash table. > http://en.wikipedia.org/wiki/Hash_table > :-) > Lol I read your reply one way and took it completely different in thinking that you wanted the ARC Hash stats and was not paying to close attention to the specific need of "hash buckets". My bad... Regards, -- jhell