Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: incorrect CPU freq detection #148

Closed
TheChief5055 opened this issue Jul 31, 2023 · 6 comments
Closed

BUG: incorrect CPU freq detection #148

TheChief5055 opened this issue Jul 31, 2023 · 6 comments

Comments

@TheChief5055
Copy link

Install ENV:

  • motherboard: ASROCK J3355B-ITX
  • CPU: Intel Celeron J3355
  • NIC: RTL8111GR

Arpl version: 23.7.5

DSM model: DS918+
DSM version: 7.2(64570u2)

Issue: incorrect CPU freq detection

ARPL prior DSM load:
Model: DS918+
Build: 7.2(64570u2)
LKM: prod
CPU: Intel(R) Celeron(R) CPU J3355 @ 2.00GHz
MEM: 7809 MB

logs:

dmesg | grep GHz

[ 0.049094] smpboot: CPU0: Intel(R) Celeron(R) CPU J3355 @ 2.00GHz (family: 0x6, model: 0x5c, stepping: 0x9)

It's in fact 2.5Ghz and was recognized as so in old ARPL.

@wjz304
Copy link
Contributor

wjz304 commented Aug 5, 2023

lscpu

@TheChief5055
Copy link
Author

TheChief5055 commented Aug 5, 2023

lscpu

Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 39 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Vendor ID: GenuineIntel
BIOS Vendor ID: Intel
Model name: Intel(R) Celeron(R) CPU J3355 @ 2.00GHz
BIOS Model name: Intel(R) Celeron(R) CPU J3355 @ 2.00GHz Fill By OEM CPU
@ 2.0GHz
BIOS CPU family: 15
CPU family: 6
Model: 92
Thread(s) per core: 1
Core(s) per socket: 2
Socket(s): 1
Stepping: 9
Frequency boost: enabled
CPU(s) scaling MHz: 46%
CPU max MHz: 2500.0000
CPU min MHz: 800.0000
BogoMIPS: 3993.73
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mc
a cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss
ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arc
h_perfmon pebs bts rep_good nopl xtopology nonstop_tsc
aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est
tm2 ssse3 sdbg cx16 xtpr pdcm sse4_1 sse4_2 x2apic movb
e popcnt tsc_deadline_timer aes xsave rdrand lahf_lm 3d
nowprefetch intel_pt ibrs ibpb stibp tpr_shadow vnmi fl
expriority ept vpid fsgsbase tsc_adjust smep erms mpx r
dseed smap clflushopt sha_ni xsaveopt xsavec xgetbv1 dt
herm ida arat pln pts arch_capabilities
Virtualization features:
Virtualization: VT-x
Caches (sum of all):
L1d: 48 KiB (2 instances)
L1i: 64 KiB (2 instances)
L2: 2 MiB (2 instances)
Vulnerabilities:
Itlb multihit: Not affected
L1tf: Not affected
Mds: Not affected
Meltdown: Not affected
Spec store bypass: Vulnerable
Spectre v1: Vulnerable: __user pointer sanitization and usercopy ba
rriers only; no swapgs barriers
Spectre v2: Vulnerable, IBPB: disabled, STIBP: disabled
Srbds: Not affected
Tsx async abort: Not affected

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies

2500000 2400000 2300000 2200000 2100000 2000000 1900000 1800000 1700000 1600000 1500000 1400000 1300000 1200000 1100000 1000000 900000 800000

grep "MHz" /proc/cpuinfo

cpu MHz : 2500.000
cpu MHz : 2500.000

@wjz304
Copy link
Contributor

wjz304 commented Aug 5, 2023

Is it still 23.7.5?
You can try 23.8.1 and the modules in 23.8.1 add back cpufreq_performance.ko Library.

@TheChief5055
Copy link
Author

TheChief5055 commented Aug 5, 2023 via email

@wjz304
Copy link
Contributor

wjz304 commented Aug 5, 2023

and update modules

@TheChief5055
Copy link
Author

On 23.8.1 cpu freq is detected correctly. Thanx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants