From owner-freebsd-performance@FreeBSD.ORG Thu Dec 20 17:41:39 2007 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 121B316A419 for ; Thu, 20 Dec 2007 17:41:39 +0000 (UTC) (envelope-from _pppp@mail.ru) Received: from f116.mail.ru (f116.mail.ru [194.67.57.123]) by mx1.freebsd.org (Postfix) with ESMTP id B709F13C469 for ; Thu, 20 Dec 2007 17:41:38 +0000 (UTC) (envelope-from _pppp@mail.ru) Received: from mail by f116.mail.ru with local id 1J5POm-000NHN-00; Thu, 20 Dec 2007 20:41:32 +0300 Received: from [89.208.20.114] by koi.mail.ru with HTTP; Thu, 20 Dec 2007 20:41:32 +0300 From: dima <_pppp@mail.ru> To: Alexandre Biancalana Mime-Version: 1.0 X-Mailer: mPOP Web-Mail 2.19 X-Originating-IP: [89.208.20.114] Date: Thu, 20 Dec 2007 20:41:32 +0300 In-Reply-To: <8e10486b0712200910v32ecbfa5h72fb0dc2b82a1009@mail.gmail.com> References: <8e10486b0712200910v32ecbfa5h72fb0dc2b82a1009@mail.gmail.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Message-Id: Cc: freebsd-performance@freebsd.org, =?koi8-r?Q?Dennis_Kj=E6r_Jensen?= Subject: Re[2]: Bad performance when accessing a lot of small files X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dima <_pppp@mail.ru> List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2007 17:41:39 -0000 >> Increase the dirhash maxmem >> I have 'sysctl -w vfs.ufs.dirhash_maxmem=268435456' (256Mb)in my >> rc.local on a (maildir) fileserver here >> > This is a zfs filesystem, by the way I raise this limit as suggested. > > I let you know Can you provide sysctl vfs.zfs output then? ZFS can be tuned by increasing kern.maxvnodes sysctl (don't forget to increase vm.kmem_size and vm.kmem_size_max accordingly). Do it until vfs.numvnodes would stabilize below the kern.maxvnodes value during peak load patterns.