pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Smith <gsmith@gregsmith.com>
To: Mark Mielke <mark@mark.mielke.cc>
Cc: Andrej Ricnik-Bay <andrej.groups@gmail.com>
Cc: Scott Marlowe <scott.marlowe@gmail.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: file system and raid performance
Date: Fri, 8 Aug 2008 18:30:07 -0400 (EDT)
Message-ID: <Pine.GSO.4.64.0808081809430.21924@westnet.com> (raw)
In-Reply-To: <489B727B.6010800@mark.mielke.cc>
References: <70c01d1d0808042154u7b78d988vac1e461a93b0ba10@mail.gmail.com>
	<70c01d1d0808050800j7196922bt2c4b43ba09a19099@mail.gmail.com>
	<4898E80A.3020809@paradise.net.nz>
	<!&!AAAAAAAAAAAYAAAAAAAAAN6d+lQFliBLjc3jO6z0BSQigQAAEAAAACuRbLwxhvtBt2ld+TeOyw4BAAAAAA==@tcscs.com>
	<489A3B75.6060004@paradise.net.nz>
	<489AC2F0.9050907@paradise.net.nz>
	<489ACC90.9030401@sime.com>
	<70c01d1d0808071236u36fe5002w833582b036d952e8@mail.gmail.com>
	<b35603930808071359s6764d230u11fcaaec267ab289@mail.gmail.com>
	<dcc563d10808071430ja002d46x5459e535e97d5419@mail.gmail.com>
	<b35603930808071457x40334261uad77dab2623f2757@mail.gmail.com>
	<489B727B.6010800@mark.mielke.cc>

On Thu, 7 Aug 2008, Mark Mielke wrote:

> Now, modern Linux distributions default to "relatime"

Right, but Mark's HP test system is running Gentoo.

(ducks)

According to http://brainstorm.ubuntu.com/idea/2369/ relatime is the 
default for Fedora 8, Mandriva 2008, Pardus, and Ubuntu 8.04.

Anyway, there aren't many actual files involved in this test, and I 
suspect the atime writes are just being cached until forced out to disk 
only periodically.  You need to run something that accesses more files 
and/or regularly forces sync to disk periodically to get a more 
database-like situation where the atime writes degrade performance.  Note 
how Joshua Drake's ext2 vs. ext3 comparison, which does show a large 
difference here, was run with the iozone's -e parameter that flushes the 
writes with fsync.  I don't see anything like that in the DL380 G5 fio 
tests.

--
* Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD



view thread (34+ messages)  latest in thread

Message-ID: <Pine.GSO.4.64.0808081809430.21924@westnet.com>
Permalink:  ../Pine.GSO.4.64.0808081809430.21924@westnet.com/
Also on:    postgresql.org/message-id/Pine.GSO.4.64.0808081809430.21924@westnet.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-performance@postgresql.org
  Cc: gsmith@gregsmith.com, mark@mark.mielke.cc, andrej.groups@gmail.com, scott.marlowe@gmail.com
  Subject: Re: file system and raid performance
  In-Reply-To: <Pine.GSO.4.64.0808081809430.21924@westnet.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