Align all shared memory allocations to cache line boundaries.

Robert Haas <rhaas@postgresql.org>

Commit: 09adc9a8c09c9640de05c7023b27fb83c761e91c
Author: Robert Haas <rhaas@postgresql.org>
Date: 2016-04-05T19:47:49Z
Releases: 9.6.0
Align all shared memory allocations to cache line boundaries.

Experimentation shows this only costs about 6kB, which seems well
worth it given the major performance effects that can be caused
by insufficient alignment, especially on larger systems.

Discussion: 14166.1458924422@sss.pgh.pa.us

Files

PathChange+/−
src/backend/storage/ipc/shmem.c modified +10 −2