Re: Performance TODO items - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Performance TODO items
Date
Msg-id 21780.996521041@sss.pgh.pa.us
Whole thread Raw
In response to Performance TODO items  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Performance TODO items
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> New TODO entries are:
>     * Add queue of backends waiting for spinlock

I already see:

* Create spinlock sleepers queue so everyone doesn't wake up at once


BTW, I agree with Vadim's opinion that we should add a new type of lock
(intermediate between spinlocks and lockmanager locks) rather than try
to add new semantics onto spinlocks.  For example, it'd be very nice to
distinguish read-only and read-write access in this new kind of lock,
but we can't expect spinlocks to be able to do that.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: SIGCHLD handler in Postgres C function.
Next
From: Tom Lane
Date:
Subject: Re: Performance TODO items