Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group