From owner-freebsd-performance@FreeBSD.ORG Thu Dec 20 17:12:28 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 9464116A419 for ; Thu, 20 Dec 2007 17:12:27 +0000 (UTC) (envelope-from biancalana@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by mx1.freebsd.org (Postfix) with ESMTP id 7671513C45D for ; Thu, 20 Dec 2007 17:12:26 +0000 (UTC) (envelope-from biancalana@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so308735pyb.3 for ; Thu, 20 Dec 2007 09:12:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=bgS4oPwwA358/RHiz+YBQ7kwTEOw+GNiXq7xnhjaby4=; b=J3AsM+mU0U3JjAhA+2y+Sl2caZCQjvwBW96MGyjdXgc3BZpSQNWuzGEJNjH14A3PYHW26fO0jz1IKHdXGhUlik9Ey55ghlP7KHMf2zSoMjk+oQrIZHH5MpMP6yO2+Ee3Uoqjy13R/rsdVGdjgj5GaonJv+WZ1d42TfW2Gt+b3Hg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pWfcWm7d4uMwKN6R1hEeMNuSVJqMwia9b3F26e8zUH53eOyP7Cel7i98C/pmApbQaViM1WK7dVvcB9iVh/oeVBkHjE92jbOCj7fjrcQgTczx+nlK4nV9qo2/EbsCmDcu/2CQLNkiyOl7czwVglqHfEBtoe5txTT1QO4nxxAUwEc= Received: by 10.65.214.19 with SMTP id r19mr443343qbq.13.1198170735050; Thu, 20 Dec 2007 09:12:15 -0800 (PST) Received: by 10.64.184.9 with HTTP; Thu, 20 Dec 2007 09:12:14 -0800 (PST) Message-ID: <8e10486b0712200912g12966a07nfd8bb361adf0eecd@mail.gmail.com> Date: Thu, 20 Dec 2007 15:12:14 -0200 From: "Alexandre Biancalana" To: dima <_pppp@mail.ru> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8e10486b0712191207r5e256b84xf6cb0bbafc6cfd20@mail.gmail.com> Cc: freebsd-performance@freebsd.org, Mike Tancsa Subject: Re: 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 List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2007 17:12:28 -0000 On 12/20/07, dima <_pppp@mail.ru> wrote: > > Try to run this command while listing your large directory. You'll see that dirhash_mem will reach dirhash_maxmem. So, the value of dirhash_maxmem should be increased. > > One more hint. Mounting filesystems with -noatime option greatly improves read performance. Apply this also, if you haven't done this yet. I already set this # zfs get atime backup NAME PROPERTY VALUE SOURCE backup atime off local