Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id E947764FF77 for ; Thu, 11 Sep 2008 20:20:24 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 44170-07 for ; Thu, 11 Sep 2008 20:20:21 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-gx0-f17.google.com (mail-gx0-f17.google.com [209.85.217.17]) by postgresql.org (Postfix) with ESMTP id 876EC64FEDF for ; Thu, 11 Sep 2008 20:20:21 -0300 (ADT) Received: by gxk10 with SMTP id 10so17678331gxk.19 for ; Thu, 11 Sep 2008 16:20:20 -0700 (PDT) Received: by 10.142.180.11 with SMTP id c11mr1189585wff.113.1221175220063; Thu, 11 Sep 2008 16:20:20 -0700 (PDT) Received: by 10.143.39.19 with HTTP; Thu, 11 Sep 2008 16:20:19 -0700 (PDT) Message-ID: Date: Thu, 11 Sep 2008 16:20:19 -0700 From: "Scott Carey" To: "Alan Hodgson" Subject: Re: Effects of setting linux block device readahead size Cc: pgsql-performance@postgresql.org In-Reply-To: <200809111541.55525@hal.medialogik.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_71922_9270122.1221175220060" References: <70c01d1d0809092353r4ae687a3ycf3d99d43a5680cf@mail.gmail.com> <200809111541.55525@hal.medialogik.com> X-Google-Sender-Auth: c49045922ddd4a00 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200809/153 X-Sequence-Number: 31466 ------=_Part_71922_9270122.1221175220060 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I also thought that LVM is unsafe for WAL logs and file system journals with disk write cache -- it doesn't flush the disk write caches correctly and build write barriers. As pointed out here: http://groups.google.com/group/pgsql.performance/browse_thread/thread/9dc43991c1887129 by Greg Smith http://lwn.net/Articles/283161/ On Thu, Sep 11, 2008 at 3:41 PM, Alan Hodgson wrote: > On Thursday 11 September 2008, david@lang.hm wrote: > > while I agree with you in theory, in practice I've seen multiple > > partitions cause far more problems than they have prevented (due to the > > partitions ending up not being large enough and having to be resized > > after they fill up, etc) so I tend to go in the direction of a few large > > partitions. > > I used to feel this way until LVM became usable. LVM plus online resizable > filesystems really makes multiple partitions manageable. > > > -- > Alan > > -- > Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-performance > ------=_Part_71922_9270122.1221175220060 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
I also thought that LVM is unsafe for WAL logs and file system journals with disk write cache -- it doesn't flush the disk write caches correctly and build write barriers.

As pointed out here:
http://groups.google.com/group/pgsql.performance/browse_thread/thread/9dc43991c1887129
by Greg Smith
http://lwn.net/Articles/283161/



On Thu, Sep 11, 2008 at 3:41 PM, Alan Hodgson <ahodgson@simkin.ca> wrote:
On Thursday 11 September 2008, david@lang.hm wrote:
> while I agree with you in theory, in practice I've seen multiple
> partitions cause far more problems than they have prevented (due to the
> partitions ending up not being large enough and having to be resized
> after they fill up, etc) so I tend to go in the direction of a few large
> partitions.

I used to feel this way until LVM became usable. LVM plus online resizable
filesystems really makes multiple partitions manageable.


--
Alan

--
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance

------=_Part_71922_9270122.1221175220060--