Simon Riggs wrote:
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...

Granted, though you're still going to wake up every second, so I'm not sure how much it helps with battery life.

(/proc/sys/vm/laptop_mode won't make a difference here, AFAICS.)

  Heikki Linnakangas

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply via email to