Firefox using BOTH cpu cores?

darren1394

Junior Member
Feb 3, 2006
20
0
0
I opened 25 tabs of youtube videos, they were all playing simultaneously just fine, each core was at ~50% usage.

I set affinity to firefox.exe to cpu0, now one core is spiked to 100% and the tabbed videos are chugging.

I thought Firefox was Not multi-threaded. Is the flash player multi-threaded?

system used was:
AMD X2 4000+ 2.1Ghz
1gb ram
geforce 6150
Firefox ver. 2.0.0.5
 

CTho9305

Elite Member
Jul 26, 2000
9,214
1
81
It's not "not multi-threaded", it's just not threaded in interesting ways. Network I/O happens on a background thread, and a few things do explcitly happen on background threads. It's page rendering and JavaScript that interacts with web pages which happen only on the "main thread"; these are the things that would need to be threaded to see wins in normal situations. Now, it's likely that plugins like Flash spawn one thread (or even process) per object on a page, so in this case, each youtube video is getting its own Flash thread. Firefox itself probably isn't doing much work outside of its main thread.