pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Greg Smith <greg@2ndquadrant.com>
Cc: Stephen Frost <sfrost@snowman.net>
Cc: Euler Taveira de Oliveira <euler@timbira.com>
Cc: Pgsql Hackers <pgsql-hackers@postgresql.org>
Subject: Re: [PERFORM] pgbench to the MAXINT
Date: Wed, 16 Feb 2011 10:40:31 -0500
Message-ID: <25309.1297870831@sss.pgh.pa.us> (raw)
In-Reply-To: <4D5BCDFD.2010703@2ndquadrant.com>
References: <4D27C4E5.5000609@2ndquadrant.com>
	<4D2A965A.3000603@timbira.com>
	<4D2AC273.3010709@2ndquadrant.com>
	<4D2CCCD9.802@timbira.com>
	<4D35DF33.6060901@2ndquadrant.com>
	<4D5017DE.90404@2ndquadrant.com>
	<4D525281.1000201@2ndquadrant.com>
	<20110209194008.GX4116@tamriel.snowman.net>
	<4D549E92.4010709@2ndquadrant.com>
	<12987.1297394318@sss.pgh.pa.us>
	<4D5BCDFD.2010703@2ndquadrant.com>

Greg Smith <greg@2ndquadrant.com> writes:
> Given that pgbench will run with threads in some multi-worker 
> configurations, after some more portability research I think odds are 
> good we'd get nailed by 
> http://sourceware.org/bugzilla/show_bug.cgi?id=10320 : "erand48 
> implementation not thread safe but POSIX says it should be".  The AIX 
> docs have a similar warning on them, so who knows how many versions of 
> that library have the same issue.

FWIW, I think that bug report is effectively complaining that if you use
both drand48 and erand48, the former can impact the latter.  If you use
only erand48, I don't see that there's any problem.

			regards, tom lane



view thread (20+ messages)  latest in thread

Message-ID: <25309.1297870831@sss.pgh.pa.us>
Permalink:  ../25309.1297870831@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25309.1297870831@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, greg@2ndquadrant.com, sfrost@snowman.net, euler@timbira.com, pgsql-hackers@postgresql.org
  Subject: Re: [PERFORM] pgbench to the MAXINT
  In-Reply-To: <25309.1297870831@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox