RE:[HACKERS] Deadlock in XLogInsert at AIX
REIX, Tony <tony.reix@atos.net>
From: "REIX, Tony" <tony.reix@atos.net>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Noah Misch <noah@leadboat.com>, Heikki Linnakangas <hlinnaka@iki.fi>,
Konstantin Knizhnik <k.knizhnik@postgrespro.ru>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>,
Bernd Helmle <mailings@oopsware.de>,
"OLIVA,
PASCAL" <pascal.oliva@atos.net>,
"EMPEREUR-MOT, SYLVIE" <sylvie.empereur-mot@atos.net>
Date: 2018-01-16T13:50:29Z
Lists: pgsql-hackers
Hi Michael You said: > Setting up a buildfarm member with the combination of compiler and > environment where you are seeing the failures would be the best answer > in my opinion: > https://wiki.postgresql.org/wiki/PostgreSQL_Buildfarm_Howto > > This does not require special knowledge of PostgreSQL internals, and the > in-core testing framework has improved the last couple of years to allow > for more advanced tests. I do use it as well for some tests on my own > modules (company stuff). The buildfarm code has also followed the pace, > which really helps a lot, thanks to Andrew Dunstan. > > Developers and committers are more pro-active if they can see automated > tests failing in the central community place. And buildfarm animals > usually don't stay red for more than a couple of days. Hummmm I quickly read this HowTo and I did not find any explanation about the "protocole" used for exchanging data between my VM and the PostgreSQL BuildFarm. My machine is behind firewalls and have restricted access to the outside. Either I'll see when that does not work... or I can get some information about which port (or anything else) I have to ask to be opened, if needed. Anyway, I'll read it in depth now and I'll try to implement it. About the random error we see, I guess that I may see it, though PostgreSQL BuildFarm AIX VMs do not see it, because I'm using a not-too-small VM, using variable Physical Processing units (CPUs) since my VM is uncapped (I may use all Physical CPU if available): up to 4 physical processors and up to 8 virtual processors. And, on BuildFarm, I do not see any details about the logical/physical configuration of the AIX VMs, like hornet. Being able to run real concurrent parallel stress programs, thus required multi-physical-CPU VM, would help. Regards, Tony
Commits
-
For all ppc compilers, implement compare_exchange and fetch_add with asm.
- 30ee5d17c20d 13.0 landed
-
For PowerPC instruction "addi", use constraint "b".
- 930787c7fab9 9.4.25 landed
- af4477b00cf9 11.6 landed
- 62e881946c4d 9.5.20 landed
- 09d74aef33de 9.6.16 landed
- 083929372e04 10.11 landed
- ef13f914e6c2 12.1 landed
- 89b4d7744c80 13.0 landed
-
For all ppc compilers, implement pg_atomic_fetch_add_ with inline asm.
- e7ff59686eac 13.0 landed
-
Replace xlc __fetch_and_add() with inline asm.
- a1df9a015dac 9.6.16 landed
- 8972ac696665 10.11 landed
- 75941f257aac 9.5.20 landed
- 40ad4202513c 11.6 landed
- 1c6b62a7d0e5 12.0 landed
- dd50f1a43290 13.0 landed
-
Test pg_atomic_fetch_add_ with variable addend and 16-bit edge cases.
- e6a90ded5a6c 10.11 landed
- 8d32f82cbbbb 9.6.16 landed
- 4737d3a75b72 9.5.20 landed
- 5b5b0f721d9c 12.0 landed
- 585fc561f824 11.6 landed
- f380c5190134 13.0 landed