Is firefox multi-threaded? (1 Firefox Window using all of 1 cpu can hang other FF windows)

I'm using FF1.5.x on WinXP2.  Am on a 2-processor x dual-core machine that 
shows a total of 4 cpu's.  Something I've noticed recently that wasn't 
noticeable on my old mono-processor machine is that frequently, Firefox will
get slow when drawing multiple windows or when multiple windows are open -- 
but I'll see it being CPU bound (not, apparently, network bound).  On my old
computer, I saw 100% cpu usage and thought, ah well, I'm just topping out the 
machine.

But now, with 4 cpu's, I notice FF pegging out at 25% of the used CPU with
75% (or 3 cpu's) going unused.  I notice that FF is using multiple threads,
but not so many compared to number of open windows/tabs -- doesn't seem to be
too related to number of open windows/tabs for that matter.

Some guessing here, but maybe this isn't a problem under linux if "native" 
thread support is used (each thread maps to a separately scheduleable 
process).  Perhaps this is a bug/limitation of the windows platform?  I.e. 
different threads, maybe (?), are limited to the same processor?

Anyone know if this is a Windows limitation, or can an option be set when FF 
creates a thread to allow the threads to be scheduled on multiple CPU's?

Thanks,
-linda
0
Linda
10/8/2006 10:30:53 PM
mozilla.support.firefox 24319 articles. 10 followers. Post Follow

2 Replies
1884 Views

Similar Articles

[PageSpeed] 28

Linda W wrote:
> I'm using FF1.5.x on WinXP2.  Am on a 2-processor x dual-core 
> machine that shows a total of 4 cpu's. ... frequently, Firefox 
> will get slow when drawing multiple windows or when multiple 
> windows are open ... On my old computer, I saw 100% cpu usage 
> and thought, ah well, I'm just topping out the machine. But 
> now, with 4 cpu's, I notice FF pegging out at 25% of the used 
> CPU with 75% (or 3 cpu's) going unused. ... Anyone know if this 
> is a Windows limitation ... ?

Is FF fully using one CPU for very long periods of time, or only 
for short periods? Does it happen when FF loads any web pages, or 
only when it loads pages that run for example Java applets or 
Flash animations? If it's happening for long periods and with any 
pages, it doesn't seem normal. A couple of hours ago, somebody 
posted another message with subject "Firefox Using 100% CPU Time" 
that appear to be related.
0
Telmo
10/9/2006 6:00:21 PM
On 09.10.2006 00:30, CET - what odd quirk of fate caused  Linda W to 
generate the following:? :

>I'm using FF1.5.x on WinXP2.  Am on a 2-processor x dual-core machine that 
>shows a total of 4 cpu's.  Something I've noticed recently that wasn't 
>noticeable on my old mono-processor machine is that frequently, Firefox will
>get slow when drawing multiple windows or when multiple windows are open -- 
>but I'll see it being CPU bound (not, apparently, network bound).  On my old
>computer, I saw 100% cpu usage and thought, ah well, I'm just topping out the 
>machine.
>
>But now, with 4 cpu's, I notice FF pegging out at 25% of the used CPU with
>75% (or 3 cpu's) going unused.  I notice that FF is using multiple threads,
>but not so many compared to number of open windows/tabs -- doesn't seem to be
>too related to number of open windows/tabs for that matter.
>
>Some guessing here, but maybe this isn't a problem under linux if "native" 
>thread support is used (each thread maps to a separately scheduleable 
>process).  Perhaps this is a bug/limitation of the windows platform?  I.e. 
>different threads, maybe (?), are limited to the same processor?
>
>Anyone know if this is a Windows limitation, or can an option be set when FF 
>creates a thread to allow the threads to be scheduled on multiple CPU's?
>
>Thanks,
>-linda
>  
>
To my disappointment (ref Video editing) I found that, to date *very 
few* applications support /work with SMT = simultaneous multi threading 
on dual-core processors!

reg
0
squaredancer
10/10/2006 9:57:18 AM
Reply:

Similar Artilces:

Firefox 1 and 1.5 both makes windows ME hang
Name: N. Gururaja Rao Email: n.gururajarao_at_gmail.com Product: Firefox Summary: Firefox 1 and 1.5 both makes windows ME hang Comments: when I visit www.cartoonnetworkindia.com the system hangs when I click on the scroll bar while the heavy graphics are being downloaded. The site comes up fine with IE 6.1. IE downloads shockwave to open the site.I think that there is a problem with handling asp pages as well. Please look into this. regards N Gururaja Rao Browser Details: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4 ...

NEED EXPERT HELP: installing ie7 beta2 stops outlook links to firefox 1.5.0.1 windows (even firefox default)!
NEED EXPERT HELP: installing ie7 beta2 stops outlook links to firefox 1.5.0.1 windows (even firefox default)! Please, help me! Everything was just fine in my computer, using OutLook Express and FireFox, clicking in hyperlinks of received e-mails and opening for each click a corresponding tab in firefox window... But, I did wrong. My curiosity send me to install ie7 beta and even mantaining firefox as default browser, clicking in e-mail hiperlinks no more opens firefox windows tabs... PLEASE HELP ME TO SOLVE THIS ! Its really important... every day I receive news with...

upgrading from firefox 1.0 to firefox 1.0.1
followup to grc.techtalk upgrading from firefox 1.0 to firefox 1.0.1 http://weblogs.mozillazine.org/asa/archives/007689.html ----------------------------------------------------------- Quote ----------------------------------------------------------- Steps for upgrading from Firefox 1.0 to Firefox 1.0.1 Automatic Update (Windows only) Windows users 1. Before beginning the update, be sure to complete any work you're doing in Firefox 1.0 and close any extra tabs or windows you may have open. 2. If you see a small red icon update icon on the right end of your menub...

Version beforeMozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729)
Name: James Kiekow Email: jamesdotkiekowathotmaildotcom Product: Firefox Summary: Version beforeMozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729) Comments: Dear Excellent Developers, I share a passion for the same in IT and I wanted to mention that I have the previous version of Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729) installed and it was extremely slow surfing the web so I upgraded and my assumption was correct it was the install I believe of th...

I was using Firebird 1.1 Beta on Firefox 3 canidate and have lost all sound output from the web. I still have sounds from Windows.
Name: Aaron S. C. Email: aaronsuncamachoatgmaildotcom Product: Firefox Release Candidate Summary: I was using Firebird 1.1 Beta on Firefox 3 canidate and have lost all sound output from the web. I still have sounds from Windows. Comments: I was using Firebird 1.1 Beta on Firefox 3 canidate and have lost all sound output from the web. I still have sounds from Windows. I was modifying how shockwave players autostart on myspace. see: www.myspace.com/aaronsuncamacho. Please send me a solution!!! Thanks Aaron Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en...

Firefox 1.5 and window.history.forward(1)
I'm hoping someone can confirm an issue I am seeing with a web app that I have. I am "disabling" the back button of the browser by placing the following in the <head> section of my ASP.NET pages...<script language="javascript" type="text/javascript">    window.history.forward(1);</script>I know there are plenty of people out there who totally disavow ever trying to do this type of thing, but for a small web "application",  there are times this can be a nice technique. Anyway, this works fine with IE 6 and has been working very well for me in that when th...

FYI: Firefox 1.0 l10n build machines to shift to Firefox 1.0.1 l10n
As a heads up to all l10n contributors who were a part of the Firefox 1.0 release and those who are working to be a part of our 1.0.1 release, we'll be transitioning our l10n build systems so they generate 1.0.1 builds this weekend. This will conclude our automated builds of Firefox 1.0. When the transition is complete, new nightly builds will begin appearing in: http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-aviary1.0.1-l10n/ If your localization has a released Firefox 1.0, you should not need to make any changes for the 1.0.1 release. At this time, ...

firefox 3 beta 1 mac os 10.5.1 -- memory usage seems to be worse (i.e., firefox uses more memory)
Name: jeffrey p. Email: ff3b1atff3b1dotexjaydotcom Product: Gran Paradiso Summary: firefox 3 beta 1 mac os 10.5.1 -- memory usage seems to be worse (i.e., firefox uses more memory) Comments: firefox 2.x vs. firefox 3 beta 1 on mac os 10.5.1 i've been using firefox 2 for a while. my standard m.o. is to initially open nine windows and leave those open all the time. the browser is open for days and days. each of the initial nine windows has multiple tabs -- 4, 4, 5, 5, 5, 7, 11, 16, 18. after a few days, the real memory usage as reported by activity monitor usually gro...

Firefox 2 Beta 1 disabled my 1.5 compatible extensions IN FIREFOX 1.5.0.4!!!!
Name: Philip Schlesinger Email: theschles_at_NO-SPAM-PLEASE-yahoo.com Product: Firefox Summary: Firefox 2 Beta 1 disabled my 1.5 compatible extensions IN FIREFOX 1.5.0.4!!!! Comments: Folks - I can understand you disabling any incompatible extensions when installing Firefox 2 Beta 1 in an environment where a previous Firefox installation exists (in my case, Firefox 1.5.0.4). However, what the heck were you thinking when you configured the Firefox 2 Beta 1 install to disable those same extensions in my existing Firefox 1.5.0.4?!!! I now have to reload about 95% of my ex...

When I close a Firefox window, other Firefox windows sometimes close as well.
Name: Jean-Victor Côté Email: jean-vdotcoteatsympatico.ca Product: Firefox Summary: When I close a Firefox window, other Firefox windows sometimes close as well. Comments: It does not always happen, but it is as if all windows were tabs of the same window that closes without warning when a particular tab is closed. Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2 ...

Firefox 1.0.7 vs Firefox 1.5
I am using Firefox v. 1.0.7 as my browser. I keep seeing ads about Firefox v. 1.5. What is the difference between these? Mark B wrote: > I am using Firefox v. 1.0.7 as my browser. I keep seeing ads about Firefox > v. 1.5. What is the difference between these? Mark, New features, old bugs fixed. Fixed in Firefox 1.5.0.4 (http://www.mozilla.org/projects/security/known-vulnerabilities.html#firefox1.5.0.4) Short Version: (http://tinyurl.com/rmg67) Firefox Release Notes (http://www.mozilla.com/firefox/releases/1.5.0.4.html) Mozillazine News (http://...

When one closes ONE Firefox Window --- ALL FIREFOX WINDOWS CLOSE!
When one closes ONE Firefox Window --- ALL FIREFOX WINDOWS CLOSE! It is OK for all the TABS to close, BUT ALL WINDOWS? This bug needs to be fixed! -- "Jay" <jemontes48@gmail.com> wrote in message news:ZOSdnXsvzv8FzuXVnZ2dnUVZ_tbinZ2d@mozilla.org... > When one closes ONE Firefox Window --- ALL FIREFOX WINDOWS CLOSE! > It is OK for all the TABS to close, BUT ALL WINDOWS? > This bug needs to be fixed! Tools → Options → Tabs → Warn (me) when closing multiple tabs Tools → Options → Tabs → Always show the tab bar The second one will stop Firefox fro...

Pop under window not blocked by Firefox 1.5.0.1
Name: Ricky Lo Email: rickylo_at_bugeyedigital.com Product: Firefox Summary: Pop under window not blocked by Firefox 1.5.0.1 Comments: VERY annoying Problem: Pop under ad window not blocked by Firefox 1.5.0.1 Firefox v1.5.0.1 pop up block option checked If cookies are allowed, first clear all cookies, go to www.afterdawn.com, click the "Software" tab, top of browser will state that it needs to download a plugin, do not download and close browser, you will then see the pop under ad window. If Exception is set to block cookies from that site, then there will be ...

superreview requested: [Bug 307632] Can't extend Selection Class anymore with Firefox 1.5b1 : [Attachment 195818] Use the current inner scope when wrapping natives in an outer window's scope.
Johnny Stenback <jst@mozilla.org> has asked Brendan Eich <brendan@mozilla.org> for superreview: Bug 307632: Can't extend Selection Class anymore with Firefox 1.5b1 https://bugzilla.mozilla.org/show_bug.cgi?id=307632 Attachment 195818: Use the current inner scope when wrapping natives in an outer window's scope. https://bugzilla.mozilla.org/attachment.cgi?id=195818&action=edit ------- Additional Comments from Johnny Stenback <jst@mozilla.org> This fixes this bug by making us always wrap all DOM things in an inner scope. We use the current inner here si...

Web resources about - Is firefox multi-threaded? (1 Firefox Window using all of 1 cpu can hang other FF windows) - mozilla.support.firefox

The Multi-threaded Santa TDD Challenge
... straightforward problems. In particular, there are no - as far as I'm aware - TDD katas that set more challenging high-volume, multi-threaded, ...

Resources last updated: 1/19/2016 9:24:47 AM