Re: update i386 spinlock for hyperthreading

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Manfred Spraul <manfred(at)colorfullife(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>, markw(at)osdl(dot)org
Subject: Re: update i386 spinlock for hyperthreading
Date: 2003-12-30 03:37:45
Message-ID: 200312300337.hBU3bjP01804@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers 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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2003-12-30 03:39:28 Re: [pgsql-advocacy] Is my MySQL Gaining ?
Previous Message Christopher Browne 2003-12-30 02:01:45 Some Documentation Changes

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-12-30 03:39:28 Re: [pgsql-advocacy] Is my MySQL Gaining ?
Previous Message Christopher Browne 2003-12-30 02:01:45 Some Documentation Changes

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2003-12-30 04:14:48 Re: [PATCHES] update i386 spinlock for hyperthreading
Previous Message Christopher Browne 2003-12-30 02:01:45 Some Documentation Changes