From owner-freebsd-fs@FreeBSD.ORG Wed May 19 09:47:33 2010 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 D48E31065674 for ; Wed, 19 May 2010 09:47:33 +0000 (UTC) (envelope-from mgamsjager@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 613FE8FC13 for ; Wed, 19 May 2010 09:47:32 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id l26so2963824fgb.13 for ; Wed, 19 May 2010 02:47:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=4zNslirB/HY07WUWgVnctRHYb8U71RHkfPn/2Vdw0DU=; b=TUUaqkxSGg8jZAYndtnTGqTTeFICdendXsGW3p4KHHSFX+0fCq9ZKwWEBgAHpSEdmZ RjH+Jp2ZTan7nWCoJB8cqebqYb70kKtpeWEfSlucAw87PlRXb0UtqFhn+QfyWsBq8E9f Bb6a4SLkltr5qq2Jd9kj/eRiyQt6+VKxh2KXA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=s+UcNCxrKTgdTVvJngUBsJd4DWLCGATdSA/awH/nxVQD3yPmXCuJBWfzAJ/iqKEje7 dcboXaeAYCCNconkMUk6IDJDuQsX9M41wnBy3wb7WkvNWjgwk+4kl+HMwbpXPDtRtxLq l1ppoNvacOJ5SFYtz/ZFR2oqW2JAmq9O7yS+M= Received: by 10.87.61.22 with SMTP id o22mr12575445fgk.50.1274262452149; Wed, 19 May 2010 02:47:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.86.26.18 with HTTP; Wed, 19 May 2010 02:47:02 -0700 (PDT) In-Reply-To: <4BF3AE24.9080605@tzim.net> References: <4BF3A0DD.4080404@tzim.net> <4BF3AE24.9080605@tzim.net> From: Matthias Gamsjager Date: Wed, 19 May 2010 11:47:02 +0200 Message-ID: To: Arnaud Houdelette Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-fs@freebsd.org Subject: Re: ZFS Recordsize tuning & transmission (bittorent daemon) 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: Wed, 19 May 2010 09:47:33 -0000 > cat /boot/loader.conf > ahci_load="YES" > zfs_load="YES" > vfs.root.mountfrom="zfs:unsafe/root" > #vm.kmem_size="512M" > vm.kmem_size_max="512M" > vfs.zfs.arc_max="150M" > vfs.zfs.arc_min="64M" > vfs.zfs.vdev.cache.size="10M" > vfs.zfs.prefetch_disable="0" Your on AMD64, try to remove all zfs stuff in loader.conf. Try the default and see how it works out. How did you come up with these settings anyway? > Bad performance IS expected on this hardware. This is a home NAS, and the > "unsafe" pool is on a laptop 2.5" IDE drive. > Still, bad performance would'nt explain the discrepancies between read and > write stats (both in zpool io stat and gstat). > >> did you test your pool with Iozone to see if it performance as it should? >> >> > > I did not. I just installed the port. What test should I run to get relevant > data ? iozone -r 128k -s 4g -t1 -x should do the trick.