Right after our previous post about overclocking the Intel Core i7 processor, we are providing here a software way to read two of its main settings :
- The external clock, named Base Clock [BCLK] in the BIOS
- The clock ratio of each logical core [Ratio]
• reminder : the CPU frequency being the product of the Ratio and the Base Clock.
At our disposal, two substantial guides :
- The Intel 64 and IA-32 Architectures Software Developer’s Manual Volume 3
- The SMBIOS Reference Specification © Distributed Management Task Force
Both volumes doing a two thousand pages sum , let us suggest you in the wiki a software framework called ″coremod″ which will be completed as soon as we would have a better understanding of the system design.
Requirements :
- The Linux Operating System
- Running as root
- Loading these two kernel modules : msr and dmi-sysfs
- A C compiler ( gcc or clang will be just fine )
- An optionnal debugger such as DDD
Notices :
¹ ″coremod″ starts with none one or two arguments, respectively the first and last core to read.
² No arguments checking is done. You must know your processor specification and its number of logical cores.
³ CyrIng denies any responsability of the execution consequences of the freely given opened source.
Illustration of the coremod debugging
Execution output