Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 74D8364FFFC for ; Thu, 7 Aug 2008 19:15:49 -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 11750-07 for ; Thu, 7 Aug 2008 19:15:38 -0300 (ADT) X-Greylist: delayed 00:06:39.869818 by SQLgrey-1.7.6 Received: from smtp120.rog.mail.re2.yahoo.com (smtp120.rog.mail.re2.yahoo.com [68.142.224.75]) by postgresql.org (Postfix) with SMTP id EB44465018A for ; Thu, 7 Aug 2008 19:15:41 -0300 (ADT) Received: (qmail 34901 invoked from network); 7 Aug 2008 22:09:00 -0000 Received: from unknown (HELO ?99.245.226.206?) (markmielke@rogers.com@99.245.226.206 with plain) by smtp120.rog.mail.re2.yahoo.com with SMTP; 7 Aug 2008 22:08:59 -0000 X-YMail-OSG: sEi4Q.gVM1kdsdGAE.chfWdDaZnevBXM26TKMBz2V8xlm3u50NODC4J5Qg0C0A3TnA-- X-Yahoo-Newman-Property: ymail-3 Message-ID: <489B727B.6010800@mark.mielke.cc> Date: Thu, 07 Aug 2008 18:08:59 -0400 From: Mark Mielke User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: Andrej Ricnik-Bay CC: Scott Marlowe , "pgsql-performance@postgresql.org" Subject: Re: file system and raid performance References: <70c01d1d0808042154u7b78d988vac1e461a93b0ba10@mail.gmail.com> <70c01d1d0808050800j7196922bt2c4b43ba09a19099@mail.gmail.com> <4898E80A.3020809@paradise.net.nz> <489A3B75.6060004@paradise.net.nz> <489AC2F0.9050907@paradise.net.nz> <489ACC90.9030401@sime.com> <70c01d1d0808071236u36fe5002w833582b036d952e8@mail.gmail.com> In-Reply-To: Content-Type: multipart/alternative; boundary="------------030304040707040808010406" 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: 200808/59 X-Sequence-Number: 30940 This is a multi-part message in MIME format. --------------030304040707040808010406 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Andrej Ricnik-Bay wrote: > 2008/8/8 Scott Marlowe : > >> noatime turns off the atime write behaviour. Or did you already know >> that and I missed some weird post where noatime somehow managed to >> slow down performance? >> > > Scott, I'm quite aware of what noatime does ... you didn't miss a post, but > if you look at Mark's graphs on > http://wiki.postgresql.org/wiki/HP_ProLiant_DL380_G5_Tuning_Guide > they pretty much all indicate that (unless I completely misinterpret the > meaning and purpose of the labels), independent of the file-system, > using noatime slows read/writes down (on average) That doesn't make sense - if noatime slows things down, then the analysis is probably wrong. Now, modern Linux distributions default to "relatime" - which will only update access time if the access time is currently less than the update time or something like this. The effect is that modern Linux distributions do not benefit from "noatime" as much as they have in the past. In this case, "noatime" vs default would probably be measuring % noise. Cheers, mark -- Mark Mielke --------------030304040707040808010406 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Andrej Ricnik-Bay wrote:
2008/8/8 Scott Marlowe <scott.marlowe@gmail.com>:
  
noatime turns off the atime write behaviour.  Or did you already know
that and I missed some weird post where noatime somehow managed to
slow down performance?
    

Scott, I'm quite aware of what noatime does ... you didn't miss a post, but
if you look at Mark's graphs on
http://wiki.postgresql.org/wiki/HP_ProLiant_DL380_G5_Tuning_Guide
they pretty much all indicate that (unless I completely misinterpret the
meaning and purpose of the labels), independent of the file-system,
using noatime slows read/writes down (on average)

That doesn't make sense - if noatime slows things down, then the analysis is probably wrong.

Now, modern Linux distributions default to "relatime" - which will only update access time if the access time is currently less than the update time or something like this. The effect is that modern Linux distributions do not benefit from "noatime" as much as they have in the past. In this case, "noatime" vs default would probably be measuring % noise.

Cheers,
mark

-- 
Mark Mielke <mark@mielke.cc>
--------------030304040707040808010406--