From: Bernd Helmle <mailings@oopsware.de>
To: REIX, Tony <tony.reix@atos.net>
To: Michael Paquier <michael.paquier@gmail.com>
To: Noah Misch <noah@leadboat.com>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Cc: OLIVA, PASCAL <pascal.oliva@atos.net>
Cc: EMPEREUR-MOT, SYLVIE <sylvie.empereur-mot@atos.net>
Subject: Re: [HACKERS] Deadlock in XLogInsert at AIX
Date: Wed, 17 Jan 2018 12:32:29 +0100
Message-ID: <1516188749.4451.68.camel@oopsware.de> (raw)
In-Reply-To: <B37989F2852398498001550C29155BE5184AC1F0@FRCRPVV9EX3MSX.ww931.my-it-solutions.net>
References: <a72cfcb0-37d0-de2f-b3ec-f38ad8d6a8cc@postgrespro.ru>
<0184657d-cf64-10f6-9706-7329f23f5f89@iki.fi>
<85a1966c-aeee-fb38-77bd-6cad9a90b35f@postgrespro.ru>
<2c4037f1-b35d-4d71-0d32-40a97523b31c@postgrespro.ru>
<5de6b64a-f842-9166-e41a-ed7b87a2729b@iki.fi>
<7609057e-b021-56d8-afb6-27acc1dfdeea@postgrespro.ru>
<15802dd8-4601-d9d2-3388-35dcb326b4a2@iki.fi>
<20170203002650.GA775605@tornado.leadboat.com>
<20180116071211.GB3679@paquier.xyz>
<B37989F2852398498001550C29155BE5184AC1F0@FRCRPVV9EX3MSX.ww931.my-it-solutions.net>
Am Dienstag, den 16.01.2018, 08:25 +0000 schrieb REIX, Tony:
> I've been able to compare PostgreSQL compiled with XLC vs GCC 7.1
> and, using times outputs provided by PostgreSQL tests, XLC seems to
> provide at least 8% more speed. We also plan to run professional
> performance tests in order to compare PostgreSQL 10.1 on AIX vs
> Linux/Power. I saw some 2017 performance slides, made with older
> versions of PostgreSQL and XLC, that show bad PostgreSQL performance
> on AIX vs Linux/Power, and I cannot believe it. We plan to
> investigate this.
I assume you are referring to the attached graph i've showed on
PGConf.US 2017 ?
The numbers we've got on that E850 machine (pgbench SELECT-only, scale
1000) weren't really good in comparison to Linux on the same machine.
We tried many options to make the performance better, overall the graph
shows the best performance from Linux *and* AIX with gcc. XL C We used
some knobs to get the best out on AIX:
export OBJECT_MODE=64; gcc -m64
ldedit -b forkpolicy:cor -b textpsize:64K -b datapsize:64K -b
stackpsize:64K postgres
export MALLOCOPTIONS=multiheap:16,considersize,pool,no_mallinfo
schedo -p -o vpm_fold_policy=4
There are many other things you can tune on AIX, but they didn't seem
to give the improvement we'd like to see.
Attachments:AIX_vs_LINUX_fastest.png (image/png, 36.8K) downloadview image
run_bench.sh (application/x-shellscript, 452B) download
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: mailings@oopsware.de, tony.reix@atos.net, michael.paquier@gmail.com, noah@leadboat.com, hlinnaka@iki.fi, k.knizhnik@postgrespro.ru, pascal.oliva@atos.net, sylvie.empereur-mot@atos.net
Subject: Re: [HACKERS] Deadlock in XLogInsert at AIX
In-Reply-To: <1516188749.4451.68.camel@oopsware.de>
References: <a72cfcb0-37d0-de2f-b3ec-f38ad8d6a8cc@postgrespro.ru> <0184657d-cf64-10f6-9706-7329f23f5f89@iki.fi> <85a1966c-aeee-fb38-77bd-6cad9a90b35f@postgrespro.ru> <2c4037f1-b35d-4d71-0d32-40a97523b31c@postgrespro.ru> <5de6b64a-f842-9166-e41a-ed7b87a2729b@iki.fi> <7609057e-b021-56d8-afb6-27acc1dfdeea@postgrespro.ru> <15802dd8-4601-d9d2-3388-35dcb326b4a2@iki.fi> <20170203002650.GA775605@tornado.leadboat.com> <20180116071211.GB3679@paquier.xyz> <B37989F2852398498001550C29155BE5184AC1F0@FRCRPVV9EX3MSX.ww931.my-it-solutions.net> <1516188749.4451.68.camel@oopsware.de>
* 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