Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory Controller data not available on Intel Core i7-4650U + other Haswell models #160

Closed
olejon opened this issue Jan 15, 2020 · 16 comments

Comments

@olejon
Copy link

olejon commented Jan 15, 2020

Problem

  • The Memory Controller window is greyed out in the CLI
  • Running corefreq-cli -M gives no output
  • This also affects my Intel NUC with a Haswell CPU (Intel Core i3-4010U)
  • Both are both "Mobile" & "Ultra Low TDP" if that matters, vs other Haswells
  • Same problem on Fedora 31 and Ubuntu 18.04 HWE stack
  • Verbose output from various commands is listed below as hopefully helpful data, separated by horizontal lines

Output from various commands from the i7-4650U

# corefreq-cli -B -k -u -M

[ 0] Apple Inc.                                                                 
[ 1] 118.0.0.0.0                                                                
[ 2] 08/06/2019                                                                 
[ 3] Apple Inc.                                                                 
[ 4] MacBookAir6,2                                                              
[ 5] 1.0                                                                        
[ 6] C---5---F---                                                               
[ 7] System SKU#                                                                
[ 8] MacBook Air                                                                
[ 9] Mac-7DF21CB3ED6977E5                                                       
[10] MacBookAir6,2                                                              
[11] C---3---7---H---Z                                                          
Linux:                                                                          
|- Release                                               [5.4.8-200.fc31.x86_64]
|- Version                                  [#1 SMP Mon Jan 6 16:44:18 UTC 2020]
|- Machine                                                              [x86_64]
Memory:                                                                         
|- Total RAM                                                          8086020 KB
|- Shared RAM                                                          172272 KB
|- Free RAM                                                           5837440 KB
|- Buffer RAM                                                           43028 KB
|- Total High                                                               0 KB
|- Free High                                                                0 KB
CPU-Freq driver                                               [    intel_pstate]
Governor                                                      [         Missing]
CPU-Idle driver                                               [      intel_idle]
|- Idle Limit                                                 [             C10]
   |- State       POLL      C1     C1E      C3      C6     C7s      C8      C9  
   |-          CPUIDLE MWAIT 0 MWAIT 0 MWAIT 0 MWAIT 0 MWAIT 0 MWAIT 0 MWAIT 0 M
   |- Power         -1       0       0       0       0       0       0       0  
   |- Latency        0       2      10      33     133     166     300     600  
   |- Residency      0       2      20     100     400     500     900    1800  
CPU #0   function         EAX          EBX          ECX          EDX            
|- 00000000:00000000    0000000d     756e6547     6c65746e     49656e69         
   |- Largest Standard Function=0000000d                                        
|- 80000000:00000000    80000008     00000000     00000000     00000000         
   |- Largest Extended Function=80000008                                        
|- 00000001:00000000    00040651     00100800     7ffafbff     bfebfbff         
|- 00000002:00000000    76036301     00f0b5ff     00000000     00c10000         
|- 00000003:00000000    00000000     00000000     00000000     00000000         
|- 00000004:00000000    1c004121     01c0003f     0000003f     00000000         
|- 00000004:00000001    1c004122     01c0003f     0000003f     00000000         
|- 00000004:00000002    1c004143     01c0003f     000001ff     00000000         
|- 00000004:00000003    1c03c163     03c0003f     00000fff     00000006         
|- 00000005:00000000    00000040     00000040     00000003     11142120         
|- 00000006:00000000    00000077     00000002     00000009     00000000         
|- 00000007:00000000    00000000     000027ab     00000000     9c000400         
|- 00000009:00000000    00000000     00000000     00000000     00000000         
|- 0000000a:00000000    07300403     00000000     00000000     00000603         
|- 0000000b:00000000    00000001     00000002     00000100     00000000         
|- 0000000d:00000000    00000007     00000340     00000340     00000000         
|- 0000000d:00000001    00000001     00000000     00000000     00000000         
|- 0000000d:00000002    00000100     00000240     00000000     00000000         
|- 0000000d:00000003    00000000     00000000     00000000     00000000         
|- 0000000d:00000004    00000000     00000000     00000000     00000000         
|- 0000000d:0000003e    00000000     00000000     00000000     00000000         
|- 0000000f:00000000    00000007     00000340     00000340     00000000         
|- 0000000f:00000001    00000001     00000000     00000000     00000000         
|- 00000010:00000000    00000007     00000340     00000340     00000000         
|- 00000010:00000001    00000001     00000000     00000000     00000000         
|- 00000010:00000002    00000100     00000240     00000000     00000000         
|- 00000010:00000003    00000000     00000000     00000000     00000000         
|- 00000012:00000000    00000007     00000340     00000340     00000000         
|- 00000012:00000001    00000001     00000000     00000000     00000000         
|- 00000012:00000002    00000100     00000240     00000000     00000000         
|- 00000014:00000000    00000007     00000340     00000340     00000000         
|- 00000014:00000001    00000001     00000000     00000000     00000000         
|- 00000015:00000000    00000007     00000340     00000340     00000000         
|- 00000016:00000000    00000007     00000340     00000340     00000000         
|- 00000017:00000000    00000007     00000340     00000340     00000000         
|- 00000017:00000001    00000001     00000000     00000000     00000000         
|- 00000017:00000002    00000100     00000240     00000000     00000000         
|- 00000017:00000003    00000000     00000000     00000000     00000000         
|- 80000001:00000000    00000000     00000000     00000021     2c100800         
|- 80000002:00000000    65746e49     2952286c     726f4320     4d542865         
|- 80000003:00000000    37692029     3536342d     43205530     40205550         
|- 80000004:00000000    372e3120     7a484730     00000000     00000000         
|- 80000005:00000000    00000000     00000000     00000000     00000000         
|- 80000006:00000000    00000000     00000000     01006040     00000000         
|- 80000007:00000000    00000000     00000000     00000000     00000100         
|- 80000008:00000000    00003027     00000000     00000000     00000000         
|- 8000000a:00000000    00000007     00000340     00000340     00000000         
|- 80000019:00000000    00000007     00000340     00000340     00000000         
|- 8000001a:00000000    00000007     00000340     00000340     00000000         
|- 8000001b:00000000    00000007     00000340     00000340     00000000         
|- 8000001c:00000000    00000007     00000340     00000340     00000000         
|- 8000001d:00000000    00000007     00000340     00000340     00000000         
|- 8000001d:00000001    00000001     00000000     00000000     00000000         
|- 8000001d:00000002    00000100     00000240     00000000     00000000         
|- 8000001d:00000003    00000000     00000000     00000000     00000000         
|- 8000001e:00000000    00000007     00000340     00000340     00000000         
|- 40000000:00000000    00000007     00000340     00000340     00000000         
|- 40000001:00000000    00000007     00000340     00000340     00000000         
|- 40000002:00000000    00000007     00000340     00000340     00000000         
|- 40000003:00000000    00000007     00000340     00000340     00000000         
|- 40000004:00000000    00000007     00000340     00000340     00000000         
|- 40000005:00000000    00000007     00000340     00000340     00000000         
|- 40000006:00000000    00000007     00000340     00000340     00000000         
CPU #1   function         EAX          EBX          ECX          EDX            
|- 00000000:00000000    0000000d     756e6547     6c65746e     49656e69         
   |- Largest Standard Function=0000000d                                        
|- 80000000:00000000    80000008     00000000     00000000     00000000         
   |- Largest Extended Function=80000008                                        
|- 00000001:00000000    00040651     02100800     7ffafbff     bfebfbff         
|- 00000002:00000000    76036301     00f0b5ff     00000000     00c10000         
|- 00000003:00000000    00000000     00000000     00000000     00000000         
|- 00000004:00000000    1c004121     01c0003f     0000003f     00000000         
|- 00000004:00000001    1c004122     01c0003f     0000003f     00000000         
|- 00000004:00000002    1c004143     01c0003f     000001ff     00000000         
|- 00000004:00000003    1c03c163     03c0003f     00000fff     00000006         
|- 00000005:00000000    00000040     00000040     00000003     11142120         
|- 00000006:00000000    00000077     00000002     00000009     00000000         
|- 00000007:00000000    00000000     000027ab     00000000     9c000400         
|- 00000009:00000000    00000000     00000000     00000000     00000000         
|- 0000000a:00000000    07300403     00000000     00000000     00000603         
|- 0000000b:00000000    00000001     00000002     00000100     00000002         
|- 0000000d:00000000    00000007     00000340     00000340     00000000         
|- 0000000d:00000001    00000001     00000000     00000000     00000000         
|- 0000000d:00000002    00000100     00000240     00000000     00000000         
|- 0000000d:00000003    00000000     00000000     00000000     00000000         
|- 0000000d:00000004    00000000     00000000     00000000     00000000         
|- 0000000d:0000003e    00000000     00000000     00000000     00000000         
|- 0000000f:00000000    00000007     00000340     00000340     00000000         
|- 0000000f:00000001    00000001     00000000     00000000     00000000         
|- 00000010:00000000    00000007     00000340     00000340     00000000         
|- 00000010:00000001    00000001     00000000     00000000     00000000         
|- 00000010:00000002    00000100     00000240     00000000     00000000         
|- 00000010:00000003    00000000     00000000     00000000     00000000         
|- 00000012:00000000    00000007     00000340     00000340     00000000         
|- 00000012:00000001    00000001     00000000     00000000     00000000         
|- 00000012:00000002    00000100     00000240     00000000     00000000         
|- 00000014:00000000    00000007     00000340     00000340     00000000         
|- 00000014:00000001    00000001     00000000     00000000     00000000         
|- 00000015:00000000    00000007     00000340     00000340     00000000         
|- 00000016:00000000    00000007     00000340     00000340     00000000         
|- 00000017:00000000    00000007     00000340     00000340     00000000         
|- 00000017:00000001    00000001     00000000     00000000     00000000         
|- 00000017:00000002    00000100     00000240     00000000     00000000         
|- 00000017:00000003    00000000     00000000     00000000     00000000         
|- 80000001:00000000    00000000     00000000     00000021     2c100800         
|- 80000002:00000000    65746e49     2952286c     726f4320     4d542865         
|- 80000003:00000000    37692029     3536342d     43205530     40205550         
|- 80000004:00000000    372e3120     7a484730     00000000     00000000         
|- 80000005:00000000    00000000     00000000     00000000     00000000         
|- 80000006:00000000    00000000     00000000     01006040     00000000         
|- 80000007:00000000    00000000     00000000     00000000     00000100         
|- 80000008:00000000    00003027     00000000     00000000     00000000         
|- 8000000a:00000000    00000007     00000340     00000340     00000000         
|- 80000019:00000000    00000007     00000340     00000340     00000000         
|- 8000001a:00000000    00000007     00000340     00000340     00000000         
|- 8000001b:00000000    00000007     00000340     00000340     00000000         
|- 8000001c:00000000    00000007     00000340     00000340     00000000         
|- 8000001d:00000000    00000007     00000340     00000340     00000000         
|- 8000001d:00000001    00000001     00000000     00000000     00000000         
|- 8000001d:00000002    00000100     00000240     00000000     00000000         
|- 8000001d:00000003    00000000     00000000     00000000     00000000         
|- 8000001e:00000000    00000007     00000340     00000340     00000000         
|- 40000000:00000000    00000007     00000340     00000340     00000000         
|- 40000001:00000000    00000007     00000340     00000340     00000000         
|- 40000002:00000000    00000007     00000340     00000340     00000000         
|- 40000003:00000000    00000007     00000340     00000340     00000000         
|- 40000004:00000000    00000007     00000340     00000340     00000000         
|- 40000005:00000000    00000007     00000340     00000340     00000000         
|- 40000006:00000000    00000007     00000340     00000340     00000000         
CPU #2   function         EAX          EBX          ECX          EDX            
|- 00000000:00000000    0000000d     756e6547     6c65746e     49656e69         
   |- Largest Standard Function=0000000d                                        
|- 80000000:00000000    80000008     00000000     00000000     00000000         
   |- Largest Extended Function=80000008                                        
|- 00000001:00000000    00040651     01100800     7ffafbff     bfebfbff         
|- 00000002:00000000    76036301     00f0b5ff     00000000     00c10000         
|- 00000003:00000000    00000000     00000000     00000000     00000000         
|- 00000004:00000000    1c004121     01c0003f     0000003f     00000000         
|- 00000004:00000001    1c004122     01c0003f     0000003f     00000000         
|- 00000004:00000002    1c004143     01c0003f     000001ff     00000000         
|- 00000004:00000003    1c03c163     03c0003f     00000fff     00000006         
|- 00000005:00000000    00000040     00000040     00000003     11142120         
|- 00000006:00000000    00000077     00000002     00000009     00000000         
|- 00000007:00000000    00000000     000027ab     00000000     9c000400         
|- 00000009:00000000    00000000     00000000     00000000     00000000         
|- 0000000a:00000000    07300403     00000000     00000000     00000603         
|- 0000000b:00000000    00000001     00000002     00000100     00000001         
|- 0000000d:00000000    00000007     00000340     00000340     00000000         
|- 0000000d:00000001    00000001     00000000     00000000     00000000         
|- 0000000d:00000002    00000100     00000240     00000000     00000000         
|- 0000000d:00000003    00000000     00000000     00000000     00000000         
|- 0000000d:00000004    00000000     00000000     00000000     00000000         
|- 0000000d:0000003e    00000000     00000000     00000000     00000000         
|- 0000000f:00000000    00000007     00000340     00000340     00000000         
|- 0000000f:00000001    00000001     00000000     00000000     00000000         
|- 00000010:00000000    00000007     00000340     00000340     00000000         
|- 00000010:00000001    00000001     00000000     00000000     00000000         
|- 00000010:00000002    00000100     00000240     00000000     00000000         
|- 00000010:00000003    00000000     00000000     00000000     00000000         
|- 00000012:00000000    00000007     00000340     00000340     00000000         
|- 00000012:00000001    00000001     00000000     00000000     00000000         
|- 00000012:00000002    00000100     00000240     00000000     00000000         
|- 00000014:00000000    00000007     00000340     00000340     00000000         
|- 00000014:00000001    00000001     00000000     00000000     00000000         
|- 00000015:00000000    00000007     00000340     00000340     00000000         
|- 00000016:00000000    00000007     00000340     00000340     00000000         
|- 00000017:00000000    00000007     00000340     00000340     00000000         
|- 00000017:00000001    00000001     00000000     00000000     00000000         
|- 00000017:00000002    00000100     00000240     00000000     00000000         
|- 00000017:00000003    00000000     00000000     00000000     00000000         
|- 80000001:00000000    00000000     00000000     00000021     2c100800         
|- 80000002:00000000    65746e49     2952286c     726f4320     4d542865         
|- 80000003:00000000    37692029     3536342d     43205530     40205550         
|- 80000004:00000000    372e3120     7a484730     00000000     00000000         
|- 80000005:00000000    00000000     00000000     00000000     00000000         
|- 80000006:00000000    00000000     00000000     01006040     00000000         
|- 80000007:00000000    00000000     00000000     00000000     00000100         
|- 80000008:00000000    00003027     00000000     00000000     00000000         
|- 8000000a:00000000    00000007     00000340     00000340     00000000         
|- 80000019:00000000    00000007     00000340     00000340     00000000         
|- 8000001a:00000000    00000007     00000340     00000340     00000000         
|- 8000001b:00000000    00000007     00000340     00000340     00000000         
|- 8000001c:00000000    00000007     00000340     00000340     00000000         
|- 8000001d:00000000    00000007     00000340     00000340     00000000         
|- 8000001d:00000001    00000001     00000000     00000000     00000000         
|- 8000001d:00000002    00000100     00000240     00000000     00000000         
|- 8000001d:00000003    00000000     00000000     00000000     00000000         
|- 8000001e:00000000    00000007     00000340     00000340     00000000         
|- 40000000:00000000    00000007     00000340     00000340     00000000         
|- 40000001:00000000    00000007     00000340     00000340     00000000         
|- 40000002:00000000    00000007     00000340     00000340     00000000         
|- 40000003:00000000    00000007     00000340     00000340     00000000         
|- 40000004:00000000    00000007     00000340     00000340     00000000         
|- 40000005:00000000    00000007     00000340     00000340     00000000         
|- 40000006:00000000    00000007     00000340     00000340     00000000         
CPU #3   function         EAX          EBX          ECX          EDX            
|- 00000000:00000000    0000000d     756e6547     6c65746e     49656e69         
   |- Largest Standard Function=0000000d                                        
|- 80000000:00000000    80000008     00000000     00000000     00000000         
   |- Largest Extended Function=80000008                                        
|- 00000001:00000000    00040651     03100800     7ffafbff     bfebfbff         
|- 00000002:00000000    76036301     00f0b5ff     00000000     00c10000         
|- 00000003:00000000    00000000     00000000     00000000     00000000         
|- 00000004:00000000    1c004121     01c0003f     0000003f     00000000         
|- 00000004:00000001    1c004122     01c0003f     0000003f     00000000         
|- 00000004:00000002    1c004143     01c0003f     000001ff     00000000         
|- 00000004:00000003    1c03c163     03c0003f     00000fff     00000006         
|- 00000005:00000000    00000040     00000040     00000003     11142120         
|- 00000006:00000000    00000077     00000002     00000009     00000000         
|- 00000007:00000000    00000000     000027ab     00000000     9c000400         
|- 00000009:00000000    00000000     00000000     00000000     00000000         
|- 0000000a:00000000    07300403     00000000     00000000     00000603         
|- 0000000b:00000000    00000001     00000002     00000100     00000003         
|- 0000000d:00000000    00000007     00000340     00000340     00000000         
|- 0000000d:00000001    00000001     00000000     00000000     00000000         
|- 0000000d:00000002    00000100     00000240     00000000     00000000         
|- 0000000d:00000003    00000000     00000000     00000000     00000000         
|- 0000000d:00000004    00000000     00000000     00000000     00000000         
|- 0000000d:0000003e    00000000     00000000     00000000     00000000         
|- 0000000f:00000000    00000007     00000340     00000340     00000000         
|- 0000000f:00000001    00000001     00000000     00000000     00000000         
|- 00000010:00000000    00000007     00000340     00000340     00000000         
|- 00000010:00000001    00000001     00000000     00000000     00000000         
|- 00000010:00000002    00000100     00000240     00000000     00000000         
|- 00000010:00000003    00000000     00000000     00000000     00000000         
|- 00000012:00000000    00000007     00000340     00000340     00000000         
|- 00000012:00000001    00000001     00000000     00000000     00000000         
|- 00000012:00000002    00000100     00000240     00000000     00000000         
|- 00000014:00000000    00000007     00000340     00000340     00000000         
|- 00000014:00000001    00000001     00000000     00000000     00000000         
|- 00000015:00000000    00000007     00000340     00000340     00000000         
|- 00000016:00000000    00000007     00000340     00000340     00000000         
|- 00000017:00000000    00000007     00000340     00000340     00000000         
|- 00000017:00000001    00000001     00000000     00000000     00000000         
|- 00000017:00000002    00000100     00000240     00000000     00000000         
|- 00000017:00000003    00000000     00000000     00000000     00000000         
|- 80000001:00000000    00000000     00000000     00000021     2c100800         
|- 80000002:00000000    65746e49     2952286c     726f4320     4d542865         
|- 80000003:00000000    37692029     3536342d     43205530     40205550         
|- 80000004:00000000    372e3120     7a484730     00000000     00000000         
|- 80000005:00000000    00000000     00000000     00000000     00000000         
|- 80000006:00000000    00000000     00000000     01006040     00000000         
|- 80000007:00000000    00000000     00000000     00000000     00000100         
|- 80000008:00000000    00003027     00000000     00000000     00000000         
|- 8000000a:00000000    00000007     00000340     00000340     00000000         
|- 80000019:00000000    00000007     00000340     00000340     00000000         
|- 8000001a:00000000    00000007     00000340     00000340     00000000         
|- 8000001b:00000000    00000007     00000340     00000340     00000000         
|- 8000001c:00000000    00000007     00000340     00000340     00000000         
|- 8000001d:00000000    00000007     00000340     00000340     00000000         
|- 8000001d:00000001    00000001     00000000     00000000     00000000         
|- 8000001d:00000002    00000100     00000240     00000000     00000000         
|- 8000001d:00000003    00000000     00000000     00000000     00000000         
|- 8000001e:00000000    00000007     00000340     00000340     00000000         
|- 40000000:00000000    00000007     00000340     00000340     00000000         
|- 40000001:00000000    00000007     00000340     00000340     00000000         
|- 40000002:00000000    00000007     00000340     00000340     00000000         
|- 40000003:00000000    00000007     00000340     00000340     00000000         
|- 40000004:00000000    00000007     00000340     00000340     00000000         
|- 40000005:00000000    00000007     00000340     00000340     00000000         
|- 40000006:00000000    00000007     00000340     00000340     00000000         
                         GenuineIntel  [   0]                         

# turbostat

turbostat version 19.08.31 - Len Brown <lenb@kernel.org>
CPUID(0): GenuineIntel 0xd CPUID levels; 0x80000008 xlevels; family:model:stepping 0x6:45:1 (6:69:1)
CPUID(1): SSE3 MONITOR SMX EIST TM2 TSC MSR ACPI-TM HT TM
CPUID(6): APERF, TURBO, DTS, PTM, No-HWP, No-HWPnotify, No-HWPwindow, No-HWPepp, No-HWPpkg, EPB
cpu3: MSR_IA32_MISC_ENABLE: 0x00850089 (TCC EIST MWAIT PREFETCH TURBO)
CPUID(7): No-SGX
cpu3: MSR_MISC_PWR_MGMT: 0x00400000 (ENable-EIST_Coordination DISable-EPB DISable-OOB)
RAPL: 17476 sec. Joule Counter Range, at 15 Watts
cpu3: MSR_PLATFORM_INFO: 0x8083df3011700
8 * 100.0 = 800.0 MHz max efficiency frequency
23 * 100.0 = 2300.0 MHz base frequency
cpu3: MSR_IA32_POWER_CTL: 0x0004005d (C1E auto-promotion: DISabled)
cpu3: MSR_TURBO_RATIO_LIMIT: 0x1d1d1d21
29 * 100.0 = 2900.0 MHz max turbo 4 active cores
29 * 100.0 = 2900.0 MHz max turbo 3 active cores
29 * 100.0 = 2900.0 MHz max turbo 2 active cores
33 * 100.0 = 3300.0 MHz max turbo 1 active cores
cpu3: MSR_CONFIG_TDP_NOMINAL: 0x00000011 (base_ratio=17)
cpu3: MSR_CONFIG_TDP_LEVEL_1: 0x0008005c (PKG_MIN_PWR_LVL1=0 PKG_MAX_PWR_LVL1=0 LVL1_RATIO=8 PKG_TDP_LVL1=92)
cpu3: MSR_CONFIG_TDP_LEVEL_2: 0x001700c8 (PKG_MIN_PWR_LVL2=0 PKG_MAX_PWR_LVL2=0 LVL2_RATIO=23 PKG_TDP_LVL2=200)
cpu3: MSR_CONFIG_TDP_CONTROL: 0x00000000 ( lock=0)
cpu3: MSR_TURBO_ACTIVATION_RATIO: 0x00000000 (MAX_NON_TURBO_RATIO=0 lock=0)
cpu3: MSR_PKG_CST_CONFIG_CONTROL: 0x00000408 (UNlocked, pkg-cstate-limit=8 (unlimited))
cpu3: POLL: CPUIDLE CORE POLL IDLE
cpu3: C1: MWAIT 0x00
cpu3: C1E: MWAIT 0x01
cpu3: C3: MWAIT 0x10
cpu3: C6: MWAIT 0x20
cpu3: C7s: MWAIT 0x32
cpu3: C8: MWAIT 0x40
cpu3: C9: MWAIT 0x50
cpu3: C10: MWAIT 0x60
cpu3: cpufreq driver: intel_pstate
cpu3: cpufreq governor: powersave
cpufreq intel_pstate no_turbo: 0
cpu3: MSR_MISC_FEATURE_CONTROL: 0x00000000 (L2-Prefetch L2-Prefetch-pair L1-Prefetch L1-IP-Prefetch)
cpu0: MSR_IA32_ENERGY_PERF_BIAS: 0x00000006 (balanced)
cpu0: MSR_CORE_PERF_LIMIT_REASONS, 0x1d220000 (Active: ) (Logged: MultiCoreTurbo, PkgPwrL2, PkgPwrL1, Amps, Auto-HWP, ThermStatus, )
cpu0: MSR_GFX_PERF_LIMIT_REASONS, 0x11000000 (Active: ) (Logged: Amps, )
cpu0: MSR_RING_PERF_LIMIT_REASONS, 0x0d000000 (Active: ) (Logged: Amps, PkgPwrL1, PkgPwrL2, )
cpu0: MSR_RAPL_POWER_UNIT: 0x000a0e03 (0.125000 Watts, 0.000061 Joules, 0.000977 sec.)
cpu0: MSR_PKG_POWER_INFO: 0x00000078 (15 W TDP, RAPL 0 - 0 W, 0.000000 sec.)
cpu0: MSR_PKG_POWER_LIMIT: 0x4283e800dd8320 (UNlocked)
cpu0: PKG Limit #1: ENabled (100.000000 Watts, 28.000000 sec, clamp ENabled)
cpu0: PKG Limit #2: ENabled (125.000000 Watts, 0.002441* sec, clamp DISabled)
cpu0: MSR_PP0_POLICY: 0
cpu0: MSR_PP0_POWER_LIMIT: 0x00000000 (UNlocked)
cpu0: Cores Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp DISabled)
cpu0: MSR_PP1_POLICY: 0
cpu0: MSR_PP1_POWER_LIMIT: 0x00000000 (UNlocked)
cpu0: GFX Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp DISabled)
cpu0: MSR_IA32_TEMPERATURE_TARGET: 0x00640000 (100 C)
cpu0: MSR_IA32_PACKAGE_THERM_STATUS: 0x88300802 (52 C)
cpu0: MSR_IA32_PACKAGE_THERM_INTERRUPT: 0x00000003 (100 C, 100 C)
cpu3: MSR_PKGC3_IRTL: 0x00008842 (valid, 67584 ns)
cpu3: MSR_PKGC6_IRTL: 0x00008873 (valid, 117760 ns)
cpu3: MSR_PKGC7_IRTL: 0x00008891 (valid, 148480 ns)
cpu3: MSR_PKGC8_IRTL: 0x000088e4 (valid, 233472 ns)
cpu3: MSR_PKGC9_IRTL: 0x00008945 (valid, 332800 ns)
cpu3: MSR_PKGC10_IRTL: 0x000089ef (valid, 506880 ns)

# lspci -nn

00:00.0 Host bridge [0600]: Intel Corporation Haswell-ULT DRAM Controller [8086:0a04] (rev 09)
00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a26] (rev 09)
00:03.0 Audio device [0403]: Intel Corporation Haswell-ULT HD Audio Controller [8086:0a0c] (rev 09)
00:14.0 USB controller [0c03]: Intel Corporation 8 Series USB xHCI HC [8086:9c31] (rev 04)
00:15.0 DMA controller [0801]: Intel Corporation 8 Series Low Power Sub-System DMA [8086:9c60] (rev 04)
00:15.4 Serial bus controller [0c80]: Intel Corporation 8 Series SPI Controller #1 [8086:9c66] (rev 04)
00:16.0 Communication controller [0780]: Intel Corporation 8 Series HECI #0 [8086:9c3a] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation 8 Series HD Audio Controller [8086:9c20] (rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 1 [8086:9c10] (rev e4)
00:1c.1 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 2 [8086:9c12] (rev e4)
00:1c.2 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 3 [8086:9c14] (rev e4)
00:1c.4 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 5 [8086:9c18] (rev e4)
00:1c.5 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 6 [8086:9c1a] (rev e4)
00:1f.0 ISA bridge [0601]: Intel Corporation 8 Series LPC Controller [8086:9c43] (rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation 8 Series SMBus Controller [8086:9c22] (rev 04)
02:00.0 Multimedia controller [0480]: Broadcom Inc. and subsidiaries 720p FaceTime HD Camera [14e4:1570]
03:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4360 802.11ac Wireless Network Adapter [14e4:43a0] (rev 03)
04:00.0 SATA controller [0106]: Marvell Technology Group Ltd. 88SS9183 PCIe SSD Controller [1b4b:9183] (rev 14)
05:00.0 PCI bridge [0604]: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] [8086:1547] (rev 03)
06:00.0 PCI bridge [0604]: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] [8086:1547] (rev 03)
06:03.0 PCI bridge [0604]: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] [8086:1547] (rev 03)
06:04.0 PCI bridge [0604]: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] [8086:1547] (rev 03)
06:05.0 PCI bridge [0604]: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] [8086:1547] (rev 03)
06:06.0 PCI bridge [0604]: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] [8086:1547] (rev 03)
07:00.0 System peripheral [0880]: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] [8086:1547] (rev 03)
@olejon olejon changed the title Memory Controller data not available on Intel Core i7-4650U Memory Controller data not available on Intel Core i7-4650U + other Haswell models Jan 15, 2020
@olejon
Copy link
Author

olejon commented Jan 15, 2020

BTW: The Intel NUC (i3-4010U) has almost the exact same DRAM controller (if these numbers matter).

  • MacBook: 8086:0a26
  • Intel NUC: 8086:0a04
lspci -nn

00:00.0 Host bridge [0600]: Intel Corporation Haswell-ULT DRAM Controller [8086:0a04] (rev 09)
...

@cyring
Copy link
Owner

cyring commented Jan 15, 2020

Thanks, I also need the output of corefreq-cli -s for each processor

@olejon
Copy link
Author

olejon commented Jan 16, 2020

Here it is. No point of saying which PC is which, as the output has the model names.


Processor                             [Intel(R) Core(TM) i7-4650U CPU @ 1.70GHz]
|- Architecture                                          [Haswell/Ultra Low TDP]
|- Vendor ID                                                      [GenuineIntel]
|- Microcode                                                        [        37]
|- Signature                                                           [  06_45]
|- Stepping                                                            [      1]
|- Online CPU                                                          [  4/  4]
|- Base Clock                                                          [ 99.995]
|- Frequency            (MHz)                      Ratio                        
                 Min    799.96                    [   8 ]                       
                 Max   2299.88                    [  23 ]                       
|- Factory                                                             [100.000]
                       1700                       [  17 ]                       
|- Performance                                                                  
   |- OSPM                                                                      
                 TGT    799.96                    <   8 >                       
|- Turbo Boost                                                         [ UNLOCK]
                  1C   3299.83                    <  33 >                       
                  2C   2899.85                    <  29 >                       
                  3C   2899.85                    <  29 >                       
                  4C   2899.85                    <  29 >                       
|- Uncore                                                              [   LOCK]
                 Min    799.96                    [   8 ]                       
                 Max   2299.88                    [  23 ]                       
|- TDP                                                           Level [  0:2  ]
   |- Programmable                                                     [ UNLOCK]
   |- Configuration                                                    [ UNLOCK]
   |- Turbo Activation                                                 [ UNLOCK]
             Nominal   1699.91                    [  17 ]                       
              Level1    799.96                    [   8 ]                       
              Level2   2299.88                    [  23 ]                       
                                                                                
Instruction Set Extensions                                                      
|- 3DNow!/Ext [N/N]          ADX [N]          AES [Y]  AVX/AVX2 [Y/Y] 
|- AVX-512      [N]  BMI1/BMI2 [Y/Y]      CLFLUSH [Y]        CMOV [Y] 
|- CMPXCHG8B    [Y]   CMPXCHG16B [Y]         F16C [Y]         FPU [Y] 
|- FXSR         [Y]    LAHF/SAHF [Y]    MMX/Ext [Y/N]  MONITOR/X[Y/N] 
|- MOVBE        [Y]          MPX [N]    PCLMULQDQ [Y]      POPCNT [Y] 
|- RDRAND       [Y]       RDSEED [N]       RDTSCP [Y]         SEP [Y] 
|- SGX          [N]          SSE [Y]         SSE2 [Y]        SSE3 [Y] 
|- SSSE3        [Y]  SSE4.1/4A [Y/N]       SSE4.2 [Y]     SYSCALL [Y] 
                                                                                
Features                                                                        
|- 1 GB Pages Support                                      1GB-PAGES   [Capable]
|- Advanced Configuration & Power Interface                     ACPI   [Capable]
|- Advanced Programmable Interrupt Controller                   APIC   [Capable]
|- Core Multi-Processing                                  CMP Legacy   [Missing]
|- L1 Data Cache Context ID                                  CNXT-ID   [Missing]
|- Direct Cache Access                                           DCA   [Missing]
|- Debugging Extension                                            DE   [Capable]
|- Debug Store & Precise Event Based Sampling               DS, PEBS   [Capable]
|- CPL Qualified Debug Store                                  DS-CPL   [Capable]
|- 64-Bit Debug Store                                         DTES64   [Capable]
|- Fast-String Operation                                Fast-Strings   [Capable]
|- Fused Multiply Add                                     FMA | FMA4   [Capable]
|- Hardware Lock Elision                                         HLE   [Missing]
|- Long Mode 64 bits                                       IA64 | LM   [Capable]
|- LightWeight Profiling                                         LWP   [Missing]
|- Machine-Check Architecture                                    MCA   [Capable]
|- Model Specific Registers                                      MSR   [Capable]
|- Memory Type Range Registers                                  MTRR   [Capable]
|- OS-Enabled Ext. State Management                          OSXSAVE   [Capable]
|- Physical Address Extension                                    PAE   [Capable]
|- Page Attribute Table                                          PAT   [Capable]
|- Pending Break Enable                                          PBE   [Capable]
|- Process Context Identifiers                                  PCID   [Capable]
|- Perfmon and Debug Capability                                 PDCM   [Capable]
|- Page Global Enable                                            PGE   [Capable]
|- Page Size Extension                                           PSE   [Capable]
|- 36-bit Page Size Extension                                  PSE36   [Capable]
|- Processor Serial Number                                       PSN   [Missing]
|- Restricted Transactional Memory                               RTM   [Missing]
|- Safer Mode Extensions                                         SMX   [Capable]
|- Self-Snoop                                                     SS   [Capable]
|- Supervisor-Mode Execution Prevention                         SMEP   [Capable]
|- Time Stamp Counter                                            TSC [Invariant]
|- Time Stamp Counter Deadline                          TSC-DEADLINE   [Capable]
|- Virtual Mode Extension                                        VME   [Capable]
|- Virtual Machine Extensions                                    VMX   [Capable]
|- Extended xAPIC Support                                     x2APIC   [ x2APIC]
|- Execution Disable Bit Support                              XD-Bit   [Capable]
|- XSAVE/XSTOR States                                          XSAVE   [Capable]
|- xTPR Update Control                                          xTPR   [Capable]
Mitigation mechanisms                                                           
|- Indirect Branch Restricted Speculation                       IBRS   [Capable]
|- Indirect Branch Prediction Barrier                           IBPB   [Capable]
|- Single Thread Indirect Branch Predictor                     STIBP   [Capable]
|- Speculative Store Bypass Disable                             SSBD   [Capable]
|- Writeback & invalidate the L1 data cache                L1D-FLUSH   [Capable]
|- Hypervisor - No flush L1D on VM entry            L1DFL_VMENTRY_NO   [Missing]
|- Architectural - Buffer Overwriting                       MD-CLEAR   [Capable]
|- Architectural - Rogue Data Cache Load                     RDCL_NO   [Missing]
|- Architectural - Enhanced IBRS                            IBRS_ALL   [Missing]
|- Architectural - Return Stack Buffer Alternate                RSBA   [Missing]
|- Architectural - Speculative Store Bypass                   SSB_NO   [Missing]
|- Architectural - Microarchitectural Data Sampling           MDS_NO   [Missing]
|- Architectural - TSX Asynchronous Abort                     TAA_NO   [Missing]
|- Architectural - Page Size Change MCE               PSCHANGE_MC_NO   [Missing]
                                                                                
Technologies                                                                    
|- System Management Mode                                   SMM-Dual       [ ON]
|- Hyper-Threading                                               HTT       [ ON]
|- SpeedStep                                                    EIST       < ON>
|- Dynamic Acceleration                                          IDA       [ ON]
|- Turbo Boost                                                 TURBO       < ON>
|- Virtualization                                                VMX       [ ON]
   |- I/O MMU                                                   VT-d       [OFF]
   |- Hypervisor                                                           [OFF]
                                                                                
Performance Monitoring                                                          
|- Version                                                        PM       [  3]
|- Counters:          General                   Fixed                           
|                     4 x 48 bits             3 x 48 bits                       
|- Enhanced Halt State                                           C1E       <OFF>
|- C1 Auto Demotion                                              C1A       <OFF>
|- C3 Auto Demotion                                              C3A       <OFF>
|- C1 UnDemotion                                                 C1U       <OFF>
|- C3 UnDemotion                                                 C3U       <OFF>
|- Frequency ID control                                          FID       [OFF]
|- Voltage ID control                                            VID       [OFF]
|- P-State Hardware Coordination Feedback                MPERF/APERF       [ ON]
|- Hardware-Controlled Performance States                        HWP       [OFF]
|- Hardware Duty Cycling                                         HDC       [OFF]
|- Package C-State                                                              
   |- Configuration Control                                   CONFIG   [ UNLOCK]
   |- Lowest C-State                                           LIMIT   <     10>
   |- I/O MWAIT Redirection                                  IOMWAIT   < Enable>
   |- Max C-State Inclusion                                    RANGE   <      0>
|- MONITOR/MWAIT                                                                
   |- State index:    #0    #1    #2    #3    #4    #5    #6    #7              
   |- Sub C-State:     0     2     1     2     4     1     1     1              
|- Core Cycles                                                         [Capable]
|- Instructions Retired                                                [Capable]
|- Reference Cycles                                                    [Capable]
|- Last Level Cache References                                         [Capable]
|- Last Level Cache Misses                                             [Capable]
|- Branch Instructions Retired                                         [Capable]
|- Branch Mispredicts Retired                                          [Capable]
                                                                                
Power & Thermal                                                                 
|- Clock Modulation                                             ODCM   <Disable>
   |- DutyCycle                                                        [  0.00%]
|- Power Management                                         PWR MGMT   [   LOCK]
   |- Energy Policy                                        Bias Hint   <      6>
   |- Energy Policy                                          HWP EPP   [      0]
|- Junction Temperature                                        TjMax   [  0:100]
|- Digital Thermal Sensor                                        DTS   [Capable]
|- Power Limit Notification                                      PLN   [Capable]
|- Package Thermal Management                                    PTM   [Capable]
|- Thermal Monitor 1                                             TM1   [ Enable]
|- Thermal Monitor 2                                             TM2   [Capable]
|- Thermal Design Power                                          TDP   [     15]
   |- Minimum Power                                              Min   [Missing]
   |- Maximum Power                                              Max   [Missing]
|- Units                                                                        
   |- Power                                               watt   [  0.125000000]
   |- Energy                                             joule   [  0.000061035]
   |- Window                                            second   [  0.000976562]

Processor                             [Intel(R) Core(TM) i3-4010U CPU @ 1.70GHz]
|- Architecture                                          [Haswell/Ultra Low TDP]
|- Vendor ID                                                      [GenuineIntel]
|- Microcode                                                        [        37]
|- Signature                                                           [  06_45]
|- Stepping                                                            [      1]
|- Online CPU                                                          [  4/  4]
|- Base Clock                                                          [ 99.772]
|- Frequency            (MHz)                      Ratio                        
                 Min    798.17                    [   8 ]                       
                 Max   1696.12                    [  17 ]                       
|- Factory                                                             [100.000]
                       1700                       [  17 ]                       
|- Performance                                                                  
   |- OSPM                                                                      
                 TGT    897.94                    <   9 >                       
|- Turbo Boost                                                         [ UNLOCK]
                  1C   1696.12                    <  17 >                       
                  2C   1696.12                    <  17 >                       
                  3C   1696.12                    <  17 >                       
                  4C   1696.12                    <  17 >                       
|- Uncore                                                              [   LOCK]
                 Min    798.17                    [   8 ]                       
                 Max   1696.12                    [  17 ]                       
|- TDP                                                           Level [  0:1  ]
   |- Programmable                                                     [ UNLOCK]
   |- Configuration                                                    [ UNLOCK]
   |- Turbo Activation                                                 [ UNLOCK]
             Nominal   1696.12                    [  17 ]                       
              Level1    798.17                    [   8 ]                       
               Turbo   1596.34                    [  16 ]                       
                                                                                
Instruction Set Extensions                                                      
|- 3DNow!/Ext [N/N]          ADX [N]          AES [Y]  AVX/AVX2 [Y/Y] 
|- AVX-512      [N]  BMI1/BMI2 [Y/Y]      CLFLUSH [Y]        CMOV [Y] 
|- CMPXCHG8B    [Y]   CMPXCHG16B [Y]         F16C [Y]         FPU [Y] 
|- FXSR         [Y]    LAHF/SAHF [Y]    MMX/Ext [Y/N]  MONITOR/X[Y/N] 
|- MOVBE        [Y]          MPX [N]    PCLMULQDQ [Y]      POPCNT [Y] 
|- RDRAND       [Y]       RDSEED [N]       RDTSCP [Y]         SEP [Y] 
|- SGX          [N]          SSE [Y]         SSE2 [Y]        SSE3 [Y] 
|- SSSE3        [Y]  SSE4.1/4A [Y/N]       SSE4.2 [Y]     SYSCALL [Y] 
                                                                                
Features                                                                        
|- 1 GB Pages Support                                      1GB-PAGES   [Capable]
|- Advanced Configuration & Power Interface                     ACPI   [Capable]
|- Advanced Programmable Interrupt Controller                   APIC   [Capable]
|- Core Multi-Processing                                  CMP Legacy   [Missing]
|- L1 Data Cache Context ID                                  CNXT-ID   [Missing]
|- Direct Cache Access                                           DCA   [Missing]
|- Debugging Extension                                            DE   [Capable]
|- Debug Store & Precise Event Based Sampling               DS, PEBS   [Capable]
|- CPL Qualified Debug Store                                  DS-CPL   [Capable]
|- 64-Bit Debug Store                                         DTES64   [Capable]
|- Fast-String Operation                                Fast-Strings   [Capable]
|- Fused Multiply Add                                     FMA | FMA4   [Capable]
|- Hardware Lock Elision                                         HLE   [Missing]
|- Long Mode 64 bits                                       IA64 | LM   [Capable]
|- LightWeight Profiling                                         LWP   [Missing]
|- Machine-Check Architecture                                    MCA   [Capable]
|- Model Specific Registers                                      MSR   [Capable]
|- Memory Type Range Registers                                  MTRR   [Capable]
|- OS-Enabled Ext. State Management                          OSXSAVE   [Capable]
|- Physical Address Extension                                    PAE   [Capable]
|- Page Attribute Table                                          PAT   [Capable]
|- Pending Break Enable                                          PBE   [Capable]
|- Process Context Identifiers                                  PCID   [Capable]
|- Perfmon and Debug Capability                                 PDCM   [Capable]
|- Page Global Enable                                            PGE   [Capable]
|- Page Size Extension                                           PSE   [Capable]
|- 36-bit Page Size Extension                                  PSE36   [Capable]
|- Processor Serial Number                                       PSN   [Missing]
|- Restricted Transactional Memory                               RTM   [Missing]
|- Safer Mode Extensions                                         SMX   [Missing]
|- Self-Snoop                                                     SS   [Capable]
|- Supervisor-Mode Execution Prevention                         SMEP   [Capable]
|- Time Stamp Counter                                            TSC [Invariant]
|- Time Stamp Counter Deadline                          TSC-DEADLINE   [Capable]
|- Virtual Mode Extension                                        VME   [Capable]
|- Virtual Machine Extensions                                    VMX   [Capable]
|- Extended xAPIC Support                                     x2APIC   [ x2APIC]
|- Execution Disable Bit Support                              XD-Bit   [Capable]
|- XSAVE/XSTOR States                                          XSAVE   [Capable]
|- xTPR Update Control                                          xTPR   [Capable]
Mitigation mechanisms                                                           
|- Indirect Branch Restricted Speculation                       IBRS   [Capable]
|- Indirect Branch Prediction Barrier                           IBPB   [Capable]
|- Single Thread Indirect Branch Predictor                     STIBP   [Capable]
|- Speculative Store Bypass Disable                             SSBD   [Capable]
|- Writeback & invalidate the L1 data cache                L1D-FLUSH   [Capable]
|- Hypervisor - No flush L1D on VM entry            L1DFL_VMENTRY_NO   [Missing]
|- Architectural - Buffer Overwriting                       MD-CLEAR   [Capable]
|- Architectural - Rogue Data Cache Load                     RDCL_NO   [Missing]
|- Architectural - Enhanced IBRS                            IBRS_ALL   [Missing]
|- Architectural - Return Stack Buffer Alternate                RSBA   [Missing]
|- Architectural - Speculative Store Bypass                   SSB_NO   [Missing]
|- Architectural - Microarchitectural Data Sampling           MDS_NO   [Missing]
|- Architectural - TSX Asynchronous Abort                     TAA_NO   [Missing]
|- Architectural - Page Size Change MCE               PSCHANGE_MC_NO   [Missing]
                                                                                
Technologies                                                                    
|- System Management Mode                                   SMM-Dual       [ ON]
|- Hyper-Threading                                               HTT       [ ON]
|- SpeedStep                                                    EIST       < ON>
|- Dynamic Acceleration                                          IDA       [OFF]
|- Turbo Boost                                                 TURBO       <OFF>
|- Virtualization                                                VMX       [ ON]
   |- I/O MMU                                                   VT-d       [OFF]
   |- Hypervisor                                                           [OFF]
                                                                                
Performance Monitoring                                                          
|- Version                                                        PM       [  3]
|- Counters:          General                   Fixed                           
|                     4 x 48 bits             3 x 48 bits                       
|- Enhanced Halt State                                           C1E       <OFF>
|- C1 Auto Demotion                                              C1A       < ON>
|- C3 Auto Demotion                                              C3A       < ON>
|- C1 UnDemotion                                                 C1U       < ON>
|- C3 UnDemotion                                                 C3U       < ON>
|- Frequency ID control                                          FID       [OFF]
|- Voltage ID control                                            VID       [OFF]
|- P-State Hardware Coordination Feedback                MPERF/APERF       [ ON]
|- Hardware-Controlled Performance States                        HWP       [OFF]
|- Hardware Duty Cycling                                         HDC       [OFF]
|- Package C-State                                                              
   |- Configuration Control                                   CONFIG   [   LOCK]
   |- Lowest C-State                                           LIMIT   [     10]
   |- I/O MWAIT Redirection                                  IOMWAIT   [ Enable]
   |- Max C-State Inclusion                                    RANGE   [      3]
|- MONITOR/MWAIT                                                                
   |- State index:    #0    #1    #2    #3    #4    #5    #6    #7              
   |- Sub C-State:     0     2     1     2     4     1     1     1              
|- Core Cycles                                                         [Capable]
|- Instructions Retired                                                [Capable]
|- Reference Cycles                                                    [Capable]
|- Last Level Cache References                                         [Capable]
|- Last Level Cache Misses                                             [Capable]
|- Branch Instructions Retired                                         [Capable]
|- Branch Mispredicts Retired                                          [Capable]
                                                                                
Power & Thermal                                                                 
|- Clock Modulation                                             ODCM   <Disable>
   |- DutyCycle                                                        [  0.00%]
|- Power Management                                         PWR MGMT   [   LOCK]
   |- Energy Policy                                        Bias Hint   <      5>
   |- Energy Policy                                          HWP EPP   [      0]
|- Junction Temperature                                        TjMax   [  0:100]
|- Digital Thermal Sensor                                        DTS   [Capable]
|- Power Limit Notification                                      PLN   [Capable]
|- Package Thermal Management                                    PTM   [Capable]
|- Thermal Monitor 1                                             TM1   [ Enable]
|- Thermal Monitor 2                                             TM2   [Capable]
|- Thermal Design Power                                          TDP   [     15]
   |- Minimum Power                                              Min   [Missing]
   |- Maximum Power                                              Max   [Missing]
|- Units                                                                        
   |- Power                                               watt   [  0.125000000]
   |- Energy                                             joule   [  0.000061035]
   |- Window                                            second   [  0.000976562]

@cyring
Copy link
Owner

cyring commented Jan 18, 2020

  • Mobile 4th Generation Intel® Core™ Processor Family, Mobile Intel® Pentium® Processor Family, and Mobile Intel® Celeron® Processor Family Datasheets – Volume 2 of 2
    U-Processor; Y-Processor
    M-Processor; H-Processor
  • Mobile 5th Generation Intel® Core™ Processor Family Datasheet – Volume 2 of 2 Supporting 5th Generation Intel® Core™ Processor based on Mobile H-Processor Line

@cyring
Copy link
Owner

cyring commented Jan 18, 2020

  • Attached is the IMC test version for Haswell Mobile U/Y with Host Agent 0x0a04 and Haswell Mobile M/H with Host Agent 0x0c04. Including also BDW Home Agent 0x1610

CoreFreq.tar.gz

  • Plz unload any previous CoreFreq
  • Untar, build and load this one
  • Supply the output of corefreq-cli -M

regards
Cyril

@olejon
Copy link
Author

olejon commented Jan 18, 2020

Thanks!

Core i7 (MacBook)

  • This is after a Cold Boot. FYI compiled without any flags because nmi_watchdog=0:
$ ./corefreq-cli -M

                         Lynx Point-M  [ A04]                         
Controller #0                                           Dual Channel  
 Bus Rate  5000 MT/s      Bus Speed 5000 MT/s     DRAM Speed 1600 MHz 
                                                                      
 Cha    CL  RCD   RP  RAS  RRD  RFC   WR RTPr WTPr  FAW  B2B  CWL Rate
  #0    12    0    0    0    0  104    0    0    0    0    0    6   1N
  #1     0    0    0    0    0    0    0    0    0    0    0    0   1N
      ddWR drWR srWR ddRW drRW srRW ddRR drRR srRR ddWW drWW srWW  ECC
  #0     8    8   19   16   16   16    7    7    4    7    7    4   0 
  #1     0    0   16    0   12    0   15    4    0    3   13    0   0 
                                                                      
 DIMM Geometry for channel #0                                         
      Slot Bank Rank     Rows   Columns    Memory Size (MB)           
       #0                                                             
       #1                                                             
 DIMM Geometry for channel #1                                         
      Slot Bank Rank     Rows   Columns    Memory Size (MB)           
       #0                                                             
       #1

Core i3 (Intel NUC)

  • This not from a Cold Boot as it's a Server with VMs. FYI compiled with flags APERF/MPERF as NMI Watchdog is on:
$ ./corefreq-cli -M

                         Lynx Point-M  [ A04]                         
Controller #0                                           Dual Channel  
 Bus Rate  5000 MT/s      Bus Speed 4988 MT/s     DRAM Speed 1600 MHz 
                                                                      
 Cha    CL  RCD   RP  RAS  RRD  RFC   WR RTPr WTPr  FAW  B2B  CWL Rate
  #0    11    0    0    0    0  208    0    0    0    0    0    8   1N
  #1     0    0    0    0    0    0    0    0    0    0    0    0   1N
      ddWR drWR srWR ddRW drRW srRW ddRR drRR srRR ddWW drWW srWW  ECC
  #0     4    3   20   12   12   12    6    6    4    7    7    4   0 
  #1     0    0   16    0   12    0   12    4    0    3    1    0   0 
                                                                      
 DIMM Geometry for channel #0                                         
      Slot Bank Rank     Rows   Columns    Memory Size (MB)           
       #0                                                             
       #1                                                             
 DIMM Geometry for channel #1                                         
      Slot Bank Rank     Rows   Columns    Memory Size (MB)           
       #0                                                             
       #1

  • Memory Controller window also working
  • But no information about the DIMM Geometry and more 0 values than other PCs, but well both PCs can read or not read the same values as I can see
  • FYI The Intel NUC has 2 different RAM chips (1 x 4 GB + 1 x 8 GB) with different timings but same MHz, so according to UEFI it logically defaults to the slowest one's timings, in case the numbers surprise you
  • But definitely seems you're on the right path 👍

Cheers

@cyring
Copy link
Owner

cyring commented Jan 18, 2020

Thanks, could you print for both the SPD data and geometry with

dmidecode -t memory

@olejon
Copy link
Author

olejon commented Jan 18, 2020

Here you go.

  • Reads everything fine on the NUC, and Chip Sizes and Locator + Banks on both, but some errors on the MacBook (see bullet point above that output)

Core i3 (Intel NUC)

# dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.

Handle 0x003E, DMI type 16, 23 bytes
Physical Memory Array
	Location: System Board Or Motherboard
	Use: System Memory
	Error Correction Type: None
	Maximum Capacity: 16 GB
	Error Information Handle: Not Provided
	Number Of Devices: 2

Handle 0x003F, DMI type 17, 40 bytes
Memory Device
	Array Handle: 0x003E
	Error Information Handle: Not Provided
	Total Width: 64 bits
	Data Width: 64 bits
	Size: 8192 MB
	Form Factor: SODIMM
	Set: None
	Locator: DIMM 1
	Bank Locator: Channel A Slot 0
	Type: DDR3
	Type Detail: Synchronous
	Speed: 1600 MT/s
	Manufacturer: Kingston
	Serial Number: 075015113072
	Asset Tag: 9876543210
	Part Number: KHX1600C9S3L/8G   
	Rank: 2
	Configured Clock Speed: 1600 MT/s
	Minimum Voltage: 1.35 V
	Maximum Voltage: 1.5 V
	Configured Voltage: 1.35 V

Handle 0x0041, DMI type 17, 40 bytes
Memory Device
	Array Handle: 0x003E
	Error Information Handle: Not Provided
	Total Width: 64 bits
	Data Width: 64 bits
	Size: 4096 MB
	Form Factor: SODIMM
	Set: None
	Locator: DIMM 2
	Bank Locator: Channel B Slot 0
	Type: DDR3
	Type Detail: Synchronous
	Speed: 1600 MT/s
	Manufacturer: 1315
	Serial Number: 255255255255
	Asset Tag: 9876543210
	Part Number:                   
	Rank: 2
	Configured Clock Speed: 1600 MT/s
	Minimum Voltage: 1.35 V
	Maximum Voltage: 1.5 V
	Configured Voltage: 1.35 V
  • Second chip is also Kingston IIRC, but doesn't say here. The first 8 GB is HyperX (part of Kingston).

Core i7 (MacBook)

  • Whoops: Some errors below, BUT not for the i3 at least. Can try with a Ubuntu USB stick later, just in case it's Fedora's sysfs or whatever. Also as you can see dmidecode version is newer on Fedora, but that generally should be a good thing so... SELinux == disabled FYI. If not it's just... Half-eaten Apple... I guess...
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 2.4 present.

Wrong DMI structures length: 2628 bytes announced, only 2410 bytes available.
Handle 0x0005, DMI type 16, 15 bytes
Physical Memory Array
	Location: System Board Or Motherboard
	Use: System Memory
	Error Correction Type: None
	Maximum Capacity: 8 GB
	Error Information Handle: Not Provided
	Number Of Devices: 2

Handle 0x0007, DMI type 17, 27 bytes
Memory Device
	Array Handle: 0x0005
	Error Information Handle: No Error
	Total Width: Unknown
	Data Width: Unknown
	Size: 4096 MB
	Form Factor: SODIMM
	Set: None
	Locator: DIMM0
	Bank Locator: BANK 0
	Type: DDR3
	Type Detail: Synchronous
	Speed: 1600 MT/s
	Manufacturer: 0x80AD
	Serial Number: 0x00000000
	Asset Tag: Unknown
	Part Number: 0x483943434E4E4E384A544D4C41522D4E544D

Handle 0x0009, DMI type 17, 27 bytes
Memory Device
	Array Handle: 0x0005
	Error Information Handle: No Error
	Total Width: Unknown
	Data Width: Unknown
	Size: 4096 MB
	Form Factor: SODIMM
	Set: None
	Locator: DIMM0
	Bank Locator: BANK 1
	Type: DDR3
	Type Detail: Synchronous
	Speed: 1600 MT/s
	Manufacturer: 0x80AD
	Serial Number: 0x00000000
	Asset Tag: Unknown
	Part Number: 0x483943434E4E4E384A544D4C41522D4E544D

Invalid entry length (0). DMI table is broken! Stop.

  • Don't get why the Core i7, 2c/4t, Turbo 3.3 GHz MacBook has a max of 8 GB RAM (I ordered the top-specced - default was 4 GB - gotta think future use man when cannot be swapped), while the cheaper Core i3 2c/4t No Turbo, max 1.7 GHz NUC has a limit of 16 GB. Must be the motherboard, not the CPU, or maybe lack of space for 4 slots, think they're soldered on but anyway take space (maybe 2 x 8 GB chips at the time were very expensive or barely existed, and Apple already charges a ton for RAM), so they cheaped out and programmed it into NVRAM/SMBIOS or whatever a Mac reports it from.

Cheers,
OJ

@olejon
Copy link
Author

olejon commented Jan 18, 2020

Since the Apple hides the name of the Manufacturer behind a code and never says in specs, must open of possible and boid warranty, here they are (darn thought I had Samsung ones and not Hynix...).

They don't want you to know, just as some iPhones suddenly had either Samsung or Sony cameras because of demand (before only Samsung), but people noticed. People found ways to take photos of certain shapes to determine, and then a guy managed to read it and published an app that Apple banned, LOL.

EDIT: No manufacturer ID for the 4 GB on the NUC, 1315, is Crucial... Remember now.

@cyring
Copy link
Owner

cyring commented Jan 18, 2020

For your tests:

CoreFreq.tar.gz

This archive will try to decode only the number of Channels and the geometry of DIMMs
And according to the Haswell-ULT datasheet, raise the DMFC (memory frequency) to the upper limit of 2933 MHz

@olejon
Copy link
Author

olejon commented Jan 19, 2020

Compiled, checked and written on my phone.

Seems to work! Only tried on the Intel NUC as the MacBook is busy downloading stuff from my file server to watch on the express boat back to Bergen (my apartment), then will be packed, as I'm leaving soon. So you'll get the output from the MacBook later.

Intel NUC (Core i3) APERF/MPERF

$ ./corefreq-cli -M

                         Lynx Point-M  [ A04]                         
Controller #0                                           Dual Channel  
 Bus Rate  5000 MT/s      Bus Speed 4988 MT/s     DRAM Speed 1600 MHz 
                                                                      
 Cha    CL  RCD   RP  RAS  RRD  RFC   WR RTPr WTPr  FAW  B2B  CWL Rate
  #0    11    0    0    0    0  208    0    0    0    0    0    8   1N
  #1     0    0    0    0    0    0    0    0    0    0    0    0   1N
      ddWR drWR srWR ddRW drRW srRW ddRR drRR srRR ddWW drWW srWW  ECC
  #0     4    3   20   12   12   12    6    6    4    7    7    4   0 
  #1     0    0   16    0   12    0   12    4    0    3    1    0   0 
                                                                      
 DIMM Geometry for channel #0                                         
      Slot Bank Rank     Rows   Columns    Memory Size (MB)           
       #0     8    2     16384      1024           8192               
 DIMM Geometry for channel #1                                         
      Slot Bank Rank     Rows   Columns    Memory Size (MB)           
       #0     4    2     16384      1024           4096

BTW: Thanks for introducing me to the dmidecode command. Wasn't aware of it. Nice way to check that say my chips in my workstation are actually running at 3200 MHz (XMP). No other tool, not CoreFreq either, show that (Speed & Currently Running Speed).

Such nice commands which are very unlikely to be included with Windows or macOS (latter probably has it locked down for third party apps too), but installed with the system on any distro it seems, server and desktop.

Also a Google search made me aware there's a decode-dimms command if you install a package, but doesn't work on MacBook/Fedora or NUC/Ubuntu, trying both modules it suggests, but doesn't manage to read anything and says "probably not supported on the running system/HW".

@cyring
Copy link
Owner

cyring commented Jan 19, 2020

Compiled, checked and written on my phone.

Seems to work!

Super !

  • Now I'm looking at the timings of channel 1

cyring added a commit that referenced this issue Jan 19, 2020
[Intel][SNB-EP][IVB-EP][HSW-EP] Adds PCI Registers identifiers
[Winbond] Assembly code optimization of the Winbond I/O
@cyring
Copy link
Owner

cyring commented Jan 19, 2020

Released

@olejon
Copy link
Author

olejon commented Jan 19, 2020

Nice. Luckily pretty good 4G out in the fjords now. At my MacBook now.

MacBook

$ corefreq-cli -M

                         Lynx Point-M  [ A04]                         
Controller #0                                           Dual Channel  
 Bus Rate  5000 MT/s      Bus Speed 4999 MT/s     DRAM Speed 1600 MHz 
                                                                      
 Cha    CL  RCD   RP  RAS  RRD  RFC   WR RTPr WTPr  FAW  B2B  CWL Rate
  #0    12    0    0    0    0  104    0    0    0    0    0    6   1N
  #1    12    0    0    0    0  104    0    0    0    0    0    6   1N
      ddWR drWR srWR ddRW drRW srRW ddRR drRR srRR ddWW drWW srWW  ECC
  #0     8    8   19   16   16   16    7    7    4    7    7    4   0 
  #1     8    8   19   16   16   16    7    7    4    7    7    4   0 
                                                                      
 DIMM Geometry for channel #0                                         
      Slot Bank Rank     Rows   Columns    Memory Size (MB)           
       #0     2    2     32768      1024           4096               
 DIMM Geometry for channel #1                                         
      Slot Bank Rank     Rows   Columns    Memory Size (MB)           
       #0     2    2     32768      1024           4096

Intel NUC

$ corefreq-cli -M

                         Lynx Point-M  [ A04]                         
Controller #0                                           Dual Channel  
 Bus Rate  5000 MT/s      Bus Speed 4988 MT/s     DRAM Speed 1600 MHz 
                                                                      
 Cha    CL  RCD   RP  RAS  RRD  RFC   WR RTPr WTPr  FAW  B2B  CWL Rate
  #0    11    0    0    0    0  208    0    0    0    0    0    8   1N
  #1    11    0    0    0    0  208    0    0    0    0    0    8   1N
      ddWR drWR srWR ddRW drRW srRW ddRR drRR srRR ddWW drWW srWW  ECC
  #0     4    3   20   12   12   12    6    6    4    7    7    4   0 
  #1     4    3   20   12   12   12    6    6    4    7    7    4   0 
                                                                      
 DIMM Geometry for channel #0                                         
      Slot Bank Rank     Rows   Columns    Memory Size (MB)           
       #0     8    2     16384      1024           8192               
 DIMM Geometry for channel #1                                         
      Slot Bank Rank     Rows   Columns    Memory Size (MB)           
       #0     4    2     16384      1024           4096


Some values dmidecode shows would be pretty cool, but yeah it says it gets its data from sysfs so it's maybe outside the "CPU scope/registers/etc", like where you get the other data from. So more code, more to maintain, bugs, as some paths only exists in sysfs if X driver(s) are loaded (say intel_X vs acpi-X), but they do have standardized names at least (if exists path exists, should be correct value). But say a Memory View instead of a Window with additional Speed, Configured Clock Speed, Min/Max Voltage, Configured Voltage... Then we're talking 1 single tool with low-level monitoring of about everything a CPU/RAM tweaker wanna see.

Anyways,
👍 👍

Very fast job. Hope my data somehow made it possible/easier.

At least dmidecode shows my Ryzen values perfectly fine. IDK if that means it can be fixed in CoreFreq as it reads from the CPU.

Cheers,
OJ

@cyring
Copy link
Owner

cyring commented Jan 19, 2020

Can be the same data timings but not sourced from the same registers.
When the IMC boots it trains DIMM latencies, speed, geometry from SPD, if available. But it has its own internal logic to set a runtime configuration.
That's the all point of CoreFreq, giving you the usage, rather than the capability of the Memory settings.
I'm not sure DMI will supply this, but it's nice to have both. Perhaps, in the future, CoreFreq will be able with SPD...
However, the datasheets of all Haswell variants I've gone through didn't reveal some registers. That's why you still read zero values.

Previous AMD processors have a BIOS & Kernel Developer Guide (see BKDG in my CoreFreq wiki) which specify the Memory Controller registers.
Zen architecture BKDG has not been made publicly available. Just a preview can be downloaded. That's a reason, most open source initiatives provide less information than a Ryzen Master or any UEFI BIOS.
ACPI tables may reveal some IMC data...

@cyring
Copy link
Owner

cyring commented Mar 18, 2020

No more work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants