From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [RFC Design Doc] Add vNVDIMM support for Xen Date: Mon, 1 Feb 2016 18:25:29 +0000 Message-ID: <56AFA319.8070801@citrix.com> References: <20160201054414.GA25211@hz-desktop.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20160201054414.GA25211@hz-desktop.sh.intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Haozhong Zhang Cc: Juergen Gross , Kevin Tian , Wei Liu , Ian Campbell , George Dunlap , Stefano Stabellini , Ian Jackson , xen-devel@lists.xen.org, Jan Beulich , Jun Nakajima , Xiao Guangrong , Keir Fraser List-Id: xen-devel@lists.xenproject.org On 01/02/16 05:44, Haozhong Zhang wrote: > Hi, > > The following document describes the design of adding vNVDIMM support > for Xen. Any comments are welcome. > > Thanks, > Haozhong Thankyou for doing this. It is a very comprehensive document, and a fantastic example for future similar situations. To start with however, I would like to clear up my confusion over the the usecases of pmem vs pblk. pblk, using indirect access, is less efficient than pmem. NVDIMMs themselves are slower (and presumably more expensive) than equivalent RAM, and presumably still has a finite number of write cycles, so I don't buy an argument suggesting that they are a plausible replacement for real RAM. I presume therefore that a system would only choose to use pblk mode in situations where the host physical address space is a limiting factor. Are there other situations which I have overlooked? Secondly, I presume that pmem vs pblk will be a firmware decision and fixed from the point of view of the Operating System? Thanks, ~Andrew