• Tom Lane's avatar
    Replace the BufMgrLock with separate locks on the lookup hashtable and · 5d508736
    Tom Lane authored
    the freelist, plus per-buffer spinlocks that protect access to individual
    shared buffer headers.  This requires abandoning a global freelist (since
    the freelist is a global contention point), which shoots down ARC and 2Q
    as well as plain LRU management.  Adopt a clock sweep algorithm instead.
    Preliminary results show substantial improvement in multi-backend situations.
    5d508736
localbuf.c 6.09 KB