lkml.org 
[lkml]   [2021]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: turbostat: Fix Pkg Power on Zen
From
Date
Hi,

On 01.02.21 10:01, Kurt Garloff wrote:
> Issue persists on Ryzen in 5.11-rc6:
>
> kvmadmin@KurtSrv2018(//):~ [0]$ sudo /casa/src/linux-stable/tools/power/x86/turbostat/turbostat
> [...]
> kvmadmin@KurtSrv2018(//):~ [243]$
>
>                             ^^^ Exit code
>
> With the patch:
>
> kvmadmin@KurtSrv2018(//):~ [243]$ sudo /casa/src/linux-stable/tools/power/x86/turbostat/turbostat   
> [...]                  
> Core    CPU     Avg_MHz Busy%   Bzy_MHz TSC_MHz IRQ     POLL    C1      C2      POLL%   C1%     C2%     CorWatt PkgWatt
> -       -       27      1.04    2562    3411    16046   33      2931    12895   0.00    0.85    98.48   1.57    18.81
> 0       0       12      0.55    2193    3400    885     1       111     757     0.00    1.12    98.42   0.04    18.74
> 0       16      1       0.05    2351    3400    53      0       3       54      0.00    0.05    99.92      
> 1       1       20      0.89    2261    3400    478     0       39      427     0.00    0.37    98.80   0.06
> 1       17      9       0.40    2329    3400    308     0       38      282     0.00    0.35    99.29      
> [...]

I was seeing the same issue (no stats, program just exits with 243), and
Kurt's simple patch resolved it for me.

Best,
Christian

\
 
 \ /
  Last update: 2021-03-15 23:23    [W:0.082 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site