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

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

pgsql-bugs by date

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

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