Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
* NVMe APST high latency power states being skipped
@ 2017-05-22  9:04 Kai-Heng Feng
  2017-05-23  7:17 ` Christoph Hellwig
  0 siblings, 1 reply; 21+ messages in thread
From: Kai-Heng Feng @ 2017-05-22  9:04 UTC (permalink / raw)


Hi Andy,

Currently, if a power state tradition requires high latency, it may be
skipped [1] based on the value of ps_max_latency_us in
nvme_configure_apst():

if (total_latency_us > ctrl->ps_max_latency_us)
    continue;

Right now ps_max_latency_us defaults to 25000, but some consumer level
NVMe have much higher latency.
I understand this value is configurable, but I am wondering if it's
possible to ignore the latency on consumer devices, probably based on
chassis type, so consumer devices can get most NVMe power saving out
of the box?

Thanks.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git/tree/drivers/nvme/host/core.c?h=nvme/power#n1396

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2017-06-07  6:19 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-22  9:04 NVMe APST high latency power states being skipped Kai-Heng Feng
2017-05-23  7:17 ` Christoph Hellwig
2017-05-23  8:06   ` Kai-Heng Feng
2017-05-23  9:42     ` Christoph Hellwig
2017-05-23 19:35     ` Andy Lutomirski
2017-05-23 19:56       ` Mario.Limonciello
2017-05-23 20:01         ` Andy Lutomirski
2017-05-23 20:19           ` Mario.Limonciello
2017-05-23 21:11             ` Andy Lutomirski
2017-05-23 22:09               ` Mario.Limonciello
2017-05-24  4:53                 ` Kai-Heng Feng
2017-05-24  5:31                   ` Andy Lutomirski
2017-05-25  8:21                     ` Kai-Heng Feng
2017-05-26  9:25                       ` Christoph Hellwig
2017-06-01  8:19                         ` Kai-Heng Feng
2017-06-01 11:32                           ` Christoph Hellwig
2017-06-02  7:08                             ` Kai-Heng Feng
2017-06-02  7:13                               ` Christoph Hellwig
2017-06-06  9:54                                 ` Christoph Hellwig
2017-06-06 15:57                                   ` Andy Lutomirski
2017-06-07  6:19                                     ` Kai-Heng Feng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox