Re: Time to up bgwriter_lru_maxpages?

Andres Freund <andres@anarazel.de>

From: Andres Freund <andres@anarazel.de>
To: Jim Nasby <Jim.Nasby@BlueTreble.com>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2017-02-02T00:28:35Z
Lists: pgsql-hackers
On 2016-11-28 11:40:53 -0800, Jim Nasby wrote:
> With current limits, the most bgwriter can do (with 8k pages) is 1000 pages
> * 100 times/sec = 780MB/s. It's not hard to exceed that with modern
> hardware. Should we increase the limit on bgwriter_lru_maxpages?

FWIW, I think working on replacing bgwriter (e.g. by working on the
patch I send with a POC replacement) wholesale is a better approach than
spending time increasing limits.

- Andres


Commits

  1. Increase upper bound for bgwriter_lru_maxpages.