Re: Linux machine aggressively clearing cache

From: Claudio Freire <klaussfreire(at)gmail(dot)com>
To: Joshua Berkus <josh(at)agliodbs(dot)com>
Cc: postgres performance list <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Linux machine aggressively clearing cache
Date: 2012-03-27 20:10:27
Message-ID: CAGTBQpZ8myD-kSRm1r35NPKi54MCbytLAi7HUWaNdZo2F5mfYA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Tue, Mar 27, 2012 at 5:06 PM, Joshua Berkus <josh(at)agliodbs(dot)com> wrote:
> In an effort to test this, we deliberately ran a pg_dump.  This did grow the cache to all available memory, but Linux rapidly cleared the cache (flushing to disk) down to 25GB within an hour.

This would happen if some queries (or some program) briefly uses that
much memory (pushing the cache off RAM).

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Francois Deliege 2012-03-27 20:37:51 Distinct + Limit
Previous Message Joshua Berkus 2012-03-27 20:06:17 Linux machine aggressively clearing cache