N5105 constantly at 2ghz

Started by snippem, January 08, 2023, 12:01:26 PM

Previous topic - Next topic
Hi all
Just started to use opnsense everything went smoothly but there is one thing I ran into.
Powerd is not doing anything it is enabled and set to adaptive ( but any other shows the same result )
My cpu speed is constanly at 2 ghz.
My temps are not that bad 51 idle and with load around 70 degrees.
But I woud like to be as energie efficiënt as possible.
Intel c states and intel speedstepping are enabled.
My unit is a Topton n5105 with 4 intel i226 nics.
Hope somebody can help me.

Verstuurd vanaf mijn SM-G990B met Tapatalk

Little update :

I enabled C-states to go lower than the standard C1 as discribed in this forum.
In the bios settings i also saw this was supported.

Used the following :

Add four new entries under system -> settings -> tunables:
Code: [Select]
dev.cpu.0.cx_lowest
dev.cpu.1.cx_lowest
dev.cpu.2.cx_lowest
dev.cpu.3.cx_lowest

and use C3 as value for each of them. Then the tunings survive a reboot.

sysctl hw.acpi.cpu.cx_lowest=c3

use sysctl dev.cpu |grep cx to check.

result:

root@OPNsense:~ # sysctl dev.cpu | grep cx
dev.cpu.3.cx_method: C1/mwait/hwc C2/mwait/hwc C3/mwait/hwc
dev.cpu.3.cx_usage_counters: 46876 49150 83868
dev.cpu.3.cx_usage: 26.05% 27.32% 46.62% last 115us
dev.cpu.3.cx_lowest: C3
dev.cpu.3.cx_supported: C1/1/1 C2/2/253 C3/3/1048
dev.cpu.2.cx_method: C1/mwait/hwc C2/mwait/hwc C3/mwait/hwc
dev.cpu.2.cx_usage_counters: 39024 50810 89534
dev.cpu.2.cx_usage: 21.75% 28.32% 49.91% last 350us
dev.cpu.2.cx_lowest: C3
dev.cpu.2.cx_supported: C1/1/1 C2/2/253 C3/3/1048
dev.cpu.1.cx_method: C1/mwait/hwc C2/mwait/hwc C3/mwait/hwc
dev.cpu.1.cx_usage_counters: 65075 60643 84334
dev.cpu.1.cx_usage: 30.98% 28.87% 40.14% last 89us
dev.cpu.1.cx_lowest: C3
dev.cpu.1.cx_supported: C1/1/1 C2/2/253 C3/3/1048
dev.cpu.0.cx_method: C1/mwait/hwc C2/mwait/hwc C3/mwait/hwc
dev.cpu.0.cx_usage_counters: 242513 860335 413
dev.cpu.0.cx_usage: 21.98% 77.98% 0.03% last 78us
dev.cpu.0.cx_lowest: C3
dev.cpu.0.cx_supported: C1/1/1 C2/2/253 C3/3/1048

Still i do not see any change in the lobby that the processor is lower than 2GHZ :-(

Are you aware of the Serve The Home megathread on these devices?  There's a lot there about the c- and p-states, bios settings and OPNsense configuration:

https://forums.servethehome.com/index.php?threads/topton-jasper-lake-quad-i225v-mini-pc-report.36699

This post specifically comes to mind:
https://forums.servethehome.com/index.php?threads/topton-jasper-lake-quad-i225v-mini-pc-report.36699/page-103#post-359615


(Don't be mislead by the title or first couple of posts, the thread walks through a bunch of CPUS - including tne N5105 - and various NIC configs - 4x and 6x of I225 vN and I226.)

Quote from: efahl on January 08, 2023, 07:06:02 PM
Are you aware of the Serve The Home megathread on these devices?  There's a lot there about the c- and p-states, bios settings and OPNsense configuration:

https://forums.servethehome.com/index.php?threads/topton-jasper-lake-quad-i225v-mini-pc-report.36699

This post specifically comes to mind:
https://forums.servethehome.com/index.php?threads/topton-jasper-lake-quad-i225v-mini-pc-report.36699/page-103#post-359615


(Don't be mislead by the title or first couple of posts, the thread walks through a bunch of CPUS - including tne N5105 - and various NIC configs - 4x and 6x of I225 vN and I226.)
Thanks for pointing me to this forum.
Thanks to a user there changed some bios settings and added some code to opnsense.
Now I am running 7 °c Cooler and a lot more efficiënt. Also replaced the rebranded "samsung" adapter for a Mean WELL GST60A12-P1J 12V before it had the chance to set my house on fire [emoji3]

Verstuurd vanaf mijn SM-G990B met Tapatalk


Quote from: snippem on January 08, 2023, 12:01:26 PM
Hi all
Just started to use opnsense everything went smoothly but there is one thing I ran into.
Powerd is not doing anything it is enabled and set to adaptive ( but any other shows the same result )
My cpu speed is constanly at 2 ghz.
My temps are not that bad 51 idle and with load around 70 degrees.
But I woud like to be as energie efficiënt as possible.
Intel c states and intel speedstepping are enabled.
My unit is a Topton n5105 with 4 intel i226 nics.
Hope somebody can help me.

Verstuurd vanaf mijn SM-G990B met Tapatalk

I have the same issue on my 6 port Topton n6005