charlesarcher / i7z

Automatically exported from code.google.com/p/i7z
GNU General Public License v2.0
0 stars 0 forks source link

Incorrect Multiplier detected #57

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Step 1. What steps will reproduce the problem?
Hello, I have multiple overclocked boxes and I am using your tool to detect the 
speed under linux. I am having a problem with one of them, where i7z seems to 
be reporting an incorrect value. I believe this is a new "batch" of cpus?

Thank you a lot

i7z reports a speed of 3500MHz with multiplier 35
Bios and Windows reports a speed of 5100MHz and multiplier of 51

============OUTPUT==============
Cpu speed from cpuinfo 3500.00Mhz                                               

cpuinfo might be wrong if cpufreq is enabled. To guess correctly try estimating 
via tsc                                                                         

Linux's inbuilt cpu_khz code emulated now                                       

True Frequency (without accounting Turbo) 3499 MHz                              

  CPU Multiplier 35x || Bus clock frequency (BCLK) 99.97 MHz                                                                                                                                                         

Socket [0] - [physical cores=4, logical cores=4, max online cores ever=4]       

  TURBO ENABLED on 4 Cores, Hyper Threading OFF                                                                                                                                                                      
  True Frequency 3598.97 MHz (99.97 x [36])                                                                                                                                                                          
  Max TURBO Multiplier (if Enabled) with 1/2/3/4 Cores is  59x/59x/59x/59x                                                                                                                                           
  Current Frequency 3501.50 MHz [99.97 x 35.03] (Max of below)                                                                                                                                                       
        Core [core-id]  :Actual Freq (Mult.)      C0%   Halt(C1)%  C3 %   C6 %   C7 %  Temp                                                                                                                          
        Core 1 [0]:       3500.11 (35.01x)      1.29    98.7       0       0       0    43                                                                                                                           
        Core 2 [1]:       3501.50 (35.03x)         1    99.6       0       0       0    47                                                                                                                           
        Core 3 [2]:       3500.00 (35.01x)       100       0       0       0       0    55                                                                                                                           
        Core 4 [3]:       3500.00 (35.01x)       100       0       0       0       0    54                                                                                                                           

C0 = Processor running without halting                                          

C1 = Processor running with halts (States >C0 are power saver)                  

C3 = Cores running with PLL turned off and core cache turned off                

C6 = Everything in C3 + core state saved to last level cache                    

  Above values in table are in percentage over the last 1 sec                                                                                                                                                        
[core-id] refers to core-id number in /proc/cpuinfo                             

'Garbage Values' message printed when garbage values are read                   

  Ctrl+C to exit                                                                                                                                                                                                     

===============================================================                 

Step 2. What version of the product are you using (the download version or
the svn
version and which one)?

Latest compiled one from the website

Step 3. If this is an enhancement or suggestion, skip this step (except if
its related to a particular OS or architecture). On what operating system?
BTW is it a 32-bit or a 64-bit OS/Kernel?

Linux  2.6.32-71.29.1.el6.x86_64 #1 SMP Mon Jun 27 19:49:27 BST 2011 x86_64 
x86_64 x86_64 GNU/Linux CENTOS 6

Step 4. Do provide information if bug/enhancement is related to a
particular OS/Processor. Please provide any additional information below
(helpful will be platform
information like number and types of cpus, motherboard and a copy of
/proc/cpuinfo)

1 x Intel(R) Core(TM) i7-2700K 

Base Board Information
        Manufacturer: ASUSTeK Computer INC.
        Product Name: Maximus IV Extreme
        Version: Rev 1.xx

Step 5. If the program crashes. Can you also paste the
output of ls -lt /dev/cpu/*/msr?

ls -lt /dev/cpu/*/msr
crw-rw-rw- 1 root root 202, 0 Jul  5 14:18 /dev/cpu/0/msr
crw-rw-rw- 1 root root 202, 1 Jul  5 14:18 /dev/cpu/1/msr
crw-rw-rw- 1 root root 202, 2 Jul  5 14:18 /dev/cpu/2/msr
crw-rw-rw- 1 root root 202, 3 Jul  5 14:18 /dev/cpu/3/msr

Step 6. If the program crashed OR if this is for a new i7 chip. Can you
also run the following commands? They read various registers
and if those registers cannot be read the tool fails ungracefully. You will
have to sudo
each commmand and probably also do sudo modprobe msr (before running the
programs)

rdmsr 1021
0
rdmsr 0x19c
88370000
rdmsr 0x1a2
621200
rdmsr 0x38d
333
rdmsr 778
1f826cce86
rdmsr 779
1f827cd822
rdmsr 1020
0
rdmsr 1021
0

Original issue reported on code.google.com by alessand...@gmail.com on 5 Jul 2012 at 1:47

GoogleCodeExporter commented 9 years ago
Hi

can it be the case that cpufreq is interrupting in some manner, try out other 
profiles and see?

another suspect is the kernel. some old ones < 2.6.38 don't engage turboboost 
correctly, but then if your other machines are also running the same kernel, we 
can rule out the kernel.

btw if you run a stress benchmark on this machine and compare it to a different 
machine do you get similar values?

also can you also check if turbostat is giving the same values

http://stuff.mit.edu/afs/sipb/contrib/linux/tools/power/x86/turbostat/turbostat.
c
then 

gcc turbostat.c 
sudo ./a.out

thanks

Original comment by abhirana on 5 Jul 2012 at 6:48

GoogleCodeExporter commented 9 years ago
cpufreq is not installed

Output of turbostat is consistent with yours

core CPU   %c0   GHz  TSC   %c1    %c3    %c6    %c7   %pc2   %pc3   %pc6   
%pc7 
          70.67 3.50 3.50  29.33   0.00   0.00   0.00   0.00   0.00   0.00   0.00
   0   0  82.48 3.50 3.50  17.52   0.00   0.00   0.00   0.00   0.00   0.00   0.00
   1   1   0.21 3.50 3.50  99.79   0.00   0.00   0.00   0.00   0.00   0.00   0.00
   2   2 100.00 3.50 3.50   0.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00
   3   3 100.00 3.50 3.50   0.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00

:(

Will see if I have another kernel but it seem weird to me that it could be a 
kernel problem. It's the same that is installed on all the other boxes!

Regards

Original comment by alessand...@gmail.com on 6 Jul 2012 at 9:14

GoogleCodeExporter commented 9 years ago
hi alessandro

sorry for my late reply.

you might have already solved the issue, but if you still have the issue one 
solution might be to instal cpufreq and maybe with the performance/ondemand 
governor? 
http://forums-web1.gentoo.org/viewtopic-t-898440.html?sid=82d38d7f897f579421f430
5f562c4c38

Original comment by abhirana on 13 Jul 2012 at 7:48

GoogleCodeExporter commented 9 years ago
Hey, don't worry for the delay! 
Will try this and let you know.

Regards
Alessandro

Original comment by alessand...@gmail.com on 13 Jul 2012 at 3:35