NVMe APST high latency power states being skipped

Christoph Hellwig hch at infradead.org
Fri Jun 2 00:13:37 PDT 2017


On Fri, Jun 02, 2017 at 03:08:49PM +0800, Kai-Heng Feng wrote:
> After some more test, actually I am getting similar values despite
> APST on or off. This is a super hot machine so throttled CPU might be
> a more impactful factor here.
> 
> Can't directly get power state from NVMe make the latency between
> power state transition hard to measure.
> 
> At least after a long idle, I typed `ls` and everything showed
> instantly, I can't feel the latency at all. Probably the "real"
> latency is not as bad as NVMe claimed.
> 
> Maybe add an extra knob which can directly control deepest allow power
> state? Userspace tools can control deepest power state through this
> knob.

I'd prefer that things work out of the box.  I'd be tempted to just
bump up the latency requirement to cover the device, but if Andy
doesn't like that in general we could add a quirk for this device
to at least allow it to use deep power states.



More information about the Linux-nvme mailing list