Re: Process wakeups when idle and power consumption

From: Peter Geoghegan <peter(at)2ndquadrant(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Process wakeups when idle and power consumption
Date: 2011-05-10 08:22:34
Message-ID: BANLkTimuvDOdw0qjV6kD4VnF5T16m5BYpA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 10 May 2011 02:58, Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
>> Alright. I'm currently working on a proof-of-concept implementation of
>> that. In the meantime, any thoughts on how this should meld with the
>> existing latch implementation?
>
> How about making WaitLatch monitor the file descriptor for the pipe
> by using select()?

Alright, so it's reasonable to assume that all clients of the latch
code are happy to be invariably woken up on Postmaster death?

--
Peter Geoghegan       http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2011-05-10 08:45:03 Re: Process wakeups when idle and power consumption
Previous Message Heikki Linnakangas 2011-05-10 08:16:31 Re: Formatting Curmudgeons WAS: MMAP Buffers