pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix bug slowing down pgbench when -P is used.
2+ messages / 2 participants
[nested] [flat]

* pgsql: Fix bug slowing down pgbench when -P is used.
@ 2015-08-07 23:19 Andres Freund <andres@anarazel.de>
  2015-08-08 04:44 ` Re: pgsql: Fix bug slowing down pgbench when -P is used. Fabien COELHO <coelho@cri.ensmp.fr>
  0 siblings, 1 reply; 2+ messages in thread

From: Andres Freund @ 2015-08-07 23:19 UTC (permalink / raw)
  To: pgsql-committers

Fix bug slowing down pgbench when -P is used.

A removed check in ba3deeefb made all threads but the main one busy-loop
when -P was used. All threads computed the time to the next time the
progress report should be printed, but only the main thread did so and
re-scheduled it only for the future.

Reported-By: Jesper Pedersen
Discussion: 55C4E190.3050104@redhat.com

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c2509944b1a090d64a4a18dcd524ff63ee0f0212

Modified Files
--------------
src/bin/pgbench/pgbench.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pgsql: Fix bug slowing down pgbench when -P is used.
  2015-08-07 23:19 pgsql: Fix bug slowing down pgbench when -P is used. Andres Freund <andres@anarazel.de>
@ 2015-08-08 04:44 ` Fabien COELHO <coelho@cri.ensmp.fr>
  0 siblings, 0 replies; 2+ messages in thread

From: Fabien COELHO @ 2015-08-08 04:44 UTC (permalink / raw)
  To: Andres Freund <andres@anarazel.de>; +Cc: pgsql-committers


> A removed check in ba3deeefb

Indeed. It seems that it was really removed by 1bc90f7a, that I should 
have checked...

-- 
Fabien.


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2015-08-08 04:44 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-08-07 23:19 pgsql: Fix bug slowing down pgbench when -P is used. Andres Freund <andres@anarazel.de>
2015-08-08 04:44 ` Fabien COELHO <coelho@cri.ensmp.fr>

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