pgsql: Align all shared memory allocations to cache line boundaries. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Align all shared memory allocations to cache line boundaries.
Date
Msg-id E1anWxN-0004XU-C3@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix PL/Python for recursion and interleaved set-returning functi
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Disallow newlines in parameter values to be set in ALTER SYSTEM.