Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1485446

Re: [PATCH v4 0/3] nvme power saving

From J Freyensee <james_p_freyensee@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v4 0/3] nvme power saving
Date 2016-09-17 03:00 +0200
Message-ID <sic93-3Q4-5@gated-at.bofh.it> (permalink)
References <si5TX-8lX-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 2016-09-16 at 11:16 -0700, Andy Lutomirski wrote:
> Hi all-
> 
> Here's v4 of the APST patch set.  The biggest bikesheddable thing (I
> think) is the scaling factor.  I currently have it hardcoded so that
> we wait 50x the total latency before entering a power saving state.
> On my Samsung 950, this means we enter state 3 (70mW, 0.5ms entry
> latency, 5ms exit latency) after 275ms and state 4 (5mW, 2ms entry
> latency, 22ms exit latency) after 1200ms.  I have the default max
> latency set to 25ms.
> 
> FWIW, in practice, the latency this introduces seems to be well
> under 22ms, but my benchmark is a bit silly and I might have
> measured it wrong.  I certainly haven't observed a slowdown just
> using my laptop.
> 
> This time around, I changed the names of parameters after Jay
> Frayensee got confused by the first try.  Now they are:
> 
>  - ps_max_latency_us in sysfs: actually controls it.
>  - nvme_core.default_ps_max_latency_us: sets the default.
> 
> Yeah, they're mouthfuls, but they should be clearer now.
> 

I took the patches and applied them to one of my NVMe fabric hosts on
my NVMe-over-Fabrics setup.  Basically, it doesn't test much other than
Andy's explanation that "ps_max_latency_us" does not appear in any of
/sys/block/nvmeXnY sysfs nodes (I have 7) so seems good to me on this
front.

Tested-by: Jay Freyensee <james_p_freyensee@linux.intel.com>
[jpf: defaults benign to NVMe-over-Fabrics]

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v4 0/3] nvme power saving Andy Lutomirski <luto@kernel.org> - 2016-09-16 20:20 +0200
  [PATCH v4 2/3] nvme: Pass pointers, not dma addresses, to nvme_get/set_features() Andy Lutomirski <luto@kernel.org> - 2016-09-16 20:20 +0200
  Re: [PATCH v4 0/3] nvme power saving J Freyensee <james_p_freyensee@linux.intel.com> - 2016-09-17 03:00 +0200
  Re: [PATCH v4 0/3] nvme power saving Andy Lutomirski <luto@amacapital.net> - 2016-09-22 02:20 +0200
    Re: [PATCH v4 0/3] nvme power saving Christoph Hellwig <hch@lst.de> - 2016-09-22 15:30 +0200
  Re: [PATCH v4 0/3] nvme power saving Andy Lutomirski <luto@amacapital.net> - 2016-09-22 22:20 +0200
    Re: [PATCH v4 0/3] nvme power saving J Freyensee <james_p_freyensee@linux.intel.com> - 2016-09-22 23:40 +0200
      Re: [PATCH v4 0/3] nvme power saving Keith Busch <keith.busch@intel.com> - 2016-09-23 00:10 +0200
      Re: [PATCH v4 0/3] nvme power saving Andy Lutomirski <luto@amacapital.net> - 2016-09-23 00:20 +0200

csiph-web