From owner-freebsd-current@FreeBSD.ORG Tue Feb 12 11:06:58 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 CB3CF16A419 for ; Tue, 12 Feb 2008 11:06:58 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.freebsd.org (Postfix) with ESMTP id 55F7F13C458 for ; Tue, 12 Feb 2008 11:06:57 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so1528668nfb.33 for ; Tue, 12 Feb 2008 03:06:57 -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:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=SX0233YgNO7lFMR5SETbIXKugb9yWWLU+prE6/zA56c=; b=CjPMxRG9xAb8dG6jVxPpR8pjbko839QlpWzZfYWXiiz0NGq7TPz6j1hgJ8WD2YMiYFCm8/iIc8eonOGPrUgPD0Zk9XxafcgBRCpkTagKz6YCxqHAwh1hRc+I00uJubVPSEzhEQ1RAyPVrcT3jkpi57B5YXWNR4fOfTXzQ1te1Mc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BepKUYYOIwdfOg02wMnwFtw23LnVfdCcoTdIFAaqJYl3WDzkabo8dRuHOEh/0mLGbhpGCQUplXaQljNsIHUzgtVKp7y2hEK2Z0TLMXUyIh4VHiQLAOzhJty+BNArqKU33C4XWtwWdaM8NrQlTX2Igs+ypt6g9CXHN4NaU87EpWI= Received: by 10.78.179.12 with SMTP id b12mr2047048huf.34.1202812967074; Tue, 12 Feb 2008 02:42:47 -0800 (PST) Received: by 10.78.189.2 with HTTP; Tue, 12 Feb 2008 02:42:47 -0800 (PST) Message-ID: <70e8236f0802120242y7f6d8ec9xed9824255210a453@mail.gmail.com> Date: Tue, 12 Feb 2008 10:42:47 +0000 From: "Joao Barros" To: "Alexey Tarasov" In-Reply-To: <2e77fc10802111337j45915422v42c098a1574406fb@mail.gmail.com> 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> <2e77fc10802111337j45915422v42c098a1574406fb@mail.gmail.com> Cc: Niki Denev , 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: Tue, 12 Feb 2008 11:06:58 -0000 On Feb 11, 2008 9:37 PM, Niki Denev wrote: > 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? > This would be my recommendation as well. I had to disable prefetch to be able to play video files(1.1GB ~43mins) from a 4 disk raidz without jitter. I can even play 2 video files concurrently now :) Try and show us the results. -- Joao Barros