From owner-freebsd-fs@FreeBSD.ORG Thu Jan 24 14:24:40 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D2A0FA70; Thu, 24 Jan 2013 14:24:40 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [188.252.31.196]) by mx1.freebsd.org (Postfix) with ESMTP id 37800A5F; Thu, 24 Jan 2013 14:24:39 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id r0OEObtO005693; Thu, 24 Jan 2013 15:24:37 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id r0OEObiI005690; Thu, 24 Jan 2013 15:24:37 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 24 Jan 2013 15:24:37 +0100 (CET) From: Wojciech Puchar To: Adam Nowacki Subject: Re: ZFS regimen: scrub, scrub, scrub and scrub again. In-Reply-To: <51013345.8010701@platinum.linux.pl> Message-ID: References: <20130122073641.GH30633@server.rulingia.com> <51013345.8010701@platinum.linux.pl> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Thu, 24 Jan 2013 15:24:37 +0100 (CET) Cc: freebsd-fs@freebsd.org, freebsd-hackers@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jan 2013 14:24:40 -0000 > then stored on a different disk. You could think of it as a regular RAID-5 > with stripe size of 32768 bytes. > > PostgreSQL uses 8192 byte pages that fit evenly both into ZFS record size and > column size. Each page access requires only a single disk read. Random i/o > performance here should be 5 times that of a single disk. think about writing 8192 byte pages randomly. and then doing linear search over table. > > For me the reliability ZFS offers is far more important than pure > performance. Except it is on paper reliability.