User Tools

Site Tools


computing:storage:iscsi_vs_nfs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
computing:storage:iscsi_vs_nfs [2015/08/09 18:26]
gcooper
computing:storage:iscsi_vs_nfs [2017/06/07 11:37] (current)
gcooper
Line 1: Line 1:
 ====== iSCSI vs. NFS ====== ====== iSCSI vs. NFS ======
 +
 +http://www.racktopsystems.com/choosing-nfs-over-iscsi/
  
 This is a perennial subject when choosing shared storage for virtualization of VDI. This is a perennial subject when choosing shared storage for virtualization of VDI.
Line 5: Line 7:
 The common wisdom is that **iSCSI is faster than NFS** and **NFS is easier to manage than iSCSI**. The common wisdom is that **iSCSI is faster than NFS** and **NFS is easier to manage than iSCSI**.
  
-<note important>By default, **iSCSI writes are async** and **NFS writes are sync**.  This goes a long way towards explaining the common impression that iSCSI (block storage) is faster than NFS (file storage).</note>+<note important>By default, **iSCSI writes are async** (writeback cache enabled) and **NFS writes are sync**.  This goes a long way towards explaining the common impression that iSCSI (block storage) is faster than NFS (file storage).</note> 
 + 
 +<note tip>With ZFS storage servers, with an iSCSI setup with VM's, setting ''sync=always'' is the correct way to go for data integrity, but it may be slower.</note>
  
 <note tip>With ZFS storage servers, you should implement a fast SSD (or better) SLOG device (per pool) which significantly speeds up sync writes.</note> <note tip>With ZFS storage servers, you should implement a fast SSD (or better) SLOG device (per pool) which significantly speeds up sync writes.</note>
Line 19: Line 23:
     * Storage is presented to the hypervisor as a share     * Storage is presented to the hypervisor as a share
   * NFS is easier to manage   * NFS is easier to manage
 +    * Simple snapshots
     * Many admins choose **easier** over **slightly better performance**     * Many admins choose **easier** over **slightly better performance**
   * Transactional applications need better storage performance   * Transactional applications need better storage performance
Line 26: Line 31:
       * The integrity of VHDs is critical       * The integrity of VHDs is critical
  
-**Notes**:+**HA Notes**:
  
   * iSCSI uses MPIO to implement multiple network connections   * iSCSI uses MPIO to implement multiple network connections
Line 33: Line 38:
     * Higher availabilty     * Higher availabilty
     * Potentially fully redundant storage networking     * Potentially fully redundant storage networking
-  * NFS +  * NFS 
 +    * No internal HA networking 
 +    * Some true experts don't recommend using NFS over bonded NICs 
 +      * Use 10GbE for speed 
 +    * Some do 
 +    * **More research needed on resilient NFS networking**
computing/storage/iscsi_vs_nfs.1439166378.txt.gz · Last modified: 2015/08/09 18:26 by gcooper