[lkml]   [2015]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2 03/11] pmem: enable REQ_FUA/REQ_FLUSH handling
On Mon, Nov 16, 2015 at 6:05 AM, Jan Kara <> wrote:
> On Mon 16-11-15 14:37:14, Jan Kara wrote:
> But a question: Won't it be better to do sfence + pcommit only in response
> to REQ_FLUSH request and don't do it after each write? I'm not sure how
> expensive these instructions are but in theory it could be a performance
> win, couldn't it? For filesystems this is enough wrt persistency
> guarantees...

We would need to gather the performance data... The expectation is
that the cache flushing is more expensive than the sfence + pcommit.

 \ /
  Last update: 2015-11-16 18:41    [W:0.068 / U:70.960 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site