[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cf8b3db3-6daa-0da1-c3bb-1c0de029af7d@molgen.mpg.de>
Date: Tue, 11 Feb 2020 12:18:51 +0100
From: Paul Menzel <pmenzel@...gen.mpg.de>
To: Len Brown <lenb@...nel.org>
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
x86@...nel.org
Subject: turbostat: Display all C-states on AMD Ryzen processor
Dear Len,
Running `turbostat` on an AMD Ryzen 5 PRO 1500, I do not see all C-states.
```
$ git describe
v5.6-rc1
$ sudo ./turbostat
turbostat version 19.08.31 - Len Brown <lenb@...nel.org>
CPUID(0): AuthenticAMD 0xd CPUID levels; 0x8000001f xlevels; family:model:stepping 0x17:1:1 (23:1:1)
CPUID(1): SSE3 MONITOR - - - TSC MSR - HT -
CPUID(6): APERF, No-TURBO, No-DTS, No-PTM, No-HWP, No-HWPnotify, No-HWPwindow, No-HWPepp, No-HWPpkg, No-EPB
CPUID(7): No-SGX
RAPL: 262 sec. Joule Counter Range, at 250 Watts
cpu7: POLL: CPUIDLE CORE POLL IDLE
cpu7: C1: ACPI HLT
cpu7: C2: ACPI IOPORT 0x414
cpu7: cpufreq driver: acpi-cpufreq
cpu7: cpufreq governor: performance
cpufreq boost: 1
cpu0: MSR_RAPL_PWR_UNIT: 0x000a1003 (0.125000 Watts, 0.000015 Joules, 0.000977 sec.)
Core CPU Avg_MHz Busy% Bzy_MHz TSC_MHz IRQ POLL C1 C2 POLL% C1% C2% CorWatt PkgWatt
- - 2 0.07 2973 3493 943 0 201 737 0.00 0.37 99.57 0.12 12.42
0 0 2 0.08 3005 3493 122 0 7 116 0.00 0.12 99.81 0.03 12.42
0 1 0 0.01 2998 3493 21 0 6 14 0.00 0.10 99.89
1 2 0 0.01 3036 3493 25 0 13 11 0.00 0.21 99.78 0.04
1 3 5 0.17 2960 3493 429 0 102 324 0.00 1.41 98.45
4 4 2 0.05 3015 3493 74 0 24 50 0.00 0.32 99.64 0.03
4 5 3 0.09 2921 3493 125 0 15 110 0.00 0.28 99.63
5 6 2 0.07 2978 3493 124 0 26 97 0.00 0.39 99.54 0.03
5 7 1 0.02 3012 3493 23 0 8 15 0.00 0.13 99.84
```
On an Intel processor more C-states are shown. Is support just lacking
on AMD, or should a different tool be used?
Kind regards,
Paul
Download attachment "smime.p7s" of type "application/pkcs7-signature" (5174 bytes)
Powered by blists - more mailing lists