shared_buffers vs Linux file cache - Mailing list pgsql-performance

From Huan Ruan
Subject shared_buffers vs Linux file cache
Date
Msg-id CAD1stZv-iJUTRoMkj8xq_NdaNhrtHvjKO98wzEJAhf+TsgYdcA@mail.gmail.com
Whole thread Raw
Responses Re: shared_buffers vs Linux file cache
Re: shared_buffers vs Linux file cache
List pgsql-performance
Hi All

I thought 'shared_buffers' sets how much memory that is dedicated to PostgreSQL to use for caching data, therefore not available to other applications.

However, as shown in the following screenshots, The server (CentOS 6.6 64bit) has 64GB of RAM, and 'shared_buffer' is set to 32GB, but the free+buffer+cache is 60GB. 

Shouldn't the maximum value for free+buffer+cache be 32GB ( 64 - 32)?
Is 'shared_buffers' pre allocated to Postgres, and Postgres only?

Thanks
Huan


Inline images 2

Inline images 1
Attachment

pgsql-performance by date:

Previous
From: "Cassiano, Marco"
Date:
Subject: Performance of Postgresql Foreign Data Wrapper
Next
From: Glyn Astill
Date:
Subject: Re: shared_buffers vs Linux file cache