On Thu, 3 Feb 2005, Neil Conway wrote:
On Wed, 2005-02-02 at 21:41 +0200, Heikki Linnakangas wrote:
There's two almost identical pieces of code in LockRelease and
LockReleaseAll that do the opposite of GrantLock.
Here's a small patch that replaces those pieces with a static UnGrantLock
function.
Lo
Neil, do you have a verdict on this patch?
On Friday January 28 2005 10:30, Ed L. wrote:
> If the C code for the prior dbsize patch is not acceptable for
> whatever reason, here's a SQL-based patch to replace it. It's
> not a drop-in for 7.3/7.4 as I'd hoped, only an 8.1 patch. I
> believe it is
I'm planning to apply the attached patch to hide the ARC-related data
structures in freelist.c. There are no data structure or algorithm
changes, just removal of ARC details from the shared header
buf_internals.h, plus minor refactoring to hide the knowledge that ARC
wants a twice-normal-size buff
Heikki Linnakangas wrote:
There's two almost identical pieces of code in LockRelease and
LockReleaseAll that do the opposite of GrantLock.
Here's a small patch that replaces those pieces with a static
UnGrantLock function.
Applied to HEAD with a few trivial editorial fixes.
Thanks for the patch.
Attached are two different variants of a patch to remove the ARC
cache algorithm in favor of variants of the "2Q" algorithm.
The first patch approximates the "full 2Q" algorithm described by
Johnson and Shasha, while the second approximates their "simplified 2Q"
method. Full 2Q uses a list of pag
> Date: Thu, 03 Feb 2005 21:41:52 -0500
> From: Tom Lane <[EMAIL PROTECTED]>
> Subject: Proof-of-concept ARC removal patches
Re: subject -- shouldn't it be "replacement" and _not_ "removal" of ARC?
> Attached are two different variants of a patch to remove the ARC
> cache algorithm in favor of va
> Tom Lane wrote
> Attached are two different variants of a patch to remove the ARC
> cache algorithm in favor of variants of the "2Q" algorithm.
>
> The first patch approximates the "full 2Q" algorithm described by
> Johnson and Shasha, while the second approximates their
> "simplified 2Q"
> metho
Hello everyone.
I fixed two bugs in the patch that I sent before.
Check and test new one, please.
1. Fix update timing of Write->curridx. (pointed by Tom)
Change to update it soon after write().
2. Fix buffer alignment routine on 64bit cpu. (pointed by Mark)
I checked it on Xeon EM64T