Re: "make check" fails over NFS or tmpfs - Mailing list pgsql-general

From Rafael Martinez, Guerrero
Subject Re: "make check" fails over NFS or tmpfs
Date
Msg-id 1148282249.5620.59.camel@bbking.uio.no
Whole thread Raw
In response to "make check" fails over NFS or tmpfs  (SODA Noriyuki <soda@sra.co.jp>)
Responses Re: "make check" fails over NFS or tmpfs
Re: "make check" fails over NFS or tmpfs
List 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.m.guerrero@usit.uio.no>
Center for Information Technology Services
University of Oslo, Norway

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


pgsql-general by date:

Previous
From: Greg Stark
Date:
Subject: Re: "make check" fails over NFS or tmpfs
Next
From: SODA Noriyuki
Date:
Subject: Re: "make check" fails over NFS or tmpfs