Re: Experimental ARC implementation - Mailing list pgsql-hackers

From Zeugswetter Andreas SB SD
Subject Re: Experimental ARC implementation
Date
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA496205A@m0114.s-mxs.net
Whole thread Raw
In response to Experimental ARC implementation  (Jan Wieck <JanWieck@Yahoo.com>)
Responses Re: Experimental ARC implementation
List pgsql-hackers
> My plan is to create another background process very similar to
> the checkpointer and to let that run forever basically looping over that
> BufferSync() with a bool telling that it's the bg_writer.

Why not use the checkpointer itself inbetween checkpoints ?
use a min and a max dirty setting like Informix. Start writing
when more than max are dirty stop when at min. This avoids writing
single pages (which is slow, since it cannot be grouped together
by the OS).

Andreas


pgsql-hackers by date:

Previous
From: "Zeugswetter Andreas SB SD"
Date:
Subject: Re: Experimental patch for inter-page delay in VACUUM
Next
From: "scott.marlowe"
Date:
Subject: Re: Hacking PostgreSQL to work in Mac OS X 10.3 (Panther