Re: [NFS] Does "sync" cause the FUA bit to be set?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Jun. 10, 2008, 13:43 +0300, Frank Steiner <fsteiner-mail1@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/nfs
_______________________________________________
Please note that nfs@xxxxxxxxxxxxxxxxxxxxx is being discontinued.
Please subscribe to linux-nfs@xxxxxxxxxxxxxxx instead.
    http://vger.kernel.org/vger-lists.html#linux-nfs

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux