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

[Intel: Gen 12,13,14] Memory Controller data #488

Open
cyring opened this issue May 19, 2024 · 79 comments
Open

[Intel: Gen 12,13,14] Memory Controller data #488

cyring opened this issue May 19, 2024 · 79 comments
Milestone

Comments

@cyring
Copy link
Owner

cyring commented May 19, 2024

Decoder has reporting issues among DDR4 and DDR5, two or four DIMMs, 32 or 64 bits per channel

Based on latest version 1.97.2; Owners of Intel Processors of 12th, 13th, 14th and above, please post the output of:

corefreq-cli -s -n -m -n -M -n -k -n -B
@cyring cyring added the bug label May 19, 2024
@cyring cyring added this to the HIGH milestone May 19, 2024
@cyring
Copy link
Owner Author

cyring commented May 19, 2024

@BugReporterZ: #486 12th Gen Intel(R) Core(TM) i7-12700K

Processor                                 [12th Gen Intel(R) Core(TM) i7-12700K]
|- Architecture                                                     [Alder Lake]
|- Vendor ID                                                      [GenuineIntel]
|- Microcode                                                        [0x00000035]
|- Signature                                                           [  06_97]
|- Stepping                                                            [      2]
|- Online CPU                                                          [ 20/ 20]
|- Base Clock                                                          [100.265]
|- Frequency            (MHz)                      Ratio                        
                 Min    802.12                    <   8 >                       
                 Max   3609.53                    <  36 >                       
|- Factory                                                             [100.000]
                       3600                       [  36 ]                       
|- Performance                                                                  
   |- P-State                                                                   
                 TGT   1102.91                    <  11 >                       
   |- HWP                                                                       
                 Min    802.13                    <   8 >                       
                 Max   6717.74                    <  67 >                       
                 TGT      AUTO                    <   0 >                       
|- Turbo Boost                                                         [ UNLOCK]
                  1C   5213.77                    <  52 >                       
                  2C   5213.77                    <  52 >                       
                  3C   5213.77                    <  52 >                       
                  4C   5213.77                    <  52 >                       
                  5C   5213.77                    <  52 >                       
                  6C   5213.77                    <  52 >                       
                  7C   5213.77                    <  52 >                       
                  8C   5213.77                    <  52 >                       
|- Hybrid                                                              [ UNLOCK]
                  1C   4010.63                    <  40 >                       
                  2C   4010.63                    <  40 >                       
                  3C   4010.63                    <  40 >                       
                  4C   4010.63                    <  40 >                       
                  5C   4010.63                    <  40 >                       
                  6C   4010.63                    <  40 >                       
                  7C   4010.63                    <  40 >                       
                  8C   4010.63                    <  40 >                       
|- Uncore                                                              [ UNLOCK]
                 Min    802.13                    <   8 >                       
                 Max   4612.23                    <  46 >                       
|- TDP                                                           Level [  0:3  ]
   |- Programmable                                                     [ UNLOCK]
   |- Configuration                                                    [   LOCK]
   |- Turbo Activation                                                 [ UNLOCK]
             Nominal   3609.53                    [  36 ]                       
               Turbo      AUTO                    <   0 >                       
                                                                                
Instruction Set Extensions                                                      
|- 3DNow!/Ext [N/N]          ADX [Y]          AES [Y]  AVX/AVX2 [Y/Y] 
|- AMX-BF16     [N]     AMX-TILE [N]     AMX-INT8 [N]    AMX-FP16 [N] 
|- AVX512-F     [N]    AVX512-DQ [N]  AVX512-IFMA [N]   AVX512-PF [N] 
|- AVX512-ER    [N]    AVX512-CD [N]    AVX512-BW [N]   AVX512-VL [N] 
|- AVX512-VBMI  [N] AVX512-VBMI2 [N]  AVX512-VNNI [N]  AVX512-ALG [N] 
|- AVX512-VPOP  [N] AVX512-VNNIW [N] AVX512-FMAPS [N] AVX512-VP2I [N] 
|- AVX512-BF16  [N] AVX-VNNI-VEX [Y] AVX-VNN-INT8 [N] AVX-NE-CONV [N] 
|- AVX-IFMA     [N]    CMPccXADD [N]      MOVDIRI [Y]   MOVDIR64B [Y] 
|- BMI1/BMI2  [Y/Y]         CLWB [Y]      CLFLUSH [Y] CLFLUSH-OPT [Y] 
|- CLAC-STAC    [Y]         CMOV [Y]    CMPXCHG8B [Y]  CMPXCHG16B [Y] 
|- F16C         [Y]          FPU [Y]         FXSR [Y]   LAHF-SAHF [Y] 
|- ENQCMD       [N]         GFNI [Y]        OSPKE [Y]     WAITPKG [Y] 
|- MMX/Ext    [Y/N] MON/MWAITX [Y/N]        MOVBE [Y]   PCLMULQDQ [Y] 
|- POPCNT       [Y]       RDRAND [Y]       RDSEED [Y]      RDTSCP [Y] 
|- SEP          [Y]          SHA [Y]          SSE [Y]        SSE2 [Y] 
|- SSE3         [Y]        SSSE3 [Y]  SSE4.1/4A [Y/N]      SSE4.2 [Y] 
|- SERIALIZE    [Y]      SYSCALL [Y]        RDPID [Y]         SGX [N] 
|- VAES         [Y]   VPCLMULQDQ [Y]   PREFETCH/W [Y]       LZCNT [Y] 
                                                                                
Features                                                                        
|- 1 GB Pages Support                                      1GB-PAGES   [Capable]
|- Advanced Configuration & Power Interface                     ACPI   [Capable]
|- Advanced Programmable Interrupt Controller                   APIC   [Capable]
|- APIC Timer Invariance                                        ARAT   [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 Short REP CMPSB                                         FSRC   [Missing]
|- Fast Short REP MOVSB                                         FSRM   [Capable]
|- Fast Short REP STOSB                                         FSRS   [Capable]
|- Fast Zero-length REP MOVSB                                   FZRM   [Missing]
|- Fast-String Operation                                        ERMS   [Capable]
|- Fused Multiply Add                                            FMA   [Capable]
|- Flexible Return and Event Delivery                           FRED   [Missing]
|- Hardware Feedback Interface                                   HFI   [Capable]
|- Hardware Lock Elision                                         HLE   [Missing]
|- Hyper-Threading Technology                                    HTT   [Capable]
|- History Reset                                              HRESET   [Capable]
|- Hybrid part processor                                      HYBRID   [Capable]
|- Instruction Based Sampling                                    IBS   [Missing]
|- Instruction INVPCID                                       INVPCID   [Capable]
|- Long Mode 64 bits                                       IA64 | LM   [Capable]
|- Linear Address Space Separation                              LASS   [Missing]
|- Linear Address Masking                                        LAM   [Missing]
|- Load Kernel GS segment register                              LKGS   [Missing]
|- LightWeight Profiling                                         LWP   [Missing]
|- Machine-Check Architecture                                    MCA   [Capable]
|- Memory Protection Extensions                                  MPX   [Missing]
|- Model Specific Registers                                      MSR   [Capable]
|- Memory Type Range Registers                                  MTRR   [Capable]
|- No-Execute Page Protection                                     NX   [Capable]
|- OS-Enabled Ext. State Management                          OSXSAVE   [Capable]
|- Physical Address Extension                                    PAE   [Capable]
|- Page Attribute Table                                          PAT   [Capable]
|- Pending Break Enable                                          PBE   [Capable]
|- Platform Configuration                                    PCONFIG   [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]
|- Write Data to a Processor Trace Packet                    PTWRITE   [Capable]
|- PREFETCHIT0/1 Instructions                              PREFETCHI   [Missing]
|- Resource Director Technology/PQE                            RDT-A   [Missing]
|- Resource Director Technology/PQM                            RDT-M   [Missing]
|- Restricted Transactional Memory                               RTM   [Missing]
|- Safer Mode Extensions                                         SMX   [Capable]
|- Self-Snoop                                                     SS   [Capable]
|- Supervisor-Mode Access Prevention                            SMAP   [Capable]
|- Supervisor-Mode Execution Prevention                         SMEP   [Capable]
|- Thread Director                                                TD   [Capable]
|- Time Stamp Counter                                            TSC [Invariant]
|- Time Stamp Counter Deadline                          TSC-DEADLINE   [Capable]
|- TSX Force Abort MSR Register                            TSX-ABORT   [Missing]
|- TSX Suspend Load Address Tracking                       TSX-LDTRK   [Missing]
|- User-Mode Instruction Prevention                             UMIP   [Capable]
|- Virtual Mode Extension                                        VME   [Capable]
|- Virtual Machine Extensions                                    VMX   [Capable]
|- Write Back & Do Not Invalidate Cache                     WBNOINVD   [Missing]
|- 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   [ Enable]
|- 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   [ Enable]
|- Arch - Buffer Overwriting                                MD-CLEAR   [Capable]
|- Arch - No Rogue Data Cache Load                           RDCL_NO   [ Enable]
|- Arch - Enhanced IBRS                                     IBRS_ALL   [ Enable]
|- Arch - Return Stack Buffer Alternate                         RSBA   [Capable]
|- Arch - No Speculative Store Bypass                         SSB_NO   [Capable]
|- Arch - No Microarchitectural Data Sampling                 MDS_NO   [ Enable]
|- Arch - No TSX Asynchronous Abort                           TAA_NO   [ Enable]
|- Arch - No Page Size Change MCE                     PSCHANGE_MC_NO   [ Enable]
|- Arch - STLB QoS                                              STLB   [ Enable]
|- Arch - Functional Safety Island                              FuSa   [ Enable]
|- Arch - RSM in CPL0 only                                       RSM   [ Enable]
|- Arch - Split Locked Access Exception                         SPLA   [ Enable]
|- Arch - Snoop Filter QoS Mask                         SNOOP_FILTER   [ Enable]
|- Arch - No Fast Predictive Store Forwarding                   PSFD   [Capable]
|- Arch - Data Operand Independent Timing Mode                 DOITM   [Capable]
|- Arch - Not affected by SBDR or SSDP                  SBDR_SSDP_NO   [ Enable]
|- Arch - No Fill Buffer Stale Data Propagator              FBSDP_NO   [ Enable]
|- Arch - No Primary Stale Data Propagator                   PSDP_NO   [ Enable]
|- Arch - Overwrite Fill Buffer values                      FB_CLEAR   [Capable]
|- Arch - Special Register Buffer Data Sampling                SRBDS   [ Unable]
   |- RDRAND and RDSEED mitigation                             RNGDS   [ Unable]
   |- Restricted Transactional Memory                            RTM   [ Unable]
   |- Verify Segment for Writing instruction                    VERW   [ Unable]
|- Arch - Restricted RSB Alternate                             RRSBA   [ Enable]
|- Arch - No Branch Target Injection                          BHI_NO   [Capable]
|- Arch - Legacy xAPIC Disable                             XAPIC_DIS   [ Unable]
|- Arch - No Post-Barrier Return Stack Buffer               PBRSB_NO   [Capable]
|- Arch - IPRED disabled for CPL3                        IPRED_DIS_U   [Capable]
|- Arch - IPRED disabled for CPL0/1/2                    IPRED_DIS_S   [Capable]
|- Arch - RRSBA disabled for CPL3                        RRSBA_DIS_U   [Capable]
|- Arch - RRSBA disabled for CPL0/1/2                    RRSBA_DIS_S   [Capable]
|- Arch - Data Dependent Prefetcher CPL3                  DDPD_U_DIS   [ Unable]
|- Arch - BHI disabled for CPL0/1/2                        BHI_DIS_S   [ Enable]
|- No MXCSR Configuration Dependent Timing                   MCDT_NO   [ Unable]
|- Overclocking                                                                 
   |- Overclocking Utilized                                 UTILIZED   [ Enable]
   |- Undervolt Protection                                       UVP   [ Enable]
   |- Overclocking Secure Status                            UNLOCKED   [Capable]
Security Features                                                               
|- CPUID Key Locker                                               KL   [Capable]
|- AES Key Locker instructions                                AESKLE   [Missing]
|- CET Shadow Stack features                                  CET-SS   [Capable]
|- CET Indirect Branch Tracking                              CET-IBT   [Capable]
|- CET Supervisor Shadow Stack                               CET-SSS   [Capable]
|- AES Wide Key Locker instructions                          WIDE_KL   [Capable]
|- Software Guard SGX1 Extensions                               SGX1   [Missing]
|- Software Guard SGX2 Extensions                               SGX2   [Missing]
                                                                                
Technologies                                                                    
|- Data Cache Unit                                                              
   |- L1 Prefetcher                                                L1 HW   < ON>
   |- L1 IP Prefetcher                                          L1 HW IP   < ON>
   |- L1 Next Page Prefetcher                                     L1 NPP   <OFF>
   |- L1 Scrubbing                                          L1 Scrubbing   <OFF>
|- Cache Prefetchers                                                            
   |- L2 Prefetcher                                                L2 HW   < ON>
   |- L2 Adjacent Cache Line Prefetcher                         L2 HW CL   < ON>
   |- L2 Adaptive Multipath Probability                           L2 AMP   <OFF>
   |- L2 Next Line Prefetcher                                     L2 NLP   <OFF>
   |- LLC Streamer                                                   LLC   < ON>
|- System Management Mode                                       SMM-Dual   [ ON]
|- Hyper-Threading                                                   HTT   [ ON]
|- SpeedStep                                                        EIST   < ON>
|- Dynamic Acceleration                                              IDA   [ ON]
|- Turbo Boost Max 3.0                                             TURBO   < ON>
|- Energy Efficiency Optimization                                    EEO   <OFF>
|- Race To Halt Optimization                                         R2H   <OFF>
|- Watchdog Timer                                                    TCO   <OFF>
|- Virtualization                                                    VMX   [ ON]
   |- I/O MMU                                                       VT-d   [ ON]
   |- Version                                                     [         4.0]
   |- Hypervisor                                                           [OFF]
   |- Vendor ID                                                   [         N/A]
                                                                                
Performance Monitoring                                                          
|- Version                                                        PM       [  5]
|- Counters:          General                   Fixed                           
|           {  6,  0,  0 } x 48 bits            3 x 48 bits                     
|- Enhanced Halt State                                           C1E       < ON>
|- C1 Auto Demotion                                              C1A       < ON>
|- C3 Auto Demotion                                              C3A       <OFF>
|- C1 UnDemotion                                                 C1U       < ON>
|- C3 UnDemotion                                                 C3U       <OFF>
|- C6 Core Demotion                                              CC6       <OFF>
|- C6 Module Demotion                                            MC6       <OFF>
|- Legacy Frequency ID control                                   FID       [OFF]
|- Legacy Voltage ID control                                     VID       [OFF]
|- P-State Hardware Coordination Feedback                MPERF/APERF       [ ON]
|- Hardware Duty Cycling                                         HDC       [OFF]
|- Package C-States                                                             
   |- Configuration Control                                   CONFIG   [   LOCK]
   |- Lowest C-State                                           LIMIT   <     C0>
   |- I/O MWAIT Redirection                                  IOMWAIT   <Disable>
   |- Max C-State Inclusion                                    RANGE   <     C8>
|- Core C-States                                                                
   |- C-States Base Address                                      BAR   [ 0x1814]
|- ACPI Processor C-States                                      _CST   [      3]
|- MONITOR/MWAIT                                                                
   |- State index:    #0    #1    #2    #3    #4    #5    #6    #7              
   |- Sub C-State:     0     2     0     2     0     1     0     1              
   |- Monitor-Mwait Extensions                                   EMX   [Capable]
   |- Interrupt Break-Event                                      IBE   [Capable]
|- 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]
|- Top-down slots Counter                                              [Capable]
|- Processor Performance Control                                _PCT   [ Enable]
|- Performance Supported States                                 _PSS   [      0]
|- Performance Present Capabilities                             _PPC   [      0]
                                                                                
Power, Current & Thermal                                                        
|- Temperature Offset:Junction                                 TjMax <  0: 82 C>
|- Clock Modulation                                             ODCM   <Disable>
   |- DutyCycle                                                        [  0.00%]
|- Power Management                                         PWR MGMT   [ UNLOCK]
   |- Energy Policy                                        Bias Hint   <      6>
   |- Energy Policy                                          HWP EPP   <    128>
|- 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   [  125 W]
   |- Minimum Power                                              Min   [Missing]
   |- Maximum Power                                              Max   [Missing]
|- Thermal Design Power                                      Package   < Enable>
   |- Power Limit                                                PL1   <  125 W>
   |- Time Window                                                TW1   <  2m08s>
   |- Power Limit                                                PL2   <  190 W>
   |- Time Window                                                TW2   <   2 ms>
|- Thermal Design Power                                         Core   <Disable>
   |- Power Limit                                                PL1   <    0 W>
   |- Time Window                                                TW1   < 976 us>
|- Thermal Design Power                                       Uncore   <Disable>
   |- Power Limit                                                PL1   <    0 W>
   |- Time Window                                                TW1   < 976 us>
|- Thermal Design Power                                         DRAM   <Disable>
   |- Power Limit                                                PL1   <    0 W>
   |- Time Window                                                TW1   < 976 us>
|- Thermal Design Power                                     Platform   <Disable>
   |- Power Limit                                                PL1   <    0 W>
   |- Time Window                                                TW1   <   28 s>
   |- Power Limit                                                PL2   <    0 W>
   |- Time Window                                                TW2   < 976 us>
|- Electrical Design Current                                     EDC   [Missing]
|- Thermal Design Current                                        TDC   [Missing]
|- Core Thermal Point                                                           
   |- DTS Threshold #1                                     Threshold   [Missing]
   |- DTS Threshold #2                                     Threshold   [Missing]
|- Package Thermal Point                                                        
   |- DTS Threshold #1                                     Threshold   [Missing]
   |- DTS Threshold #2                                     Threshold   [Missing]
|- Units                                                                        
   |- Power                                               watt   [  0.125000000]
   |- Energy                                             joule   [  0.000061035]
   |- Window                                            second   [  0.000976562]

CPU Pkg  Apic  Core/Thread  Caches      (w)rite-Back (i)nclusive              
 #   ID   ID  Hybrid ID/ID L1-Inst Way  L1-Data Way      L2  Way      L3  Way 
000:BSP    0  P   1   0  0   32768  8     49152 12   1310720 10  26214400 10  
001:  0    1  P   1   0  1   32768  8     49152 12   1310720 10  26214400 10  
002:  0    8  P   1   4  0   32768  8     49152 12   1310720 10  26214400 10  
003:  0    9  P   1   4  1   32768  8     49152 12   1310720 10  26214400 10  
004:  0   16  P   1   8  0   32768  8     49152 12   1310720 10  26214400 10  
005:  0   17  P   1   8  1   32768  8     49152 12   1310720 10  26214400 10  
006:  0   24  P   1  12  0   32768  8     49152 12   1310720 10  26214400 10  
007:  0   25  P   1  12  1   32768  8     49152 12   1310720 10  26214400 10  
008:  0   32  P   1  16  0   32768  8     49152 12   1310720 10  26214400 10  
009:  0   33  P   1  16  1   32768  8     49152 12   1310720 10  26214400 10  
010:  0   40  P   1  20  0   32768  8     49152 12   1310720 10  26214400 10  
011:  0   41  P   1  20  1   32768  8     49152 12   1310720 10  26214400 10  
012:  0   48  P   1  24  0   32768  8     49152 12   1310720 10  26214400 10  
013:  0   49  P   1  24  1   32768  8     49152 12   1310720 10  26214400 10  
014:  0   56  P   1  28  0   32768  8     49152 12   1310720 10  26214400 10  
015:  0   57  P   1  28  1   32768  8     49152 12   1310720 10  26214400 10  
016:  0   72  E   1  36  0   65536  8     32768  8   2097152 16  26214400 10  
017:  0   74  E   1  37  0   65536  8     32768  8   2097152 16  26214400 10  
018:  0   76  E   1  38  0   65536  8     32768  8   2097152 16  26214400 10  
019:  0   78  E   1  39  0   65536  8     32768  8   2097152 16  26214400 10  

                             Intel Z690  [7A84]                            
Controller #0                                                Dual Channel  
 Bus Rate  3600 MHz       Bus Speed 3609 MHz           DDR4 Speed 7218 MT/s
                                                                           
 Cha    CL RCDr RCDw   RP  RAS RRDs RRDl  FAW   WR RTPr WTPr  CWL  CKE  CMD
  #0    18   22   22   22   42    4    9   40   24   12   46   18    7   2T
  #1     5    8    8    8   28    4    4   16   14    6   24    6    4   1T
      sgRR dgRR drRR ddRR      sgRW dgRW drRW ddRW      sgWR dgWR drWR ddWR
  #0     7    4   12   12        14   15   15   16        36   29    7    7
  #1     4    4    4    4         4    4    4    4         4    4    4    4
      sgWW dgWW drWW ddWW                REFI  RFC  XS   XP CPDED GEAR  ECC
  #0     7    4   12   12               14055  630  648   11    4    1    0
  #1     4    4    4    4                4100  180    0    4    1    1    0
                                                                           
 DIMM Geometry for channel #0                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0    16    2     65536      1024          16384  CMK32GX4M2D3600C18
       #1    16    2     65536      1024          16384  CMK32GX4M2D3600C18
 DIMM Geometry for channel #1                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0                                                                  
       #1                                                                  
                                                                           
Controller #1                                                Dual Channel  
 Bus Rate  3600 MHz       Bus Speed 3609 MHz           DDR4 Speed 7218 MT/s
                                                                           
 Cha    CL RCDr RCDw   RP  RAS RRDs RRDl  FAW   WR RTPr WTPr  CWL  CKE  CMD
  #0    18   22   22   22   42    4    9   40   24   12   46   18    7   2T
  #1     5    8    8    8   28    4    4   16   14    6   24    6    4   1T
      sgRR dgRR drRR ddRR      sgRW dgRW drRW ddRW      sgWR dgWR drWR ddWR
  #0     7    4   12   12        14   15   15   16        36   29    7    7
  #1     4    4    4    4         4    4    4    4         4    4    4    4
      sgWW dgWW drWW ddWW                REFI  RFC  XS   XP CPDED GEAR  ECC
  #0     7    4   12   12               14055  630  648   11    4    1    0
  #1     4    4    4    4                4100  180    0    4    1    1    0
                                                                           
 DIMM Geometry for channel #0                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0    16    2     65536      1024          16384  CMK32GX4M2D3600C18
       #1    16    2     65536      1024          16384  CMK32GX4M2D3600C18
 DIMM Geometry for channel #1                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0                                                                  
       #1                                                                  

Linux:                                                                          
|- Release                                                     [6.8.9-1-default]
|- Version       [#1 SMP PREEMPT_DYNAMIC Fri May 10 08:51:14 UTC 2024 (d3445e0)]
|- Machine                                                              [x86_64]
Memory:                                                                         
|- Total RAM                                                         65530632 KB
|- Shared RAM                                                         1313640 KB
|- Free RAM                                                          49791360 KB
|- Buffer RAM                                                            2712 KB
|- Total High                                                               0 KB
|- Free High                                                                0 KB
Clock Source                                                  <             tsc>
CPU-Freq driver                                               [    intel_pstate]
Governor                                                      [         Missing]
CPU-Idle driver                                               [      intel_idle]
|- Idle Limit                                                 [             C10]
   |- State        POLL     C1E      C6      C8     C10                         
   |-           CPUIDLE MWAIT 0 MWAIT 0 MWAIT 0 MWAIT 0                         
   |- Power          -1       0       0       0       0                         
   |- Latency         0       2     220     280     680                         
   |- Residency       0       4     600     800    2000                         

[ 0] American Megatrends International, LLC.                                    
[ 1] 1.H0                                                                       
[ 2] 03/29/2024                                                                 
[ 3] Micro-Star International Co., Ltd.                                         
[ 4] MS-7D25                                                                    
[ 5] 1.0                                                                        
[ 6] D---u---s---n-                                                             
[ 7] Default string                                                             
[ 8] Default string                                                             
[ 9] Micro-Star International Co., Ltd.                                         
[10] PRO Z690-A WIFI DDR4(MS-7D25)                                              
[11] 1.0                                                                        
[12] 0---5---L---0---8-                                                         
[13] Number Of Devices:4\Maximum Capacity:134217728 kilobytes                   
[14] Controller0-DIMMA1\BANK 0                                                  
[15] Controller0-DIMMA2\BANK 0                                                  
[16] Controller1-DIMMB1\BANK 0                                                  
[17] Controller1-DIMMB2\BANK 0                                                  
[18] Corsair                                                                    
[19] Corsair                                                                    
[20] Corsair                                                                    
[21] Corsair                                                                    
[22] CMK32GX4M2D3600C18                                                         
[23] CMK32GX4M2D3600C18                                                         
[24] CMK32GX4M2D3600C18                                                         
[25] CMK32GX4M2D3600C18 

@cyring cyring changed the title [Intel: Gen 12,13,14] Need your Memory Controller data to debug decoder [Intel: Gen 12,13,14] I need your Memory Controller data to debug decoder May 19, 2024
@cyring cyring changed the title [Intel: Gen 12,13,14] I need your Memory Controller data to debug decoder [Intel: Gen 12,13,14] Memory Controller data May 20, 2024
@cyring
Copy link
Owner Author

cyring commented May 25, 2024

In branch develop, commit c376448 brings a decoder of the Meteor Lake memory controller

Decoder has been programmed from the Core Ultra Processor datasheets

I will appreciate if anyone could show me the result, either corefreq-cli -M or UI screenshot

@BugReporterZ
Copy link

Not sure if that was meant for Meteor Lake users, but on my own I get this:

./build/corefreq-cli -M
                             Intel Z690  [7A84]                            
Controller #0                                                Dual Channel  
 Bus Rate  3600 MHz       Bus Speed 3609 MHz           DDR4 Speed 7219 MT/s
                                                                           
 Cha    CL RCDr RCDw   RP  RAS RRDs RRDl  FAW   WR RTPr WTPr  CWL  CKE  CMD
  #0    18   22   22   22   42    4    9   40   24   12   46   18    7   2T
  #1     5    8    8    8   28    4    4   16   14    6   24    6    4   1T
      sgRR dgRR drRR ddRR      sgRW dgRW drRW ddRW      sgWR dgWR drWR ddWR
  #0     7    4   12   12        14   15   15   16        36   29    7    7
  #1     4    4    4    4         4    4    4    4         4    4    4    4
      sgWW dgWW drWW ddWW                REFI  RFC  XS   XP CPDED GEAR  ECC
  #0     7    4   12   12               14055  630  648   11    4    1    0
  #1     4    4    4    4                4100  180    0    4    1    1    0
                                                                           
 DIMM Geometry for channel #0                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0    16    2     65536      1024          16384  CMK32GX4M2D3600C18
       #1    16    2     65536      1024          16384  CMK32GX4M2D3600C18
 DIMM Geometry for channel #1                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0                                                                  
       #1                                                                  
                                                                           
Controller #1                                                Dual Channel  
 Bus Rate  3600 MHz       Bus Speed 3609 MHz           DDR4 Speed 7219 MT/s
                                                                           
 Cha    CL RCDr RCDw   RP  RAS RRDs RRDl  FAW   WR RTPr WTPr  CWL  CKE  CMD
  #0    18   22   22   22   42    4    9   40   24   12   46   18    7   2T
  #1     5    8    8    8   28    4    4   16   14    6   24    6    4   1T
      sgRR dgRR drRR ddRR      sgRW dgRW drRW ddRW      sgWR dgWR drWR ddWR
  #0     7    4   12   12        14   15   15   16        36   29    7    7
  #1     4    4    4    4         4    4    4    4         4    4    4    4
      sgWW dgWW drWW ddWW                REFI  RFC  XS   XP CPDED GEAR  ECC
  #0     7    4   12   12               14055  630  648   11    4    1    0
  #1     4    4    4    4                4100  180    0    4    1    1    0
                                                                           
 DIMM Geometry for channel #0                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0    16    2     65536      1024          16384  CMK32GX4M2D3600C18
       #1    16    2     65536      1024          16384  CMK32GX4M2D3600C18
 DIMM Geometry for channel #1                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0                                                                  
       #1                                                  

@cyring
Copy link
Owner Author

cyring commented May 25, 2024

@BugReporterZ thanks; it was indeed meant for Meteor Lake

I also want to debug previous generations IMC; your output helps a lot but I need other combinations of DDR4, DDR5, 32 or 64 bits DIMM, LP-DDR and so on to solve my decoders.

@cyring
Copy link
Owner Author

cyring commented May 28, 2024

Source: Intel

2024-05-28-205555_711x344_scrot

From MADCH.DDR_TYPE we can tell if LPDDR5 or DDR5 is set up with ADL and compatible but also MTL


Still no clue from register MAD_DIMM how to decode the new DIMM kind of 24 or 48 GB size with ADL or MTL

@cyring
Copy link
Owner Author

cyring commented May 29, 2024

As shown in MTL datasheet vol 1

2024-05-29-054919_776x613_scrot

@paulzzh
Copy link

paulzzh commented Jul 23, 2024

root@pve:~# corefreq-cli -s -n -m -n -M -n -k -n -B
Processor                                          [Intel(R) Core(TM) i7-14700K]
|- Architecture                                                    [Raptor Lake]
|- Vendor ID                                                      [GenuineIntel]
|- Microcode                                                        [0x0000011d]
|- Signature                                                           [  06_B7]
|- Stepping                                                            [      1]
|- Online CPU                                                          [ 20/ 20]
|- Base Clock                                                          [100.515]
|- Frequency            (MHz)                      Ratio
                 Min    804.12                    <   8 >
                 Max   3417.52                    <  34 >
|- Factory                                                             [100.000]
                       3400                       [  34 ]
|- Performance
                 TGT   7036.07                    <  70 >
   |- HWP
                 Min   4322.21                    <  43 >
                 Max   7036.07                    <  70 >
                 TGT      AUTO                    <   0 >
|- Turbo Boost                                                         [ UNLOCK]
                  1C   5628.85                    <  56 >
                  2C   5628.85                    <  56 >
                  3C   5528.34                    <  55 >
                  4C   5528.34                    <  55 >
                  5C   5528.34                    <  55 >
                  6C   5528.34                    <  55 >
                  7C   5528.34                    <  55 >
                  8C   5528.34                    <  55 >
|- Hybrid                                                              [ UNLOCK]
                  1C   4322.17                    <  43 >
|- Uncore                                                              [ UNLOCK]
                 Min    804.12                    <   8 >
                 Max   5025.78                    <  50 >
|- TDP                                                           Level [  0:0  ]
   |- Programmable                                                     [ UNLOCK]
   |- Configuration                                                    [   LOCK]
   |- Turbo Activation                                                 [ UNLOCK]
             Nominal   3417.52                    [  34 ]
               Turbo      AUTO                    <   0 >

Instruction Set Extensions
|- 3DNow!/Ext [N/N]          ADX [Y]          AES [Y]  AVX/AVX2 [Y/Y]
|- AMX-BF16     [N]     AMX-TILE [N]     AMX-INT8 [N]    AMX-FP16 [N]
|- AVX512-F     [N]    AVX512-DQ [N]  AVX512-IFMA [N]   AVX512-PF [N]
|- AVX512-ER    [N]    AVX512-CD [N]    AVX512-BW [N]   AVX512-VL [N]
|- AVX512-VBMI  [N] AVX512-VBMI2 [N]  AVX512-VNNI [N]  AVX512-ALG [N]
|- AVX512-VPOP  [N] AVX512-VNNIW [N] AVX512-FMAPS [N] AVX512-VP2I [N]
|- AVX512-BF16  [N] AVX-VNNI-VEX [Y] AVX-VNN-INT8 [N] AVX-NE-CONV [N]
|- AVX-IFMA     [N]    CMPccXADD [N]      MOVDIRI [Y]   MOVDIR64B [Y]
|- BMI1/BMI2  [Y/Y]         CLWB [Y]      CLFLUSH [Y] CLFLUSH-OPT [Y]
|- CLAC-STAC    [Y]         CMOV [Y]    CMPXCHG8B [Y]  CMPXCHG16B [Y]
|- F16C         [Y]          FPU [Y]         FXSR [Y]   LAHF-SAHF [Y]
|- ENQCMD       [N]         GFNI [Y]        OSPKE [Y]     WAITPKG [Y]
|- MMX/Ext    [Y/N] MON/MWAITX [Y/N]        MOVBE [Y]   PCLMULQDQ [Y]
|- POPCNT       [Y]       RDRAND [Y]       RDSEED [Y]      RDTSCP [Y]
|- SEP          [Y]          SHA [Y]          SSE [Y]        SSE2 [Y]
|- SSE3         [Y]        SSSE3 [Y]  SSE4.1/4A [Y/N]      SSE4.2 [Y]
|- SERIALIZE    [Y]      SYSCALL [Y]        RDPID [Y]         SGX [N]
|- VAES         [Y]   VPCLMULQDQ [Y]   PREFETCH/W [Y]       LZCNT [Y]

Features
|- 1 GB Pages Support                                      1GB-PAGES   [Capable]
|- Advanced Configuration & Power Interface                     ACPI   [Capable]
|- Advanced Programmable Interrupt Controller                   APIC   [Capable]
|- APIC Timer Invariance                                        ARAT   [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 Short REP CMPSB                                         FSRC   [Missing]
|- Fast Short REP MOVSB                                         FSRM   [Capable]
|- Fast Short REP STOSB                                         FSRS   [Capable]
|- Fast Zero-length REP MOVSB                                   FZRM   [Missing]
|- Fast-String Operation                                        ERMS   [Capable]
|- Fused Multiply Add                                            FMA   [Capable]
|- Flexible Return and Event Delivery                           FRED   [Missing]
|- Hardware Feedback Interface                                   HFI   [Capable]
|- Hardware Lock Elision                                         HLE   [Missing]
|- Hyper-Threading Technology                                    HTT   [Capable]
|- History Reset                                              HRESET   [Capable]
|- Hybrid part processor                                      HYBRID   [Capable]
|- Instruction Based Sampling                                    IBS   [Missing]
|- Instruction INVPCID                                       INVPCID   [Capable]
|- Long Mode 64 bits                                       IA64 | LM   [Capable]
|- Linear Address Space Separation                              LASS   [Missing]
|- Linear Address Masking                                        LAM   [Missing]
|- Load Kernel GS segment register                              LKGS   [Missing]
|- LightWeight Profiling                                         LWP   [Missing]
|- Machine-Check Architecture                                    MCA   [Capable]
|- Memory Protection Extensions                                  MPX   [Missing]
|- Model Specific Registers                                      MSR   [Capable]
|- Memory Type Range Registers                                  MTRR   [Capable]
|- No-Execute Page Protection                                     NX   [Capable]
|- OS-Enabled Ext. State Management                          OSXSAVE   [Capable]
|- Physical Address Extension                                    PAE   [Capable]
|- Page Attribute Table                                          PAT   [Capable]
|- Pending Break Enable                                          PBE   [Capable]
|- Platform Configuration                                    PCONFIG   [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]
|- Write Data to a Processor Trace Packet                    PTWRITE   [Capable]
|- PREFETCHIT0/1 Instructions                              PREFETCHI   [Missing]
|- Resource Director Technology/PQE                            RDT-A   [Missing]
|- Resource Director Technology/PQM                            RDT-M   [Missing]
|- Restricted Transactional Memory                               RTM   [Missing]
|- Safer Mode Extensions                                         SMX   [Capable]
|- Self-Snoop                                                     SS   [Capable]
|- Supervisor-Mode Access Prevention                            SMAP   [Capable]
|- Supervisor-Mode Execution Prevention                         SMEP   [Capable]
|- Thread Director                                                TD   [Capable]
|- Time Stamp Counter                                            TSC [Invariant]
|- Time Stamp Counter Deadline                          TSC-DEADLINE   [Capable]
|- TSX Force Abort MSR Register                            TSX-ABORT   [Missing]
|- TSX Suspend Load Address Tracking                       TSX-LDTRK   [Missing]
|- User-Mode Instruction Prevention                             UMIP   [Capable]
|- Virtual Mode Extension                                        VME   [Capable]
|- Virtual Machine Extensions                                    VMX   [Capable]
|- Write Back & Do Not Invalidate Cache                     WBNOINVD   [Missing]
|- 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   [ Enable]
|- 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   [ Enable]
|- Arch - Buffer Overwriting                                MD-CLEAR   [Capable]
|- Arch - No Rogue Data Cache Load                           RDCL_NO   [ Enable]
|- Arch - Enhanced IBRS                                     IBRS_ALL   [ Enable]
|- Arch - Return Stack Buffer Alternate                         RSBA   [Capable]
|- Arch - No Speculative Store Bypass                         SSB_NO   [Capable]
|- Arch - No Microarchitectural Data Sampling                 MDS_NO   [Capable]
|- Arch - No TSX Asynchronous Abort                           TAA_NO   [Capable]
|- Arch - No Page Size Change MCE                     PSCHANGE_MC_NO   [Capable]
|- Arch - STLB QoS                                              STLB   [ Enable]
|- Arch - Functional Safety Island                              FuSa   [ Enable]
|- Arch - RSM in CPL0 only                                       RSM   [ Enable]
|- Arch - Split Locked Access Exception                         SPLA   [ Enable]
|- Arch - Snoop Filter QoS Mask                         SNOOP_FILTER   [ Enable]
|- Arch - No Fast Predictive Store Forwarding                   PSFD   [Capable]
|- Arch - Data Operand Independent Timing Mode                 DOITM   [Capable]
|- Arch - Not affected by SBDR or SSDP                  SBDR_SSDP_NO   [ Enable]
|- Arch - No Fill Buffer Stale Data Propagator              FBSDP_NO   [ Enable]
|- Arch - No Primary Stale Data Propagator                   PSDP_NO   [ Enable]
|- Arch - Overwrite Fill Buffer values                      FB_CLEAR   [Capable]
|- Arch - Special Register Buffer Data Sampling                SRBDS   [ Unable]
   |- RDRAND and RDSEED mitigation                             RNGDS   [ Unable]
   |- Restricted Transactional Memory                            RTM   [ Unable]
   |- Verify Segment for Writing instruction                    VERW   [ Unable]
|- Arch - Restricted RSB Alternate                             RRSBA   [ Enable]
|- Arch - No Branch Target Injection                          BHI_NO   [Capable]
|- Arch - Legacy xAPIC Disable                             XAPIC_DIS   [ Unable]
|- Arch - No Post-Barrier Return Stack Buffer               PBRSB_NO   [Capable]
|- Arch - No Gather Data Sampling                             GDS_NO   [ Enable]
|- Arch - No Register File Data Sampling                     RFDS_NO   [Capable]
|- Arch - IPRED disabled for CPL3                        IPRED_DIS_U   [Capable]
|- Arch - IPRED disabled for CPL0/1/2                    IPRED_DIS_S   [Capable]
|- Arch - RRSBA disabled for CPL3                        RRSBA_DIS_U   [Capable]
|- Arch - RRSBA disabled for CPL0/1/2                    RRSBA_DIS_S   [Capable]
|- Arch - Data Dependent Prefetcher CPL3                  DDPD_U_DIS   [Capable]
|- Arch - BHI disabled for CPL0/1/2                        BHI_DIS_S   [ Enable]
|- No MXCSR Configuration Dependent Timing                   MCDT_NO   [ Unable]
|- No MONITOR/UMONITOR mitigation                       UMON_MITG_NO   [ Unable]
|- Overclocking
   |- Overclocking Utilized                                 UTILIZED   [ Enable]
   |- Undervolt Protection                                       UVP   [Capable]
   |- Overclocking Secure Status                            UNLOCKED   [Capable]
Security Features
|- CPUID Key Locker                                               KL   [Capable]
|- AES Key Locker instructions                                AESKLE   [Missing]
|- CET Shadow Stack features                                  CET-SS   [Capable]
|- CET Indirect Branch Tracking                              CET-IBT   [Capable]
|- CET Supervisor Shadow Stack                               CET-SSS   [Capable]
|- AES Wide Key Locker instructions                          WIDE_KL   [Capable]
|- Software Guard SGX1 Extensions                               SGX1   [Missing]
|- Software Guard SGX2 Extensions                               SGX2   [Missing]

Technologies
|- Data Cache Unit
   |- L1 Prefetcher                                                L1 HW   <OFF>
   |- L1 IP Prefetcher                                          L1 HW IP   < ON>
   |- L1 Next Page Prefetcher                                     L1 NPP   <OFF>
   |- L1 Scrubbing                                          L1 Scrubbing   <OFF>
|- Cache Prefetchers
   |- L2 Prefetcher                                                L2 HW   < ON>
   |- L2 Adjacent Cache Line Prefetcher                         L2 HW CL   < ON>
   |- L2 Adaptive Multipath Probability                           L2 AMP   <OFF>
   |- L2 Next Line Prefetcher                                     L2 NLP   <OFF>
   |- LLC Streamer                                                   LLC   < ON>
|- System Management Mode                                       SMM-Dual   [ ON]
|- Hyper-Threading                                                   HTT   [OFF]
|- SpeedStep                                                        EIST   < ON>
|- Dynamic Acceleration                                              IDA   [ ON]
|- Turbo Boost Max 3.0                                             TURBO   < ON>
|- Energy Efficiency Optimization                                    EEO   <OFF>
|- Race To Halt Optimization                                         R2H   <OFF>
|- Watchdog Timer                                                    TCO   <OFF>
|- Virtualization                                                    VMX   [ ON]
   |- I/O MMU                                                       VT-d   [OFF]
   |- Version                                                     [         N/A]
   |- Hypervisor                                                           [OFF]
   |- Vendor ID                                                   [         N/A]
|- Volume Management Device                                          VMD   [OFF]
|- Gaussian & Neural Accelerator                                     GNA   [OFF]
|- Digital Content Protection                                       HDCP   [OFF]
|- Image Processing Unit                                             IPU   [OFF]
|- Vision Processing Unit                                            VPU   [OFF]
|- Overclocking                                                       OC   [OFF]

Performance Monitoring
|- Version                                                        PM       [  5]
|- Counters:          General                   Fixed
|           {  6,  0,  0 } x 48 bits            3 x 48 bits
|- Enhanced Halt State                                           C1E       <OFF>
|- C1 Auto Demotion                                              C1A       < ON>
|- C3 Auto Demotion                                              C3A       <OFF>
|- C1 UnDemotion                                                 C1U       < ON>
|- C3 UnDemotion                                                 C3U       <OFF>
|- C6 Core Demotion                                              CC6       <OFF>
|- C6 Module Demotion                                            MC6       <OFF>
|- Legacy Frequency ID control                                   FID       [OFF]
|- Legacy Voltage ID control                                     VID       [OFF]
|- P-State Hardware Coordination Feedback                MPERF/APERF       [ ON]
|- Hardware Duty Cycling                                         HDC       [OFF]
|- Package C-States
   |- Configuration Control                                   CONFIG   [   LOCK]
   |- Lowest C-State                                           LIMIT   <     C0>
   |- I/O MWAIT Redirection                                  IOMWAIT   <Disable>
   |- Max C-State Inclusion                                    RANGE   <     C1>
|- Core C-States
   |- C-States Base Address                                      BAR   [ 0x1814]
|- ACPI Processor C-States                                      _CST   [      2]
|- MONITOR/MWAIT
   |- State index:    #0    #1    #2    #3    #4    #5    #6    #7
   |- Sub C-State:     0     2     0     2     0     1     0     1
   |- Monitor-Mwait Extensions                                   EMX   [Capable]
   |- Interrupt Break-Event                                      IBE   [Capable]
|- 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]
|- Top-down slots Counter                                              [Capable]
|- Processor Performance Control                                _PCT   [ Enable]
|- Performance Supported States                                 _PSS   [      0]
|- Performance Present Capabilities                             _PPC   [      0]

Power, Current & Thermal
|- Temperature Offset:Junction                                 TjMax <  0:100 C>
|- Clock Modulation                                             ODCM   <Disable>
   |- DutyCycle                                                        [  0.00%]
|- Power Management                                         PWR MGMT   [   LOCK]
   |- Energy Policy                                        Bias Hint   [      0]
   |- Energy Policy                                          HWP EPP   <      0>
|- 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   [  125 W]
   |- Minimum Power                                              Min   [Missing]
   |- Maximum Power                                              Max   [Missing]
|- Thermal Design Power                                      Package   < Enable>
   |- Power Limit                                                PL1   < 4095 W>
   |- Time Window                                                TW1   <   56 s>
   |- Power Limit                                                PL2   < 4095 W>
   |- Time Window                                                TW2   <   2 ms>
|- Thermal Design Power                                         Core   <Disable>
   |- Power Limit                                                PL1   <    0 W>
   |- Time Window                                                TW1   < 976 us>
|- Thermal Design Power                                       Uncore   <Disable>
   |- Power Limit                                                PL1   <    0 W>
   |- Time Window                                                TW1   < 976 us>
|- Thermal Design Power                                         DRAM   [Disable]
   |- Power Limit                                                PL1   [    0 W]
   |- Time Window                                                TW1   [ 976 us]
|- Thermal Design Power                                     Platform   <Disable>
   |- Power Limit                                                PL1   <    0 W>
   |- Time Window                                                TW1   <   28 s>
   |- Power Limit                                                PL2   <    0 W>
   |- Time Window                                                TW2   < 976 us>
|- Electrical Design Current                                     EDC   [Missing]
|- Thermal Design Current                                        TDC   [Missing]
|- Core Thermal Point
   |- DTS Threshold #1                                     Threshold   [Missing]
   |- DTS Threshold #2                                     Threshold   [Missing]
|- Package Thermal Point
   |- DTS Threshold #1                                     Threshold   [Missing]
   |- DTS Threshold #2                                     Threshold   [Missing]
|- Units
   |- Power                                               watt   [  0.125000000]
   |- Energy                                             joule   [  0.000061035]
   |- Window                                            second   [  0.000976562]

CPU Pkg  Apic  Core/Thread  Caches      (w)rite-Back (i)nclusive
 #   ID   ID  Hybrid ID/ID L1-Inst Way  L1-Data Way      L2  Way      L3  Way
000:BSP    0  P   1   0  0   32768  8     49152 12   2097152 16  34603008 11
001:  0    8  P   1   4  0   32768  8     49152 12   2097152 16  34603008 11
002:  0   16  P   1   8  0   32768  8     49152 12   2097152 16  34603008 11
003:  0   24  P   1  12  0   32768  8     49152 12   2097152 16  34603008 11
004:  0   32  P   1  16  0   32768  8     49152 12   2097152 16  34603008 11
005:  0   40  P   1  20  0   32768  8     49152 12   2097152 16  34603008 11
006:  0   48  P   1  24  0   32768  8     49152 12   2097152 16  34603008 11
007:  0   56  P   1  28  0   32768  8     49152 12   2097152 16  34603008 11
008:  0   64  E   1  32  0   65536  8     32768  8   4194304 16  34603008 11
009:  0   66  E   1  33  0   65536  8     32768  8   4194304 16  34603008 11
010:  0   68  E   1  34  0   65536  8     32768  8   4194304 16  34603008 11
011:  0   70  E   1  35  0   65536  8     32768  8   4194304 16  34603008 11
012:  0   72  E   1  36  0   65536  8     32768  8   4194304 16  34603008 11
013:  0   74  E   1  37  0   65536  8     32768  8   4194304 16  34603008 11
014:  0   76  E   1  38  0   65536  8     32768  8   4194304 16  34603008 11
015:  0   78  E   1  39  0   65536  8     32768  8   4194304 16  34603008 11
016:  0   80  E   1  40  0   65536  8     32768  8   4194304 16  34603008 11
017:  0   82  E   1  41  0   65536  8     32768  8   4194304 16  34603008 11
018:  0   84  E   1  42  0   65536  8     32768  8   4194304 16  34603008 11
019:  0   86  E   1  43  0   65536  8     32768  8   4194304 16  34603008 11

                             Intel Z790  [7A04]

Linux:
|- Release                                                         [6.8.8-3-pve]
|- Version              [#1 SMP PREEMPT_DYNAMIC PMX 6.8.8-3 (2024-07-16T16:16Z)]
|- Machine                                                              [x86_64]
Memory:
|- Total RAM                                                         65604240 KB
|- Shared RAM                                                           59220 KB
|- Free RAM                                                          63263024 KB
|- Buffer RAM                                                           84928 KB
|- Total High                                                               0 KB
|- Free High                                                                0 KB
Clock Source                                                  <             tsc>
CPU-Freq driver                                               [    intel_pstate]
Governor                                                      [         Missing]
CPU-Idle driver                                               [      intel_idle]
|- Idle Limit                                                 [         C2_ACPI]
   |- State        POLL C1_ACPI C2_ACPI
   |-           CPUIDLE ACPI FF ACPI FF
   |- Power          -1       0       0
   |- Latency         0       1     127
   |- Residency       0       1     381

[ 0] American Megatrends International, LLC.
[ 1] M.00
[ 2] 09/06/2023
[ 3] Micro-Star International Co., Ltd.
[ 4] MS-7E07
[ 5] 4.0
[ 6] D---u---s---n-
[ 7] Default string
[ 8] Default string
[ 9] Micro-Star International Co., Ltd.
[10] PRO Z790-A MAX WIFI (MS-7E07)
[11] 4.0
[12] 0---7---N---4---5-
[13] Number Of Devices:4\Maximum Capacity:134217728 kilobytes
[14]
[15] Controller0-DIMMA2\BANK 0
[16]
[17] Controller1-DIMMB2\BANK 0
[18]
[19] 0x0B92
[20]
[21] 0x0B92
[22]
[23]
[24]
[25]

@cyring
Copy link
Owner Author

cyring commented Jul 23, 2024

@paulzzh Thank you for your Raptor output
I don't have its Memory Controller device identifier.
Can you please post the output of the following command:

lspci -nn

@paulzzh
Copy link

paulzzh commented Jul 23, 2024

@paulzzh Thank you for your Raptor output I don't have its Memory Controller device identifier. Can you please post the output of the following command:

lspci -nn
root@pve:~# lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:a740] (rev 01)
00:02.0 VGA compatible controller [0300]: Intel Corporation Raptor Lake-S GT1 [UHD Graphics 770] [8086:a780] (rev 04)
00:02.1 VGA compatible controller [0300]: Intel Corporation Raptor Lake-S GT1 [UHD Graphics 770] [8086:a780] (rev 04)
00:02.2 VGA compatible controller [0300]: Intel Corporation Raptor Lake-S GT1 [UHD Graphics 770] [8086:a780] (rev 04)
00:02.3 VGA compatible controller [0300]: Intel Corporation Raptor Lake-S GT1 [UHD Graphics 770] [8086:a780] (rev 04)
00:02.4 VGA compatible controller [0300]: Intel Corporation Raptor Lake-S GT1 [UHD Graphics 770] [8086:a780] (rev 04)
00:02.5 VGA compatible controller [0300]: Intel Corporation Raptor Lake-S GT1 [UHD Graphics 770] [8086:a780] (rev 04)
00:02.6 VGA compatible controller [0300]: Intel Corporation Raptor Lake-S GT1 [UHD Graphics 770] [8086:a780] (rev 04)
00:02.7 VGA compatible controller [0300]: Intel Corporation Raptor Lake-S GT1 [UHD Graphics 770] [8086:a780] (rev 04)
00:06.0 PCI bridge [0604]: Intel Corporation Raptor Lake PCIe 4.0 Graphics Port [8086:a74d] (rev 01)
00:08.0 System peripheral [0880]: Intel Corporation GNA Scoring Accelerator module [8086:a74f] (rev 01)
00:0a.0 Signal processing controller [1180]: Intel Corporation Raptor Lake Crashlog and Telemetry [8086:a77d] (rev 01)
00:14.0 USB controller [0c03]: Intel Corporation Raptor Lake USB 3.2 Gen 2x2 (20 Gb/s) XHCI Host Controller [8086:7a60] (rev 11)
00:14.2 RAM memory [0500]: Intel Corporation Raptor Lake-S PCH Shared SRAM [8086:7a27] (rev 11)
00:16.0 Communication controller [0780]: Intel Corporation Raptor Lake CSME HECI [8086:7a68] (rev 11)
00:17.0 SATA controller [0106]: Intel Corporation Raptor Lake SATA AHCI Controller [8086:7a62] (rev 11)
00:1c.0 PCI bridge [0604]: Intel Corporation Raptor Lake PCI Express Root Port [8086:7a38] (rev 11)
00:1c.2 PCI bridge [0604]: Intel Corporation Device [8086:7a3a] (rev 11)
00:1c.3 PCI bridge [0604]: Intel Corporation Raptor Lake PCI Express Root Port [8086:7a3b] (rev 11)
00:1d.0 PCI bridge [0604]: Intel Corporation Raptor Lake PCI Express Root Port [8086:7a30] (rev 11)
00:1f.0 ISA bridge [0601]: Intel Corporation Raptor Lake LPC/eSPI Controller [8086:7a04] (rev 11)
00:1f.3 Audio device [0403]: Intel Corporation Raptor Lake High Definition Audio Controller [8086:7a50] (rev 11)
00:1f.4 SMBus [0c05]: Intel Corporation Raptor Lake-S PCH SMBus Controller [8086:7a23] (rev 11)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Raptor Lake SPI (flash) Controller [8086:7a24] (rev 11)
01:00.0 Non-Volatile memory controller [0108]: Intel Corporation NVMe Optane Memory Series [8086:2522]
03:00.0 Network controller [0280]: Qualcomm Technologies, Inc WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800] [17cb:1107] (rev 01)
04:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller I225-V [8086:15f3] (rev 03)
05:00.0 Non-Volatile memory controller [0108]: MAXIO Technology (Hangzhou) Ltd. NVMe SSD Controller MAP1602 (DRAM-less) [1e4b:1602] (rev 01)

@cyring
Copy link
Owner Author

cyring commented Jul 23, 2024

@paulzzh

Your Host bridge [8086:a740] has been added to probe the Memory Controller
You can now pull the develop branch; rebuild and reload CoreFreq (especially its driver corefreqk.ko)
Can you then post the output of corefreq-cli -s -n -M and tell how results match with your setup ?

@paulzzh
Copy link

paulzzh commented Jul 23, 2024

@paulzzh

Your Host bridge [8086:a740] has been added to probe the Memory Controller You can now pull the develop branch; rebuild and reload CoreFreq (especially its driver corefreqk.ko) Can you then post the output of corefreq-cli -s -n -M and tell how results match with your setup ?

It seems to work.
image

root@pve:~# corefreq-cli -s -n -M
Processor                                          [Intel(R) Core(TM) i7-14700K]
|- Architecture                                                    [Raptor Lake]
|- Vendor ID                                                      [GenuineIntel]
|- Microcode                                                        [0x00000123]
|- Signature                                                           [  06_B7]
|- Stepping                                                            [      1]
|- Online CPU                                                          [ 20/ 20]
|- Base Clock                                                          [100.509]
|- Frequency            (MHz)                      Ratio
                 Min    804.07                    <   8 >
                 Max   3417.30                    <  34 >
|- Factory                                                             [100.000]
                       3400                       [  34 ]
|- Performance
                 TGT   7236.64                    <  72 >
   |- HWP
                 Min   4321.92                    <  43 >
                 Max   7236.64                    <  72 >
                 TGT      AUTO                    <   0 >
|- Turbo Boost                                                         [ UNLOCK]
                  1C   5628.49                    <  56 >
                  2C   5628.49                    <  56 >
                  3C   5527.99                    <  55 >
                  4C   5527.99                    <  55 >
                  5C   5527.99                    <  55 >
                  6C   5527.99                    <  55 >
                  7C   5527.99                    <  55 >
                  8C   5527.99                    <  55 >
|- Hybrid                                                              [ UNLOCK]
                  1C   4321.97                    <  43 >
|- Uncore                                                              [ UNLOCK]
                 Min    804.09                    <   8 >
                 Max   5025.55                    <  50 >
|- TDP                                                           Level [  0:3  ]
   |- Programmable                                                     [ UNLOCK]
   |- Configuration                                                    [   LOCK]
   |- Turbo Activation                                                 [ UNLOCK]
             Nominal   3417.30                    [  34 ]
               Turbo      AUTO                    <   0 >

Instruction Set Extensions
|- 3DNow!/Ext [N/N]          ADX [Y]          AES [Y]  AVX/AVX2 [Y/Y]
|- AMX-BF16     [N]     AMX-TILE [N]     AMX-INT8 [N]    AMX-FP16 [N]
|- AVX512-F     [N]    AVX512-DQ [N]  AVX512-IFMA [N]   AVX512-PF [N]
|- AVX512-ER    [N]    AVX512-CD [N]    AVX512-BW [N]   AVX512-VL [N]
|- AVX512-VBMI  [N] AVX512-VBMI2 [N]  AVX512-VNNI [N]  AVX512-ALG [N]
|- AVX512-VPOP  [N] AVX512-VNNIW [N] AVX512-FMAPS [N] AVX512-VP2I [N]
|- AVX512-BF16  [N] AVX-VNNI-VEX [Y] AVX-VNN-INT8 [N] AVX-NE-CONV [N]
|- AVX-IFMA     [N]    CMPccXADD [N]      MOVDIRI [Y]   MOVDIR64B [Y]
|- BMI1/BMI2  [Y/Y]         CLWB [Y]      CLFLUSH [Y] CLFLUSH-OPT [Y]
|- CLAC-STAC    [Y]         CMOV [Y]    CMPXCHG8B [Y]  CMPXCHG16B [Y]
|- F16C         [Y]          FPU [Y]         FXSR [Y]   LAHF-SAHF [Y]
|- ENQCMD       [N]         GFNI [Y]        OSPKE [Y]     WAITPKG [Y]
|- MMX/Ext    [Y/N] MON/MWAITX [Y/N]        MOVBE [Y]   PCLMULQDQ [Y]
|- POPCNT       [Y]       RDRAND [Y]       RDSEED [Y]      RDTSCP [Y]
|- SEP          [Y]          SHA [Y]          SSE [Y]        SSE2 [Y]
|- SSE3         [Y]        SSSE3 [Y]  SSE4.1/4A [Y/N]      SSE4.2 [Y]
|- SERIALIZE    [Y]      SYSCALL [Y]        RDPID [Y]         SGX [N]
|- VAES         [Y]   VPCLMULQDQ [Y]   PREFETCH/W [Y]       LZCNT [Y]

Features
|- 1 GB Pages Support                                      1GB-PAGES   [Capable]
|- Advanced Configuration & Power Interface                     ACPI   [Capable]
|- Advanced Programmable Interrupt Controller                   APIC   [Capable]
|- APIC Timer Invariance                                        ARAT   [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 Short REP CMPSB                                         FSRC   [Missing]
|- Fast Short REP MOVSB                                         FSRM   [Capable]
|- Fast Short REP STOSB                                         FSRS   [Capable]
|- Fast Zero-length REP MOVSB                                   FZRM   [Missing]
|- Fast-String Operation                                        ERMS   [Capable]
|- Fused Multiply Add                                            FMA   [Capable]
|- Flexible Return and Event Delivery                           FRED   [Missing]
|- Hardware Feedback Interface                                   HFI   [Capable]
|- Hardware Lock Elision                                         HLE   [Missing]
|- Hyper-Threading Technology                                    HTT   [Capable]
|- History Reset                                              HRESET   [Capable]
|- Hybrid part processor                                      HYBRID   [Capable]
|- Instruction Based Sampling                                    IBS   [Missing]
|- Instruction INVPCID                                       INVPCID   [Capable]
|- Long Mode 64 bits                                       IA64 | LM   [Capable]
|- Linear Address Space Separation                              LASS   [Missing]
|- Linear Address Masking                                        LAM   [Missing]
|- Load Kernel GS segment register                              LKGS   [Missing]
|- LightWeight Profiling                                         LWP   [Missing]
|- Machine-Check Architecture                                    MCA   [Capable]
|- Memory Protection Extensions                                  MPX   [Missing]
|- Model Specific Registers                                      MSR   [Capable]
|- Memory Type Range Registers                                  MTRR   [Capable]
|- No-Execute Page Protection                                     NX   [Capable]
|- OS-Enabled Ext. State Management                          OSXSAVE   [Capable]
|- Physical Address Extension                                    PAE   [Capable]
|- Page Attribute Table                                          PAT   [Capable]
|- Pending Break Enable                                          PBE   [Capable]
|- Platform Configuration                                    PCONFIG   [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]
|- Write Data to a Processor Trace Packet                    PTWRITE   [Capable]
|- PREFETCHIT0/1 Instructions                              PREFETCHI   [Missing]
|- Resource Director Technology/PQE                            RDT-A   [Missing]
|- Resource Director Technology/PQM                            RDT-M   [Missing]
|- Restricted Transactional Memory                               RTM   [Missing]
|- Safer Mode Extensions                                         SMX   [Capable]
|- Self-Snoop                                                     SS   [Capable]
|- Supervisor-Mode Access Prevention                            SMAP   [Capable]
|- Supervisor-Mode Execution Prevention                         SMEP   [Capable]
|- Thread Director                                                TD   [Capable]
|- Time Stamp Counter                                            TSC [Invariant]
|- Time Stamp Counter Deadline                          TSC-DEADLINE   [Capable]
|- TSX Force Abort MSR Register                            TSX-ABORT   [Missing]
|- TSX Suspend Load Address Tracking                       TSX-LDTRK   [Missing]
|- User-Mode Instruction Prevention                             UMIP   [Capable]
|- Virtual Mode Extension                                        VME   [Capable]
|- Virtual Machine Extensions                                    VMX   [Capable]
|- Write Back & Do Not Invalidate Cache                     WBNOINVD   [Missing]
|- 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   [Capable]
|- Arch - Buffer Overwriting                                MD-CLEAR   [Capable]
|- Arch - No Rogue Data Cache Load                           RDCL_NO   [Capable]
|- Arch - Enhanced IBRS                                     IBRS_ALL   [Capable]
|- Arch - Return Stack Buffer Alternate                         RSBA   [Capable]
|- Arch - No Speculative Store Bypass                         SSB_NO   [Capable]
|- Arch - No Microarchitectural Data Sampling                 MDS_NO   [Capable]
|- Arch - No TSX Asynchronous Abort                           TAA_NO   [Capable]
|- Arch - No Page Size Change MCE                     PSCHANGE_MC_NO   [Capable]
|- Arch - STLB QoS                                              STLB   [ Enable]
|- Arch - Functional Safety Island                              FuSa   [ Enable]
|- Arch - RSM in CPL0 only                                       RSM   [ Enable]
|- Arch - Split Locked Access Exception                         SPLA   [ Enable]
|- Arch - Snoop Filter QoS Mask                         SNOOP_FILTER   [ Enable]
|- Arch - No Fast Predictive Store Forwarding                   PSFD   [Capable]
|- Arch - Data Operand Independent Timing Mode                 DOITM   [ Unable]
|- Arch - Not affected by SBDR or SSDP                  SBDR_SSDP_NO   [Capable]
|- Arch - No Fill Buffer Stale Data Propagator              FBSDP_NO   [Capable]
|- Arch - No Primary Stale Data Propagator                   PSDP_NO   [Capable]
|- Arch - Overwrite Fill Buffer values                      FB_CLEAR   [Capable]
|- Arch - Special Register Buffer Data Sampling                SRBDS   [ Unable]
   |- RDRAND and RDSEED mitigation                             RNGDS   [ Unable]
   |- Restricted Transactional Memory                            RTM   [ Unable]
   |- Verify Segment for Writing instruction                    VERW   [ Unable]
|- Arch - Restricted RSB Alternate                             RRSBA   [Capable]
|- Arch - No Branch Target Injection                          BHI_NO   [Capable]
|- Arch - Legacy xAPIC Disable                             XAPIC_DIS   [ Unable]
|- Arch - No Post-Barrier Return Stack Buffer               PBRSB_NO   [Capable]
|- Arch - No Gather Data Sampling                             GDS_NO   [ Enable]
|- Arch - No Register File Data Sampling                     RFDS_NO   [Capable]
|- Arch - IPRED disabled for CPL3                        IPRED_DIS_U   [Capable]
|- Arch - IPRED disabled for CPL0/1/2                    IPRED_DIS_S   [Capable]
|- Arch - RRSBA disabled for CPL3                        RRSBA_DIS_U   [Capable]
|- Arch - RRSBA disabled for CPL0/1/2                    RRSBA_DIS_S   [Capable]
|- Arch - Data Dependent Prefetcher CPL3                  DDPD_U_DIS   [Capable]
|- Arch - BHI disabled for CPL0/1/2                        BHI_DIS_S   [ Enable]
|- No MXCSR Configuration Dependent Timing                   MCDT_NO   [ Unable]
|- No MONITOR/UMONITOR mitigation                       UMON_MITG_NO   [ Unable]
|- Overclocking
   |- Overclocking Utilized                                 UTILIZED   [ Enable]
   |- Undervolt Protection                                       UVP   [Capable]
   |- Overclocking Secure Status                            UNLOCKED   [Capable]
Security Features
|- CPUID Key Locker                                               KL   [Capable]
|- AES Key Locker instructions                                AESKLE   [Missing]
|- CET Shadow Stack features                                  CET-SS   [Capable]
|- CET Indirect Branch Tracking                              CET-IBT   [Capable]
|- CET Supervisor Shadow Stack                               CET-SSS   [Capable]
|- AES Wide Key Locker instructions                          WIDE_KL   [Capable]
|- Software Guard SGX1 Extensions                               SGX1   [Missing]
|- Software Guard SGX2 Extensions                               SGX2   [Missing]

Technologies
|- Data Cache Unit
   |- L1 Prefetcher                                                L1 HW   <OFF>
   |- L1 IP Prefetcher                                          L1 HW IP   < ON>
   |- L1 Next Page Prefetcher                                     L1 NPP   <OFF>
   |- L1 Scrubbing                                          L1 Scrubbing   <OFF>
|- Cache Prefetchers
   |- L2 Prefetcher                                                L2 HW   < ON>
   |- L2 Adjacent Cache Line Prefetcher                         L2 HW CL   < ON>
   |- L2 Adaptive Multipath Probability                           L2 AMP   <OFF>
   |- L2 Next Line Prefetcher                                     L2 NLP   <OFF>
   |- LLC Streamer                                                   LLC   < ON>
|- System Management Mode                                       SMM-Dual   [OFF]
|- Hyper-Threading                                                   HTT   [OFF]
|- SpeedStep                                                        EIST   < ON>
|- Dynamic Acceleration                                              IDA   [ ON]
|- Turbo Boost Max 3.0                                             TURBO   < ON>
|- Energy Efficiency Optimization                                    EEO   <OFF>
|- Race To Halt Optimization                                         R2H   <OFF>
|- Watchdog Timer                                                    TCO   <OFF>
|- Virtualization                                                    VMX   [OFF]
   |- I/O MMU                                                       VT-d   [ ON]
   |- Version                                                     [         4.0]
   |- Hypervisor                                                           [OFF]
   |- Vendor ID                                                   [         N/A]
|- Volume Management Device                                          VMD   [ ON]
|- Gaussian & Neural Accelerator                                     GNA   [ ON]
|- Digital Content Protection                                       HDCP   [ ON]
|- Image Processing Unit                                             IPU   [OFF]
|- Vision Processing Unit                                            VPU   [OFF]
|- Overclocking                                                       OC   [ ON]

Performance Monitoring
|- Version                                                        PM       [  5]
|- Counters:          General                   Fixed
|           {  6,  0,  0 } x 48 bits            3 x 48 bits
|- Enhanced Halt State                                           C1E       <OFF>
|- C1 Auto Demotion                                              C1A       < ON>
|- C3 Auto Demotion                                              C3A       <OFF>
|- C1 UnDemotion                                                 C1U       < ON>
|- C3 UnDemotion                                                 C3U       <OFF>
|- C6 Core Demotion                                              CC6       <OFF>
|- C6 Module Demotion                                            MC6       <OFF>
|- Legacy Frequency ID control                                   FID       [OFF]
|- Legacy Voltage ID control                                     VID       [OFF]
|- P-State Hardware Coordination Feedback                MPERF/APERF       [ ON]
|- Hardware Duty Cycling                                         HDC       [OFF]
|- Package C-States
   |- Configuration Control                                   CONFIG   [   LOCK]
   |- Lowest C-State                                           LIMIT   <     C0>
   |- I/O MWAIT Redirection                                  IOMWAIT   <Disable>
   |- Max C-State Inclusion                                    RANGE   <     C1>
|- Core C-States
   |- C-States Base Address                                      BAR   [ 0x1814]
|- ACPI Processor C-States                                      _CST   [      2]
|- MONITOR/MWAIT
   |- State index:    #0    #1    #2    #3    #4    #5    #6    #7
   |- Sub C-State:     0     2     0     2     0     1     0     1
   |- Monitor-Mwait Extensions                                   EMX   [Capable]
   |- Interrupt Break-Event                                      IBE   [Capable]
|- 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]
|- Top-down slots Counter                                              [Capable]
|- Processor Performance Control                                _PCT   [ Enable]
|- Performance Supported States                                 _PSS   [      0]
|- Performance Present Capabilities                             _PPC   [      0]

Power, Current & Thermal
|- Temperature Offset:Junction                                 TjMax <  0:100 C>
|- Clock Modulation                                             ODCM   <Disable>
   |- DutyCycle                                                        [  0.00%]
|- Power Management                                         PWR MGMT   [   LOCK]
   |- Energy Policy                                        Bias Hint   [      0]
   |- Energy Policy                                          HWP EPP   <      0>
|- 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   [  125 W]
   |- Minimum Power                                              Min   [Missing]
   |- Maximum Power                                              Max   [Missing]
|- Thermal Design Power                                      Package   < Enable>
   |- Power Limit                                                PL1   < 4095 W>
   |- Time Window                                                TW1   <   56 s>
   |- Power Limit                                                PL2   < 4095 W>
   |- Time Window                                                TW2   <   2 ms>
|- Thermal Design Power                                         Core   <Disable>
   |- Power Limit                                                PL1   <    0 W>
   |- Time Window                                                TW1   < 976 us>
|- Thermal Design Power                                       Uncore   <Disable>
   |- Power Limit                                                PL1   <    0 W>
   |- Time Window                                                TW1   < 976 us>
|- Thermal Design Power                                         DRAM   [Disable]
   |- Power Limit                                                PL1   [    0 W]
   |- Time Window                                                TW1   [ 976 us]
|- Thermal Design Power                                     Platform   <Disable>
   |- Power Limit                                                PL1   <    0 W>
   |- Time Window                                                TW1   <   28 s>
   |- Power Limit                                                PL2   <    0 W>
   |- Time Window                                                TW2   < 976 us>
|- Electrical Design Current                                     EDC   [Missing]
|- Thermal Design Current                                        TDC   [Missing]
|- Core Thermal Point
   |- DTS Threshold #1                                     Threshold   [Missing]
   |- DTS Threshold #2                                     Threshold   [Missing]
|- Package Thermal Point
   |- DTS Threshold #1                                     Threshold   [Missing]
   |- DTS Threshold #2                                     Threshold   [Missing]
|- Units
   |- Power                                               watt   [  0.125000000]
   |- Energy                                             joule   [  0.000061035]
   |- Window                                            second   [  0.000976562]

                             Intel Z790  [7A04]
Controller #0                                                Dual Channel
 Bus Rate  3200 MHz       Bus Speed 3216 MHz           DDR5 Speed 6433 MT/s

 Cha    CL RCDr RCDw   RP  RAS RRDs RRDl  FAW   WR RTPr WTPr  CWL  CKE  CMD
  #0    32   39   39   39   89    8   16   32  100   23  136   32   24   2T
  #1    32   39   39   39   89    8   16   32  100   23  136   32   24   2T
      sgRR dgRR drRR ddRR      sgRW dgRW drRW ddRW      sgWR dgWR drWR ddWR
  #0    16    8   16   16        20   20   22   22        76   52   14   14
  #1    16    8   16   16        20   20   22   22        76   52   14   14
      sgWW dgWW drWW ddWW                REFI  RFC  XS   XP CPDED GEAR  ECC
  #0    34    8   16   16                6250  510  940   24   16    2    0
  #1    34    8   16   16                6250  510  940   24   16    2    0

 DIMM Geometry for channel #0
      Slot Bank Rank     Rows   Columns    Memory Size (MB)
       #0
       #1    16    2    131072      1024          32768
 DIMM Geometry for channel #1
      Slot Bank Rank     Rows   Columns    Memory Size (MB)
       #0
       #1    16    2    131072      1024          32768

@paulzzh
Copy link

paulzzh commented Jul 23, 2024

Perfect.
Where is Controller #1 DIMMB2 ?
image
image

@cyring
Copy link
Owner Author

cyring commented Jul 23, 2024

Where is Controller #1 DIMMB2 ?

It did however with AlderLake & DDR4

https://gist.github.com/cyring/f15646816a47a04f8b8f9c3a4cada24c?permalink_comment_id=4454592#gistcomment-4454592

That's why this issue remains opened: I wish new developers could work straight on HW and finalize those IMC decoders.


Also notice that Virtualization section is now showing up in "Technologies"


Thank you for the star

@cyring cyring added enhancement and removed bug labels Jul 27, 2024
@cyring
Copy link
Owner Author

cyring commented Jul 30, 2024

@BugReporterZ Hello,

Can you please pull the latest commits from the develop branch and show the output of corefreq-cli -k -n -B -n -M ?

CC: @paulzzh

@BugReporterZ
Copy link

@BugReporterZ Hello,

Can you please pull the latest commits from the develop branch and show the output of corefreq-cli -k -n -B -n -M ?

I got this:

./corefreq-cli -k -n -B -n -M
Linux:                                                                          
|- Release                                                     [6.9.9-1-default]
|- Version       [#1 SMP PREEMPT_DYNAMIC Thu Jul 11 11:31:54 UTC 2024 (8c0f797)]
|- Machine                                                              [x86_64]
Memory:                                                                         
|- Total RAM                                                         65530220 KB
|- Shared RAM                                                         1691920 KB
|- Free RAM                                                           1244324 KB
|- Buffer RAM                                                             672 KB
|- Total High                                                               0 KB
|- Free High                                                                0 KB
Clock Source                                                  <             tsc>
CPU-Freq driver                                               [    intel_pstate]
Governor                                                      [         Missing]
CPU-Idle driver                                               [      intel_idle]
|- Idle Limit                                                 [             C10]
   |- State        POLL     C1E      C6      C8     C10                         
   |-           CPUIDLE MWAIT 0 MWAIT 0 MWAIT 0 MWAIT 0                         
   |- Power          -1       0       0       0       0                         
   |- Latency         0       2     220     280     680                         
   |- Residency       0       4     600     800    2000                         

[ 0] American Megatrends International, LLC.                                    
[ 1] 1.H0                                                                       
[ 2] 03/29/2024                                                                 
[ 3] Micro-Star International Co., Ltd.                                         
[ 4] MS-7D25                                                                    
[ 5] 1.0                                                                        
[ 6] D---u---s---n-                                                             
[ 7] Default string                                                             
[ 8] Default string                                                             
[ 9] Micro-Star International Co., Ltd.                                         
[10] PRO Z690-A WIFI DDR4(MS-7D25)                                              
[11] 1.0                                                                        
[12] 0---5---L---0---8-                                                         
[13] Number Of Devices:4\Maximum Capacity:134217728 kilobytes                   
[14] Controller0-DIMMA1\BANK 0                                                  
[15] Controller0-DIMMA2\BANK 0                                                  
[16] Controller1-DIMMB1\BANK 0                                                  
[17] Controller1-DIMMB2\BANK 0                                                  
[18] Corsair                                                                    
[19] Corsair                                                                    
[20] Corsair                                                                    
[21] Corsair                                                                    
[22] CMK32GX4M2D3600C18                                                         
[23] CMK32GX4M2D3600C18                                                         
[24] CMK32GX4M2D3600C18                                                         
[25] CMK32GX4M2D3600C18                                                         

                             Intel Z690  [7A84]                            
Controller #0                                                Dual Channel  
 Bus Rate  3600 MHz       Bus Speed 3609 MHz           DDR4 Speed 7219 MT/s
                                                                           
 Cha    CL RCDr RCDw   RP  RAS RRDs RRDl  FAW   WR RTPr WTPr  CWL  CKE  CMD
  #0    18   22   22   22   42    4    9   40   24   12   46   18    7   2T
  #1     5    8    8    8   28    4    4   16   14    6   24    6    4   1T
      sgRR dgRR drRR ddRR      sgRW dgRW drRW ddRW      sgWR dgWR drWR ddWR
  #0     7    4   12   12        14   15   15   16        36   29    7    7
  #1     4    4    4    4         4    4    4    4         4    4    4    4
      sgWW dgWW drWW ddWW                REFI  RFC  XS   XP CPDED GEAR  ECC
  #0     7    4   12   12               14055  630  648   11    4    1    0
  #1     4    4    4    4                4100  180    0    4    1    1    0
                                                                           
 DIMM Geometry for channel #0                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0    16    2     65536      1024          16384  CMK32GX4M2D3600C18
       #1    16    2     65536      1024          16384  CMK32GX4M2D3600C18
 DIMM Geometry for channel #1                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0                                                                  
       #1                                                                  
                                                                           
Controller #1                                                Dual Channel  
 Bus Rate  3600 MHz       Bus Speed 3609 MHz           DDR4 Speed 7219 MT/s
                                                                           
 Cha    CL RCDr RCDw   RP  RAS RRDs RRDl  FAW   WR RTPr WTPr  CWL  CKE  CMD
  #0    18   22   22   22   42    4    9   40   24   12   46   18    7   2T
  #1     5    8    8    8   28    4    4   16   14    6   24    6    4   1T
      sgRR dgRR drRR ddRR      sgRW dgRW drRW ddRW      sgWR dgWR drWR ddWR
  #0     7    4   12   12        14   15   15   16        36   29    7    7
  #1     4    4    4    4         4    4    4    4         4    4    4    4
      sgWW dgWW drWW ddWW                REFI  RFC  XS   XP CPDED GEAR  ECC
  #0     7    4   12   12               14055  630  648   11    4    1    0
  #1     4    4    4    4                4100  180    0    4    1    1    0
                                                                           
 DIMM Geometry for channel #0                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0    16    2     65536      1024          16384  CMK32GX4M2D3600C18
       #1    16    2     65536      1024          16384  CMK32GX4M2D3600C18
 DIMM Geometry for channel #1                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0                                                                  
       #1                                                          

@cyring
Copy link
Owner Author

cyring commented Jul 30, 2024

I got this:

Thank you

Can you tell if the WR timing of 24 is correct facing its BIOS setting ?

Feel free to post the BIOS screenshot then I can compare all the other timings

@paulzzh
Copy link

paulzzh commented Jul 30, 2024

Can you please pull the latest commits from the develop branch and show the output of corefreq-cli -k -n -B -n -M ?

CC: @paulzzh

root@pve:~# corefreq-cli -k -n -B -n -M
Linux:                                                                          
|- Release                                                         [6.8.8-4-pve]
|- Version              [#1 SMP PREEMPT_DYNAMIC PMX 6.8.8-4 (2024-07-26T11:15Z)]
|- Machine                                                              [x86_64]
Memory:                                                                         
|- Total RAM                                                         65609688 KB
|- Shared RAM                                                           62128 KB
|- Free RAM                                                          60300304 KB
|- Buffer RAM                                                          131820 KB
|- Total High                                                               0 KB
|- Free High                                                                0 KB
Clock Source                                                  <             tsc>
CPU-Freq driver                                               [    intel_pstate]
Governor                                                      [         Missing]
CPU-Idle driver                                               [      intel_idle]
|- Idle Limit                                                 [         C2_ACPI]
   |- State        POLL C1_ACPI C2_ACPI                                         
   |-           CPUIDLE ACPI FF ACPI FF                                         
   |- Power          -1       0       0                                         
   |- Latency         0       1     127                                         
   |- Residency       0       1     381                                         

[ 0] American Megatrends International, LLC.                                    
[ 1] M.40                                                                       
[ 2] 04/19/2024                                                                 
[ 3] Micro-Star International Co., Ltd.                                         
[ 4] MS-7E07                                                                    
[ 5] 4.0                                                                        
[ 6] D---u---s---n-                                                             
[ 7] Default string                                                             
[ 8] Default string                                                             
[ 9] Micro-Star International Co., Ltd.                                         
[10] PRO Z790-A MAX WIFI (MS-7E07)                                              
[11] 4.0                                                                        
[12] 0---7---N---4---5-                                                         
[13] Number Of Devices:4\Maximum Capacity:134217728 kilobytes                   
[14]                                                                            
[15] Controller0-DIMMA2\BANK 0                                                  
[16]                                                                            
[17] Controller1-DIMMB2\BANK 0                                                  
[18]                                                                            
[19] 0x0B92                                                                     
[20]                                                                            
[21] 0x0B92                                                                     
[22]                                                                            
[23]                                                                            
[24]                                                                            
[25]                                                                            

                             Intel Z790  [7A04]                            
Controller #0                                                Dual Channel  
 Bus Rate  3200 MHz       Bus Speed 3216 MHz           DDR5 Speed 6433 MT/s
                                                                           
 Cha    CL RCDr RCDw   RP  RAS RRDs RRDl  FAW   WR RTPr WTPr  CWL  CKE  CMD
  #0    32   39   39   39   89    8   16   32  100   23  136   32   24   2T
  #1    32   39   39   39   89    8   16   32  100   23  136   32   24   2T
      sgRR dgRR drRR ddRR      sgRW dgRW drRW ddRW      sgWR dgWR drWR ddWR
  #0    16    8   16   16        20   20   22   22        76   52   14   14
  #1    16    8   16   16        20   20   22   22        76   52   14   14
      sgWW dgWW drWW ddWW                REFI  RFC  XS   XP CPDED GEAR  ECC
  #0    34    8   16   16                6250  510  940   24   16    2    0
  #1    34    8   16   16                6250  510  940   24   16    2    0
                                                                           
 DIMM Geometry for channel #0                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0                                                                  
       #1    16    2    131072      1024          32768                    
 DIMM Geometry for channel #1                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0                                                                  
       #1    16    2    131072      1024          32768

@BugReporterZ
Copy link

I got this:

Thank you

Can you tell if the WR timing of 24 is correct facing its BIOS setting ?

Feel free to post the BIOS screenshot then I can compare all the other timings

i7-12700k-memtimings-3600

@cyring
Copy link
Owner Author

cyring commented Jul 30, 2024

@BugReporterZ @paulzzh

My tWR formula is working with DDR4 but not with DDR5

$$tWR = tWRPRE - tCW - 4$$

Source code:

if (RO(Proc)->Uncore.MC[mc].Channel[cha].ADL.Timing.tWRPRE >=


According to 13th and 14th datasheet, tWRPRE is expressed in tCK delay but in WCK for LPDDR5

2024-07-30-130213_663x79_scrot

@cyring
Copy link
Owner Author

cyring commented Jul 30, 2024

I'm reading this

$$tWRPRE = tWR + tCWL + 8$$

@paulzzh @BugReporterZ Can you please pull latest commit 36adf0e and post corefreq-cli -M

@BugReporterZ
Copy link

After pulling and recompiling:

./corefreq-cli -M
                             Intel Z690  [7A84]                            
Controller #0                                                Dual Channel  
 Bus Rate  3600 MHz       Bus Speed 3609 MHz           DDR4 Speed 7219 MT/s
                                                                           
 Cha    CL RCDr RCDw   RP  RAS RRDs RRDl  FAW   WR RTPr WTPr  CWL  CKE  CMD
  #0    18   22   22   22   42    4    9   40   24   12   46   18    7   2T
  #1     5    8    8    8   28    4    4   16   14    6   24    6    4   1T
      sgRR dgRR drRR ddRR      sgRW dgRW drRW ddRW      sgWR dgWR drWR ddWR
  #0     7    4   12   12        14   15   15   16        36   29    7    7
  #1     4    4    4    4         4    4    4    4         4    4    4    4
      sgWW dgWW drWW ddWW                REFI  RFC  XS   XP CPDED GEAR  ECC
  #0     7    4   12   12               14055  630  648   11    4    1    0
  #1     4    4    4    4                4100  180    0    4    1    1    0
                                                                           
 DIMM Geometry for channel #0                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0    16    2     65536      1024          16384  CMK32GX4M2D3600C18
       #1    16    2     65536      1024          16384  CMK32GX4M2D3600C18
 DIMM Geometry for channel #1                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0                                                                  
       #1                                                                  
                                                                           
Controller #1                                                Dual Channel  
 Bus Rate  3600 MHz       Bus Speed 3609 MHz           DDR4 Speed 7219 MT/s
                                                                           
 Cha    CL RCDr RCDw   RP  RAS RRDs RRDl  FAW   WR RTPr WTPr  CWL  CKE  CMD
  #0    18   22   22   22   42    4    9   40   24   12   46   18    7   2T
  #1     5    8    8    8   28    4    4   16   14    6   24    6    4   1T
      sgRR dgRR drRR ddRR      sgRW dgRW drRW ddRW      sgWR dgWR drWR ddWR
  #0     7    4   12   12        14   15   15   16        36   29    7    7
  #1     4    4    4    4         4    4    4    4         4    4    4    4
      sgWW dgWW drWW ddWW                REFI  RFC  XS   XP CPDED GEAR  ECC
  #0     7    4   12   12               14055  630  648   11    4    1    0
  #1     4    4    4    4                4100  180    0    4    1    1    0
                                                                           
 DIMM Geometry for channel #0                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0    16    2     65536      1024          16384  CMK32GX4M2D3600C18
       #1    16    2     65536      1024          16384  CMK32GX4M2D3600C18
 DIMM Geometry for channel #1                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0                                                                  
       #1                                                                  

@paulzzh
Copy link

paulzzh commented Jul 30, 2024

WR 100 -> 96

root@pve:~# corefreq-cli -M
                             Intel Z790  [7A04]                            
Controller #0                                                Dual Channel  
 Bus Rate  3200 MHz       Bus Speed 3216 MHz           DDR5 Speed 6433 MT/s
                                                                           
 Cha    CL RCDr RCDw   RP  RAS RRDs RRDl  FAW   WR RTPr WTPr  CWL  CKE  CMD
  #0    32   39   39   39   89    8   16   32   96   23  136   32   24   2T
  #1    32   39   39   39   89    8   16   32   96   23  136   32   24   2T
      sgRR dgRR drRR ddRR      sgRW dgRW drRW ddRW      sgWR dgWR drWR ddWR
  #0    16    8   16   16        20   20   22   22        76   52   14   14
  #1    16    8   16   16        20   20   22   22        76   52   14   14
      sgWW dgWW drWW ddWW                REFI  RFC  XS   XP CPDED GEAR  ECC
  #0    34    8   16   16                6250  510  940   24   16    2    0
  #1    34    8   16   16                6250  510  940   24   16    2    0
                                                                           
 DIMM Geometry for channel #0                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0                                                                  
       #1    16    2    131072      1024          32768                    
 DIMM Geometry for channel #1                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0                                                                  
       #1    16    2    131072      1024          32768

@cyring
Copy link
Owner Author

cyring commented Jul 30, 2024

WR 100 -> 96

Great; as your BIOS.
Thank you

@cyring
Copy link
Owner Author

cyring commented Jul 30, 2024

After pulling and recompiling:

Great; no regression on your tWR = 24


I still have no clue how to handle the second channel timings

@cyring
Copy link
Owner Author

cyring commented Aug 2, 2024

I'm getting this:

Thank you.
I've an idea what's going on but I'm waiting @paulzzh DDR5 output before changing code

@Technologicat
Copy link

Technologicat commented Aug 2, 2024

@cyring Here's my output (DDR5):

                          Intel ADL PCH-P  [5182]                          
Controller #0                                                Dual Channel  
 Bus Rate  2400 MHz       Bus Speed 2389 MHz           DDR5 Speed 4779 MT/s
                                                                           
 Cha    CL RCDr RCDw   RP  RAS RRDs RRDl  FAW   WR RTPr WTPr  CWL  CKE  CMD
  #0    40   40   40   40   76    8   12   32   71   17  117   38   18   2T
  #1    40   40   40   40   76    8   12   32   71   17  117   38   18   2T
      sgRR dgRR drRR ddRR      sgRW dgRW drRW ddRW      sgWR dgWR drWR ddWR
  #0    12    8   14   14        18   18   20   22        72   54   12   12
  #1    12    8   14   14        18   18   20   22        72   54   12   12
      sgWW dgWW drWW ddWW                REFI  RFC  XS   XP CPDED GEAR  ECC
  #0    26    8   14   14                4680  383  706   18   12    2    0
  #1    26    8   14   14                4680  383  706   18   12    2    0
                                                                           
 DIMM Geometry for channel #0                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0    16    1    131072      1024          16384      PSD516G480081S
 DIMM Geometry for channel #1                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0                                                                  
                                                                           
Controller #1                                                Dual Channel  
 Bus Rate  2400 MHz       Bus Speed 2389 MHz           DDR5 Speed 4779 MT/s
                                                                           
 Cha    CL RCDr RCDw   RP  RAS RRDs RRDl  FAW   WR RTPr WTPr  CWL  CKE  CMD
  #0    40   40   40   40   76    8   12   32   71   17  117   38   18   2T
  #1    40   40   40   40   76    8   12   32   71   17  117   38   18   2T
      sgRR dgRR drRR ddRR      sgRW dgRW drRW ddRW      sgWR dgWR drWR ddWR
  #0    12    8   14   14        18   18   20   22        72   54   12   12
  #1    12    8   14   14        18   18   20   22        72   54   12   12
      sgWW dgWW drWW ddWW                REFI  RFC  XS   XP CPDED GEAR  ECC
  #0    26    8   14   14                4680  383  706   18   12    2    0
  #1    26    8   14   14                4680  383  706   18   12    2    0
                                                                           
 DIMM Geometry for channel #0                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0    16    1    131072      1024          16384      PSD516G480081S
 DIMM Geometry for channel #1                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0

EDIT: Oops, that's with Intel_12_13_14_IMC, not develop. Ping me if you want the DDR5 output from develop, too.

@cyring
Copy link
Owner Author

cyring commented Aug 2, 2024

EDIT: Oops, that's with Intel_12_13_14_IMC, not develop. Ping me if you want the DDR5 output from develop, too.

Thank you.
In fact, results based Intel_12_13_14_IMC branch are more important to me.
Compared to your previous output, they show that i7-12700H with DDR5 has two enabled Memory Controllers, one DIMM per MC


Also noticed that tWR is now adjusted.

@Technologicat
Copy link

Great! Feel free to ask again if you need something else. I'm rather busy with other things at the moment, but CoreFreq is a nice system monitoring tool and I'm happy to help with small tests like this when I can.

@paulzzh
Copy link

paulzzh commented Aug 2, 2024

branch Intel_12_13_14_IMC

root@pve:~/CoreFreq# corefreq-cli -M
                             Intel Z790  [7A04]
Controller #0                                                Dual Channel
 Bus Rate  3200 MHz       Bus Speed 3216 MHz           DDR5 Speed 6432 MT/s

 Cha    CL RCDr RCDw   RP  RAS RRDs RRDl  FAW   WR RTPr WTPr  CWL  CKE  CMD
  #0    32   39   39   39   89    8   16   32   96   23  136   32   24   2T
  #1    32   39   39   39   89    8   16   32   96   23  136   32   24   2T
      sgRR dgRR drRR ddRR      sgRW dgRW drRW ddRW      sgWR dgWR drWR ddWR
  #0    16    8   16   16        20   20   22   22        76   52   14   14
  #1    16    8   16   16        20   20   22   22        76   52   14   14
      sgWW dgWW drWW ddWW                REFI  RFC  XS   XP CPDED GEAR  ECC
  #0    34    8   16   16                6250  510  940   24   16    2    0
  #1    34    8   16   16                6250  510  940   24   16    2    0

 DIMM Geometry for channel #0
      Slot Bank Rank     Rows   Columns    Memory Size (MB)
       #0
 DIMM Geometry for channel #1
      Slot Bank Rank     Rows   Columns    Memory Size (MB)
       #0    16    2    131072      1024          32768

Controller #1                                                Dual Channel
 Bus Rate  3200 MHz       Bus Speed 3216 MHz           DDR5 Speed 6432 MT/s

 Cha    CL RCDr RCDw   RP  RAS RRDs RRDl  FAW   WR RTPr WTPr  CWL  CKE  CMD
  #0    32   39   39   39   89    8   16   32   96   23  136   32   24   2T
  #1    32   39   39   39   89    8   16   32   96   23  136   32   24   2T
      sgRR dgRR drRR ddRR      sgRW dgRW drRW ddRW      sgWR dgWR drWR ddWR
  #0    16    8   16   16        20   20   22   22        76   52   14   14
  #1    16    8   16   16        20   20   22   22        76   52   14   14
      sgWW dgWW drWW ddWW                REFI  RFC  XS   XP CPDED GEAR  ECC
  #0    34    8   16   16                6250  510  940   24   16    2    0
  #1    34    8   16   16                6250  510  940   24   16    2    0

 DIMM Geometry for channel #0
      Slot Bank Rank     Rows   Columns    Memory Size (MB)
       #0
 DIMM Geometry for channel #1
      Slot Bank Rank     Rows   Columns    Memory Size (MB)
       #0    16    2    131072      1024          32768

@cyring
Copy link
Owner Author

cyring commented Aug 2, 2024

@BugReporterZ

To solve the empty DIMM, can you please trace variables ?

Go to the code at this line (still in branch Intel_12_13_14_IMC):

case 1 ... 4:

And change statement as below

    case 1 ... 4:
/*TODO*/
	printf("D0: %7d %7d %7d %d\n",
		mc, RO(Proc)->Uncore.MC[mc].ADL.MADC0.Dimm_L_Map,
		DimmWidthToRows(RO(Proc)->Uncore.MC[mc].ADL.MADD0.DLW),
		512 * RO(Proc)->Uncore.MC[mc].ADL.MADD0.Dimm_L_Size );
	printf("D1: %7d %7d %7d %d\n",
		mc, !RO(Proc)->Uncore.MC[mc].ADL.MADC0.Dimm_L_Map,
		DimmWidthToRows(RO(Proc)->Uncore.MC[mc].ADL.MADD0.DSW),
		512 * RO(Proc)->Uncore.MC[mc].ADL.MADD0.Dimm_S_Size );
	printf("D2: %7d %7d %7d %d\n",
		mc, RO(Proc)->Uncore.MC[mc].ADL.MADC1.Dimm_L_Map,
		DimmWidthToRows(RO(Proc)->Uncore.MC[mc].ADL.MADD1.DLW),
		512 * RO(Proc)->Uncore.MC[mc].ADL.MADD1.Dimm_L_Size );
	printf("D3: %7d %7d %7d %d\n",
		mc, !RO(Proc)->Uncore.MC[mc].ADL.MADC1.Dimm_L_Map,
		DimmWidthToRows(RO(Proc)->Uncore.MC[mc].ADL.MADD1.DSW),
		512 * RO(Proc)->Uncore.MC[mc].ADL.MADD1.Dimm_S_Size );
/*TODO*/
	RO(Shm)->Uncore.MC[mc].Channel[
		RO(Proc)->Uncore.MC[mc].ADL.MADC0.Dimm_L_Map
	].DIMM[0].Rows = DimmWidthToRows(RO(Proc)->Uncore.MC[mc].ADL.MADD0.DLW);

	RO(Shm)->Uncore.MC[mc].Channel[
		!RO(Proc)->Uncore.MC[mc].ADL.MADC0.Dimm_L_Map
	].DIMM[0].Rows = DimmWidthToRows(RO(Proc)->Uncore.MC[mc].ADL.MADD0.DSW);

	RO(Shm)->Uncore.MC[mc].Channel[
		RO(Proc)->Uncore.MC[mc].ADL.MADC1.Dimm_L_Map
	].DIMM[0].Rows = DimmWidthToRows(RO(Proc)->Uncore.MC[mc].ADL.MADD1.DLW);

	RO(Shm)->Uncore.MC[mc].Channel[
		!RO(Proc)->Uncore.MC[mc].ADL.MADC1.Dimm_L_Map
	].DIMM[0].Rows = DimmWidthToRows(RO(Proc)->Uncore.MC[mc].ADL.MADD1.DSW);

	RO(Shm)->Uncore.MC[mc].Channel[
		RO(Proc)->Uncore.MC[mc].ADL.MADC0.Dimm_L_Map
	].DIMM[0].Size = 512 * RO(Proc)->Uncore.MC[mc].ADL.MADD0.Dimm_L_Size;

	RO(Shm)->Uncore.MC[mc].Channel[
		!RO(Proc)->Uncore.MC[mc].ADL.MADC0.Dimm_L_Map
	].DIMM[0].Size = 512 * RO(Proc)->Uncore.MC[mc].ADL.MADD0.Dimm_S_Size;

	RO(Shm)->Uncore.MC[mc].Channel[
		RO(Proc)->Uncore.MC[mc].ADL.MADC1.Dimm_L_Map
	].DIMM[0].Size = 512 * RO(Proc)->Uncore.MC[mc].ADL.MADD1.Dimm_L_Size;

	RO(Shm)->Uncore.MC[mc].Channel[
		!RO(Proc)->Uncore.MC[mc].ADL.MADC1.Dimm_L_Map
	].DIMM[0].Size = 512 * RO(Proc)->Uncore.MC[mc].ADL.MADD1.Dimm_S_Size;
	break;

In the daemon corefreqd output you will find the printed variables

Thank you

@BugReporterZ
Copy link

The daemon outputted this

CoreFreq Daemon 1.98.1  Copyright (C) 2015-2024 CYRIL COURTIAT
D0:       0       0   65536 16384
D1:       0       1   65536 16384
D2:       0       0   65536 0
D3:       0       1   65536 0
D0:       1       0   65536 16384
D1:       1       1   65536 16384
D2:       1       0   65536 0
D3:       1       1   65536 0

@cyring
Copy link
Owner Author

cyring commented Aug 2, 2024

The daemon outputted this

CoreFreq Daemon 1.98.1  Copyright (C) 2015-2024 CYRIL COURTIAT
D0:       0       0   65536 16384
D1:       0       1   65536 16384
D2:       0       0   65536 0
D3:       0       1   65536 0
D0:       1       0   65536 16384
D1:       1       1   65536 16384
D2:       1       0   65536 0
D3:       1       1   65536 0

All of these mean that I should not process a second channel with DDR4 but I have to include a second channel with DDR5

@cyring
Copy link
Owner Author

cyring commented Aug 2, 2024

This new commit 54a044f now processes the channels decoding with DDR4 differently than DDR5

@BugReporterZ @paulzzh : can you please show me if the DIMMs layout is ok ?

@BugReporterZ
Copy link

BugReporterZ commented Aug 2, 2024

Getting this now.

corefreq-cli -M
                             Intel Z690  [7A84]                            
Controller #0                                                Dual Channel  
 Bus Rate  3600 MHz       Bus Speed 3609 MHz           DDR4 Speed 7219 MT/s
                                                                           
 Cha    CL RCDr RCDw   RP  RAS RRDs RRDl  FAW   WR RTPr WTPr  CWL  CKE  CMD
  #0    18   22   22   22   42    4    9   40   24   12   46   18    7   2T
  #1     0    0    0    0    0    0    0    0    0    0    0    0    0   0T
      sgRR dgRR drRR ddRR      sgRW dgRW drRW ddRW      sgWR dgWR drWR ddWR
  #0     7    4   12   12        14   15   15   16        36   29    7    7
  #1     0    0    0    0         0    0    0    0         0    0    0    0
      sgWW dgWW drWW ddWW                REFI  RFC  XS   XP CPDED GEAR  ECC
  #0     7    4   12   12               14055  630  648   11    4    1    0
  #1     0    0    0    0                   0    0    0    0    0    0    0
                                                                           
 DIMM Geometry for channel #0                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0    16    2     65536      1024          16384  CMK32GX4M2D3600C18
 DIMM Geometry for channel #1                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0     0    2     65536         0          16384  CMK32GX4M2D3600C18
                                                                           
Controller #1                                                Dual Channel  
 Bus Rate  3600 MHz       Bus Speed 3609 MHz           DDR4 Speed 7219 MT/s
                                                                           
 Cha    CL RCDr RCDw   RP  RAS RRDs RRDl  FAW   WR RTPr WTPr  CWL  CKE  CMD
  #0    18   22   22   22   42    4    9   40   24   12   46   18    7   2T
  #1     0    0    0    0    0    0    0    0    0    0    0    0    0   0T
      sgRR dgRR drRR ddRR      sgRW dgRW drRW ddRW      sgWR dgWR drWR ddWR
  #0     7    4   12   12        14   15   15   16        36   29    7    7
  #1     0    0    0    0         0    0    0    0         0    0    0    0
      sgWW dgWW drWW ddWW                REFI  RFC  XS   XP CPDED GEAR  ECC
  #0     7    4   12   12               14055  630  648   11    4    1    0
  #1     0    0    0    0                   0    0    0    0    0    0    0
                                                                           
 DIMM Geometry for channel #0                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0    16    2     65536      1024          16384  CMK32GX4M2D3600C18
 DIMM Geometry for channel #1                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0     0    2     65536         0          16384  CMK32GX4M2D3600C18

@cyring
Copy link
Owner Author

cyring commented Aug 2, 2024

Getting this now.

It's tuf to debug why the previous time all DIMM slots were blank
I have to reset that commit

EDIT OK I see the issue: with DDR4, VirtualCount is one but ChannelCount is two. Thus Bank and Cols were computed only once.

@paulzzh
Copy link

paulzzh commented Aug 2, 2024

commit 54a044f

root@pve:~# corefreq-cli -M
                             Intel Z790  [7A04]
Controller #0                                                Dual Channel
 Bus Rate  3200 MHz       Bus Speed 3216 MHz           DDR5 Speed 6433 MT/s

 Cha    CL RCDr RCDw   RP  RAS RRDs RRDl  FAW   WR RTPr WTPr  CWL  CKE  CMD
  #0    32   39   39   39   89    8   16   32   96   23  136   32   24   2T
  #1    32   39   39   39   89    8   16   32   96   23  136   32   24   2T
      sgRR dgRR drRR ddRR      sgRW dgRW drRW ddRW      sgWR dgWR drWR ddWR
  #0    16    8   16   16        20   20   22   22        76   52   14   14
  #1    16    8   16   16        20   20   22   22        76   52   14   14
      sgWW dgWW drWW ddWW                REFI  RFC  XS   XP CPDED GEAR  ECC
  #0    34    8   16   16                6250  510  940   24   16    2    0
  #1    34    8   16   16                6250  510  940   24   16    2    0

 DIMM Geometry for channel #0
      Slot Bank Rank     Rows   Columns    Memory Size (MB)
       #0
 DIMM Geometry for channel #1
      Slot Bank Rank     Rows   Columns    Memory Size (MB)
       #0    16    2    131072      1024          32768

Controller #1                                                Dual Channel
 Bus Rate  3200 MHz       Bus Speed 3216 MHz           DDR5 Speed 6433 MT/s

 Cha    CL RCDr RCDw   RP  RAS RRDs RRDl  FAW   WR RTPr WTPr  CWL  CKE  CMD
  #0    32   39   39   39   89    8   16   32   96   23  136   32   24   2T
  #1    32   39   39   39   89    8   16   32   96   23  136   32   24   2T
      sgRR dgRR drRR ddRR      sgRW dgRW drRW ddRW      sgWR dgWR drWR ddWR
  #0    16    8   16   16        20   20   22   22        76   52   14   14
  #1    16    8   16   16        20   20   22   22        76   52   14   14
      sgWW dgWW drWW ddWW                REFI  RFC  XS   XP CPDED GEAR  ECC
  #0    34    8   16   16                6250  510  940   24   16    2    0
  #1    34    8   16   16                6250  510  940   24   16    2    0

 DIMM Geometry for channel #0
      Slot Bank Rank     Rows   Columns    Memory Size (MB)
       #0
 DIMM Geometry for channel #1
      Slot Bank Rank     Rows   Columns    Memory Size (MB)
       #0    16    2    131072      1024          32768

@cyring
Copy link
Owner Author

cyring commented Aug 2, 2024

@BugReporterZ
Can you try this commit 1614819

@BugReporterZ
Copy link

Result:

corefreq-cli -M
                             Intel Z690  [7A84]                            
Controller #0                                                Dual Channel  
 Bus Rate  3600 MHz       Bus Speed 3609 MHz           DDR4 Speed 7219 MT/s
                                                                           
 Cha    CL RCDr RCDw   RP  RAS RRDs RRDl  FAW   WR RTPr WTPr  CWL  CKE  CMD
  #0    18   22   22   22   42    4    9   40   24   12   46   18    7   2T
  #1     0    0    0    0    0    0    0    0    0    0    0    0    0   0T
      sgRR dgRR drRR ddRR      sgRW dgRW drRW ddRW      sgWR dgWR drWR ddWR
  #0     7    4   12   12        14   15   15   16        36   29    7    7
  #1     0    0    0    0         0    0    0    0         0    0    0    0
      sgWW dgWW drWW ddWW                REFI  RFC  XS   XP CPDED GEAR  ECC
  #0     7    4   12   12               14055  630  648   11    4    1    0
  #1     0    0    0    0                   0    0    0    0    0    0    0
                                                                           
 DIMM Geometry for channel #0                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0    16    2     65536      1024          16384  CMK32GX4M2D3600C18
 DIMM Geometry for channel #1                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0    16    2     65536      1024          16384  CMK32GX4M2D3600C18
                                                                           
Controller #1                                                Dual Channel  
 Bus Rate  3600 MHz       Bus Speed 3609 MHz           DDR4 Speed 7219 MT/s
                                                                           
 Cha    CL RCDr RCDw   RP  RAS RRDs RRDl  FAW   WR RTPr WTPr  CWL  CKE  CMD
  #0    18   22   22   22   42    4    9   40   24   12   46   18    7   2T
  #1     0    0    0    0    0    0    0    0    0    0    0    0    0   0T
      sgRR dgRR drRR ddRR      sgRW dgRW drRW ddRW      sgWR dgWR drWR ddWR
  #0     7    4   12   12        14   15   15   16        36   29    7    7
  #1     0    0    0    0         0    0    0    0         0    0    0    0
      sgWW dgWW drWW ddWW                REFI  RFC  XS   XP CPDED GEAR  ECC
  #0     7    4   12   12               14055  630  648   11    4    1    0
  #1     0    0    0    0                   0    0    0    0    0    0    0
                                                                           
 DIMM Geometry for channel #0                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0    16    2     65536      1024          16384  CMK32GX4M2D3600C18
 DIMM Geometry for channel #1                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0    16    2     65536      1024          16384  CMK32GX4M2D3600C18

@cyring
Copy link
Owner Author

cyring commented Aug 2, 2024

Result:

Thanks.
Does it sound correct to you ?

@cyring
Copy link
Owner Author

cyring commented Aug 2, 2024

@Technologicat
Can you show me latest commit 1614819

@BugReporterZ
Copy link

Thanks. Does it sound correct to you ?

I guess it's confusing that memory channels are referred to as "controllers".

@cyring
Copy link
Owner Author

cyring commented Aug 2, 2024

Thanks. Does it sound correct to you ?

I guess it's confusing that memory channels are referred to as "controllers".

100% agreed

I don't remember when Intel or AMD started to mix up the so called dual channels.

When I began to design CoreFreq, Intel Nehalem architecture was perfectly coherent.

Btw, my next nightmare issue is the new DIMM of 12, 24, 48 GB size.
I found no helpful hint in registers datasheets how to detect them ...

@Technologicat
Copy link

@Technologicat Can you show me latest commit 1614819

Sure! Here's corefreq-cli -M using 1614819:

                          Intel ADL PCH-P  [5182]                          
Controller #0                                                Dual Channel  
 Bus Rate  2400 MHz       Bus Speed 2389 MHz           DDR5 Speed 4778 MT/s
                                                                           
 Cha    CL RCDr RCDw   RP  RAS RRDs RRDl  FAW   WR RTPr WTPr  CWL  CKE  CMD
  #0    40   40   40   40   76    8   12   32   71   17  117   38   18   2T
  #1    40   40   40   40   76    8   12   32   71   17  117   38   18   2T
      sgRR dgRR drRR ddRR      sgRW dgRW drRW ddRW      sgWR dgWR drWR ddWR
  #0    12    8   14   14        18   18   20   22        72   54   12   12
  #1    12    8   14   14        18   18   20   22        72   54   12   12
      sgWW dgWW drWW ddWW                REFI  RFC  XS   XP CPDED GEAR  ECC
  #0    26    8   14   14                4680  383  706   18   12    2    0
  #1    26    8   14   14                4680  383  706   18   12    2    0
                                                                           
 DIMM Geometry for channel #0                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0    16    1    131072      1024          16384      PSD516G480081S
 DIMM Geometry for channel #1                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0                                                                  
                                                                           
Controller #1                                                Dual Channel  
 Bus Rate  2400 MHz       Bus Speed 2389 MHz           DDR5 Speed 4778 MT/s
                                                                           
 Cha    CL RCDr RCDw   RP  RAS RRDs RRDl  FAW   WR RTPr WTPr  CWL  CKE  CMD
  #0    40   40   40   40   76    8   12   32   71   17  117   38   18   2T
  #1    40   40   40   40   76    8   12   32   71   17  117   38   18   2T
      sgRR dgRR drRR ddRR      sgRW dgRW drRW ddRW      sgWR dgWR drWR ddWR
  #0    12    8   14   14        18   18   20   22        72   54   12   12
  #1    12    8   14   14        18   18   20   22        72   54   12   12
      sgWW dgWW drWW ddWW                REFI  RFC  XS   XP CPDED GEAR  ECC
  #0    26    8   14   14                4680  383  706   18   12    2    0
  #1    26    8   14   14                4680  383  706   18   12    2    0
                                                                           
 DIMM Geometry for channel #0                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0    16    1    131072      1024          16384      PSD516G480081S
 DIMM Geometry for channel #1                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0

@cyring
Copy link
Owner Author

cyring commented Aug 5, 2024

@Technologicat (i7-12700H)
@SimonFair (12600K)
@ich777 (i7-12700K)
@rushvora (i9-12900K)
@justanerd (i9-13900K)
@paulzzh (i7-14700K)
@BugReporterZ (i7-12700K)

  • Anyone using Tiger lake up to Raptor lake

Hello,

Can you guys please test commit ff50d18 which probes Intel Watchdog but also activates remaining memory controllers from mobile segment.

You will find the "Watchdog" state in the "Technologies" window

@Technologicat
Copy link

@cyring

Using ff50d18, here's my corefreq-cli -M:

                          Intel ADL PCH-P  [5182]                          
Controller #0                                                Dual Channel  
 Bus Rate  2400 MHz       Bus Speed 2389 MHz           DDR5 Speed 4778 MT/s
                                                                           
 Cha    CL RCDr RCDw   RP  RAS RRDs RRDl  FAW   WR RTPr WTPr  CWL  CKE  CMD
  #0    40   40   40   40   76    8   12   32   71   17  117   38   18   2T
  #1    40   40   40   40   76    8   12   32   71   17  117   38   18   2T
      sgRR dgRR drRR ddRR      sgRW dgRW drRW ddRW      sgWR dgWR drWR ddWR
  #0    12    8   14   14        18   18   20   22        72   54   12   12
  #1    12    8   14   14        18   18   20   22        72   54   12   12
      sgWW dgWW drWW ddWW                REFI  RFC  XS   XP CPDED GEAR  ECC
  #0    26    8   14   14                4680  383  706   18   12    2    0
  #1    26    8   14   14                4680  383  706   18   12    2    0
                                                                           
 DIMM Geometry for channel #0                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0    16    1    131072      1024          16384      PSD516G480081S
 DIMM Geometry for channel #1                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0                                                                  
                                                                           
Controller #1                                                Dual Channel  
 Bus Rate  2400 MHz       Bus Speed 2389 MHz           DDR5 Speed 4778 MT/s
                                                                           
 Cha    CL RCDr RCDw   RP  RAS RRDs RRDl  FAW   WR RTPr WTPr  CWL  CKE  CMD
  #0    40   40   40   40   76    8   12   32   71   17  117   38   18   2T
  #1    40   40   40   40   76    8   12   32   71   17  117   38   18   2T
      sgRR dgRR drRR ddRR      sgRW dgRW drRW ddRW      sgWR dgWR drWR ddWR
  #0    12    8   14   14        18   18   20   22        72   54   12   12
  #1    12    8   14   14        18   18   20   22        72   54   12   12
      sgWW dgWW drWW ddWW                REFI  RFC  XS   XP CPDED GEAR  ECC
  #0    26    8   14   14                4680  383  706   18   12    2    0
  #1    26    8   14   14                4680  383  706   18   12    2    0
                                                                           
 DIMM Geometry for channel #0                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0    16    1    131072      1024          16384      PSD516G480081S
 DIMM Geometry for channel #1                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0

and here's a screenshot of the Technologies window:

image

@BugReporterZ
Copy link

BugReporterZ commented Aug 5, 2024

corefreq-cli -M
                             Intel Z690  [7A84]                            
Controller #0                                                Dual Channel  
 Bus Rate  3600 MHz       Bus Speed 3609 MHz           DDR4 Speed 7219 MT/s
                                                                           
 Cha    CL RCDr RCDw   RP  RAS RRDs RRDl  FAW   WR RTPr WTPr  CWL  CKE  CMD
  #0    18   22   22   22   42    4    9   40   24   12   46   18    7   2T
  #1     0    0    0    0    0    0    0    0    0    0    0    0    0   0T
      sgRR dgRR drRR ddRR      sgRW dgRW drRW ddRW      sgWR dgWR drWR ddWR
  #0     7    4   12   12        14   15   15   16        36   29    7    7
  #1     0    0    0    0         0    0    0    0         0    0    0    0
      sgWW dgWW drWW ddWW                REFI  RFC  XS   XP CPDED GEAR  ECC
  #0     7    4   12   12               14055  630  648   11    4    1    0
  #1     0    0    0    0                   0    0    0    0    0    0    0
                                                                           
 DIMM Geometry for channel #0                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0    16    2     65536      1024          16384  CMK32GX4M2D3600C18
 DIMM Geometry for channel #1                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0    16    2     65536      1024          16384  CMK32GX4M2D3600C18
                                                                           
Controller #1                                                Dual Channel  
 Bus Rate  3600 MHz       Bus Speed 3609 MHz           DDR4 Speed 7219 MT/s
                                                                           
 Cha    CL RCDr RCDw   RP  RAS RRDs RRDl  FAW   WR RTPr WTPr  CWL  CKE  CMD
  #0    18   22   22   22   42    4    9   40   24   12   46   18    7   2T
  #1     0    0    0    0    0    0    0    0    0    0    0    0    0   0T
      sgRR dgRR drRR ddRR      sgRW dgRW drRW ddRW      sgWR dgWR drWR ddWR
  #0     7    4   12   12        14   15   15   16        36   29    7    7
  #1     0    0    0    0         0    0    0    0         0    0    0    0
      sgWW dgWW drWW ddWW                REFI  RFC  XS   XP CPDED GEAR  ECC
  #0     7    4   12   12               14055  630  648   11    4    1    0
  #1     0    0    0    0                   0    0    0    0    0    0    0
                                                                           
 DIMM Geometry for channel #0                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0    16    2     65536      1024          16384  CMK32GX4M2D3600C18
 DIMM Geometry for channel #1                                              
      Slot Bank Rank     Rows   Columns    Memory Size (MB)                
       #0    16    2     65536      1024          16384  CMK32GX4M2D3600C18

image

@paulzzh
Copy link

paulzzh commented Aug 5, 2024

ff50d18 corefreq-cli -M

root@pve:~# corefreq-cli -M
                             Intel Z790  [7A04]
Controller #0                                                Dual Channel
 Bus Rate  3200 MHz       Bus Speed 3216 MHz           DDR5 Speed 6432 MT/s

 Cha    CL RCDr RCDw   RP  RAS RRDs RRDl  FAW   WR RTPr WTPr  CWL  CKE  CMD
  #0    32   39   39   39   89    8   16   32   96   23  136   32   24   2T
  #1    32   39   39   39   89    8   16   32   96   23  136   32   24   2T
      sgRR dgRR drRR ddRR      sgRW dgRW drRW ddRW      sgWR dgWR drWR ddWR
  #0    16    8   16   16        20   20   22   22        76   52   14   14
  #1    16    8   16   16        20   20   22   22        76   52   14   14
      sgWW dgWW drWW ddWW                REFI  RFC  XS   XP CPDED GEAR  ECC
  #0    34    8   16   16                6250  510  940   24   16    2    0
  #1    34    8   16   16                6250  510  940   24   16    2    0

 DIMM Geometry for channel #0
      Slot Bank Rank     Rows   Columns    Memory Size (MB)
       #0
 DIMM Geometry for channel #1
      Slot Bank Rank     Rows   Columns    Memory Size (MB)
       #0    16    2    131072      1024          32768

Controller #1                                                Dual Channel
 Bus Rate  3200 MHz       Bus Speed 3216 MHz           DDR5 Speed 6432 MT/s

 Cha    CL RCDr RCDw   RP  RAS RRDs RRDl  FAW   WR RTPr WTPr  CWL  CKE  CMD
  #0    32   39   39   39   89    8   16   32   96   23  136   32   24   2T
  #1    32   39   39   39   89    8   16   32   96   23  136   32   24   2T
      sgRR dgRR drRR ddRR      sgRW dgRW drRW ddRW      sgWR dgWR drWR ddWR
  #0    16    8   16   16        20   20   22   22        76   52   14   14
  #1    16    8   16   16        20   20   22   22        76   52   14   14
      sgWW dgWW drWW ddWW                REFI  RFC  XS   XP CPDED GEAR  ECC
  #0    34    8   16   16                6250  510  940   24   16    2    0
  #1    34    8   16   16                6250  510  940   24   16    2    0

 DIMM Geometry for channel #0
      Slot Bank Rank     Rows   Columns    Memory Size (MB)
       #0
 DIMM Geometry for channel #1
      Slot Bank Rank     Rows   Columns    Memory Size (MB)
       #0    16    2    131072      1024          32768

image

@cyring
Copy link
Owner Author

cyring commented Aug 5, 2024

@Technologicat
@paulzzh
@BugReporterZ

Thank you for your return.
I believe Watchdog is disabled in BIOS.

Can you toggle its state within UI; set it to OM ?

@BugReporterZ
Copy link

I can toggle it on, but I don't know what it does exactly.

@cyring
Copy link
Owner Author

cyring commented Aug 5, 2024

I can toggle it on, but I don't know what it does exactly.

It reports about the hardware state of the watchdog.
State is straight retrieved from Registers: TCO or ICH
But Watchdog usually needs an OS agent to be operational. To reboot system when processor is stuck. Mainly employed with Servers.
lsmod should list the agent driver: *wdt* or *tco* kernel modules, if your distribution has activated one of them.

@BugReporterZ
Copy link

I do have these:

lsmod|grep TCO
iTCO_wdt               16384  0
intel_pmc_bxt          16384  1 iTCO_wdt
iTCO_vendor_support    12288  1 iTCO_wdt

@cyring
Copy link
Owner Author

cyring commented Aug 5, 2024

I do have these:

lsmod|grep TCO
iTCO_wdt               16384  0
intel_pmc_bxt          16384  1 iTCO_wdt
iTCO_vendor_support    12288  1 iTCO_wdt

I'm wondering why code has detected TCO as disabled at first ?

@Technologicat
Copy link

I can toggle TCO in CoreFreq, too, but I don't have any of those modules loaded.

@cyring
Copy link
Owner Author

cyring commented Aug 6, 2024

I can toggle TCO in CoreFreq, too, but I don't have any of those modules loaded.

Great! that's the expecting result because CoreFreq toggles directly the registers.

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

No branches or pull requests

4 participants