Re: BUG #5397: powertop reports excessive wakeups

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Steve White <Stevan_White(at)hotmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5397: powertop reports excessive wakeups
Date: 2010-03-31 02:22:38
Message-ID: 20100331022238.GI3565@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Steve White wrote:

> This is a Samsung NC20. The goal is to use this machine for occasional
> testing of a database, but to keep its power consumption minimal.
>
> Intel powertop reports the second biggest cause of wakeups (after the
> network device ath) is postgres:
>
> Top causes for wakeups
> 23.6% ( 11.7)D postgres
>
> This is with a cleanly installed database, not being accessed at all.

Try raising autovacuum_naptime (or disabling autovac altogether). There
are other background processes that wake up with some frequency; I think
bgwriter_delay and wal_writer_delay could be increased as well.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Craig Ringer 2010-03-31 02:28:42 Re: BUG #5395: UPDATE on shutdown overwrites table
Previous Message Chris Travers 2010-03-30 22:48:57 Re: dividing money by money