From: Sean Chittenden <seanc@joyent.com>
To: pgsql-hackers@postgresql.org
Cc: stadtkind2@gmx.de, Sam Gwydir <sam.gwydir@joyent.com>
Cc: Sean Chittenden <sean@chittenden.org>
Cc: pgsql-bugs@postgresql.org
Subject: Re: [PATCH] BUG #13416: Postgres >= 9.3 doesn't use optimized shared memory on Solaris anymore
Date: Wed, 4 Oct 2017 10:47:06 -0700
Message-ID: <6f48fd17-6b73-487f-9467-6e2f6559d07f@Spark> (raw)
In-Reply-To: <f2ba267d-3a6d-4ffb-b842-9d6d1c0b3b1e@Spark>
References: <f2ba267d-3a6d-4ffb-b842-9d6d1c0b3b1e@Spark>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Hello. We identified the same problem. Sam Gwydir and Josh Clulow were able to put together the appropriate fix after.
The breakage in src/backend/port/sysv_shmem.c and src/include/storage/dsm_impl.h should be back ported to all supported versions (the regression was introduced between the 9.2 and 9.3 branches).
The only real question remaining is: do we want to change the default behavior, as detected by initdb(1), to use ISM on Illumos/Solaris derived systems? Given the memory bloat experienced when using POSIX shared memory (potentially very significant for systems with larger shared_buffers), we think it's probably prudent to change the default from dynamic_shared_memory_type=posix to sysv. Unfortunately I think it's not worth changing the default behavior of initdb(1) in the current supported branches, but it should be changed for 10.
Please let us know if there are any questions. -sc
--
Sean Chittenden
seanc@joyent.com
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-bugs@postgresql.org
Cc: seanc@joyent.com, pgsql-hackers@postgresql.org, sam.gwydir@joyent.com, sean@chittenden.org
Subject: Re: [PATCH] BUG #13416: Postgres >= 9.3 doesn't use optimized shared memory on Solaris anymore
In-Reply-To: <6f48fd17-6b73-487f-9467-6e2f6559d07f@Spark>
References: <f2ba267d-3a6d-4ffb-b842-9d6d1c0b3b1e@Spark> <6f48fd17-6b73-487f-9467-6e2f6559d07f@Spark>
* 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