Comments (9)
@x0rg - any ideas?
from libcpuid.
@kbios: recent changes on RDMSR were to fix that.
With stock clocks, the bus clock should be 200MHz and CPU multiplier x15 (because the stock clock is 3GHz). So yes, this is very buggy.
Please paste cpuid_tool --rdmsr
and cpuid_tool --rdmsr-raw
outputs as root.
Your CPU is overclocked at 3,4GHz, right?
from libcpuid.
# ./cpuid_tool --rdmsr
cur. multi.: 1700 MHz
max. multi.: 1700 MHz
core volt. : 1.35 Volts
base clock : 853.75 MHz
# ./cpuid_tool --rdmsr-raw
CPU is AuthenticAMD AMD Phenom(tm) II X4 940 Processor, stock clock is 3415MHz.
msr[0xc0010061]=00 00 00 00 00 00 00 30
msr[0xc0010063]=00 00 00 00 00 00 00 00
msr[0xc0010064]=80 00 00 1a 20 00 20 12
msr[0xc0010065]=80 00 01 c3 30 00 30 07
msr[0xc0010066]=80 00 01 b6 40 00 40 02
msr[0xc0010067]=80 00 01 72 40 00 40 40
msr[0xc0010068]=00 00 01 72 40 00 40 40
msr[0xc0010069]=00 00 01 72 40 00 40 40
msr[0xc001006a]=00 00 01 72 40 00 40 40
msr[0xc001006b]=00 00 01 72 40 00 40 40
Exactly, I overclocked to 3.4 by setting the multiplier to 17
from libcpuid.
Ok, I'm working of this. With my local changes, the computed bus clock is 200,88MHz.
I'll push a fix in a few moment. This issue is related to used method to determine how many Pstate are presents.
from libcpuid.
Thanks for fixing this, @x0rg!
from libcpuid.
@kbios: if you can, please update libcpuid to latest git revision and re-paste the cpuid_tool --rdmsr
output to confirm fix.
@anrieff: NP. I'm now watching libcpuid, I will be notified of all conversations, I think it will be helpful for future issues related to MSRs. ;)
from libcpuid.
Wow that was fast! I can confirm that with the latest commit the bus speed is correct:
# cpuid_tool --rdmsr
min. multi.: 0
cur. multi.: 0
max. multi.: 0
core volt. : 1.35 Volts
bus clock : 200.88 MHz
from libcpuid.
And it shows another bug with CPU multipliers...
from libcpuid.
Maybe the %d
format, can be replaced by a %.2f
. Interesting bug.
EDIT: Done in 660cde1.
from libcpuid.
Related Issues (20)
- Missing detection of SHA_NI and RDSEED on AMD HOT 1
- Report TSC multiplier HOT 2
- CMake build script not in 0.5.0 tarball release HOT 1
- conda-forge package HOT 5
- CPU Family/Model is used as Ext.Family/Model HOT 5
- Intel Alder Lake processors are not properly recognized HOT 21
- C:\Program Files (x86)\Embarcadero\Dev-Cpp\TDM-GCC-64\x86_64-w64-mingw32\bin\ld.exe C:\Users\user\AppData\Local\Temp\cc79calV.o:sysinfo.cpp:(.text+0x15a): undefined reference to `cpuid_present' HOT 2
- xmp profile on H670 chipset does not seem to be detected HOT 2
- cpuid_tool.exe v0.6.0 doesn't work on my PC HOT 3
- Library naming inconsistent between Autotools and CMake HOT 2
- v0.6.0 alder lake(hyper thread disabled) core numbers are not correct. HOT 1
- "Segmentation Fault" on Celeron 900 (Core 2) HOT 6
- x86_64 architecture level HOT 2
- cpuid_tool 0.6.2 does not work on osx HOT 3
- Misprint, not enough zeros in the constant HOT 1
- cpuid_get_all_raw_data() leaves CPU affinity set to a single core HOT 3
- Overclock intel CPU HOT 3
- minimum and maximum frequency of AMD cpu HOT 7
- Wrong rdmsr temperature/voltage/clock for Core 2 CPUs HOT 2
- Support Extended CPU Topology for AMD CPU/APU HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libcpuid.