Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id E767B632B45 for ; Fri, 27 Mar 2009 17:33:42 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 75287-04 for ; Fri, 27 Mar 2009 17:33:36 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.172]) by mail.postgresql.org (Postfix) with ESMTP id A2359632FF9 for ; Fri, 27 Mar 2009 17:33:34 -0300 (ADT) Received: by wf-out-1314.google.com with SMTP id 29so1396933wff.28 for ; Fri, 27 Mar 2009 13:33:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=1BmX999E7tZtGgqCZQypCXA1qI3+jqHqcvaNvRjPt68=; b=HQNZm7uR7rGMgTMr840QxaByeuesFeijY7HeKtOzD18KcH9WvK+zPvmpgwwcFAXP5s ts2w/7hPjnQeBYW8CTWGIfFI36u6bq3gBcHHc5UWql6gipz84q85cRYjEanqnV7OcC3E zJ9qzbm9GRrkFNroFK7RIHMSKF5Ii6reXrTJc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=lb8l/rkDryN1k0G68tVfNRgVkVAxe2Y0aCO9Cqg7Z0lCzfN0UgP15hoTEJpVlo5LQ5 W04CHRiWkqbuu1y3Rb1MpZzbdJuWPpn/a+xTMTbL1ucLiHExD0fs9Ve/b60qtohIR8+S Kwal31Okn+Us3aRD4/yzwDa0CoKPtQhBgqQL0= MIME-Version: 1.0 In-Reply-To: References: <491f66a50903260547p552f6d86kc51f8988898c19e4@mail.gmail.com> Date: Fri, 27 Mar 2009 13:33:18 -0700 Received: by 10.143.30.2 with SMTP id h2mr1045022wfj.160.1238186013118; Fri, 27 Mar 2009 13:33:33 -0700 (PDT) Message-ID: <72dbd3150903271333pfd63105i8076bf26858eaee1@mail.gmail.com> Subject: Re: I have a fusion IO drive available for testing From: David Rees To: david@lang.hm Cc: Dave Cramer , pgsql-performance@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.125 tagged_above=0 required=5 tests=AWL=1.125 X-Spam-Level: * X-Archive-Number: 200903/399 X-Sequence-Number: 33321 On Fri, Mar 27, 2009 at 10:30 AM, wrote: > On Thu, 26 Mar 2009, Dave Cramer wrote: >> So far using dd I am seeing around 264MB/s on ext3, 335MB/s on ext2 write >> speed. So the question becomes what is the best filesystem for this drive? > > until the current mess with ext3 and fsync gets resolved, i would say it > would probably be a bad choice. I consider ext4 too new, so I would say XFS > or ext2 (depending on if you need the journal or not) If you're worried about the performance implications of ext3 in data=ordered mode, the best thing to do is to mount the filesystem in data=writeback mode instead. If you're only using the filesystem for PostgreSQL data or logs, your data will be just as safe except now that data and metadata won't be forced to disk in the order it was written. And you still get the benefit of a journal so fsck's after a crash will be fast. XFS probably is a decent choice, but I don't have much experience with it except on a desktop system where I can tell you that having write barriers on absolutely kills performance of anything that does a lot of filesystem metadata updates. Again, not a big concern if the filesystem is only being used for PostgreSQL data or logs. -Dave