pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
increase performancr with "noatime"?
4+ messages / 4 participants
[nested] [flat]

* increase performancr with "noatime"?
@ 2003-09-09 08:12  JM <jerome@gmanmi.tv>
  0 siblings, 1 reply; 4+ messages in thread

From: JM @ 2003-09-09 08:12 UTC (permalink / raw)
  To: pgsql-performance

would it cause problem in postgres DB if /var/lib/psql partition is mounted 
with "noatime"?

TIA 
JM



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: increase performancr with "noatime"?
@ 2003-09-09 12:37  Andrew Sullivan <andrew@libertyrms.info>
  parent: JM <jerome@gmanmi.tv>
  0 siblings, 2 replies; 4+ messages in thread

From: Andrew Sullivan @ 2003-09-09 12:37 UTC (permalink / raw)
  To: pgsql-performance

On Tue, Sep 09, 2003 at 04:12:48PM +0800, JM wrote:
> would it cause problem in postgres DB if /var/lib/psql partition is mounted 
> with "noatime"?

No; in fact, that's been suggested by many people.  I don't know
whether anyone's done any tests to prove that it helps.

A

-- 
----
Andrew Sullivan                         204-4141 Yonge Street
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: increase performancr with "noatime"?
@ 2003-09-09 12:44  Bill Moran <wmoran@potentialtech.com>
  parent: Andrew Sullivan <andrew@libertyrms.info>
  1 sibling, 0 replies; 4+ messages in thread

From: Bill Moran @ 2003-09-09 12:44 UTC (permalink / raw)
  To: Andrew Sullivan <andrew@libertyrms.info>; +Cc: pgsql-performance

Andrew Sullivan wrote:
> On Tue, Sep 09, 2003 at 04:12:48PM +0800, JM wrote:
> 
>>would it cause problem in postgres DB if /var/lib/psql partition is mounted 
>>with "noatime"?
> 
> 
> No; in fact, that's been suggested by many people.  I don't know
> whether anyone's done any tests to prove that it helps.

http://www.potentialtech.com/wmoran/postgresql.php#results

You can see, from my _limited_ testing, that it doesn't seem to help enough
to be worth worrying about.  In this test, it actually seems to hurt
performance.  Read the whole page, though.  These tests are heavy on the
writing, it's quite possible that it could improve things if your database
is a heavy read scenerio.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: increase performancr with "noatime"?
@ 2003-09-09 16:08  Vivek Khera <khera@kcilink.com>
  parent: Andrew Sullivan <andrew@libertyrms.info>
  1 sibling, 0 replies; 4+ messages in thread

From: Vivek Khera @ 2003-09-09 16:08 UTC (permalink / raw)
  To: pgsql-performance

>>>>> "AS" == Andrew Sullivan <andrew@libertyrms.info> writes:

AS> On Tue, Sep 09, 2003 at 04:12:48PM +0800, JM wrote:
>> would it cause problem in postgres DB if /var/lib/psql partition is mounted 
>> with "noatime"?

AS> No; in fact, that's been suggested by many people.  I don't know
AS> whether anyone's done any tests to prove that it helps.

I honestly can't expect it to be much of an improvement since the
number of files involved compared with the size of the files is
minimal.  However, if you're opening/closing the files often it might
cause you problems.  I think in the normal case where it does matter
you have pooled connections so the open/close happens rarely.

Of course, if I had a good synthetic workload to pound on my DB, I'd
run a test... Sean?

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera@kciLink.com       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2003-09-09 16:08 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-09-09 08:12 increase performancr with "noatime"? JM <jerome@gmanmi.tv>
2003-09-09 12:37 ` Andrew Sullivan <andrew@libertyrms.info>
2003-09-09 12:44   ` Bill Moran <wmoran@potentialtech.com>
2003-09-09 16:08   ` Vivek Khera <khera@kcilink.com>

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