1libnvme(9)                        API Manual                        libnvme(9)
2
3
4

NAME

6       struct nvme_id_psd - Power Management data structure
7

SYNOPSIS

9       struct nvme_id_psd {
10           __le16 mp;
11           __u8 rsvd2;
12           __u8 flags;
13           __le32 enlat;
14           __le32 exlat;
15           __u8 rrt;
16           __u8 rrl;
17           __u8 rwt;
18           __u8 rwl;
19           __le16 idlp;
20           __u8 ips;
21           __u8 rsvd19;
22           __le16 actp;
23           __u8 apws;
24           __u8 rsvd23[9];
25        };
26
27

Members

29       mp          Maximum  Power  indicates  the sustained maximum power con‐
30                   sumed by the NVM subsystem in this power state.  The  power
31                   in  Watts is equal to the value in this field multiplied by
32                   the scale specified in the Max Power Scale  bit  (see  enum
33                   nvme_psd_flags).  A  value  of 0 indicates Maximum Power is
34                   not reported.
35
36       rsvd2       Reserved
37
38       flags       Additional decoding flags, see enum nvme_psd_flags.
39
40       enlat       Entry Latency indicates the maximum latency in microseconds
41                   associated with entering this power state. A value of 0 in‐
42                   dicates Entry Latency is not reported.
43
44       exlat       Exit Latency indicates the maximum latency in  microseconds
45                   associated  with exiting this power state. A value of 0 in‐
46                   dicates Exit Latency is not reported.
47
48       rrt         Relative Read Throughput indicates the read throughput rank
49                   associated  with  this  power state relative to others. The
50                   value in this is less than the number  of  supported  power
51                   states.
52
53       rrl         Relative Read Latency indicates the read latency rank asso‐
54                   ciated with this power state relative to others. The  value
55                   in  this  field  is less than the number of supported power
56                   states.
57
58       rwt         Relative Write Throughput indicates write  throughput  rank
59                   associated  with  this  power state relative to others. The
60                   value in this field is less than the  number  of  supported
61                   power states
62
63       rwl         Relative Write Latency indicates the write latency rank as‐
64                   sociated with this power  state  relative  to  others.  The
65                   value  in  this  field is less than the number of supported
66                   power states
67
68       idlp        Idle Power indicates the typical power consumed by the  NVM
69                   subsystem over 30 seconds in this power state when idle.
70
71       ips         Idle   Power   Scale   indicates   the   scale  for  struct
72                   nvme_id_psd.idlp, see enum nvme_psd_ps  for  decoding  this
73                   field.
74
75       rsvd19      Reserved
76
77       actp        Active  Power  indicates the largest average power consumed
78                   by the NVM subsystem over a 10 second period in this  power
79                   state with the workload indicated in the Active Power Work‐
80                   load field.
81
82       apws        Bits 7-6: Active Power Scale(APS) indicates the  scale  for
83                   the  struct  nvme_id_psd.actp, see enum nvme_psd_ps for de‐
84                   coding this value.  Bits 2-0:  Active  Power  Workload(APW)
85                   indicates  the workload used to calculate maximum power for
86                   this power state.  See enum nvme_psd_workload for  decoding
87                   this field.
88
89       rsvd23      Reserved
90
91
92
93April 2023                    struct nvme_id_psd                    libnvme(9)
Impressum