From owner-freebsd-stable@FreeBSD.ORG Sat Jan 9 17:39:52 2010 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 281B1106568B for ; Sat, 9 Jan 2010 17:39:52 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id D2A8E8FC0C for ; Sat, 9 Jan 2010 17:39:51 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NTfHw-0006uS-4e for freebsd-stable@freebsd.org; Sat, 09 Jan 2010 18:39:48 +0100 Received: from 93-138-40-75.adsl.net.t-com.hr ([93.138.40.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 09 Jan 2010 18:39:48 +0100 Received: from ivoras by 93-138-40-75.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 09 Jan 2010 18:39:48 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Ivan Voras Date: Sat, 09 Jan 2010 18:39:23 +0100 Lines: 19 Message-ID: References: <7346c5c61001030842r7dc76199y51e4c1c90a3eea6e@mail.gmail.com> <7346c5c61001080831w375d158fu5b1996ee58cb0f8d@mail.gmail.com> <4B47DC94.7020202@modulus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 93-138-40-75.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.21 (X11/20090612) In-Reply-To: <4B47DC94.7020202@modulus.org> Sender: news Subject: Re: ZFS performance degradation over time 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: Sat, 09 Jan 2010 17:39:52 -0000 Andrew Snow wrote: > Ivan Voras wrote: >> It is true that ZFS in theory doesn't do very well with random writes >> of any kind - the kind that torrent clients do should actually be the >> worst case for ZFS, *but*, this very much depends on the actual workload. > > > ZFS has aggressive read-ahead for sequential read-aheads, so its worth > noting that the performance problem can be mitigated by having lots of > RAM free for read-ahead, as well as multiple vdevs in the zpool (so that > it can be seeking all disks at once) Yes and no. Read ahead will not help performance when the data is so fragmented that the disk is seek-bound. No matter how much of the file you can get in RAM, it still needs to be fetched from the drive platters. (Except if it's smart enough to read sequential chunks from the raw storage even though they are logically not located nearly, and in case of torrents, probably belong to different files, which I very much doubt it does).