Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 07E6B64FD1A for ; Thu, 11 Sep 2008 19:33:12 -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 34004-05 for ; Thu, 11 Sep 2008 19:33:07 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from bifrost.lang.hm (mail.lang.hm [64.81.33.126]) by postgresql.org (Postfix) with ESMTP id 1E7CA64FD2F for ; Thu, 11 Sep 2008 19:33:06 -0300 (ADT) Received: from asgard.lang.hm (asgard.lang.hm [10.0.0.100]) by bifrost.lang.hm (8.13.4/8.13.4/Debian-3) with ESMTP id m8BMWvGN019313; Thu, 11 Sep 2008 15:32:57 -0700 Date: Thu, 11 Sep 2008 15:33:53 -0700 (PDT) From: david@lang.hm X-X-Sender: dlang@asgard.lang.hm To: Scott Marlowe cc: Scott Carey , James Mansion , Greg Smith , pgsql-performance@postgresql.org Subject: Re: Effects of setting linux block device readahead size In-Reply-To: Message-ID: References: <70c01d1d0809092353r4ae687a3ycf3d99d43a5680cf@mail.gmail.com> <48C8AACD.5090702@mansionfamily.plus.com> <48C97793.2070909@mansionfamily.plus.com> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200809/150 X-Sequence-Number: 31463 On Thu, 11 Sep 2008, Scott Marlowe wrote: > On Thu, Sep 11, 2008 at 3:36 PM, wrote: >> by even if it didn't, most modern drives read the entire cylinder into their >> buffer so any additional requests to the drive will be satisfied from this >> buffer and not have to wait for the disk itself. > > Generally speaking I agree, but I would still make a separate logical > partition for pg_xlog so that if the OS fills up the /var/log dir or > something, it doesn't impact the db. this is a completely different discussion :-) 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. the only reason I do multiple partitions (besides when the hardware or performance considerations require it) is when I can identify that there is some data that I would not want to touch on a OS upgrade. I try to make it so that an OS upgrade can wipe the OS partitions if nessasary. David Lang