mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-09 15:59:27 +02:00
Do not update shm_mq's mq_bytes_written until we have written an amount of data greater than 1/4th of the ring size, unless the caller of shm_mq_send(v) requests a flush at the end of the message. This reduces the number of calls to SetLatch(), and also the number of CPU cache misses, considerably, and thus makes shm_mq significantly faster. Dilip Kumar, reviewed by Zhihong Yu and Tomas Vondra. Some minor cosmetic changes by me. Discussion: http://postgr.es/m/CAFiTN-tVXqn_OG7tHNeSkBbN+iiCZTiQ83uakax43y1sQb2OBA@mail.gmail.com |
||
---|---|---|
.. | ||
.gitignore | ||
backendid.h | ||
barrier.h | ||
block.h | ||
buf_internals.h | ||
buf.h | ||
buffile.h | ||
bufmgr.h | ||
bufpage.h | ||
checksum_impl.h | ||
checksum.h | ||
condition_variable.h | ||
copydir.h | ||
dsm_impl.h | ||
dsm.h | ||
fd.h | ||
fileset.h | ||
freespace.h | ||
fsm_internals.h | ||
indexfsm.h | ||
ipc.h | ||
item.h | ||
itemid.h | ||
itemptr.h | ||
large_object.h | ||
latch.h | ||
lmgr.h | ||
lock.h | ||
lockdefs.h | ||
lwlock.h | ||
md.h | ||
off.h | ||
pg_sema.h | ||
pg_shmem.h | ||
pmsignal.h | ||
predicate_internals.h | ||
predicate.h | ||
proc.h | ||
procarray.h | ||
proclist_types.h | ||
proclist.h | ||
procsignal.h | ||
reinit.h | ||
relfilenode.h | ||
s_lock.h | ||
sharedfileset.h | ||
shm_mq.h | ||
shm_toc.h | ||
shmem.h | ||
sinval.h | ||
sinvaladt.h | ||
smgr.h | ||
spin.h | ||
standby.h | ||
standbydefs.h | ||
sync.h |