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 136075 - downloading eats my CPU
downloading eats my CPU
Status: RESOLVED DUPLICATE of bug 346671
Product: epiphany
Classification: Core
Component: Downloads
unspecified
Other Linux
: Normal normal
: 2.14.x
Assigned To: Marco Pesenti Gritti
Marco Pesenti Gritti
Depends on:
Blocks:
 
 
Reported: 2004-03-03 15:34 UTC by Christian Persch
Modified: 2006-07-08 14:13 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description Christian Persch 2004-03-03 15:34:40 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%.
Comment 1 Marco Pesenti Gritti 2004-03-03 17:48:32 UTC
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.
Comment 2 Marco Pesenti Gritti 2004-03-03 17:55:07 UTC
MozDownload.cpp line 367
Comment 3 Christian Persch 2004-03-03 21:54:26 UTC
I changed mInterval to 200000 (microsec). 
Comment 4 Martin Ejdestig 2005-10-08 16:24:22 UTC
I still see this with 1.8.2.
Comment 5 Christian Persch 2005-10-12 11:23:44 UTC
On every download, or a specific download URL? How much CPU is it using?
Comment 6 Martin Ejdestig 2005-10-12 17:00:04 UTC
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... :)
Comment 7 Daniel Holbach 2006-03-15 09:30:05 UTC
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."
Comment 8 Jean-François Rameau 2006-07-08 14:13:42 UTC

*** This bug has been marked as a duplicate of 346671 ***