From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932088AbbCZVcA (ORCPT ); Thu, 26 Mar 2015 17:32:00 -0400 Received: from ipmail07.adl2.internode.on.net ([150.101.137.131]:7683 "EHLO ipmail07.adl2.internode.on.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932065AbbCZVb5 (ORCPT ); Thu, 26 Mar 2015 17:31:57 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2CJBgBMehRV/wYQLHlcgwaBLIJEr0oGmQwCAgEBAoFQTQEBAQEBAX2EFAEBAQQ6HCMMBAgDEQQBAQEJHgcPBSUDCgkOE4guzCYBAQEBAQEBAQEBAQEBAQEBARsYhXeFGYQvSQcGgxGBFgWaPpQuIoQCKjGBA4FAAQEB Date: Fri, 27 Mar 2015 08:31:13 +1100 From: Dave Chinner To: "Elliott, Robert (Server Storage)" Cc: Andy Lutomirski , Boaz Harrosh , Matthew Wilcox , Ross Zwisler , X86 ML , Thomas Gleixner , Dan Williams , Ingo Molnar , "Roger C. Pao" , linux-nvdimm , linux-kernel , "H. Peter Anvin" , Christoph Hellwig , "Kani, Toshimitsu" , Christoph Hellwig Subject: Re: [PATCH 1/8] pmem: Initial version of persistent memory driver Message-ID: <20150326213113.GF28129@dastard> References: <54F82CE0.4040502@plexistor.com> <54F830D4.7030205@plexistor.com> <54F84420.40209@plexistor.com> <54FD901A.3030905@plexistor.com> <94D0CD8314A33A4D9D801C0FE68B40295A84453E@G9W0745.americas.hpqcorp.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <94D0CD8314A33A4D9D801C0FE68B40295A84453E@G9W0745.americas.hpqcorp.net> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 26, 2015 at 04:00:57AM +0000, Elliott, Robert (Server Storage) wrote: > > -----Original Message----- > > From: linux-kernel-owner@vger.kernel.org [mailto:linux-kernel- > > owner@vger.kernel.org] On Behalf Of Andy Lutomirski > > Sent: Wednesday, March 18, 2015 1:07 PM > > To: Boaz Harrosh > > Cc: Matthew Wilcox; Ross Zwisler; X86 ML; Thomas Gleixner; Dan Williams; > > Ingo Molnar; Roger C. Pao; linux-nvdimm; linux-kernel; H. Peter Anvin; > > Christoph Hellwig > > Subject: Re: [PATCH 1/8] pmem: Initial version of persistent memory driver > > > > On Mar 9, 2015 8:20 AM, "Boaz Harrosh" wrote: > > > > > > On 03/06/2015 01:03 AM, Andy Lutomirski wrote: > > > <> > > > > > > > > I think it would be nice to have control over the caching mode. > > > > Depending on the application, WT or UC could make more sense. > > > > > > > > > > Patches are welcome. say > > > map=sss@aaa:WT,sss@aaa:CA, ... > > > > > > But for us, with direct_access(), all benchmarks show a slight advantage > > > for the cached mode. > > > > I'm sure cached is faster. The question is: who flushes the cache? > > > > --Andy > > Nobody. There is another discussion going on about ensuring we have mechanisms to flush the cpu caches correctly when DAX is enabled and data integrity operations are run. i.e. fsync and sync will provide cache flush triggers for DAX enabled devices once we get everything in place. Cheers, Dave. -- Dave Chinner david@fromorbit.com