linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paul Menzel <pmenzel@molgen.mpg.de>
To: Len Brown <lenb@kernel.org>
Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, x86@kernel.org
Subject: turbostat: Display all C-states on AMD Ryzen processor
Date: Tue, 11 Feb 2020 12:18:51 +0100	[thread overview]
Message-ID: <cf8b3db3-6daa-0da1-c3bb-1c0de029af7d@molgen.mpg.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 1513 bytes --]

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@kernel.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


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5174 bytes --]

             reply	other threads:[~2020-02-11 11:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-11 11:18 Paul Menzel [this message]
2020-03-21 16:13 ` turbostat: Display all C-states on AMD Ryzen processor Len Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cf8b3db3-6daa-0da1-c3bb-1c0de029af7d@molgen.mpg.de \
    --to=pmenzel@molgen.mpg.de \
    --cc=lenb@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).