Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-performance by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group