Re: Linux machine aggressively clearing cache

From: Joshua Berkus <josh(at)agliodbs(dot)com>
To: Dave Crooke <dcrooke(at)gmail(dot)com>
Cc: postgres performance list <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Linux machine aggressively clearing cache
Date: 2012-03-28 18:37:38
Message-ID: 807948699.229132.1332959858793.JavaMail.root@mail-1.01.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


> 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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Campbell, Lance 2012-03-29 17:59:12 database slowdown while a lot of inserts occur
Previous Message Merlin Moncure 2012-03-28 16:39:57 Re: Distinct + Limit