[Bug 303869] New: icon cache craziness ...
https://bugzilla.novell.com/show_bug.cgi?id=303869 Summary: icon cache craziness ... Product: openSUSE 10.3 Version: Beta 1 Platform: Other OS/Version: Other Status: NEW Severity: Blocker Priority: P5 - None Component: GNOME AssignedTo: federico@novell.com ReportedBy: mmeeks@novell.com QAContact: qa@suse.de Found By: --- Hi Federico, you missed this in the all-hands call, but some severe badness arrived between Alpha7 and Beta1 wrt. Gtk+ application startup. I attach a photo of it. gtkicontheme.c (insert_theme): seems to be calling a -very- expensive _gtk_icon_cache_validate - that appears to read the entire icon cache into memory. This is a fairly linear operation, but - forces us to keep the entire cache in memory for all icon using applications: not good news :-) It is unclear what (if any) benefit this brings. Also - looking at the rather smaller sizes of the icon caches: /usr/share/icons/Tango/icon-theme.cache - 2.4Mb - 10.3 Beta1 /opt/gnome/share/icons/Tango/icon-theme.cache - 59Mb - SLED 10 SP1 it -looks- like we are no-longer caching icon data: that is bad :-) even if we're dotting about all over the place in that data, creating a non-optimal I/O pattern, it is still -way- more efficient than reading the files themselves ... Can we get our cached icon data back & stop checking it on startup ? :-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=303869#c1
--- Comment #1 from Michael Meeks
https://bugzilla.novell.com/show_bug.cgi?id=303869
JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=303869
JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=303869#c5
Federico Mena Quintero
https://bugzilla.novell.com/show_bug.cgi?id=303869#c6
Stanislav Brabec
https://bugzilla.novell.com/show_bug.cgi?id=303869#c7
--- Comment #7 from JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=303869#c8
--- Comment #8 from Federico Mena Quintero
That is why I created a SuSEconfig script, which deletes cache file in case any subdirectory was changed. It forces to re-create icon cache.
Oh, but you don't need to do that... if you are feeling paranoid, you can use pass --force to gtk-update-icon-cache :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=303869#c9
--- Comment #9 from Federico Mena Quintero
https://bugzilla.novell.com/show_bug.cgi?id=303869#c10
--- Comment #10 from Michael Meeks
https://bugzilla.novell.com/show_bug.cgi?id=303869#c11
--- Comment #11 from Stanislav Brabec
https://bugzilla.novell.com/show_bug.cgi?id=303869#c12
--- Comment #12 from Stanislav Brabec
https://bugzilla.novell.com/show_bug.cgi?id=303869#c13
Federico Mena Quintero
https://bugzilla.novell.com/show_bug.cgi?id=303869#c14
--- Comment #14 from Federico Mena Quintero
https://bugzilla.novell.com/show_bug.cgi?id=303869#c15
Federico Mena Quintero
https://bugzilla.novell.com/show_bug.cgi?id=303869#c16
Federico Mena Quintero
https://bugzilla.novell.com/show_bug.cgi?id=303869#c17
--- Comment #17 from Federico Mena Quintero
https://bugzilla.novell.com/show_bug.cgi?id=303869#c18
JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=303869#c19
--- Comment #19 from Federico Mena Quintero
https://bugzilla.novell.com/show_bug.cgi?id=303869
User jpr@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=303869#c20
JP Rosevear
participants (1)
-
bugzilla_noreply@novell.com