Re: "make check" fails over NFS or tmpfs

From: "Rafael Martinez, Guerrero" <r(dot)m(dot)guerrero(at)usit(dot)uio(dot)no>
To: SODA Noriyuki <soda(at)sra(dot)co(dot)jp>
Cc: pgsql-general(at)postgresql(dot)org, takuya(at)soum(dot)co(dot)jp
Subject: Re: "make check" fails over NFS or tmpfs
Date: 2006-05-22 07:17:29
Message-ID: 1148282249.5620.59.camel@bbking.uio.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 2006-05-22 at 06:15, SODA Noriyuki wrote:

Hei

> We've encountered failures of "make check", when we put PostgreSQL
> data directory on a NFS filesystem or a tmpfs filesystem.
> It doesn't always fail, but fails occasionally.
>

To have a database on a NFS filesystem is a disaster waiting to happen,
specially if the NFS server is running on Linux. Not to talk on the
performance penalty of running the database via NFS.

I would say that anything is better than NFS for running a database. But
if you absolutely have to use NFS, run NFS via TCP not UDP, use hard and
turn off all cache ..... In the server side we are talking about 'sync'
and 'no_wdelay' parameters and in the client about
'bg','hard','intr','noac' and 'tcp', probably the throughput will
improve by increasing rsize and wsize to 16384 or even 32768.

regards,
--
Rafael Martinez, <r(dot)m(dot)guerrero(at)usit(dot)uio(dot)no>
Center for Information Technology Services
University of Oslo, Norway

PGP Public Key: http://folk.uio.no/rafael/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message SODA Noriyuki 2006-05-22 07:34:34 Re: "make check" fails over NFS or tmpfs
Previous Message Greg Stark 2006-05-22 07:00:55 Re: "make check" fails over NFS or tmpfs