NVMe APST high latency power states being skipped
Kai-Heng Feng
kai.heng.feng at canonical.com
Mon May 22 02:04:15 PDT 2017
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
More information about the Linux-nvme
mailing list