Re: pgbench duration option

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Greg Smith <gsmith(at)gregsmith(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: pgbench duration option
Date: 2008-08-18 22:11:36
Message-ID: 20080818221136.GE4454@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Greg Smith wrote:
> On Mon, 18 Aug 2008, Tom Lane wrote:

>> I repeat my concern that transaction rates measured with this patch will
>> be significantly different from those seen with the old code
>
> Last time I tried to quantify the overhead of logging with timestamps on
> I couldn't even measure its impact, it was lower than the usual pgbench
> noise.

There's a hardware deficiency on certain machines -- I think it's old
ones. I don't know if machines that would currently be used in
production would contain such a problem.

In any case, I think using SIGALRM as proposed by Tom is a very easy way
out of the problem.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Fetter 2008-08-18 22:21:45 Re: Extending varlena
Previous Message Andrew Chernow 2008-08-18 22:09:13 Re: Extending varlena