Re: Debian Bug#506196: postgresql: consume too much power when idle (>10 wakeups/second)

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, pgsql-bugs(at)postgresql(dot)org, 506196(at)bugs(dot)debian(dot)org
Subject: Re: Debian Bug#506196: postgresql: consume too much power when idle (>10 wakeups/second)
Date: 2009-01-05 16:09:49
Message-ID: 200901051609.n05G9n401456@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom Lane wrote:
> Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> > I think we must blame bgwriter then. I had a look at it some time ago
> > to how hard would it be to remove the useless wakeups and concluded that
> > it wasn't really worth the trouble.
>
> I've got similar complaints in the RH/Fedora bugzilla. It's hard to fix
> in a portable way because of the lack of consistent select/poll
> semantics across various platforms. See my previous notes about the
> lack of consistent EINTR behavior and whether we should really be using
> SA_RESTART.
>
> The short answer is "don't hold your breath". It'd be nice to have a
> plan for improving things though.

Is this a TODO?

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tomáš Dixa 2009-01-05 16:48:04 Problem with instalation
Previous Message Lee McKeeman 2009-01-05 15:03:08 Re: Status of issue 4593