From owner-freebsd-current@FreeBSD.ORG Mon Feb 11 22:05:31 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 890BB16A469 for ; Mon, 11 Feb 2008 22:05:31 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.227]) by mx1.freebsd.org (Postfix) with ESMTP id 4ADA313C46E for ; Mon, 11 Feb 2008 22:05:31 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so4132214wxd.7 for ; Mon, 11 Feb 2008 14:05:30 -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:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=Sx3gB/Y77JagwBOMYDDnJU6z444bpPSCGVt6QTbR3tI=; b=peUa5aCB4BHiUihpVlUiLT7/KyUfhJ8opiASu55JTGo+Gw0KydejSeZqFHxx+LUryo2nvMYXlIGK67ZJzpugNKG3L/YTi/w7I40n0KNlEUOaocSvFjWmPKEldWn+oI63ZBsUTtxf00ylcPWtQfA8K6BE0NWIDl3aTdE3SgK4LMM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=o5F2Ubf9KVvj7CRpU4Qr1LLjaSAes1Xmnvjbp5zLHp3X0TBXLbDlJl7Yb95SXgr9FPMe+FG7BeJ1h6/bwjmet58QomON4KJikOo1UCyAmE9jYczJ7RdCd0OnFw/ZZ/P41tTYpskTeq9XxbowdSiFYQ1Psr3fBPedDaxBty166zk= Received: by 10.141.67.21 with SMTP id u21mr335535rvk.222.1202765847690; Mon, 11 Feb 2008 13:37:27 -0800 (PST) Received: by 10.141.170.18 with HTTP; Mon, 11 Feb 2008 13:37:27 -0800 (PST) Message-ID: <2e77fc10802111337j45915422v42c098a1574406fb@mail.gmail.com> Date: Mon, 11 Feb 2008 23:37:27 +0200 From: "Niki Denev" Sender: ndenev@gmail.com To: "Alexey Tarasov" In-Reply-To: <50186FCD-F67F-4144-BDF1-FB9A7F9AAB64@lexasoft.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9DA6FFCD-11DB-4580-9314-52B0885351D8@lexasoft.ru> <50186FCD-F67F-4144-BDF1-FB9A7F9AAB64@lexasoft.ru> X-Google-Sender-Auth: 5a5701f181b4564c Cc: current@freebsd.org Subject: Re: Disappointing speed with ZFS X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 22:05:31 -0000 On Feb 11, 2008 7:05 PM, Alexey Tarasov wrote: > I've done similar tests on the other machine, and all looks fine. > > But why on this machine ZFS works slower than UFS? When I make UFS > file system on the same disk, rtorrent hashing works 10 times faster. > And while hashing, HDD is used three times intensively with ZFS > (noticed by flashing LED). > > I have an amd64 Core2Duo processor, 4 Gb of RAM, what is not enough > for ZFS? > > What kernel tuning can help me? > > What happens when you disable ZFS prefetching by putting : vfs.zfs.prefetch_disable=1 in your /boot/loader.conf? --Niki