RE: [PATCH] nvme: lower default APST max latency to 25ms

Alexey Bogoslavsky <[email protected]>
Newsgroups org.infradead.lists.linux-nvme,org.kernel.vger.linux-kernel
Message-ID <DS4PR16MB6924BCA2979152667FA670DA92A92@DS4PR16MB6924.namprd16.prod.outlook.com>
> -----Original Message-----
> From: Ferran Duarri <[email protected]> 
> Sent: Monday, August 31, 2026 4:17 PM
> To: Alexey Bogoslavsky <[email protected]>; Keith Busch <[email protected]>; Jens Axboe <[email protected]>; Christoph Hellwig <[email protected]>; Sagi Grimberg <[email protected]>
> Cc: Yehuda Hahn <[email protected]>; [email protected]; [email protected]; Ferran Duarri <[email protected]>
> Subject: Re: [PATCH] nvme: lower default APST max latency to 25ms

> Alexey - thanks, that's a real point I hadn't considered: if EXLAT is
> deliberately inflated to keep Windows on ps3, the 100ms default isn't a bug,
> it's aligned with what vendors actually tuned for.

> The measurement itself I think still holds - it's reading what the drive's
> live APST table targets, not just trusting the label, and the wake cost at
> ps4 was real regardless of why 43ms is the number on the tin. But that's a
> different question from whether Linux should default away from it.

> What's the OEM precedent you mentioned - did lowering the bound before break
> something specific, or was it more general pushback? Trying to understand if
> this needs to stay a boot-time opt-in (which it already is via
> default_ps_max_latency_us) rather than ever being a compiled default, on any
> hardware.

Hi, Ferran,
The immediate reason for revising the previous algorithm was failure to
meet Chromebook power consumption requirements (as mentioned in commit
ebd8a93). But the problem is a generic one, excessively high power
consumption is never OK and will occasionally be caught by OEMs during
device qualification tests.
Regards,
Alexey

> Also - sorry for the fourth copy of this patch landing in your inbox on the
> 28th. That was a bookkeeping failure on my end, not a deliberate re-post; it
> went out after your reply had already arrived and should not have.

That's OK)

> Cheers,
> Ferran
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.