Re: Going for "all green" buildfarm results

From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: stark <stark(at)enterprisedb(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Going for "all green" buildfarm results
Date: 2006-08-17 20:17:10
Message-ID: 20060817201710.GF21363@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Thu, Aug 17, 2006 at 03:09:30PM -0400, Alvaro Herrera wrote:
> stark wrote:
>
> > Actually I was already looking into a related issue and have some work here
> > that may help with this.
> >
> > I wanted to test the online index build and to do that I figured you needed to
> > have regression tests like the ones we have now except with multiple database
> > sessions. So I hacked psql to issue queries asynchronously and allow multiple
> > database connections. That way you can switch connections while a blocked or
> > slow transaction is still running and issue queries in other transactions.
> >
> > I thought it was a proof-of-concept kludge but actually it's worked out quite
> > well. There were a few conceptual gotchas but I think I have a reasonable
> > solution for each.
>
> I have had an idea for some time that is actually much simpler -- just
> launch several backends at once to do different things, and randomly
> send SIGSTOP and SIGCONT to each. If they keep doing whatever they are
> doing in infinite loops, and you leave it enough time, it's very likely
> that you'll get problems if the concurrent locking (or whatever) is not
> right.

This is probably worth doing as well, since it would simulate what an
IO-bound system would look like.
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2006-08-17 20:19:52 Re: Autovacuum on by default?
Previous Message Jim C. Nasby 2006-08-17 20:15:12 Re: Going for "all green" buildfarm results

Browse pgsql-patches by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-08-17 21:10:45 Re: pgstattuple extension for indexes
Previous Message Jim C. Nasby 2006-08-17 20:15:12 Re: Going for "all green" buildfarm results