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

From: Martin Pitt <martin(at)piware(dot)de>
To: PostgreSQL Bugs <pgsql-bugs(at)postgresql(dot)org>
Cc: 506196(at)bugs(dot)debian(dot)org
Subject: Debian Bug#506196: postgresql: consume too much power when idle (>10 wakeups/second)
Date: 2009-01-04 20:52:28
Message-ID: 20090104205228.GD4792@piware.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hello PostgreSQL developers,

first, happy new year to you all!

I recently got this bug report through Debian. I can confirm that on
an otherwise idle system, and with no connections to PostgreSQL at
all, I get

8,5% ( 11,5) postgres : schedule_hrtimeout_range (hrtimer_wakeup)

in powertop. Now, 11 wakeups per minute is not dramatic, and with
PostgreSQL being a server application, perfect power management is
certainly the least concern for you.

However, it would be interesting to know whether those wakeups are
intended and necessary, or if they would be easy or hard to fix. (I
have no problem with closing the bug as wontfix, but I'd like to give
a rationale).

Thank you!

Martin

----- Forwarded message from Xavier Bestel <xavier(dot)bestel(at)free(dot)fr> -----

Subject: Bug#506196: postgresql: consume too much power when idle (>10 wakeups/second)
Reply-To: Xavier Bestel <xavier(dot)bestel(at)free(dot)fr>, 506196(at)bugs(dot)debian(dot)org
From: Xavier Bestel <xavier(dot)bestel(at)free(dot)fr>
To: Debian Bug Tracking System <submit(at)bugs(dot)debian(dot)org>
Date: Wed, 19 Nov 2008 10:12:05 +0100

Package: postgresql
Version: 8.3.5-1
Severity: minor

Hi,

postgresql is installed on my machine because it was pulled by another package
(can't remember which one). It doesn't do anything special, but it still does more
then 10 wakeups/second on that system, uselessly. If idle, it shouldn't even appear
in powertop's profile.

Thanks,

Xav

----- End forwarded message -----

--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2009-01-04 21:05:36 Re: Debian Bug#506196: postgresql: consume too much power when idle (>10 wakeups/second)
Previous Message Глеб Хэппи 2009-01-04 15:59:34 Re: installing postgreSQL