Re: Shared Memory: How to use SYSV rather than MMAP ? - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Shared Memory: How to use SYSV rather than MMAP ?
Date
Msg-id CA+TgmoaNnv-rjXSvKsMGobL50NiBOu5N06PUvAX5Cy0GCfj0+w@mail.gmail.com
Whole thread Raw
In response to RE: Shared Memory: How to use SYSV rather than MMAP ?  ("REIX, Tony" <tony.reix@atos.net>)
Responses RE: Shared Memory: How to use SYSV rather than MMAP ?
List pgsql-hackers
On Tue, Nov 20, 2018 at 8:36 AM REIX, Tony <tony.reix@atos.net> wrote:
> We are trying to understand why pgbench on AIX is slower compared to Linux/Power on the same HW/Disks.
>
> So, we have yet no idea about what may be the root cause and what should be changed.
>
> So, changing:     dynamic_shared_memory_type = sysv    seems to help.
>
> And maybe changing the main shared memory segment could also improve the performance. However, how one can change
this?

There's no configuration setting for the main shared memory segment,
but removing #define USE_ANONYMOUS_SHMEM from sysv_shmem.c would
probably do the trick.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: John Naylor
Date:
Subject: Re: [RFC] Removing "magic" oids
Next
From: Robert Haas
Date:
Subject: Re: Patch to avoid SIGQUIT accident