Re: update i386 spinlock for hyperthreading - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: update i386 spinlock for hyperthreading
Date
Msg-id 200312300337.hBU3bjP01804@candle.pha.pa.us
Whole thread Raw
In response to Re: update i386 spinlock for hyperthreading  (Manfred Spraul <manfred@colorfullife.com>)
List pgsql-patches
Manfred Spraul wrote:
> The scary part from the system perspective are the 35 million context
> switches that were generated by the BufMgrLock and the LockMgrLock. I
> remember there were patches that tried other algorithms instead of the
> simple LRU for the buffer manager. Has anyone tried to change the
> locking of the buffer manager?

CVS HEAD already has an Adaptive Replacement Cache (ARC) for buffer
replacement.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Manfred Spraul
Date:
Subject: Re: update i386 spinlock for hyperthreading
Next
From: Andrew Dunstan
Date:
Subject: pg_usleep