All of lore.kernel.org
 help / color / mirror / Atom feed
From: willy@linux.intel.com (Matthew Wilcox)
Subject: Anyone working on nvme power management?
Date: Tue, 19 Jan 2016 09:44:22 -0500	[thread overview]
Message-ID: <20160119144422.GB2948@linux.intel.com> (raw)
In-Reply-To: <CALCETrUDmjXDYzHrhpS=0UokebFys4rWhot5Ti1dxa=KX_9+9g@mail.gmail.com>

On Mon, Jan 18, 2016@03:23:31PM -0800, Andy Lutomirski wrote:
> Also, the host memory buffer feature seems related, although I can't
> find anything in the spec saying what its purpose is.  Is it related
> to the power management features?  Does it give faster low-power
> exits?

The host memory buffer exists because some bright spark working on a
drive noticed that it's significantly quicker & higher bandwidth to store
various data in host DRAM than it is to store them on the drive's flash.
So as long as they can twist our arms into allocating host DRAM for
them and tolerate the fact that the contents of the host memory buffer
go away at power-loss, they're going to store all kinds of things there
that they don't want to keep in the drive's own DRAM.

So yes, the HMB may well be used by the drive to store the (hopefully
encrypted) contents of its own DRAM during low-power states where it
wants to power down its DRAM, but it may also be used during regular
operation for other things.

  reply	other threads:[~2016-01-19 14:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-18 23:23 Anyone working on nvme power management? Andy Lutomirski
2016-01-19 14:44 ` Matthew Wilcox [this message]
2016-01-19 19:37   ` Andy Lutomirski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160119144422.GB2948@linux.intel.com \
    --to=willy@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.