Re: Linux machine aggressively clearing cache - Mailing list pgsql-performance

From Joshua Berkus
Subject Re: Linux machine aggressively clearing cache
Date
Msg-id 807948699.229132.1332959858793.JavaMail.root@mail-1.01.com
Whole thread Raw
In response to Re: Linux machine aggressively clearing cache  (Dave Crooke <dcrooke@gmail.com>)
Responses Re: Linux machine aggressively clearing cache  (Josh Berkus <josh@agliodbs.com>)
List 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

pgsql-performance by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: Distinct + Limit
Next
From: "Campbell, Lance"
Date:
Subject: database slowdown while a lot of inserts occur