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

Next revision
Previous revision
computing:storage:iscsi_vs_nfs [2015/08/09 18:22]
gcooper created
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, you should implement a fast SSD (or better) SLOG device which significantly speeds up sync writes.</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>
  
 In reality, the decision to use one or the other method of storage access is not so simple.  It may take (somewhat tedious) testing in your own environment in addition to some significant research on your part to develop your own understanding. In reality, the decision to use one or the other method of storage access is not so simple.  It may take (somewhat tedious) testing in your own environment in addition to some significant research on your part to develop your own understanding.
  
-Facts:+**Facts**:
  
-  * This writer is more familiar with NFS+  * This author is more familiar with NFS
   * iSCSI is **block storage**   * iSCSI is **block storage**
     * Storage is presented to the hypervisor as a block device     * Storage is presented to the hypervisor as a block device
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 25: Line 30:
     * Virtualization     * Virtualization
       * The integrity of VHDs is critical       * The integrity of VHDs is critical
 +
 +**HA Notes**:
 +
 +  * iSCSI uses MPIO to implement multiple network connections
 +    * More speed
 +    * More reliability
 +    * Higher availabilty
 +    * Potentially fully redundant storage networking
 +  * 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.1439166154.txt.gz · Last modified: 2015/08/09 18:22 by gcooper