NFS, file system cache and shared_buffers

From: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: NFS, file system cache and shared_buffers
Date: 2014-05-27 11:06:49
Message-ID: A737B7A37273E048B164557ADEF4A58B17CFE61C@ntex2010i.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

I just learned that NFS does not use a file system cache on the client side.

On the other hand, PostgreSQL relies on the file system cache for performance,
because beyond a certain amount of shared_buffers performance will suffer.

Together these things seem to indicate that you cannot get good performance
with a large database over NFS since you can leverage memory speed.

Now I wonder if there are any remedies (CacheFS?) and what experiences
people have made with the performance of large databases over NFS.

Yours,
Laurenz Albe

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Heikki Linnakangas 2014-05-27 12:26:56 Re: NFS, file system cache and shared_buffers
Previous Message Matheus de Oliveira 2014-05-25 22:45:05 Re: Profiling PostgreSQL