Read_MSR is written in Python, so you need a Python interpreter installed on your system (default on almost all distributions)
The Version 0.2 takes care of the DIDs (Divider ID) and HID (Halving ID) that can be found on newer Intel CPUs like the Core Processor.
To run the tool just
1. extract the gzip-archive somewhere
2. give execution rights (# chmod 755 read_msr)
3. run it with ./read_msr
You get this help screen
For the functions --cpuinfo, --availfids and --readmsr you will ned to run the script as rood or with sudo (the tool will also tell you that ).
Code: Select all
MSRTOOL V0.2pre2 started... MSRTOOL V 0.2pre2 This Tool belongs to www.linux-phc.org and is licensed under GPL Usage: ./read_msr.py <function> <[arguments]> Functions may be: --cpuinfo : print information about available CPUs --availfids : print out all available fids [needs phc-intel >= 0.4] --readmsr : print out some interesting register values --fsb :read FSB and CPU Bus Clock rate --help : print out this help
The function --readmsr does what read_msr V 0.1 did.
The function --fsb will read an index from MSR that points to a Value in a table displaying both, FSB and CPU Bus Clock rate.
The tool will try to load the module "msr" (if not already loaded).
If you run the tool with --readmsr you will see something like this (for each CPU):
Code: Select all
MSRTOOL V0.2pre-2 started... [cpu0] [CURRENT] FID:9 HID:0 DID:0 VID:25 [cpu0] [TARGET] FID:6 HID:1 DID:0 VID:15 [cpu0] [HIGHEST] FID:9 HID:0 DID:0 VID:25 [cpu0] [LOWEST] FID:6 HID:0 DID:0 VID:23 [cpu0] [SLFM] FID:6 VID:15 [cpu0] [IDA] FID:9 VID:34 [cpu0] [CURRENTLY ACTIVE FEATURES] IDA:0 EIST:1 [cpu1] [CURRENT] FID:9 HID:0 DID:0 VID:25 [cpu1] [TARGET] FID:9 HID:0 DID:1 VID:34 [cpu1] [HIGHEST] FID:9 HID:0 DID:0 VID:25 [cpu1] [LOWEST] FID:6 HID:0 DID:0 VID:23 [cpu1] [SLFM] FID:6 HID:0 DID:0 VID:15 [cpu1] [IDA] FID:9 HID:0 DID:1 VID:34 [cpu1] [CURRENTLY ACTIVE FEATURES] IDA:0 EIST:1
Current VID/FID/DID/HID are the values that are currently used.
Target VID/VID/DID/HID are the values the system is trying to reach (e.g. if you just set up new FID/VID pairs)
Highest and Lowest VID/FID/DID/HID are the highest and lowest values your CPU will accept.
The values for SLFM and IDA are for the CPUs that support one or both features.
"Currently Active Features" display some bits within the register that are identified as SLFM and IDA.
It seems to display if a feature is enabled on this CPU. Do not bother id IDA is "0". We think it is only set high during IDA-mode.
Download read_msr 0.2pre3 Download read_msr 0.1 if you can not use 0.2: