From owner-freebsd-stable@FreeBSD.ORG Mon Apr 16 16:57:50 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58602106564A for ; Mon, 16 Apr 2012 16:57:50 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id D25598FC0A for ; Mon, 16 Apr 2012 16:57:49 +0000 (UTC) Received: by bkcjc3 with SMTP id jc3so5331410bkc.13 for ; Mon, 16 Apr 2012 09:57:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=EzI75lle7BalEcLDRhHmuy7+m4J7DVhxBVdT+RLRhLA=; b=Vf0FGU8voN2q25dckHvVcGPdRnIEoFz1HPN5LooAZS4cAYhJNpoZ2yhfK2NJ6TawcZ drADlyt+Vbn/hSejO9hT2nPWQH7vz+15WL141CapxlfZZBq1QmZWU2tMx6rckCcLu5Oq 4hFiE2/DS4vwgHNg460YSDUOhmZ/mDHxSzeai4fvx7zVrUOb0QyVHlexh39UBAomq6QZ k4lwLxhssXI0o58aLTZg+h8syuJW48K5p3V5awK348ZicQYHn07PWGB2rOmJ67+0EgVl qrBMs/LnKb/M9Hr5ueIW7jd89/zcPOlD3UJDfaUycomigcwoChgK1lK92VGtneLJREl7 6kUg== Received: by 10.204.130.151 with SMTP id t23mr3689451bks.27.1334595468800; Mon, 16 Apr 2012 09:57:48 -0700 (PDT) Received: from silmaril.hpulabs.org (81.Red-83-63-141.staticIP.rima-tde.net. [83.63.141.81]) by mx.google.com with ESMTPS id u5sm32822079bka.5.2012.04.16.09.57.46 (version=SSLv3 cipher=OTHER); Mon, 16 Apr 2012 09:57:47 -0700 (PDT) Message-ID: <4F8C4F89.7090205@gmail.com> Date: Mon, 16 Apr 2012 18:57:45 +0200 From: carlopmart User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24) Gecko/20111109 Red Hat/3.1.16-2.el6_1 Lightning/1.0b2 Thunderbird/3.1.16 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: ZFS options for FreeBSD 8.3 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2012 16:57:50 -0000 Hi all, I have installed FreeBSD 8.3 amd64 release in an ESXi server. Due to some limitations, I can only assign 2GiB of RAM to this virtual machine and I need to use ZFS as filesystem to store some data (MySQL databases). According to http://wiki.freebsd.org/ZFSTuningGuide I have configured some options: vfs.zfs.write_limit_override=268435456 kern.maxvnodes=250000 According to ZFS version, FreeBSD 8,3 comes with version 28, and reading previous guide there is not need to adjust nothing more. But what about l2arc options?? Do I need to adjust vfs.zfs.arc_max and vm.kmem_size options?? How can I calculate these values?? Thanks. -- CL Martinez carlopmart {at} gmail {d0t} com