gconftool-2 very slow

Bug #28744 reported by Laurent Bigonville
34
Affects Status Importance Assigned to Milestone
gconf2 (Ubuntu)
Fix Released
Medium
Sebastien Bacher

Bug Description

When I upgrade my system and a postinst script install ou update a gconf schema using gconftool-2, it seems to take hours to finish. It was a lot faster under breezy. Ubuntu dapper ppc.

Revision history for this message
Laurent Bigonville (bigon) wrote :

gconftools-2 take a lot of cpu time too.

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

Thanks for your bug. That's likely due to the switch to a merged tree. installation is slower but runtime faster. Some investigation to see if there is some optimization possible would be nice though

Changed in gconf2:
assignee: nobody → seb128
status: Unconfirmed → Confirmed
Revision history for this message
Lee Revell (rlrevell) wrote :

This problem is really, really bad, if your machine is not screaming fast, it takes hours to upgrade 30 Gnome related packages. Upon further examination with strace, it seems that for *each package*, all the files in /var/lib/gconf/defaults/ get regenerated 20 or 30 times. Is it regenerating ALL the XML files for each file installed or something?

There has GOT to be some potential for optimization here... I'm afraid to upgrade because pulling in a handful of Gnome packages will make my machine grind to a crawl for the rest of the afternoon. I am afraid "very slow" is a significant understatement of the problem...

Revision history for this message
Trouilliez vincent (vincent-trouilliez-modulonet) wrote :

+1 !

I have got a decently fast (1.5GHz CPU, 768MB of RAM) machine, which runs anything just fine/smoothly, but somehow Dapper recently started to take hours to install stuff, when it's reasonably fast under Breezy. Now it takes a lot more time to install packages, than it takes to download them ! :-/

Revision history for this message
John Dong (jdong) wrote : Re: [Bug 28744] gconftool-2 very slow

no kidding; I feel it on my Athlon64 also, sometimes the Dapper updates take
30+ minutes to apply when they used to scroll by instantaneously.

On 2/2/06, Trouilliez vincent <email address hidden> wrote:
>
> Public bug report changed:
> https://launchpad.net/malone/bugs/28744
>
> Comment:
> +1 !
>
> I have got a decently fast (1.5GHz CPU, 768MB of RAM) machine, which
> runs anything just fine/smoothly, but somehow Dapper recently started to
> take hours to install stuff, when it's reasonably fast under Breezy. Now
> it takes a lot more time to install packages, than it takes to download
> them ! :-/
>

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

That's an issue but not trivial to fix. Sure it's annoying if you run daily dist-upgrade but that's an unstable distribution, you may want to keep using the current stable one if you don't want to face any such inconveniance. Contributions are welcome if somebody wants to spend some efforts working on that instead of spending them commenting on the users list about that by example

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

That upload fixes the issue:

 gconf2 (2.13.5-0ubuntu3) dapper; urgency=low
 .
   * debian/gconf-schemas:
     - fix the schemas registration performance issue (Ubuntu: #28744)
     - change by Josselin Mouette <email address hidden> for Debian:
       - Complete rewrite, in python.
       - Now run gconftool only once, for better performance (closes: #353986).
       - Improve performance even further by merging files when there are
         several ones.

Changed in gconf2:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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