pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua Berkus <josh@agliodbs.com>
To: Dave Crooke <dcrooke@gmail.com>
Cc: postgres performance list <pgsql-performance@postgresql.org>
Subject: Re: Linux machine aggressively clearing cache
Date: Wed, 28 Mar 2012 13:37:38 -0500 (CDT)
Message-ID: <807948699.229132.1332959858793.JavaMail.root@mail-1.01.com> (raw)
In-Reply-To: <CALi4UpjQSQ3FeShXsLRkG8p5cyuRpJLzy7_hmLr0DRsZ_qVK+A@mail.gmail.com>


> This may just be a typo, but if you really did create write (dirty)
> block device cache by writing the pg_dump file somewhere, then that
> is what it's supposed to do ;) 

The pgdump was across the network.  So the only caching on the machine was read caching.

> Read cache of course does not need to be flushed and can simply be
> dumped when the memory is needed, and so Linux will keep more or
> less unlimited amounts of read cache until it needs the memory for
> something else ....

Right, that's the normal behavior.  Except not on this machine.

--Josh



view thread (8+ messages)  latest in thread

Message-ID: <807948699.229132.1332959858793.JavaMail.root@mail-1.01.com>
Permalink:  ../807948699.229132.1332959858793.JavaMail.root@mail-1.01.com/
Also on:    postgresql.org/message-id/807948699.229132.1332959858793.JavaMail.root@mail-1.01.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: josh@agliodbs.com, dcrooke@gmail.com
  Subject: Re: Linux machine aggressively clearing cache
  In-Reply-To: <807948699.229132.1332959858793.JavaMail.root@mail-1.01.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox