Re: Ragged latency log data in multi-threaded pgbench - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Ragged latency log data in multi-threaded pgbench
Date
Msg-id 4B9E5917.4070607@dunslane.net
Whole thread Raw
In response to Ragged latency log data in multi-threaded pgbench  (Greg Smith <greg@2ndquadrant.com>)
List pgsql-hackers

Greg Smith wrote:
> Just noticed a problem popping up sometimes with the new 
> multi-threaded pgbench.  This is on a Linux RPM build (the alpha4 set) 
> compiled with '--disable-thread-safety'.  Still trying to nail down 
> whether that's a requirement for this problem to appear or not.  I did 
> most of my review of this feature with it turned on, and haven't been 
> seeing this problem on other systems that are thread safe.  Not sure 
> yet if that's cause and effect or coincidence yet.
>
>

We had to turn handsprings to prevent this sort of effect with the 
logging collector, which was a requirement of being able to implement 
CSV logging sanely. So I'm not surprised by this report.

cheers

andrew


pgsql-hackers by date:

Previous
From: Joe Conway
Date:
Subject: Re: walreceiver is uninterruptible on win32
Next
From: Tom Lane
Date:
Subject: Re: Ragged latency log data in multi-threaded pgbench