Re: wal sync method

From: Javier Somoza <jsomoza(at)pandasoftware(dot)es>
To: Evgeny Gridasov <eugrid(at)fpm(dot)kubsu(dot)ru>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: wal sync method
Date: 2006-02-27 12:29:19
Message-ID: 1141043359.1556.44.camel@pndsoft
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance

Hi Evgeny

Im also testing what fsync method to use and using this program
(http://archives.postgresql.org/pgsql-performance/2003-12/msg00191.php)
a bit modified and i get this results:

write 0.000036
write & fsync 0.006796
write & fdatasync 0.001001
write (O_FSYNC) 0.005761
write (O_DSYNC) 0.005894

So fdatasync faster for me?

> Hi everybody!
>
> Which wal sync method is the fastest under linux 2.6.x?
> I'm using RAID-10 (JFS filesystem), 2xXEON, 4 Gb RAM.
>
> I've tried to switch to open_sync which seems to work
> faster than default fdatasync, but is it crash-safe?

Javier Somoza
Oficina de Dirección Estratégica
mailto:jsomoza(at)pandasoftware(dot)es

Panda Software
Buenos Aires, 12
48001 BILBAO - ESPAÑA
Teléfono: 902 24 365 4
Fax: 94 424 46 97
http://www.pandasoftware.es
Panda Software, una de las principales compañías desarrolladoras de
soluciones de protección contra virus e intrusos, presenta su nueva
familia de soluciones. Todos los usuarios de ordenadores, desde las
redes más grandes a los domésticos, disponen ahora de nuevos productos
con excelentes tecnologías de seguridad. Más información en:
http://www.pandasoftware.es/productos

¡Protéjase ahora contra virus e intrusos! Pruebe gratis nuestros
productos en http://www.pandasoftware.es/descargas/









In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2006-02-27 14:17:23 Re: Scrollable cursors and Sort performance
Previous Message Evgeny Gridasov 2006-02-27 12:08:19 wal sync method

Browse pgsql-performance by date

  From Date Subject
Next Message Javier Somoza 2006-02-27 12:43:36 Setting the shared buffers
Previous Message Evgeny Gridasov 2006-02-27 12:08:19 wal sync method