From owner-freebsd-questions@FreeBSD.ORG Mon Sep 17 11:25:15 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FE651065674 for ; Mon, 17 Sep 2012 11:25:15 +0000 (UTC) (envelope-from c.kworr@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 158FD8FC15 for ; Mon, 17 Sep 2012 11:25:14 +0000 (UTC) Received: by bkcje9 with SMTP id je9so2247779bkc.13 for ; Mon, 17 Sep 2012 04:25:13 -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:references :in-reply-to:content-type:content-transfer-encoding; bh=4HM05Pje0XY+eUbupzAJD/ziyU1KtTFuhfSFxsQAGvo=; b=OaEfSvVum+huJkI81qvCYVVGmQmjeSw0FGoGWV/X78Wp/qm8nSexVqBfDD+IiQ5jQ1 t9EAijwStbCicpSQZ2wRo4zrz+vu5Z3QHEqgTqxfc9HE91qFaatSONy18P8atvb2bF87 vlfiUWFz39kXl4Hsbis933gEaHURDZe/YSymfAvxdcRJCQ1FKtFj4uGXixSpL+a28YRp mWhMmCZ2z9vOWhMp8D++rdZQTPYw9L33ccG0BRNAv+Q6oloETRrlzW3lAkBcii0+xVyP zh94ieQGNekmQWtgPNBpEqrKQBRPZfUL1xzoMmzI8jtWMWWeod32nLYXjULbd7ZG1jXm n3yw== Received: by 10.204.148.86 with SMTP id o22mr4284724bkv.59.1347881113667; Mon, 17 Sep 2012 04:25:13 -0700 (PDT) Received: from green.local (227-7-132-95.pool.ukrtel.net. [95.132.7.227]) by mx.google.com with ESMTPS id x12sm5149435bkv.12.2012.09.17.04.25.10 (version=SSLv3 cipher=OTHER); Mon, 17 Sep 2012 04:25:11 -0700 (PDT) Message-ID: <50570895.4030709@gmail.com> Date: Mon, 17 Sep 2012 14:25:09 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org, jamie@kode5.net References: <20120917103632.GA25763@kontrol.kode5.net> In-Reply-To: <20120917103632.GA25763@kontrol.kode5.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Questions about ZFS Tuning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Sep 2012 11:25:15 -0000 17.09.2012 13:36, Jamie Paul Griffin wrote: > When I installed FreeBSD on my Lenovo Think Center Desktop I created a full ZFS Root file system using Matthew Seaman's excellent article: > > http://www.infracaninophile.co.uk/articles/install-on-zfs/ > > My system now is: /home/jamie $ uname -a > FreeBSD kontrol.kode5.net 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #4 r240560: Sun Sep 16 18:40:56 BST 2012 root@kontrol.kode5.net:/usr/src/sys/amd64/compile/KONTROL amd64 > > I've been wondering about ZFS tuning and have read some articles, including the FreeBSD handbook and wiki articles and also some posts in the FreeBSD forum. > > The FreeBSD handbook [http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/filesystems-zfs.html], section 21.2.1.3 Loader Tunables > suggests adding tunables to /boot/loader.conf for ALL architectures - which I tested: Handbook is old and cripsy about that all thing yet provides a useful link to http://wiki.freebsd.org/ZFSTuningGuide - you don't need kmem_size/arc tuning on amd64 generally; - zfs.zfs.prefetch_disable=0 will cause system eat more RAM then without it; - there are a lot of tunables but you should learn what you are doing before setting anything, for example changing recordsize for already running MySQL database filesystem will do nothing at all. -- Sphinx of black quartz judge my vow.