A few further tweaks to shared memory space estimation.
Tom Lane <tgl@sss.pgh.pa.us>
A few further tweaks to shared memory space estimation. This change brings the default size of the main shmem block back under 1MB, which is a fairly popular value for the kernel's SHMMAX parameter.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/ipc/ipci.c | modified | +1 −3 |
| src/backend/storage/lmgr/lock.c | modified | +14 −9 |
| src/backend/storage/smgr/mm.c | modified | +3 −3 |
| src/backend/utils/hash/dynahash.c | modified | +17 −9 |
| src/include/storage/lock.h | modified | +7 −3 |