Processor stress using CORE 2 vs CORE i5 in Linux, etc

Not sure if this is an OS issue or a Firefox issue…

My linux box has an Intel CORE 2 Duo CPU T7250 @ 2.00GHz, and when using Firefox browser, loading webpages from certain sites will drive the processor into the ‘red’ (100%, 95%, etc.) and may be causing instabilities in Linux (Fedora 43 / Ubuntu 24.04) and my Windows 7, leading to Firefox crashing and in Linux, Kernel Panic / Windows the BSD…

Meanwhile, my Windows 10 box has an Intel CORE i5 (2nd Gen) 2430M @ 2.4 GHz and its processor will barely go above 25% - never hits the red and Firefox never cashes and Windows 10 never goes to the BSD…

Can a mere 0.5GHz increase in CPU speed make so much of a difference, or is it the CORE 2 DUO vs i5 that does it? Any way to mitigate it other than dump the Gateway W/CORE 2 DUO?

Found these:

Processor Showdown: Intel® Core™2 Duo Cpu Vs I5 – Which One Reigns Supreme?

Intel Core 2 Duo E8400 vs Core i5-4590

… but way, way over my head :wink:

As a simple comparison get the “BogoMIPS” value for each of the CPUs, it in the lscpu output and use that to figure out the performance ratio of the 2 systems.

lscpu| grep -i bogo

That gives you a crude guide to the performance of the CPU cores.

The i5 has more CPU cores (4 typically) than the Duo (2) and each of those CPU cores does more work for each clock cycle. Plus the i5 can turbo to 3GHz.

My guess is the older processor is missing instruction sets that modern Firefox and multimedia decoder are expecting.

Your Duo is missing AVX, SSE4.1/4.

Edit: you can try to disable hardware acceleration in Firefox, this may help.

The frequency only paints part of the picture. There are 4 years of architectural improvements between these two CPUs (the Core 2 Duo came out in 2007, the i5 in 2011):

  • the i5 has more than double the number of transistors,
  • the i5 has two cores that can run two threads each, i.e. four threads in total (2C4T) while the Core 2 Duo’s two cores can only run a single thread each (2C2T),
  • the older Core 2 Duo has to talk to the north bridge to access its RAM, the newer i5 has an integrated memory controller and can access its RAM directly (and it’s DDR2 vs. DDR3, respectively),
  • the i5 has three levels of cache and its L3 is 3MB vs. the two levels of the Core 2 Duo with its L2 only 2MB,
  • etc.

Having said all that, no system should crash just because you use up all the processing cycles. I regularly have my system at 100% load (what’s the point of having all these cores if you are not using them :wink:). The OS will schedule all running processes across all available CPU cycles. And the essential things, like interrupt handling, which could really crash a system if they aren’t done in time, will always take precedence.

did that, didn’t help…

Considering that the system with stability issues under load has a CPU released in 2007, I would guess that the whole system is similarly old (maybe 2008/2009 if we are lucky). Have you had an eye on the CPU temperature? Unless somebody renewed the thermal interface material (thermal paste), it is probably more dust than paste in a 15+ year old system, with the heat conducting properties of dust. Or there might have been pump-out due to repeated heating and cooling of the contact patch.

I could imagine that when the load increases and the system ramps up clockspeeds and power to the CPU, the poor CPU might essentially be boiling because it simply cannot move the amount of energy into the heatsink because of bad thermal conductivity.

I think what you are proving is that your DUO is not very powerful compared to you i5.

Conky reports CPU temp - normally around 140°F, but spiking w’pages will get it up to 155°F-165°F… and I guess it is reporting temp accurately, or does it also depend on some kinda paste?

Older systems often suffer instabilities due to age-related changes to electrical components, corrosion in connectors, deterioration in thermal paste at heat sinks, etc. The result is often instability in voltages under higher loads, so system can work normally until the power requirement spikes.

I’m using NoScript firefox extension, and for webpages that run up the processor into the red, I set the loading sites to ‘custom’ and tailor each individually to allow only the capabilities NoScript ‘highlighted’ and uncheck all others. Seems to help a bit…

Then, on these high demand sites I’ll wait until the CPU% drops out of the red before doing anything else. Also, seems to help a lot…

Finally, I’ve disabled both PCI wifi (54Mb/s) and USB wifi (150Mb/s) - using only LAN (1000Mb/s) - seems to help the most :wink:

If that is the indeed the maximum temperature under load, that is OK. In fact, for 15 year old thermal paste, I am surprised how good it is.

I don’t know the software or what it is reporting. But if it is the CPU temperature sensor, it will be accurate. CPUs have had integrated temperature sensors for ages. And they measure where the heat is, not the temperature of the heatsink after the energy passed through (good or bad) thermal interface material into the heatsink.

I am glad that it seems to help, but I strongly doubt it has anything to do with CPU load. A CPU isn’t like an engine that you are running “into the red” and then it explodes.

A CPU can perform a fixed amount of work every second, determined by its clock speed and the architecture. (This is overly simplified, but this isn’t a computer architecture lecture.) If you run more things in parallel, each one will get a smaller share of this limited resource and thus run longer to complete. But that’s all, it will take longer and you have to wait for it, which is annoying. But for the CPU, it is just a sequence of instructions that it executes one by one. Believe me, this is totally fine, there are countless CPUs all over the world that run at 100% all day every day without crashing.

In fact, in a lot of battery powered systems, when a CPU (or a single core) has something to do, it will often do so at 100% load and then go back to sleep. It is more efficient to run a core very fast for a short time and then turn it off when it is not needed instead of keeping it running at a lower clockspeed for a prolonged period of time. Plus, this give the user the impression of a fast, “snappy” system.

Patience is a virtue - yes, slowing down on the clicking of things while the CPU is maxing out seems to help a whole lot. Just let her settle down a bit - btw: RAM is only at 1.87 of 3.80Gb and swap 1.04 of 9.80Gb.

Been running for four days so far w/o lockup/logout/kernel panic/etc. Also, been using the 7.0.14-101.fc43.x86_64 kernel :wink: