Re: Dirty Buffer Writing [was Proposed LogWriter Scheme] - Mailing list pgsql-hackers

From Greg Copeland
Subject Re: Dirty Buffer Writing [was Proposed LogWriter Scheme]
Date
Msg-id 1034026089.26051.253.camel@mouse.copelandconsulting.net
Whole thread Raw
In response to Re: Dirty Buffer Writing [was Proposed LogWriter Scheme]  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Dirty Buffer Writing [was Proposed LogWriter Scheme]
List pgsql-hackers
On Mon, 2002-10-07 at 15:28, Bruce Momjian wrote:
> This is the trickle syncer.  It prevents bursts of disk activity every
> 30 seconds.  It is for non-fsync writes, of course, and I assume if the
> kernel buffers get low, it starts to flush faster.

Doesn't this also increase the likelihood that people will be running in
a buffer-poor environment more frequently that I previously asserted,
especially in very heavily I/O bound systems?  Unless I'm mistaken, that
opens the door for a general case of why an aio implementation should be
looked into.

Also, on a side note, IIRC, linux kernel 2.5.x has a new priority
elevator which is said to be MUCH better as saturating disks than ever
before.  Once 2.6 (or whatever it's number will be) is released, it may
not be as much of a problem as it seems to be for FreeBSD (I think
that's the one you're using).


Greg


pgsql-hackers by date:

Previous
From: Justin Clift
Date:
Subject: Re: Analysis of ganged WAL writes
Next
From: Tom Lane
Date:
Subject: Re: Analysis of ganged WAL writes