X-Original-To: pgsql-hackers-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 771459FB1CF for ; Thu, 3 Aug 2006 17:52:33 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 67455-06 for ; Thu, 3 Aug 2006 17:52:29 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id 48ACB9FA2D3 for ; Thu, 3 Aug 2006 17:52:29 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 48B3930F5A; Thu, 3 Aug 2006 22:52:28 +0200 (MET DST) From: Ron Mayer X-Newsgroups: pgsql.hackers Subject: Re: O_NOATIME Date: Thu, 03 Aug 2006 13:52:28 -0700 Organization: Hub.Org Networking Services Lines: 20 Message-ID: <44D2620C.3070506@cheapcomplexdevices.com> References: <25468.1154637504@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org To: Tom Lane User-Agent: Thunderbird 1.5.0.4 (X11/20060713) In-Reply-To: <25468.1154637504@sss.pgh.pa.us> X-Enigmail-Version: 0.94.0.0 To: pgsql-hackers@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.033 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200608/161 X-Sequence-Number: 87654 Tom Lane wrote: > Ron Mayer writes: >> Would people be interested in a trivial patch that adds O_NOATIME >> to open() for platforms that support it? (apparently Linux 2.6.8 >> and better). > > Isn't that usually, and more portably, handled in the filesystem > mount options? Yes to both. I could imagine that for small systems/workstations you might have some files that want access time, and others that wanted NOATIME -- it seems the new flag lets you choose on a file-by-file bases. That's why I asked. I imagine it won't help on any well-administered production server since they'd probably mount the whole filesystem that way; but might help a bit on out-of-the-box-default-config benchmarks done by naive users who don't tweak filesystem settings. Don't know if we'd care about such an audience or not.