Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WpGTI-00074q-Qg for pgsql-performance@arkaria.postgresql.org; Tue, 27 May 2014 12:27:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WpGTI-00058S-A0 for pgsql-performance@arkaria.postgresql.org; Tue, 27 May 2014 12:27:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WpGTH-00058H-4m for pgsql-performance@postgresql.org; Tue, 27 May 2014 12:27:11 +0000 Received: from smtp-outbound-2.vmware.com ([208.91.2.13]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1WpGT7-0004HC-Sg for pgsql-performance@postgresql.org; Tue, 27 May 2014 12:27:08 +0000 Received: from sc9-mailhost3.vmware.com (sc9-mailhost3.vmware.com [10.113.161.73]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id D63149935A; Tue, 27 May 2014 05:26:58 -0700 (PDT) Received: from zcs-prod-ext-mta-1.vmware.com (zcs-prod-ext-mta-1.vmware.com [10.113.62.223]) by sc9-mailhost3.vmware.com (Postfix) with ESMTP id D1CFA4935C; Tue, 27 May 2014 05:26:58 -0700 (PDT) Received: from zcs-prod-ext-mta-1.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTP id 1B7AD12002A; Tue, 27 May 2014 05:27:08 -0700 (PDT) Received: from [192.168.1.90] (zimbra-prod-ext-proxy-vip.vmware.com [10.113.63.87]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTPSA; Tue, 27 May 2014 05:27:07 -0700 (PDT) Message-ID: <53848490.6060001@vmware.com> Date: Tue, 27 May 2014 15:26:56 +0300 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.5.0 MIME-Version: 1.0 To: Albe Laurenz , "pgsql-performance@postgresql.org" Subject: Re: NFS, file system cache and shared_buffers References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -7.6 (-------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org On 05/27/2014 02:06 PM, Albe Laurenz wrote: > 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. I have no personal experience with NFS, but sounds like a higher-than-usual shared_buffers value would be good. - Heikki -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance