Re: Reducing power consumption on idle servers
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Simon Riggs <simon.riggs@enterprisedb.com>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>,
Andres Freund <andres@anarazel.de>, Zheng Li <zhengli10@gmail.com>, Jim Nasby <nasbyj@amazon.com>, Thomas Munro <thomas.munro@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2022-03-24T16:21:10Z
Lists: pgsql-hackers
On Thu, Mar 24, 2022 at 12:02 PM Simon Riggs <simon.riggs@enterprisedb.com> wrote: > What about (1)? That directly affects the powersave capability. I > didn't read anything specific to that. > > If we don't fix (1) as well, the changes for startup and walreceiver > will be ineffective for powersaving. > > What changes will be acceptable for bgwriter, walwriter and logical worker? Hmm, I think it would be fine to introduce some kind of hibernation mechanism for logical workers. bgwriter and wal writer already have a hibernation mechanism, so I'm not sure what your concern is there exactly. In your initial email you said you weren't proposing changes there, but maybe that changed somewhere in the course of the subsequent discussion. If you could catch me up on your present thinking that would be helpful. Thanks, -- Robert Haas EDB: http://www.enterprisedb.com
Commits
-
Remove promote_trigger_file.
- cd4329d9393f 16.0 landed
-
Add pg_promote function
- 10074651e335 12.0 cited
-
pg_ctl promote
- 4695da5ae97b 9.1.0 cited