From owner-freebsd-questions@freebsd.org Wed Jun 8 15:19:20 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CA68BB6F495 for ; Wed, 8 Jun 2016 15:19:20 +0000 (UTC) (envelope-from emorrasg@yahoo.es) Received: from nm18-vm9.bullet.mail.ir2.yahoo.com (nm18-vm9.bullet.mail.ir2.yahoo.com [212.82.96.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 229321B30 for ; Wed, 8 Jun 2016 15:19:19 +0000 (UTC) (envelope-from emorrasg@yahoo.es) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1465399150; bh=qABxLkIoTn9CX25H3wI63BDssuzAbCylo1HCOCFZlDY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From:Subject; b=inEeS+epgvZ9m1RcZbAM2zVV4UBBSUYDRw+BNiLoRpa3vIiKS1Ivwz1O27n79vh/ouKQ4YAY8Ue9PbOto2SDSkQKEffRvgMkbcGev0pHUcu5bRbMtqvvJDPawwWMW2t4CN7Nt9D+E2e+X067fM4ihQf4ZsR7QfKU1yECJpzhb5hiTWRvEA0rjER31ysIWIYC+9whJItCqOVD9EOtCTw61IYwMLLiIkhmX3vq8ncccYSIWHc1FmPb0YOJGnOIbdVQXtPJ1bj3l2W79QFXv61lVvXsxcEEhCo7Jvu6iSETFWtalVsngUh7tJPrjlx+XI2FWMhQBsPRWjmp1+6iIkM18g== Received: from [212.82.98.61] by nm18.bullet.mail.ir2.yahoo.com with NNFMP; 08 Jun 2016 15:19:10 -0000 Received: from [46.228.39.69] by tm14.bullet.mail.ir2.yahoo.com with NNFMP; 08 Jun 2016 15:19:10 -0000 Received: from [127.0.0.1] by smtp106.mail.ir2.yahoo.com with NNFMP; 08 Jun 2016 15:19:10 -0000 X-Yahoo-Newman-Id: 826541.6223.bm@smtp106.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 1Vb9UQcVM1lePDNMGdVJkC9Ud_vnKk9URt85BL48SWA3G5R 7oGohBamDkH01VF2Gro8Z_SvmvrrcTUR4lEAMQNllgl6alfSTww7_gIESqbT .vxRnhSy1mY9TuJUtAs2wvwxv7M2vnESYrleZiCoMr9YocCiCyITgkYtr.er hEoiKcpa3l7ZXm1WLngVPc4WOe1e8_VY3ethQ.5O1XrRL5be9.YsTGf2cNMg P5x7XiIlfyB2XC81XOHGCF.IzPOO3salcb2uywmvhq.L4xeUdCLP24MLtj1. 8UBetgmwdy45SaoVS_JkauS2nPIgur4ofIQnl60Zl1ThU7pzAK7Iw6zY8tQl mvrIiw8wyTHPhMlXR0ObixSn8v9NzqmlVHThjD8FA9.D52Uv1h.UyexzHzRZ I66XJu4L9MJhkk04mfGFnWVAwh.3qpgSvhhGWJK.kLCp9Gaj_NH68mToVaty IcwboZ5uRW2fIMZWDLWPXxhaAYsdMBUr5ybYMVXgBRAznO.UbnQnuk6YjxIz UYLjfDcM7W5h730jxyvc8A.VLN3Ii81o- X-Yahoo-SMTP: mX392iiswBAeJNdO_s.EW62LZDJR Date: Wed, 8 Jun 2016 17:19:09 +0200 From: Eduardo Morras To: freebsd-questions@freebsd.org Cc: ciprian.craciun@gmail.com Subject: Re: Feedback on UFS2 tuning for large number of small files (~100m) Message-Id: <20160608171909.2af02643a73297c0e252189e@yahoo.es> In-Reply-To: <67d9d4ae-03c1-f141-92d0-daaa4b168b16@qeng-ho.org> References: <20160608125325.71fab3fe95b0bc3c6272ea7c@yahoo.es> <67d9d4ae-03c1-f141-92d0-daaa4b168b16@qeng-ho.org> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; amd64-portbld-freebsd10.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2016 15:19:20 -0000 On Wed, 8 Jun 2016 14:58:54 +0100 Arthur Chance wrote: > On 08/06/2016 11:53, Eduardo Morras via freebsd-questions wrote: > > On Wed, 8 Jun 2016 11:14:40 +0300 > > Ciprian Dorin Craciun wrote: > > > >> Hello all! (Please keep me in CC as I'm not subscribed on the > >> mailing list. Should I perhaps post this to the `freebsd-fs` > >> mailing list?) > > > > vfs.ufs.dirhash_maxmem: maximum allowed dirhash memory usage > > Minor point: this looks like it's dependent on the memory size. On my > 32GB machine it's 27.8 MB, on my 4GB machine it's 6.5 MB, and on a 2GB > machine it's 3.3 MB. Yes, you are right. Don't know when it changed, initially it had 2MB static and thought (wrongly) that it's still static value. My fault. > > Defaul value is 6MB. Check first dirhash usage with > > --- --- Eduardo Morras