Bug 238838 - cpufreq: HP X3421 could not turbo boost to 3.4GHz
Summary: cpufreq: HP X3421 could not turbo boost to 3.4GHz
Status: Closed Not Enough Information
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 12.0-STABLE
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: needs-qa, performance
Depends on:
Blocks:
 
Reported: 2019-06-27 03:42 UTC by Paul-LKW
Modified: 2019-07-14 01:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul-LKW 2019-06-27 03:42:00 UTC
HP X3421 (based on AMD 64 bits X3421 GPU) could not turbo boost to 3.4GHz
It could only running at Max. speed of 2.1GHz only.

Repeation:
1. Install the basic system
2. Enable the CPU frequency control feature (enabled by default), device cpufreq
3. enable Powerd in /etc/rc.conf, powerd_enable="YES"
4. make full load to the system
5. observe the sysctl variable by "sysctl -a | grep cpu.0.freq"

it will show;
dev.cpu.0.freq_levels: 2100/5036 1800/3650 1400/2428
dev.cpu.0.freq: 2100
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2019-06-27 10:19:51 UTC
Thank you for your report Paul

Can you please provide additional information, including:

- Exact FreeBSD version (uname -a)
- /var/run/dmesg.boot output (as an attachment)
- pciconf -lv output (as an attachment)
Comment 2 Conrad Meyer freebsd_committer freebsd_triage 2019-07-14 01:00:16 UTC
Pretty sure 2.1 GHz is the highest p-state on that CPU.  Boost is CPU-internal overclocking from the highest p-state.  It isn't represented in the dev.cpu sysctl tree.

I don't believe the test performed here actually demonstrates that the CPU *isn't* correctly boosting when p-state, thermal and load/voltage requirements are satisfied.