Re: Process wakeups when idle and power consumption

From: "A(dot)M(dot)" <agentm(at)themactionfaction(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Process wakeups when idle and power consumption
Date: 2011-05-05 20:49:25
Message-ID: 9CD72E58-F1B3-46A2-96B4-A0A153662A18@themactionfaction.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On May 5, 2011, at 4:08 PM, Alvaro Herrera wrote:

> Excerpts from Peter Geoghegan's message of jue may 05 16:49:25 -0300 2011:
>
>> I'll need to take a look at statistics, autovacuum and Logger
>> processes too, to see if they present more subtle opportunities for
>> reduced idle power consumption.
>
> More subtle? Autovacuum wakes up once per second and it could sleep a
> lot longer if it weren't for the loop that checks for signals. I think
> that could be improved a lot.

Could kqueue be of use here? Non-kqueue-supporting platforms could always fall back to the existing select().

Cheers,
M

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-05-05 20:56:08 Re: Process wakeups when idle and power consumption
Previous Message Robert Haas 2011-05-05 20:16:55 Re: Unlogged vs. In-Memory