Subject | LRU page replacement |
---|---|
Author | Jan Mikkelsen |
Post date | 2000-04-09T01:34:37Z |
Jim Starkey <jas@...> wrote:
Interbase, but in other contexts). A clock algorithm can actually provide a
win over LRU through reduced lock contention and book keeping, and avoiding
the pathological worst case where the page chosen for replacement under LRU
is always the page which will be needed next.
Are there any optimisations to LRU in Interbase to avoid that pathological
case (multiple scans through a set of pages greater than the size of the
buffer pool)?
Jan Mikkelsen
janm@...
>Page replacement is simple least recently used (LRU).I have seen contention around LRU lists on multiprocessor systems (not in
Interbase, but in other contexts). A clock algorithm can actually provide a
win over LRU through reduced lock contention and book keeping, and avoiding
the pathological worst case where the page chosen for replacement under LRU
is always the page which will be needed next.
Are there any optimisations to LRU in Interbase to avoid that pathological
case (multiple scans through a set of pages greater than the size of the
buffer pool)?
Jan Mikkelsen
janm@...