From owner-freebsd-fs@FreeBSD.ORG Fri Oct 14 09:20:33 2011 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 288801065670 for ; Fri, 14 Oct 2011 09:20:33 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id E1AD38FC08 for ; Fri, 14 Oct 2011 09:20:32 +0000 (UTC) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 9869028431 for ; Fri, 14 Oct 2011 11:20:31 +0200 (CEST) Received: from [192.168.1.2] (ip-86-49-61-235.net.upcbroadband.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 9269C28429 for ; Fri, 14 Oct 2011 11:20:30 +0200 (CEST) Message-ID: <4E97FEDD.7060205@quip.cz> Date: Fri, 14 Oct 2011 11:20:29 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.19) Gecko/20110420 Lightning/1.0b1 SeaMonkey/2.0.14 MIME-Version: 1.0 To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Subject: dirhash and dynamic memory allocation 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, 14 Oct 2011 09:20:33 -0000 Hi all, I tried some tuning of dirhash on our servers and after googlig a bit, I found an old GSoC project wiki page about Dynamic Memory Allocation for Dirhash: http://wiki.freebsd.org/DirhashDynamicMemory Is there any reason not to use it / not commit it to HEAD? And second question - is there any negative impact with higher vfs.ufs.dirhash_maxmem? It stil defaults to 2MB (on FreeBSD 8.2) after 10 years, but I think we all are using bigger FS in these days with lot of files and directories and 2MB is not enough. Miroslav Lachman