> Is your workload bigger than RAM? RAM is bigger than workload (more than a couple of times).
> I think a good bit of the contention > you're seeing in that listing is populating shared_buffers - and might > actually vanish once you're halfway cached. > From what I've seen so far the bigger problem than contention in the > lwlocks itself, is the spinlock protecting the lwlocks... Could you clarify a bit what do you mean by "halfway cached" and "spinlock protecting the lwlocks".