Re: [POC] Faster processing at Gather node
Jim Van Fleet <vanfleet@us.ibm.com>
Ran this change with hammerdb on a power 8 firestone with 2 socket, 20 core 9.6 base -- 451991 NOPM 0926_master -- 464385 NOPM 11_04master -- 449177 NOPM 11_04_patch -- 431423 NOPM -- two socket patch is a little down from previous base runs With one socket 9.6 base -- 393727 NOPM v10rc1_base -- 350958 NOPM 11_04master -- 306506 NOPM 11_04_patch -- 313179 NOPM -- one socket 11_04 master is quite a bit down from 9.6 and v10rc1_base -- the patch is up a bit over the base Net -- the patch is about the same as current base on two socket, and on one socket -- consistent with your pgbench (?) findings As an aside, it is perhaps a worry that one socket is down over 20% from 9.6 and over 10% from v10rc1 Jim pgsql-hackers-owner@postgresql.org wrote on 11/04/2017 06:08:31 AM: > On hydra (PPC), these changes didn't help much. Timings: > > master: 29605.582, 29753.417, 30160.485 > patch: 28218.396, 27986.951, 26465.584 > > That's about a 5-6% improvement. On my MacBook, though, the > improvement was quite a bit more: > > master: 21436.745, 20978.355, 19918.617 > patch: 15896.573, 15880.652, 15967.176 > > Median-to-median, that's about a 24% improvement. > > Any reviews appreciated. > > Thanks, > > -- > Robert Haas > EnterpriseDB: https://urldefense.proofpoint.com/v2/url? > u=http-3A__www.enterprisedb.com&d=DwIBaQ&c=jf_iaSHvJObTbx- > siA1ZOg&r=Glx_6-ZyGFPdLCdb8Jr7QJHrJIbUJO1z6oi-JHO8Htk&m=- > I8r3tfguIVgEpNumrjWTKOGkJWIbHQNT2M2-02-8cU&s=39p2vefOiiZS9ZooPYkZ97U66hw5osqmkCGcikgZCik&e= > The Enterprise PostgreSQL Company > [attachment "shm-mq-less-spinlocks-v1.2.patch" deleted by Jim Van > Fleet/Austin/Contr/IBM] > -- > Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) > To make changes to your subscription: > https://urldefense.proofpoint.com/v2/url? > u=http-3A__www.postgresql.org_mailpref_pgsql-2Dhackers&d=DwIDAg&c=jf_iaSHvJObTbx- > siA1ZOg&r=Glx_6-ZyGFPdLCdb8Jr7QJHrJIbUJO1z6oi-JHO8Htk&m=- > I8r3tfguIVgEpNumrjWTKOGkJWIbHQNT2M2-02-8cU&s=aL2TI3avKN4drlXk915UM2RFixyvUsZ2axDjB2FG9G0&e=
Commits
-
C comment: fix wording about shared memory message queue
- bc0021ef09ec 11.0 landed
-
shm_mq: Have the receiver set the sender's less frequently.
- 497171d3e2aa 11.0 landed
-
shm_mq: Reduce spinlock usage.
- 34db06ef9a1d 11.0 landed
-
Remove use of byte-masking macros in record_image_cmp
- 0b5e33f667a2 11.0 cited
-
Remove memory leak protection from Gather and Gather Merge nodes.
- 9f4992e2a993 11.0 landed
-
Avoid projecting tuples unnecessarily in Gather and Gather Merge.
- b10967eddf96 11.0 landed
-
Tweak use of ExecContextForcesOids by Gather (Merge).
- 0510421ee091 11.0 landed
-
Pass eflags down to parallel workers.
- f455e1125e25 11.0 landed
-
Disable installcheck tests for test_session_hooks
- 745948422c79 11.0 cited
-
First-draft release notes for 10.1.
- 42de8a0255c2 11.0 cited
-
Remove TupleDesc remapping logic from tqueue.c.
- 6b65a7fe62e1 11.0 cited
-
Avoid memory leaks when a GatherMerge node is rescanned.
- 2d44c58c79ae 11.0 cited
-
Code review for nodeGatherMerge.c.
- 04e9678614ec 11.0 cited
-
Add a Gather Merge executor node.
- 355d3993c53e 10.0 cited
-
Push scan/join target list beneath Gather when possible.
- 992b5ba30dca 9.6.0 cited