pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron Mayer <rm_pg@cheapcomplexdevices.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: O_NOATIME
Date: Thu, 03 Aug 2006 13:52:28 -0700
Message-ID: <44D2620C.3070506@cheapcomplexdevices.com> (raw)
In-Reply-To: <25468.1154637504@sss.pgh.pa.us>
References: <eatmlt$qd7$1@news.hub.org>
	<25468.1154637504@sss.pgh.pa.us>

Tom Lane wrote:
> Ron Mayer <rm_pg@cheapcomplexdevices.com> 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.



view thread (5+ messages)  latest in thread

Message-ID: <44D2620C.3070506@cheapcomplexdevices.com>
Permalink:  ../44D2620C.3070506@cheapcomplexdevices.com/
Also on:    postgresql.org/message-id/44D2620C.3070506@cheapcomplexdevices.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: rm_pg@cheapcomplexdevices.com, tgl@sss.pgh.pa.us
  Subject: Re: O_NOATIME
  In-Reply-To: <44D2620C.3070506@cheapcomplexdevices.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox