Обсуждение: pgsql-server/src backend/storage/ipc/shmem.c i ...

Поиск
Список
Период
Сортировка

pgsql-server/src backend/storage/ipc/shmem.c i ...

От
tgl@svr1.postgresql.org (Tom Lane)
Дата:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@svr1.postgresql.org    03/09/21 14:57:21

Modified files:
    src/backend/storage/ipc: shmem.c
    src/include    : c.h pg_config_manual.h

Log message:
    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.