[opensuse] firefox 11.0 - eating 25%+ of CPU on 11.4
Wolfgang, I have noticed significant CPU load with firefox on 11.4 lately. Here is an example of top: 15128 david 20 0 976m 282m 26m S 28 7.4 1016:24 firefox-bin That's eating 28% of the cpu - no flash, no video, just text. For some reason this also seems to trigger higher than normal X CPU usage as well. The package I have is: MozillaFirefox-11.0-3.1.x86_64 MozillaFirefox-branding-openSUSE-5.0-17.1.x86_64 Anyone else report this? -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2012/04/12 17:21 (GMT-0500) David C. Rankin composed:
I have noticed significant CPU load with firefox on 11.4 lately. Here is an example of top:
15128 david 20 0 976m 282m 26m S 28 7.4 1016:24 firefox-bin
That's eating 28% of the cpu - no flash, no video, just text. For some reason this also seems to trigger higher than normal X CPU usage as well. The package I have is:
MozillaFirefox-11.0-3.1.x86_64 MozillaFirefox-branding-openSUSE-5.0-17.1.x86_64
Anyone else report this?
I'm seeing it jump around in top in the mid teens %. I may have seen similar on the Cooker list too: http://lists.fedoraproject.org/pipermail/test/2012-April/106838.html -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 04/12/2012 10:31 PM, Felix Miata wrote:
I have noticed significant CPU load with firefox on 11.4 lately. Here is an example of top:
15128 david 20 0 976m 282m 26m S 28 7.4 1016:24 firefox-bin
That's eating 28% of the cpu - no flash, no video, just text. For some reason this also seems to trigger higher than normal X CPU usage as well. The package I have is:
MozillaFirefox-11.0-3.1.x86_64 MozillaFirefox-branding-openSUSE-5.0-17.1.x86_64
Anyone else report this?
I'm seeing it jump around in top in the mid teens %. I may have seen similar on the Cooker list too: http://lists.fedoraproject.org/pipermail/test/2012-April/106838.html
That is the downside to developers trying to make applications think for you... I suspect it has to do with the ever growing sqlite3 magic that is continually taking place. Personally flat files for bookmark backends worked fine and were significantly faster that the current database backend. Of course they didn't provide near the query capability, but, I don't especially need or want to slice and dice my bookmarks to that extent. Wolfgang, you have any further info from the Mozilla folks on the issue? Is there any way to disable the database backend and simply revert to flat files for bookmark/whatever handling through about:config or gconf...? -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2012/04/12 22:45 (GMT-0500) David C. Rankin composed:
Felix Miata wrote:
I'm seeing it jump around in top in the mid teens %. I may have seen similar on the Cooker list too: http://lists.fedoraproject.org/pipermail/test/2012-April/106838.html
That is the downside to developers trying to make applications think for you... I suspect it has to do with the ever growing sqlite3 magic that is continually taking place. Personally flat files for bookmark backends worked fine and were significantly faster that the current database backend. Of course they didn't provide near the query capability, but, I don't especially need or want to slice and dice my bookmarks to that extent.
Wolfgang, you have any further info from the Mozilla folks on the issue? Is there any way to disable the database backend and simply revert to flat files for bookmark/whatever handling through about:config or gconf...?
After posting this thread I realized it's misleadingly low. I normally keep 2 SM and 3 FF instances running. Closing any send the % up for those remaining open. Right now with only 1 SM (2.9b2, browser with too many tabs to count, plus CZ with over a dozen tabs) and 1 FF (v2, at least 20 tabs; and I'm sure 3.6 & 11.0 use more than v2), numbers are dipping into the 20s as often as not, but occasionally spike into as high as the 50s without actively doing anything in them. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hi, Am 13.04.2012 00:21, schrieb David C. Rankin:
I have noticed significant CPU load with firefox on 11.4 lately. Here is an example of top:
15128 david 20 0 976m 282m 26m S 28 7.4 1016:24 firefox-bin
That's eating 28% of the cpu - no flash, no video, just text. For some reason this also seems to trigger higher than normal X CPU usage as well. The package I have is:
MozillaFirefox-11.0-3.1.x86_64 MozillaFirefox-branding-openSUSE-5.0-17.1.x86_64
Anyone else report this?
Unfortunately it's not easy to track down what's happening here. Many people blame Gnome tracker. Do you have that running (as firefox-tracker-miner or something along that line)? Another reason could be a very big sessionstore.js file in your profile. I made the experience that bigger as 4MB or so can be really ugly. If it's not one of these I don't know a reason offhand :-( It's not that it's generally slower apparently but always system dependent. Wolfgang -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 04/13/2012 03:36 AM, Wolfgang Rosenauer wrote:
Unfortunately it's not easy to track down what's happening here. Many people blame Gnome tracker. Do you have that running (as firefox-tracker-miner or something along that line)?
Thank you Wolfgang! No - I have NO Gnome tracker on my system at all. Like Beagle - I shot it in the head at the very beginning (forcibly removed it)
Another reason could be a very big sessionstore.js file in your profile. I made the experience that bigger as 4MB or so can be really ugly.
Holy crap! I don't know if this is the 4M you are talking about, but I have 295M under .mozilla/firefox: 17:57 alchemy:~/.mozilla> du -hcs firefox/ 295M firefox/ 295M total 17:57 alchemy:~/.mozilla> 18:01 alchemy:~/.mozilla/firefox> l total 20 drwx------ 4 david dcr 4096 Aug 13 2010 . drwx------ 4 david dcr 4096 Aug 13 2010 .. drwx------ 4 david dcr 4096 Mar 19 20:30 Crash Reports drwx------ 13 david dcr 4096 Apr 13 17:42 nbveu8do.default -rw-r--r-- 1 david dcr 94 Aug 13 2010 profiles.ini 18:02 alchemy:~/.mozilla/firefox/nbveu8do.default> for i in */; do du -hcs $i; done 16K ABE/ 5.7M adblockplus/ 7.4M bookmarkbackups/ 177M Cache/ 32K chrome/ 31M extensions/ 4.0K minidumps/ 16K OfflineCache/ 12K searchplugins/ 1.5M startupCache/ 24K weave/ 18:02 alchemy:~/.mozilla/firefox/nbveu8do.default> l *sqlite* -rw-r--r-- 1 david david 557056 Apr 13 00:58 addons.sqlite -rw-r--r-- 1 david david 426600 Apr 13 00:58 addons.sqlite-journal -rw-r--r-- 1 david david 98304 Mar 19 20:30 chromeappsstore.sqlite -rw-r--r-- 1 david dcr 27648 Apr 12 17:56 content-prefs.sqlite -rw-r--r-- 1 david dcr 1048576 Apr 13 14:02 cookies.sqlite -rw-r--r-- 1 david david 32768 Apr 13 14:02 cookies.sqlite-shm -rw-r--r-- 1 david david 46144 Apr 13 14:02 cookies.sqlite-wal -rw-r--r-- 1 david dcr 2222080 Apr 12 23:04 downloads.sqlite -rw-r--r-- 1 david david 425984 Apr 8 00:58 extensions.sqlite -rw-r--r-- 1 david dcr 230400 Apr 13 14:02 formhistory.sqlite -rw-r--r-- 1 david dcr 2048 Apr 13 16:28 permissions.sqlite -rw-r--r-- 1 david dcr 20971520 Apr 13 18:00 places.sqlite -rw-r--r-- 1 david david 32768 Apr 13 18:00 places.sqlite-shm -rw-r--r-- 1 david david 259592 Apr 13 18:00 places.sqlite-wal -rw-r--r-- 1 david dcr 2048 Apr 10 18:45 search.sqlite -rw-r--r-- 1 david dcr 60416 Apr 12 22:29 signons.sqlite -rw-r--r-- 1 david dcr 28672 Sep 30 2011 stylish.sqlite -rw-r--r-- 1 david david 47185920 Apr 13 17:42 urlclassifier3.sqlite -rw-r--r-- 1 david dcr 121856 Apr 13 00:28 webappsstore.sqlite Total sqlite file size is: 73982280
If it's not one of these I don't know a reason offhand :-( It's not that it's generally slower apparently but always system dependent.
This is on 11.4 x86_64 with all updates current and (I just updated..): MozillaFirefox-theme-oxygen-1.4.92-2.1.noarch MozillaThunderbird-11.0.1-4.1.x86_64 MozillaFirefox-branding-openSUSE-5.0-17.1.x86_64 MozillaFirefox-11.0-3.1.x86_64 Is there anything I can try turning off in gconf of about:config that might help? What can I nuke? -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2012/04/13 18:16 (GMT-0500) David C. Rankin composed:
-rw-r--r-- 1 david david 47185920 Apr 13 17:42 urlclassifier3.sqlite ... Is there anything I can try turning off in gconf of about:config that might help? What can I nuke?
This is controlled by the security pref tab's attack sites and forgeries boxes. Nuking it while FF is closed might be helpful. In my FF3 profile with them turned on the file is 44584Kbytes. In my FF11 profile with them turned off the file is 557056 bytes. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 04/13/2012 06:48 PM, Felix Miata wrote:
On 2012/04/13 18:16 (GMT-0500) David C. Rankin composed:
-rw-r--r-- 1 david david 47185920 Apr 13 17:42 urlclassifier3.sqlite ... Is there anything I can try turning off in gconf of about:config that might help? What can I nuke?
This is controlled by the security pref tab's attack sites and forgeries boxes. Nuking it while FF is closed might be helpful. In my FF3 profile with them turned on the file is 44584Kbytes. In my FF11 profile with them turned off the file is 557056 bytes.
Thanks Felix, I did. I also found a set of tweaks that has really help with responsiveness. There is even a section of the dpi issue that would be worth a read: https://wiki.archlinux.org/index.php/Firefox_Tweaks I followed all the steps, creating new about:config keys where required. I turned the antiphishing off and nuked those sqlite databases. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Saturday, 14 April 2012 03:28 David C. Rankin wrote:
On 04/13/2012 06:48 PM, Felix Miata wrote:
On 2012/04/13 18:16 (GMT-0500) David C. Rankin composed:
-rw-r--r-- 1 david david 47185920 Apr 13 17:42 urlclassifier3.sqlite
...
Is there anything I can try turning off in gconf of about:config that might
help? What can I nuke?
This is controlled by the security pref tab's attack sites and forgeries boxes. Nuking it while FF is closed might be helpful. In my FF3 profile with them turned on the file is 44584Kbytes. In my FF11 profile with them turned off the file is 557056 bytes.
Thanks Felix, I did.
I also found a set of tweaks that has really help with responsiveness. There is even a section of the dpi issue that would be worth a read:
https://wiki.archlinux.org/index.php/Firefox_Tweaks
I followed all the steps, creating new about:config keys where required. I turned the antiphishing off and nuked those sqlite databases.
Give Icecat a try too some time. It's far more GNU centric, so the 'safety' and 'protect the user' kind of things are somewhat better. I personally have tried it and like it except that for *me*, it sometimes seems to 'freeze up' for 5 or 10 seconds once in a while. I don't know if it was site specific or who- knows-what. Might (hopefully) just be *my* system, though it does it on my Slackware *and* the openSuSE. Still couldn't hurt to try it out. -- Powered by Slackware 13.37 06:56:50 up 6 days, 18:00, 2 users, load average: 0.74, 0.75, 0.77 Properly read, the Bible is the most potent force for atheism ever conceived. - Isaac Asimov Registered Linux user #214117 at http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 04/14/2012 07:00 AM, Insomniactoo wrote:
Give Icecat a try too some time. It's far more GNU centric, so the 'safety' and 'protect the user' kind of things are somewhat better. I personally have tried it and like it except that for *me*, it sometimes seems to 'freeze up' for 5 or 10 seconds once in a while. I don't know if it was site specific or who- knows-what. Might (hopefully) just be *my* system, though it does it on my Slackware *and* the openSuSE. Still couldn't hurt to try it out.
Thanks, I recall a couple of 'Ice...' browsers that I've heard of in the past. I grinned at the 'Fire...' & 'Ice...' naming duel. It's time I give it a try. I've tried just about every other browser since Mosaic :) -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hi, Am 14.04.2012 01:16, schrieb David C. Rankin:
On 04/13/2012 03:36 AM, Wolfgang Rosenauer wrote:
Another reason could be a very big sessionstore.js file in your profile. I made the experience that bigger as 4MB or so can be really ugly.
Holy crap! I don't know if this is the 4M you are talking about, but I have 295M under .mozilla/firefox:
Not surprising. Most of it is used by the browser cache. If you don't like the size it's easy to change in Firefox' preferences.
177M Cache/
18:02 alchemy:~/.mozilla/firefox/nbveu8do.default> l *sqlite*
Total sqlite file size is: 73982280
Yes, especially urlclassifier3.sqlite is big. It contains known phishing sites as reported by Google. It shouldn't be the resource hog you see on your system. I miss the file size of sessionstore.js as written previously.
If it's not one of these I don't know a reason offhand :-( It's not that it's generally slower apparently but always system dependent.
This is on 11.4 x86_64 with all updates current and (I just updated..):
MozillaFirefox-theme-oxygen-1.4.92-2.1.noarch MozillaThunderbird-11.0.1-4.1.x86_64 MozillaFirefox-branding-openSUSE-5.0-17.1.x86_64 MozillaFirefox-11.0-3.1.x86_64
I've used that myself at some point and didn't see issues. So as I wrote it's pretty system dependent.
Is there anything I can try turning off in gconf of about:config that might help? What can I nuke?
There are so many reasons for the CPU usage. Have you already tried without addons (-safe-mode)? I often hear that Firefox got worse after 3.6 but I cannot reproduce it. It has many more functions and improvements (JS engine, all the HTML5 stuff (video/audio...)) but in general the latest versions are smaller (in memory) and more performant than before (even compared with 3.x). Apparently there are a few issues which need to be solved. One thing is the sessionstore.js which I ran into myself and was able to track down but there might be others which are hard to analyze w/o being able to reproduce. One more thing you could do is to try Firefox 12beta if it changes anything for you. It's available in mozilla:beta. Wolfgang -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
David C. Rankin
-
Felix Miata
-
Insomniactoo
-
Wolfgang Rosenauer