After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 333353 - gconftool --makefile-(un)install-rule slowness
gconftool --makefile-(un)install-rule slowness
Status: RESOLVED FIXED
Product: GConf
Classification: Deprecated
Component: gconf
2.12.x
Other Linux
: Normal minor
: ---
Assigned To: GConf Maintainers
GConf Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-03-04 13:25 UTC by Josselin Mouette
Modified: 2006-03-06 13:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix for GConf 2.12.1 (1.84 KB, patch)
2006-03-04 13:26 UTC, Josselin Mouette
none Details | Review

Description Josselin Mouette 2006-03-04 13:25:33 UTC
Since the move to the merged-tree backend (that happened in 2.12 in Debian), we've been experiencing slowness at upgrade time for packages using GConf. This is because gconftool --makefile-(un)install-rule syncs the database on disc after processing each .schema file. When the database in a single 27 MB file, it can become quite slow (e.g. around a minute for gnome-applets).
Comment 1 Josselin Mouette 2006-03-04 13:26:25 UTC
Created attachment 60637 [details] [review]
Fix for GConf 2.12.1
Comment 2 Mark McLoughlin 2006-03-06 13:05:56 UTC
Thanks much

2006-03-06  Mark McLoughlin  <mark@skynet.ie>

        Based on patch from Josselin Mouette <joss@debian.org>
        in bug #333353 to speed up the install of multiple
        schem files

        * gconf/gconftool.c:
        (do_load_file): split do_sync() out of here
        (main), (do_makefile_install): call do_sync()
        after calling do_load_file()