gconfd-2 is polling every 30 seconds calling periodic_cleanup_timeout

Bug #1292021 reported by Colin Ian King
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gconf (Ubuntu)
Fix Released
Low
Iain Lane

Bug Description

I'm trying to reduce the amount of system activity to keep power usage down, and I've noticed that gconfd-2 is calling periodic_cleanup_timeout() every 30 seconds. This seems a little excessive and I am sure that doubling the polling interval won't impact the responsiveness of the daemon.

I am suggesting that the polling time is doubled to 60 seconds.

Changed in gconf (Ubuntu):
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Colin King (colin-king)
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks Colin, gconf is deprecated and ideally shouldn't be used anymore, we still have it for some legacy code/applications though, so I guess increasing the timeout shouldn't be an issue

Revision history for this message
Colin Ian King (colin-king) wrote :

Perhaps I've made a mistake; I guess I wanted the fix for gconfd-2 as this is a little busy:

http://ci.ubuntu.com/power/eventstat/image/3105/machine/1/task/gconfd-2/details/

Have I sent a fix for the wrong package?

Revision history for this message
Sebastien Bacher (seb128) wrote :

@Colin, that's the right package, sorry if my comment confused you. I was mostly pointing out that gconf is a legacy service, it's still used by mostly because some code didn't get ported to gsettings/dconf yet. It's going to drop/stop running at some point, but meanwhile it seems fine to change the polling delay.

Do you plan to send a patch/do the change yourself, or would you prefer for somebody in the desktop team to do that?

tags: added: ubuntu-desktop-trusty
Revision history for this message
Colin Ian King (colin-king) wrote :

@Sebastien,

I messed around with a concept of a fix, https://code.launchpad.net/~colin-king/gconf/lp-1292021 - however I'm not sufficiently experienced to know how to get this fix into the package, so I'd prefer if the desktop team could handle it for me. Is that OK?

Iain Lane (laney)
Changed in gconf (Ubuntu):
assignee: Colin King (colin-king) → Iain Lane (laney)
Revision history for this message
Iain Lane (laney) wrote :

OK, I'm going to sponsor this, thanks Colin

Can you please forward the fix upstream? I don't know if it'll get any attention given the 'legacy' status that Seb mentioned, but might as well try IMO.

Revision history for this message
Iain Lane (laney) wrote :

Uploaded, but it'll be kept in the queue until someone reviews it. Probably after the beta now.

Changed in gconf (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gconf - 3.2.6-0ubuntu2

---------------
gconf (3.2.6-0ubuntu2) trusty; urgency=low

  [ Sebastien Bacher ]
  * debian/70gconfd_path-on-session: typo fix additionnal -> additional
    (lp: #1160073)

  [ Iain Lane ]
  * Call the cleanup routine every minute, instead of twice per minute, to
    reduce wakeups and therefore power usage. Thanks Colin King. (LP:
    #1292021)
 -- Iain Lane <email address hidden> Wed, 26 Mar 2014 16:55:52 +0000

Changed in gconf (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.