FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 07-01-2012, 02:36 AM
Joe Zeff
 
Default what on earth is firefox up to?

On 06/30/2012 07:17 PM, Tom Horsley wrote:

Every time I start firefox after recent updates, top
shows it periodically taking up to 50% of the CPU
even if I'm just looking at a simple page of plain
html (no scripts, not even any images) on my local
web server.


I'm running the latest Firefox on F16, and see the same thing. In fact,
unless my memory's wrong, every time I had one of those weird crashes I
mentioned recently Firefox was loading a page. And, if it matters, it
was always on the visible workspace.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 07-01-2012, 02:44 AM
Ed Greshko
 
Default what on earth is firefox up to?

On 07/01/2012 10:17 AM, Tom Horsley wrote:
> Every time I start firefox after recent updates, top
> shows it periodically taking up to 50% of the CPU
> even if I'm just looking at a simple page of plain
> html (no scripts, not even any images) on my local
> web server.
>
> This is ff 13.0.1 on x86_64 fedora 17.
>
> Any clues? Anyone see anything similar?

Not seeing this on F16 i686....

Will it happen if the firefox window doesn't have focus? Or, does it need to have
focus and you're actually doing something?

It you don't have focus and it periodically goes to 50% usage, you can try "strace -p
NNN" where NNN is the PID see what goes one.

Also, have you tried starting in "safe mode" to see if it happens?


--
Never be afraid to laugh at yourself, after all, you could be missing out on the joke
of the century. -- Dame Edna Everage
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 07-01-2012, 02:55 AM
Daniel
 
Default what on earth is firefox up to?

On 06/30/2012 07:17 PM PM, Tom Horsley sayed:


Every time I start firefox after recent updates, top
shows it periodically taking up to 50% of the CPU
even if I'm just looking at a simple page of plain
html (no scripts, not even any images) on my local
web server.

This is ff 13.0.1 on x86_64 fedora 17.

Any clues? Anyone see anything similar?


Basically the same thing here -- FF 13.0.1 on fedora core 17 x86_64 --
except that CPU usage isn't maxxing at 50%; it sometimes climbs a bit
above that.


Haven't started my i686 machine to see whether the same behavior
occurs thereupon.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 07-01-2012, 03:06 AM
Tom Horsley
 
Default what on earth is firefox up to?

On Sun, 01 Jul 2012 10:44:26 +0800
Ed Greshko wrote:

> Also, have you tried starting in "safe mode" to see if it happens?

Yep, tried all the standard stuff, then went ahead and
submitted this bug:

https://bugzilla.redhat.com/show_bug.cgi?id=836763

This was displaying about:blank in a safe mode firefox
instance logged in as a brand new freshly created user.

It is sitting there using between 50 and 100% of the
CPU virtually all the time :-(.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 07-01-2012, 03:55 AM
JD
 
Default what on earth is firefox up to?

On 06/30/2012 08:17 PM, Tom Horsley wrote:

Every time I start firefox after recent updates, top
shows it periodically taking up to 50% of the CPU
even if I'm just looking at a simple page of plain
html (no scripts, not even any images) on my local
web server.

This is ff 13.0.1 on x86_64 fedora 17.

Any clues? Anyone see anything similar?

50% !!!???
Huh.... consider yourself LUCKY!
On my old unicore amd64 (3.7GHz "equivalent /smirk/)
it escalates sometimes to 95% of cpu.


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 07-01-2012, 03:58 AM
Tim
 
Default what on earth is firefox up to?

On Sat, 2012-06-30 at 22:17 -0400, Tom Horsley wrote:
> Every time I start firefox after recent updates, top
> shows it periodically taking up to 50% of the CPU
> even if I'm just looking at a simple page of plain
> html (no scripts, not even any images) on my local
> web server.

General things that cause Firefox to chew through the CPU, when you
don't expect it to:

1. A large cache, that it's going to process to work out what's old
enough to be discarded.
2. A long page visit history.
3. Keeping the download list of everything you've downloaded.
4. Bookmarked RSS feeds that it's going to visit and fetch updates
from.
5. Even just a large collection of static page bookmarks seem to
bog it down.

Those are the ones that I can remember noticing over the years. Point 4
has always seemed a terrible hog, seriously delaying the program from
even starting up, for me. Point 1, tied with point 2, gets seriously
worse over time.

Go through your Firefox preferences, and check out what options are set.
Some of the defaults aren't always the best choices.

--
[tim@localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored. I
read messages from the public lists.



--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 07-01-2012, 04:19 AM
JD
 
Default what on earth is firefox up to?

On 06/30/2012 09:58 PM, Tim wrote:

On Sat, 2012-06-30 at 22:17 -0400, Tom Horsley wrote:

Every time I start firefox after recent updates, top
shows it periodically taking up to 50% of the CPU
even if I'm just looking at a simple page of plain
html (no scripts, not even any images) on my local
web server.

General things that cause Firefox to chew through the CPU, when you
don't expect it to:

1. A large cache, that it's going to process to work out what's old
enough to be discarded.

Not true in my case. I have set the cache size to 0.

2. A long page visit history.

The storage for this list is like a drop in the bucket compared
to the storage for a large web page cache.

3. Keeping the download list of everything you've downloaded.

The storage for that list pales in comparison to a large web page cache.
It is just appended to, so no insertions are made into the middle of
the list as it is not kept sorted.



4. Bookmarked RSS feeds that it's going to visit and fetch updates
from.

I have none of those!

5. Even just a large collection of static page bookmarks seem to
bog it down.

Why would that bog it down? Again, storage for bookmarks
is a drop inthe bucket compared with web page cache.

On my machine, with 0 cache storage, FF sometimes consumes
95% of cpu. Currently running 13.0.1



Those are the ones that I can remember noticing over the years. Point 4
has always seemed a terrible hog, seriously delaying the program from
even starting up, for me. Point 1, tied with point 2, gets seriously
worse over time.

Go through your Firefox preferences, and check out what options are set.
Some of the defaults aren't always the best choices.




--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 07-01-2012, 05:13 AM
David Timms
 
Default what on earth is firefox up to?

On 01/07/12 13:58, Tim wrote:

On Sat, 2012-06-30 at 22:17 -0400, Tom Horsley wrote:
4. Bookmarked RSS feeds that it's going to visit and fetch updates
from.
5. Even just a large collection of static page bookmarks seem to
bog it down.


It would be interesting to see what net traffic is requested/received
during startup. Stopping all other net apps (updates, etc), starting
wireshark capturing, and then starting firefox, could give a good clue.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 07-01-2012, 06:39 AM
jdow
 
Default what on earth is firefox up to?

On 2012/06/30 20:55, JD wrote:

On 06/30/2012 08:17 PM, Tom Horsley wrote:

Every time I start firefox after recent updates, top
shows it periodically taking up to 50% of the CPU
even if I'm just looking at a simple page of plain
html (no scripts, not even any images) on my local
web server.

This is ff 13.0.1 on x86_64 fedora 17.

Any clues? Anyone see anything similar?

50% !!!???
Huh.... consider yourself LUCKY!
On my old unicore amd64 (3.7GHz "equivalent /smirk/)
it escalates sometimes to 95% of cpu.


top tends to be confusing that way.
Note this line from my machine at a time it said FF was at 87.8%:
Cpu(s): 13.6%us, 33.7%sy, 0.0%ni, 52.5%id, 0.0%wa, 0.0%hi, 0.2%si, 0.0%st

That was really 87.4% of the 13.6% user time that was consumed.

{^_^}
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 07-01-2012, 07:27 AM
JD
 
Default what on earth is firefox up to?

On 07/01/2012 12:39 AM, jdow wrote:

On 2012/06/30 20:55, JD wrote:

On 06/30/2012 08:17 PM, Tom Horsley wrote:

Every time I start firefox after recent updates, top
shows it periodically taking up to 50% of the CPU
even if I'm just looking at a simple page of plain
html (no scripts, not even any images) on my local
web server.

This is ff 13.0.1 on x86_64 fedora 17.

Any clues? Anyone see anything similar?

50% !!!???
Huh.... consider yourself LUCKY!
On my old unicore amd64 (3.7GHz "equivalent /smirk/)
it escalates sometimes to 95% of cpu.


top tends to be confusing that way.
Note this line from my machine at a time it said FF was at 87.8%:
Cpu(s): 13.6%us, 33.7%sy, 0.0%ni, 52.5%id, 0.0%wa, 0.0%hi, 0.2%si,
0.0%st


That was really 87.4% of the 13.6% user time that was consumed.

{^_^}

in <kernel source>/include/linux/taskstats.h
The comment reads:
/* cpu "virtual" running time
* Uses time intervals seen by the kernel i.e. no adjustment
* for kernel's involuntary waits due to virtualization.
* Value is cumulative, in nanoseconds, without a corresponding
count

* and wraps around to zero silently on overflow
*/


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 

Thread Tools




All times are GMT. The time now is 06:11 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org