• Robert Haas's avatar
    Reduce sinval synchronization overhead. · b4fbe392
    Robert Haas authored
    Testing shows that the overhead of acquiring and releasing
    SInvalReadLock and msgNumLock on high-core count boxes can waste a lot
    of CPU time and hurt performance.  This patch adds a per-backend flag
    that allows us to skip all that locking in most cases.  Further
    testing shows that this improves performance even when sinval traffic
    is very high.
    
    Patch by me.  Review and testing by Noah Misch.
    b4fbe392
sinvaladt.c 24.2 KB