Re: pgsql: Preallocate some DSM space at startup.

2020-07-31 Thread Thomas Munro
On Fri, Jul 31, 2020 at 6:26 PM Michael Paquier wrote: > longfin is complaning on this one: > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=longfin&dt=2020-07-31%2005%3A59%3A08 > guc.c:2241:38: error: implicit conversion from 'unsigned long' to > 'int' changes value from 17592186044415 t

Re: pgsql: Preallocate some DSM space at startup.

2020-07-30 Thread Michael Paquier
Hi Thomas, On Fri, Jul 31, 2020 at 05:54:45AM +, Thomas Munro wrote: > Preallocate some DSM space at startup. > > Create an optional region in the main shared memory segment that can be > used to acquire and release "fast" DSM segments, and can benefit from > huge pages allocated at cluster s

pgsql: Preallocate some DSM space at startup.

2020-07-30 Thread Thomas Munro
Preallocate some DSM space at startup. Create an optional region in the main shared memory segment that can be used to acquire and release "fast" DSM segments, and can benefit from huge pages allocated at cluster startup time, if configured. Fall back to the existing mechanisms when that space is