From owner-freebsd-stable@FreeBSD.ORG Wed Aug 28 04:00:11 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CB7331BC for ; Wed, 28 Aug 2013 04:00:11 +0000 (UTC) (envelope-from Robert.Burmeister@utoledo.edu) Received: from smtpin1.utoledo.edu (smtpin1.utoledo.edu [131.183.2.213]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 561FE271F for ; Wed, 28 Aug 2013 04:00:10 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnsAAKJ0HVKDtwIWl2dsb2JhbABahA3AKYEkFg4BAQEBAQgWBzyCJAEBBTgbJhALDgoJFg8JAwIBAgFFBg0BBQIBAYd9r2aJE49kB4QZA4h5lSCOcoIO X-IronPort-AV: E=Sophos;i="4.89,973,1367985600"; d="scan'208";a="281503879" Received: from dlpint00.utoledo.edu ([131.183.2.22]) by smtpin1.utoledo.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 27 Aug 2013 23:58:59 -0400 Received: from MsgApp11.utad.utoledo.edu (msgapp11.utad.utoledo.edu [131.183.3.7]) by dlpint00.utoledo.edu (RSA Interceptor); Tue, 27 Aug 2013 23:58:44 -0400 Received: from [192.168.1.65] (76.238.196.183) by Email.Utoledo.Edu (131.183.3.18) with Microsoft SMTP Server (TLS) id 14.2.328.9; Tue, 27 Aug 2013 23:58:43 -0400 Message-ID: <521D7552.5080008@UToledo.edu> Date: Tue, 27 Aug 2013 23:58:10 -0400 From: Robert Burmeister User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20 MIME-Version: 1.0 To: Sergey Kandaurov Subject: Re: Suggest changing dirhash defaults for FreeBSD 9.2. References: <521C9E85.4060801@UToledo.edu> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [76.238.196.183] X-RSA-Inspected: yes X-RSA-Classifications: public X-RSA-Action: allow Cc: freebsd-stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Aug 2013 04:00:11 -0000 On 8/27/2013 9:40 AM, Sergey Kandaurov wrote: > On 27 August 2013 16:41, Robert Burmeister > wrote: >> I have been experimenting with dirhash settings, and have scoured the internet for other peoples' experience with it. >> (I found the performance improvement in compiling has forestalled the need to add an SSD drive. ;-) >> >> I believe that increasing the following values by 10 would benefit most FreeBSD users without disadvantage. >> >> vfs.ufs.dirhash_maxmem: 2097152 to 20971520 >> >> vfs.ufs.dirhash_reclaimage: 5 to 50 or 60 > vfs.ufs.dirhash_maxmem is further autotuned based on available physical memory. > See r214359 for details. > [Spock Eyebrow of Thought] I'm running FreeBSD i386 9.2, that allows a max of 4 Gigs of RAM. I think the algorithm is still overly conservative for 32 bit systems, which are more likely to be using UFS. As 64 bit platforms tend to have more RAM and use ZFS, is the same tuning algorithm appropriate for both?