Thread: pgsql: Align all shared memory allocations to cache line boundaries.

pgsql: Align all shared memory allocations to cache line boundaries.

From
Robert Haas
Date:
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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/09adc9a8c09c9640de05c7023b27fb83c761e91c

Modified Files
--------------
src/backend/storage/ipc/shmem.c | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)