GNOME Bugzilla – Bug 136075
downloading eats my CPU
Last modified: 2006-07-08 14:13:42 UTC
(I thought we had a bug about this (?) which I wanted to re-open, but I couldn't find it.) Downloading makes epiphany CPU usage be about 50%. Steps to reproduce: 0) download a large file, for example linux kernel sources 1) watch epiphany CPU usage in "top" Expected results: epiphany uses not much CPU. Actual results: CPU usage of epiphany is about 50%.
There is a value somewhere, mozilla-download.cpp I think, that doesnt actually emit changed signals for every status update but only every a number of times. You could check if increasing it make the situation better.
MozDownload.cpp line 367
I changed mInterval to 200000 (microsec).
I still see this with 1.8.2.
On every download, or a specific download URL? How much CPU is it using?
I did a quick test with the following URLs: 1. http://se.releases.ubuntu.com/5.10/ubuntu-5.10-rc-install-i386.iso 2. http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/iso/FC4-i386-SRPMS-disc1.iso 3. http://betterdesktop.ximian.com/video/addinfotoaddressbook/Subject1.mpeg Here's the approximate cpu usage and download rate with both Epiphany and wget for each file: 1-cpu 1-rate 2-cpu 2-rate 3-cpu 3-rate Epiphany 45% 1.0M/s 60% 190K/s 14% 100K/s wget 8% 1.0M/s 2% 200K/s 1% 100K/s I think the rate for 3 fluctuates a lot. Maybe that's why it doesn't use anywhere near 50% cpu? Oh, I should also mention that this is on Ubuntu Breezy PPC. Who knows if it matters... :)
Mentioned at https://launchpad.net/distros/ubuntu/+source/epiphany-browser/+bug/29402 as well: "~70% of the CPU while xorg is using ~24.2%" "Example link: http://video.google.com/videoplay?docid=8723130163011577496&q=red+vs+blue+02 -- then click on 'Download' to the right."
*** This bug has been marked as a duplicate of 346671 ***