OS/2, eCS & ArcaOS - Technical > Internet
FF 45.x and CPU spikes
Dariusz Piatkowski:
Hi Dave,
--- Quote from: Dave Yeo on October 05, 2020, 06:57:31 pm ---...Occasionally here, I get high CPU usage after a long uptime, this doesn't go away until I revert to a backup of my profile. No idea what causes this. I did seem to fix it last time by killing the browser and restarting, needs more testing.
...Here is a test, http://www.gus.biysk.ru/os4/test/timerTest.html
Probably other issues as well.
--- End quote ---
I supposed there are other things that come into play here as well.
For example, I find that FF behaves somewhat differently depending on whether I have the following in my CONFIG.SYS:
SET NSPR_OS2_NO_HIRES_TIMER=1
Normally I do have it set as above in order to DISABLE the hires timer. The test you provided the link to (thanks, great reminder) produces pretty steady values and a whole bunch of misses (all RED) when I'm running with the hires timer enabled.
Now the curious thing is: does the /NOHLT option change that?
Yeah...somewhat. The hires timer will produces a steady set of good results provided that I have minimum of FF activity (actual in-browser use), the minute I start browsing that goes to all RED!
Either way all of this may be a moot point, as it turns out the results I was seeing with GMAIL are no longer present. Meaning, the spikes continue regardless of what application/tab have the focus. So much for that...LOL!
Dave Yeo:
--- Quote ---SET NSPR_OS2_NO_HIRES_TIMER=1
--- End quote ---
I forget the specifics of what this does but on a system without ACPI, it will use the regular timer whereas ACPI means using the HPET.
Why not use Thunderbird to access Gmail? It's what I do.
Doug Bissett:
--- Quote ---Again, keep in mind that when the Power Manager is DISABLED (OFF status) the ACPI driver should NOT be making any changes to the CPU cores.
--- End quote ---
You are probably right. Remember that the latest changes to ACPI was to change the way that all works. I think there are a couple of holes in the logic. Whether that will be fixed, or not, remains to be seen. I think it would make sense to add CPU enable/disable to acpid.cfg, but I can't do it. Open an incident, I guess.
Mathias:
I'm also using FF 45.x and see weird behaviour at times on numerous OS/2 machines.
Like for instance when using tabs.
As long as I stay in one tab, it's all fine.
As soon as I open a second tab, the effect starts:
Imagine the following situation:
1st tab: A HTML file hosted on a webserver on the local network. (html 1.0 nothing special, no frames, no active stuff.. just a table with links, written in eFTEPM/2)
2nd tab: a website like duckduckgo.de or let it be google.com or something else.
Now, when I switch away from 1st tab, CPU usage rises to a constant 100%on one (changing) core. As soon as I switch back to the 1st tab, CPU usage returns to 0%.
Now you could say... "ha! It's gogle's fault... somehow!" - But I've also tested it the other way around:
Google first tab, the link collection html file in 2nd tab... and same game: As soon as you switch away from first tab, CPU usage rises... but not always...
Switch back to first tab, and CPU usage returns to 0%.
Sometimes the 0% CPU usage (idle) tab may change: It happens to be 2nd or 3rd tab at times.
Interesting: When you CLOSE the "idle tab", CPU usage remains on 100% on one core! Reopen the same website in a new tab does NOT change the game: CPU usage remains high, even if you switch to that newly (reopened) tab.
VERY weird. However, staying with one tab seems to eliminate that effect.
Eugene Tucker:
All the more reason to help fund the new browser folks!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version