Re: Shared Memory: How to use SYSV rather than MMAP ?
Alvaro Herrera <alvherre@2ndquadrant.com>
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: "REIX, Tony" <tony.reix@atos.net>, Andres Freund <andres@anarazel.de>, Robert Haas <robertmhaas@gmail.com>, Pg Hackers <pgsql-hackers@postgresql.org>, "EMPEREUR-MOT, SYLVIE" <sylvie.empereur-mot@atos.net>
Date: 2019-09-26T19:22:31Z
Lists: pgsql-hackers
On 2019-Sep-10, Thomas Munro wrote: > Here's a quick rebase. It needs testing, review and (probably) > adjustment from AIX users. I'm not going to be able to do anything > with it on my own due to lack of access, though I'm happy to help get > this committed eventually. If we don't get any traction in this CF, > I'll withdraw this submission for now. For consistency, I think we > should eventually also do the same thing for Linux when using sysv > (it's pretty similar, it just uses different flag names; it may also > be necessary to query the page size and round up the requested size, > on one or both of those OSes; I'm not sure). Tony, Sylvie, any chance for some testing on this patch? It seems that without that, this patch is going to waste. If I don't hear from anyone on September 30, I'm going to close this as Returned with Feedback. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Add shared_memory_type GUC.
- f1bebef60ec8 12.0 landed
-
Dramatically reduce System V shared memory consumption.
- b0fc0df9364d 9.3.0 cited