Re: Maximum reasonable bgwriter_delay

From: "Simon Riggs" <simon(at)2ndquadrant(dot)com>
To: "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com>
Cc: "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Maximum reasonable bgwriter_delay
Date: 2007-06-19 18:28:34
Message-ID: 1182277714.6855.324.camel@silverbirch.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 2007-06-19 at 15:53 +0100, Heikki Linnakangas wrote:
> The maximum for bgwriter_delay is currently 10 seconds. That's a long
> time, and in fact if you set it to a value greater than 1 s, the sleep
> is split into 1 s intervals with a call to AbsorbFsyncRequests in
> between them.
>
> Is there a use case for a setting > 1 s? We could simplify that logic a
> little bit if we just set the maximum at 1 s.

Laptop mode? Linux has it...

--
Simon Riggs
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2007-06-19 18:47:25 Re: Rethinking user-defined-typmod before it's too late
Previous Message Simon Riggs 2007-06-19 18:27:47 Re: GUC time unit spelling a bit inconsistent