Re: CLOG contention - Mailing list pgsql-hackers

From Tom Lane
Subject Re: CLOG contention
Date
Msg-id 26698.1324445610@sss.pgh.pa.us
Whole thread Raw
In response to CLOG contention  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: CLOG contention  (Simon Riggs <simon@2ndQuadrant.com>)
Re: CLOG contention  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> ... while the main buffer manager is
> content with some loosey-goosey approximation of recency, the SLRU
> code makes a fervent attempt at strict LRU (slightly compromised for
> the sake of reduced locking in SimpleLruReadPage_Readonly).

Oh btw, I haven't looked at that code recently, but I have a nasty
feeling that there are parts of it that assume that the number of
buffers it is managing is fairly small.  Cranking up the number
might require more work than just changing the value.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: CLOG contention
Next
From: Greg Smith
Date:
Subject: Re: Page Checksums