|
Bugzilla – Full Text Bug Listing |
| Summary: | gnome-main-menu startup time > 1min + 100% CPU | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.3 | Reporter: | Forgotten User CRPsQFwJ3b <forgotten_CRPsQFwJ3b> |
| Component: | GNOME | Assignee: | Federico Mena Quintero <federico> |
| Status: | RESOLVED DUPLICATE | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | sreeves |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | openSUSE 10.3 | ||
| Whiteboard: | gnome-performance | ||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Bug Depends on: | |||
| Bug Blocks: | 349357 | ||
| Attachments: |
strace log
new strace log Annotated strace |
||
|
Description
Forgotten User CRPsQFwJ3b
2007-12-12 19:46:11 UTC
Created attachment 187295 [details]
strace log
Wow, this is really bad... Could you please get an strace again but with these options? strace -ttt -f -o /tmp/output.txt /usr/lib/gnome-main-menu/main-menu This will give us timestamps in the log, which will make it easier to understand. Created attachment 187330 [details]
new strace log
Ugh... several things: * Gnome-main-menu is spending 30 seconds reading *all* your ~4300 thumbnails. I wonder why it tries to read them all. This is a bug we need to fix, but in the meantime you could try wiping your ~/.thumbnails and see if that improves things. * Your icon cache is not up to date, and so application icons are being read individually instead of using the cache. You can run SuSEconfig as root to fix this. * Finally, did you put the strace log file in your home directory? We are getting thousands of inotify events there; this happens when you start creating a log while also monitoring it :) You can use a log file in /tmp in the future to keep this from happening. Could you please run these: grep -i uri ~/.recently-used | wc -l grep -i href ~/.recently-used.xbel | wc -l and paste the output? I suspect that main-menu tries to read the thumbnails for *all* your recent files, even if it's only going to display a few of them. Created attachment 187465 [details]
Annotated strace
This is the annotated version of your strace log; we'll use it for reference later when fixing main-menu's performance problems.
Grep for "FMQ" in the log to see the annotations.
JPR says there may be a fix for this in SLED10. Unfortunately I will be able to test in a month, because I will be spending my time in a different country till the 10th January. Ivan, any update? (In reply to comment #4 from Federico Mena Quintero) > > Could you please run these: > > grep -i uri ~/.recently-used | wc -l > grep -i href ~/.recently-used.xbel | wc -l > > and paste the output? I suspect that main-menu tries to read the thumbnails > for *all* your recent files, even if it's only going to display a few of them. > [~]$ grep -i uri ~/.recently-used | wc -l 11 [~]$ grep -i href ~/.recently-used.xbel | wc -l 4113 (In reply to comment #8 from Andreas Jaeger) > Ivan, any update? > I am using gnome-main-menu-0.9.8-120.7 from GNOME:STABLE and there is no difference. Is there another package I should try? *** This bug has been marked as a duplicate of bug 230478 *** |