Difference between revisions of "HFT:Check the current CPU Speed"

From Define Wiki
Jump to navigation Jump to search
(Created page with "== Check the current speed of the CPU == The speed of the cpu in /proc/cpuinfo will report the default speed of the CPU. If the speed of the CPU has been changed in anyway ...")
(No difference)

Revision as of 12:22, 30 January 2014

Check the current speed of the CPU

The speed of the cpu in /proc/cpuinfo will report the default speed of the CPU. If the speed of the CPU has been changed in anyway it may not be accurate. This includes overclocking on the HFT systems

Get the current CPU speed

Install the package from yum:

yum install cpupowerutils


Use turbostat to get the current speed. This is shown in the GHz column.

[root@hft1 ~]# turbostat
pk cor CPU    %c0  GHz  TSC SMI    %c1    %c3    %c6    %c7 CTMP PTMP   %pc2   %pc3   %pc6   %pc7  Pkg_W  Cor_W RAM_W PKG_% RAM_%
           100.00 3.75 3.54   0   0.00   0.00   0.00   0.00   73   73   0.00   0.00   0.00   0.00 203.02 173.64  0.00  0.00  0.00
 0   1   0 100.00 3.75 3.54   0   0.00   0.00   0.00   0.00   66   73   0.00   0.00   0.00   0.00 100.86  86.27  0.00  0.00  0.00
 0   2   1 100.00 3.75 3.54   0   0.00   0.00   0.00   0.00   68
 0   3   2 100.00 3.75 3.54   0   0.00   0.00   0.00   0.00   71