]> granicus.if.org Git - postgresql/commit
Arrange to align shared disk buffers on at least 32-byte boundaries,
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 21 Sep 2003 17:57:21 +0000 (17:57 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 21 Sep 2003 17:57:21 +0000 (17:57 +0000)
commit5aa29e88e998dc6cb66cd04dd6d8be5d187a0673
tree38d401d34cb07e3be15ca9544ba2e2a75c5c414b
parent11b274f00f6c84eb36f787331172b15b2bd47ab1
Arrange to align shared disk buffers on at least 32-byte boundaries,
not just MAXALIGN boundaries.  This makes a noticeable difference in
the speed of transfers to and from kernel space, at least on recent
Pentiums, and might help other CPUs too.  We should look at making
this happen for local buffers and buffile.c too.  Patch from Manfred Spraul.
src/backend/storage/ipc/shmem.c
src/include/c.h
src/include/pg_config_manual.h