Re: Cache-flush stress testing - Mailing list pgsql-hackers

From Jim C. Nasby
Subject Re: Cache-flush stress testing
Date
Msg-id 20060119221126.GI78403@pervasive.com
Whole thread Raw
In response to Cache-flush stress testing  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Thu, Jan 19, 2006 at 05:03:20PM -0500, Tom Lane wrote:
> I'm still bothered by the likelihood that there are cache-flush bugs in
> code paths that are not exercised by the regression tests.  The
> CLOBBER_CACHE patch is far too slow to consider enabling on any regular
> basis, but it seems that throwing in cache flushes at random intervals,
> as in the test program I posted here:
> http://archives.postgresql.org/pgsql-hackers/2006-01/msg00244.php
> doesn't provide very good test coverage.  Has anyone got any ideas about
> better ways to locate such bugs?

Some of the machines in the buildfarm do nothing else useful, if this
was turned into a configure option it would be trivial to setup some of
those machines to just hammer away at this.
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Cache-flush stress testing
Next
From: Tom Lane
Date:
Subject: Re: un-vacuum?