Firefox and problem with Cool'n'Quiet

Ualdayan

[H]ard|Gawd
Joined
Jun 20, 2004
Messages
1,793
When Cool'n'Quiet is on I have a problem where the processor ramps down to 800Mhz, and Firefox will stutter terribly when trying to type web addresses or scroll down a page. If I open up Prime on one core they all go to 100% speed and Firefox runs fine.

I've found I can also alter power settings to make the processor only go down to 1800Mhz by changing minimum power state to 25% in power settings and then Firefox works fine.

I'd really like to be able to have 800Mhz power saving mode work though. Is there any way to make it switch more often with a Phenom II (tried some older programs and they didn't seem to work) rather than trying to stay at 800Mhz when Firefox apparently needs faster at times?

This might be a bug in Firefox too though - it seems like it tries to throttle itself and not use 100% of a core (thereby preventing the CPU from realizing it needs to speed up). At the negative side effect of stuttering and nonresponsiveness.
 
the evil, it can't get to 20% load issue...

What I do is play a mkv 1080p file in the background.
 
Is it only FF? I don't have FF installed on my new rig yet, only Opera and Iron, but I don't see any stuttering.
 
Is it only FF? I don't have FF installed on my new rig yet, only Opera and Iron, but I don't see any stuttering.

Firefox seems like the biggest offender. It's as if the browser spreads itself out across multiple cores too well, and that behavior is causing the processor to not go over whatever trigger it uses to decide to move up from the 800Mhz speed. Then Firefox doesn't have the processing power it needs at 800Mhz to operate without becoming unresponsive.

For example, I REALLY noticed it when trying to watch a video podcast on pcper.com today:
CPU-Z shows 800Mhz.
Process Explorer shows Firefox using 35% total CPU speed (quad core) with that usage being light usage of maybe 2-3 cores.
Try to scroll while the video is going and firefox stops responding for 1 minute. Try to click to a different tab and it takes a minute, try to type anything into the address bar and it takes 1 minute after clicking before it lets me type. Just really unresponsive.

Now, if I open up Prime on 1 core the CPU goes up to full speed on all 4 cores. Firefox then uses barely any CPU power and doesn't stutter at all.

Alternatively I can go to power settings, and set minimum processor state to 25% and then the system will only go down to 1800Mhz but that's generating unnecessary heat and consuming unnecessary power when I'm not using Firefox.

I would like to either make the CPU ratchet up to 1800Mhz with a lighter load, or perhaps make Firefox stop using multiple cores. (if it was trying to use just 1 core perhaps it would use up enough processing power to cause the CPU to step up to 1800Mhz when Firefox needs it to.)
 
I've got CnQ enabled on my server with FF and have no problems with stuttering. Have you tried recreating your FF profile and extensions?
 
Nothing wrong with Firefox 3.5, it's probably a buggy plugin. Adobe Flash has known serious problems with CPU usage, screen timeout and suspend mode.
 
Works fine for me. I use the "on demand" or "conservative" governor under LInux.

When Firefox starts to eat cpu, it bumps the speed up. I can see it in my panel in gnome.

If it were purely a firefox/cool'n quiet issue, I should see it on Linux as well, no ?
 
I haven't had a problem either but I generally have 20+ tabs open at all times across two windows so maybe that is why.
 
I thought the Phenom II was supposed to have fixed the Cool n Quiet issues, but apparently I was wrong. I'm having also having problems, especially playing some medium res videos in Firefox...the audio stutters slightly. It goes away if I run something in the background to ramp the CPU to full speed.

I have disabled CnQ for now... but I think the PhenomMSRTweaker works with Phenom II CPUs too. I used it on my Phenom I to completely fix all CnQ issues. Going to look into that at some point.
 
PhenomMSTTweaker does work on Phenom IIs. But another tool you might want to try is K10Stat. You get complete control over all 4 p-states, which means you can adjust at what usage precentage the processor will go to the next step. For example, I have mine set-up to run at 1Ghx at .95v, and set it so that it will only clock up once my CPU usage hits 50%. I haven't had any problems doing it this way. My full C'nQ set-up is 1. 1GHz@.95v, 2: 2GHz@1.15v 3: 3Ghz@1.3V, and 4: 3.78Ghz@1.55v.
 
if the video player you are using uses flash or adobe.. right click on it and go to the settings then try disabling the GPU acceleration and see if it helps.. or enable it if its disabled.. ive had more issues with the hardware accel on then i have with it off..
 
if the video player you are using uses flash or adobe.. right click on it and go to the settings then try disabling the GPU acceleration and see if it helps.. or enable it if its disabled.. ive had more issues with the hardware accel on then i have with it off..

I think it was just Windows Media Player being embedded.

Yes, disabling GPU acceleration might cause CPU usage to increase beyond the point where it switched from 800 MHz to some higher frequency...thereby working around the issue...

Still, CnQ reacts too slowly and shifts into high gear too late. I didn't pay for a 3.2 GHz CPU only to have it run at 800 MHz where it actually needed to run at the full frequency...If I wanted that I would have bought an Atom :eek:
 
just disable cool 'n quiet then.. its in the bios options.. ive never used cool 'n quiet.. mostly because all of my processors are overclocked..
 
just disable cool 'n quiet then.. its in the bios options.. ive never used cool 'n quiet.. mostly because all of my processors are overclocked..

Yeah, that works.. but the system uses an extra 100W and the CPU fan speed has to be increased by about 500 RPM at idle. Not ideal, but it works.
 
I had some problems with CnQ until I disabled C1E support in BIOS.
Edit: That was with my M3A79-T Deluxe, which is a SB750 version of the M3A32.
 
Last edited:
Not trying to change the subject here. Has anyone here tried Cometbird? It's a lighter and faster version of firefox. I tested it out one day and have never looked back. Perhaps some of you could try this and see how it performs on your systems?
 
Can't you set something up with AMD Overdrive where you can set different processor profiles for different applications?
 
Not trying to change the subject here. Has anyone here tried Cometbird? It's a lighter and faster version of firefox. I tested it out one day and have never looked back. Perhaps some of you could try this and see how it performs on your systems?

The problem isn't really that Firefox uses too much CPU. The problem is actually that it uses too little CPU. CPU usage sits just below the threshold where the CPU would have switched from power save mode (800 MHz) to high performance mode. Disabling CnQ or running something like Prime95 in the background then actually enhances performance.

Can't you set something up with AMD Overdrive where you can set different processor profiles for different applications?

That's not really the same thing, but it's an option. You could for example set the CPU to 1600 MHz for Firefox.. But then it would never go past that, even if you visited a site that needed the full 3+ GHz. Also I'm not sure how it handles multitasking when switching applications with different profiles assigned.
 
Sorry for the kick, but this problem still exists in the current version of Firefox and I'm hoping there's any news/info about fixing it, and I am not talking about workarounds like manually triggering a throttle up, using the "minimum processor state"-setting for example.

Not too long a go I ran into this problem after replacing an A4-3400 with an A8-3870K, Firefox became very slow/sluggish after that. It didn't take me long to figure out the CPU wasn't doing a throttle up when Firefox required more CPU power to run properly, because I already ran into the same problem before, with Multisim. The single-threaded simulator of Multisim can only use 1 core, (I'm guessing) because of that Multisim can't generate enough load on a quad-core to trigger a throttle up. So when Firefox became sluggish/slow, I checked the state of the CPU with CPU-Z, which turned out to stay throttled down....
 
Last edited:
What about simply setting the maximum performance power profile in windows?

On desktops this shouldn't make much difference in consumption @ idle while keeping the clock maxed.
 
I don't have ff..I use IE. I did try FF and im fine. MY cpu only goes down to 1400 though and its great in FF. I cant get to 800. Is that a mobile cpu or something? BTW IE is the best imo. Whatever floats yer boat but I don't see why it wouldn't run fine even at 800mhz speed. Strange. Try IE 11 or another browser just to see if it is in fact the software. Ide think it is FF problem.
 
What about simply setting the maximum performance power profile in windows?

On desktops this shouldn't make much difference in consumption @ idle while keeping the clock maxed.
Well, I haven't been able to find any idle power measurements for (more or less) recent CPU's about the difference between disabling and enabling C'n'Q, I don't suppose you have? Did found this, but there are no A-series CPU's in that list

Plus, disabling C'n'Q is a workaround, I'd like to know why some programs are unable to trigger a throttle up.

I don't have ff..I use IE. I did try FF and im fine. MY cpu only goes down to 1400 though and its great in FF. I cant get to 800. Is that a mobile cpu or something? BTW IE is the best imo. Whatever floats yer boat but I don't see why it wouldn't run fine even at 800mhz speed. Strange. Try IE 11 or another browser just to see if it is in fact the software. Ide think it is FF problem.
Nope, it's a desktop CPU.

I think Firefox doesn't make use of all available CPU power and because of that, no throttle up is done. As for Multisim, the simulator is singlethreaded, so I'm guessing that one also can't generate enough load to trigger a throttle up.
 
Last edited:
My FireFox started running like pure crap some months ago. Internet Explorer works perfectly. Wiped all of my drives and reinstalled my OS without fixing the problem. I refuse to use Google Chrome as every time that I switch gmail accounts it has a baby and makes me do the 2 step authentication. Plus I don't trust shit that memorizes my CC numbers without asking me and fills them into new websites that I was just checking to see how much shipping was.

At least now I know that there is someone else with the same problem as me. Let me know if you find a way to fix it!
 
The only "fix" so far is disabling Cool'n'Quiet, or set the minimum processor state in power management to 100%, making the CPU run at full speed.
 
Tried that, even though 50% does make a noticeable difference, Firefox still doesn't run as smooth while at 100% plus Multisim still isn't running at full speed. With that program that is a serious issue since simulating circuits cannot be done in real time because of all the calculations, so every possible speed increase there is, is useful.
 
Tried that, even though 50% does make a noticeable difference, Firefox still doesn't run as smooth while at 100% plus Multisim still isn't running at full speed. With that program that is a serious issue since simulating circuits cannot be done in real time because of all the calculations, so every possible speed increase there is, is useful.

I am not sure about the FF issue, but since I used Multisim while in college, I can tell you a trick that I found that works pretty well. Open Multisim, then go into Task Manager and find Multisim's process. Right click on it and set it's Afiinity to 1 core instead of all 4. This should help you get better performance as Windows won't try to spread the load and keep the CPU from Turbo'ing up to it's higher performance state. It worked wonders on the DC and then early QC systems we had in our lab.
 
I am not sure about the FF issue, but since I used Multisim while in college, I can tell you a trick that I found that works pretty well. Open Multisim, then go into Task Manager and find Multisim's process. Right click on it and set it's Afiinity to 1 core instead of all 4. This should help you get better performance as Windows won't try to spread the load and keep the CPU from Turbo'ing up to it's higher performance state. It worked wonders on the DC and then early QC systems we had in our lab.

I've never understood why single threads can't stick to one core. switching around arbitrarily can't be efficient.
 
Back
Top