From owner-freebsd-fs@FreeBSD.ORG Thu Jul 21 15:50:56 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 D5943106564A for ; Thu, 21 Jul 2011 15:50:56 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 82C398FC1D for ; Thu, 21 Jul 2011 15:50:56 +0000 (UTC) Received: by yxl31 with SMTP id 31so843477yxl.13 for ; Thu, 21 Jul 2011 08:50:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=I5raG5x8ED7OmpPEYjFfNM9o2ixN8Jwiffg61/ZxMgI=; b=iIldFMCNRxTHL3cjade3geHv+TuhK3Ym3nnopwN+9PzFLJg4MEZt6PTqXW90sunkIe JxqGlOMrb5tRu3XATFvCQBvlNcGdkVdXuO58JY8VyFpTIEoJh+S5jAFQlMbNZxSS3qMp SUrnqNzI7ErERx5YWHxQVxPCQ68h/iEwdi5Rk= MIME-Version: 1.0 Received: by 10.91.50.32 with SMTP id c32mr837295agk.98.1311263455676; Thu, 21 Jul 2011 08:50:55 -0700 (PDT) Received: by 10.90.209.12 with HTTP; Thu, 21 Jul 2011 08:50:55 -0700 (PDT) In-Reply-To: References: Date: Thu, 21 Jul 2011 08:50:55 -0700 Message-ID: From: Freddie Cash To: Ivan Voras Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@freebsd.org Subject: Re: ZFS and large directories - caveat report 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: Thu, 21 Jul 2011 15:50:56 -0000 On Thu, Jul 21, 2011 at 8:45 AM, Ivan Voras wrote: > Is there an equivalent of UFS dirhash memory setting for ZFS? (i.e. the > size of the metadata cache) > vfs.zfs.arc_meta_limit This sets the amount of ARC that can be used for metadata. The default is 1/8th of ARC, I believe. This setting lets you use "primarycache=all" (store metadata and file data in ARC) but then tune how much is used for each. Not sure if that will help in your case or not, but it's a sysctl you can play with. -- Freddie Cash fjwcash@gmail.com