All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benny Halevy <bhalevy@panasas.com>
To: Frank Steiner <fsteiner-mail1-G0GEQqhI7DhYiKXMg8wJIg@public.gmane.org>
Cc: nfs@lists.sourceforge.net
Subject: Re: [NFS] Does "sync" cause the FUA bit to be set?
Date: Tue, 10 Jun 2008 14:53:31 +0300	[thread overview]
Message-ID: <484E6B3B.2030101@panasas.com> (raw)
In-Reply-To: <484E5AC1.3020200-G0GEQqhI7DhYiKXMg8wJIg@public.gmane.org>

On Jun. 10, 2008, 13:43 +0300, Frank Steiner <fsteiner-mail1-G0GEQqhI7DhYiKXMg8wJIg@public.gmane.org> wrote:
> Hi,
> 
> we have a raid controller serving a file system that we export and
> mount with NFS. Depending on the performance profile we chose for the 
> raid controller, the are huge performance differences on the NFS client 
> side between two profiles. Those two profiles both use write cache and
> no journaling, but one honors the FUA bit if it is set, and the other 
> profile ignores it (there might be more differences, but the manual
> doesn't state any others but the FUA bit).
> 
> With the profile ignoring the FUA bit, copying or deleting directories
> of e.g. 10M with a about 1000 files is factor 5 faster than with the
> profile honoring the FUA bit.
> 
> We export with the "sync" option. Does that option maybe set the FUA bit
> for all write operations on the NFS server?

No, it's not supposed to that for *all* writes. It's just supposed
to honor the client's synchronous writes and commit calls.
However, the directory is synced after each change (you say above that
files are copied or deleted) with the sync flag and this is more
likely to cause the slowdown you see.

Benny

> 
> cu,
> Frank
> 
> 


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
_______________________________________________
Please note that nfs@lists.sourceforge.net is being discontinued.
Please subscribe to linux-nfs@vger.kernel.org instead.
    http://vger.kernel.org/vger-lists.html#linux-nfs


  parent reply	other threads:[~2008-06-10 11:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-10 10:43 [NFS] Does "sync" cause the FUA bit to be set? Frank Steiner
     [not found] ` <484E5AC1.3020200-G0GEQqhI7DhYiKXMg8wJIg@public.gmane.org>
2008-06-10 11:53   ` Benny Halevy [this message]
2008-06-10 15:44   ` Wendy Cheng
     [not found]     ` <484EA215.5090000@panasas.com>
2008-06-10 18:52       ` Wendy Cheng
2008-06-10 19:47         ` J. Bruce Fields
     [not found]         ` <484EC317.8090801@panasas.com>
2008-06-10 22:58           ` Wendy Cheng
2008-06-16 13:06             ` Frank Steiner

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=484E6B3B.2030101@panasas.com \
    --to=bhalevy@panasas.com \
    --cc=fsteiner-mail1-G0GEQqhI7DhYiKXMg8wJIg@public.gmane.org \
    --cc=nfs@lists.sourceforge.net \
    /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.