From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Jan Wieck <JanWieck(at)Yahoo(dot)com> |
Cc: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Manfred Spraul <manfred(at)colorfullife(dot)com>, pgsql-hackers(at)postgreSQL(dot)org, markw(at)osdl(dot)org |
Subject: | Re: [PATCHES] update i386 spinlock for hyperthreading |
Date: | 2003-12-30 05:41:30 |
Message-ID: | 20789.1072762890@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers pgsql-patches |
Jan Wieck <JanWieck(at)Yahoo(dot)com> writes:
>> That's irrelevant to the problem, though. Unless the ARC code uses data
>> structures that are more amenable to localized locking than the old
>> global buffer freelist. (Jan?)
> the strategy itself does no locking at all. Like the old LRU code it
> simply assumes that the buffer manager holds the lock during calls.
Okay, I suspected as much but wasn't sure.
Manfred's numbers definitely say that we need to find a way to break
down the BufMgrLock into multiple finer-grain locks. We already have
all those per-buffer LWLocks, but I don't see how to apply those to
the problem of managing the global lookup and replacement datastructures.
Anyone see an attack path here?
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Bret Busby | 2003-12-30 05:45:42 | Re: [pgsql-advocacy] Is my MySQL Gaining ? |
Previous Message | Jan Wieck | 2003-12-30 05:33:16 | Re: [PATCHES] update i386 spinlock for hyperthreading |
From | Date | Subject | |
---|---|---|---|
Next Message | Bret Busby | 2003-12-30 05:45:42 | Re: [pgsql-advocacy] Is my MySQL Gaining ? |
Previous Message | Jan Wieck | 2003-12-30 05:33:16 | Re: [PATCHES] update i386 spinlock for hyperthreading |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2003-12-30 14:56:04 | Re: [PATCHES] update i386 spinlock for hyperthreading |
Previous Message | Jan Wieck | 2003-12-30 05:33:16 | Re: [PATCHES] update i386 spinlock for hyperthreading |