From: | "Mikheev, Vadim" <vmikheev(at)SECTORBASE(dot)COM> |
---|---|
To: | "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | pgsql-hackers(at)postgreSQL(dot)org |
Subject: | RE: Possible performance improvement: buffer replacemen t policy |
Date: | 2001-01-19 18:07:27 |
Message-ID: | 8F4C99C66D04D4118F580090272A7A234D329F@sectorbase1.sectorbase.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> > Tom, did we ever test this? I think we did and found that
> > it was the same or worse, right?
>
> I tried it and didn't see any noticeable improvement on the particular
> test case I was using, so I got discouraged and didn't pursue the idea
> further. I'd like to come back to it someday, though.
I don't know how much useful could be LRU-2 but with WAL we should try
to reuse undirty free buffers first, not dirty ones, just to postpone
writes as long as we can. (BTW, this is what Oracle does.)
So, we probably should put new free dirty buffer just before first
undirty one in LRU.
Vadim
From | Date | Subject | |
---|---|---|---|
Next Message | The Hermit Hacker | 2001-01-19 18:21:00 | Re: Small patch to replace 'idle' by 'trans' if transaction is still open |
Previous Message | Bruce Momjian | 2001-01-19 18:00:23 | Re: Possible performance improvement: buffer replacement policy |