Intel Speed Shift
-
@skogs said in Intel Speed Shift:
@Vollans
Yeah I think my testing confirmed the same. Trouble is I really wanted to try and dial it to 98 or 99. 100 just seems wrong.You can. Just not via the slider. I set up a shellcmd and cron job to set the cores manually on a regular basis.
/sbin/sysctl dev.hwpstate_intel.0.epp=99 /sbin/sysctl dev.hwpstate_intel.1.epp=99 /sbin/sysctl dev.hwpstate_intel.2.epp=99 /sbin/sysctl dev.hwpstate_intel.3.epp=99
-
Read this thread if you haven't already: https://forum.netgate.com/topic/186104/topton-n100-reporting-402-mhz/
By enabling additional BIOS settings those users were able to get far better performance.
Even with no speedstep/shift active I wouldn't expect a CPU to run dangerously hot unless maybe all cores are running at 100%. They are probably mostly idle. The N5105 is a 10W CPU. It really shouldn't need much cooling.
Does it still run hot with Speedshift disabled?
-
@stephenw10 Those sorts of things I did a couple of years ago when I got it, and posted how to do them here as well :)
With speed shift disabled it never gets toasty hot.
With speed shift enabled lower than 98, it regularly gets into the 90C+ zone, and the case burns to the touch. At lower than 98 it’s solidly running all cores at 100% speed core speed (2GHz). Once set at 98 it will switch between 800MHz and 2GHz regularly and keep under control.
With PowerD control, even when run at the highest level, it’s never an issue.
The N5105 really doesn’t like speed shift in this Topton unit.
-
@Vollans said in Intel Speed Shift:
With speed shift enabled lower than 98, it regularly gets into the 90C+ zone, and the case burns to the touch.
Yikes!
@Vollans said in Intel Speed Shift:
At lower than 98 it’s solidly running all cores at 100% speed core speed (2GHz).
They might be at 2GHz but are they actually running something or just the idle process?
2GHz is the base frequency. That's what you get if no power management is running .If it was somehow setting all cores to maximum turbo frequency and some process was actually using it I'd expect it to get hot.
Seems like something funky must be happening there. -
@stephenw10 The load shows still in the lower 0.1-0.2 range so really idle processes only, but command line tools for CPU mode show it running full speed 2GHz, and that’s enough for these weird N5105 things to become toasters. My working assumption is that on these devices at those lower values it only really alters the power regulator side of it and they suck in the juice “ready” to respond and then just dissipate the lot as heat whether it’s used for computational purposes or not. They really expect to be run in relatively aggressive power saving mode at all times.
It takes me back to the old Dell Pentium 4 laptops of 20 years ago that threatened third degree burns if you dared to use one on your lap :)
-
Hmm, that's weird. Like the system idle process is not actually idling the CPU correctly. Even with no P-states you should still see higher C-states when it's mostly idle.
Try:
[24.03-RC][admin@4200.stevew.lan]/root: sysctl -a | grep cx_ hw.acpi.cpu.cx_lowest: C8 dev.cpu.3.cx_method: C1/mwait/hwc C2/mwait/hwc C3/mwait/hwc dev.cpu.3.cx_usage_counters: 9902 21795 256573 dev.cpu.3.cx_usage: 3.43% 7.56% 89.00% last 27us dev.cpu.3.cx_lowest: C8 dev.cpu.3.cx_supported: C1/1/1 C2/2/127 C3/3/1048 dev.cpu.2.cx_method: C1/mwait/hwc C2/mwait/hwc C3/mwait/hwc dev.cpu.2.cx_usage_counters: 11302 19955 186842 dev.cpu.2.cx_usage: 5.18% 9.14% 85.66% last 222us dev.cpu.2.cx_lowest: C8 dev.cpu.2.cx_supported: C1/1/1 C2/2/127 C3/3/1048 dev.cpu.1.cx_method: C1/mwait/hwc C2/mwait/hwc C3/mwait/hwc dev.cpu.1.cx_usage_counters: 10499 19988 187382 dev.cpu.1.cx_usage: 4.81% 9.17% 86.00% last 1078us dev.cpu.1.cx_lowest: C8 dev.cpu.1.cx_supported: C1/1/1 C2/2/127 C3/3/1048 dev.cpu.0.cx_method: C1/mwait/hwc C2/mwait/hwc C3/mwait/hwc dev.cpu.0.cx_usage_counters: 10625 19888 235439 dev.cpu.0.cx_usage: 3.99% 7.47% 88.52% last 529us dev.cpu.0.cx_lowest: C8 dev.cpu.0.cx_supported: C1/1/1 C2/2/127 C3/3/1048
That's a 4200 (C1110, 13W TDP, passive cooling) that supports SpeedShift and it's set to 80. It's pretty much idle. You can see the Cores are all at >80% C3.
-
So I spent a little time testing on the newer box. Uses a passively cooled Celeron J6412; minimum 800MHz max 2Ghz.
Using speed shift set at max power save (100) the temps on die as reported by pfsense would be between 87 and 106 degrees F. Most of the time hovering at 89. Extremely little ramping in cpu frequencies.
Using powerD at minimum would also hover 87-89 degrees. Sometimes dipping down to 85 or so. At minimum performance/max savings it would also pretty much never ramp up the cpu clocks that I could tell. Pegged at minimum. Running speed tests and such it would peg at 100% cpu.
Using powerD hi-adaptive definitely ran hot. Around 106-112F. Cores generally bouncing between 1600-2Ghz all the time.
Using powerD adaptive was sort of all over the place. Very rarely would it stay at minimum frequency enough to actually show it. Temps mid 90s.
I'm quite torn. I want better thermals given by powerD minimum...but do want the cpu to ramp if there is a load. Guess it is back to speed shift set at maximum savings. At least it ramps some.
-
@skogs said in Intel Speed Shift:
Using speed shift set at max power save (100) the temps on die as reported by pfsense would be between 87 and 106 degrees F. Most of the time hovering at 89. Extremely little ramping in cpu frequencies.
I would say you let cool it down and set up new and very good thermal paste
to ensure that it is not owed to that circumstance (bad or to small paste) -
@skogs said in Intel Speed Shift:
Using powerD hi-adaptive definitely ran hot. Around 106-112F.
I would argue that's not hot at all for the on-die core temperature. A lot of systems don't even turn the fans on until higher than that. (45°C).
-
@stephenw10
I'm not 'concerned' ... I just aiming for as low power waste as possible. Just min/maxing it. :)