![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||||||||||
Solution Type Predictive Self-Healing Sure Solution 1640013.1 : Sun ZFS Storage Appliance: Client Tuning - 1MB Block Size Best Practices
In this Document
Applies to:Sun ZFS Storage 7320 - Version All Versions to All Versions [Release All Releases]Oracle ZFS Storage ZS3-2 - Version All Versions to All Versions [Release All Releases] Sun ZFS Storage 7120 - Version All Versions to All Versions [Release All Releases] Sun ZFS Storage 7420 - Version All Versions to All Versions [Release All Releases] Oracle ZFS Storage ZS3-4 - Version All Versions to All Versions [Release All Releases] 7000 Appliance OS (Fishworks) PurposeThe 1MB block size feature introduced in the 2013.1.1 release of the ZFS Storage Appliance may need additional tuning on all attached hosts to achieve 1MB IO sizes. This document details the necessary requirements on Windows, Linux, and Solaris when the maxblocksize or recordsize is set to 1MB.
DetailsFibre Channel
Create a new file called 99-zfssa.rules inside /etc/udev/rules.d with the following contents:
ACTION=="add", SYSFS{vendor}=="SUN", SYSFS{model}=="*ZFS*", ENV{ID_FS_USAGE}!="filesystem", ENV{ID_PATH}=="*-fc-*", RUN+="/bin/sh -c 'echo 1024 > /sys$DEVPATH/queue/max_sectors_kb'" Reboot
QLogic [qlfc]
C:\> qlfcx64.exe -tsize /fc /set 1024 Reboot Emulex [HBAnyware] set ExtTransferSize = 1 Reboot
# echo 'set maxphys=1048576' >> /etc/system
Reboot iSCSI
Create a new file called 99-zfssa.rules inside /etc/udev/rules.d with the following contents:
ACTION=="add", SYSFS{vendor}=="SUN", SYSFS{model}=="*ZFS*", ENV{ID_FS_USAGE}!="filesystem", ENV{ID_PATH}=="*-iscsi-*", RUN+="/bin/sh -c 'echo 1024 > /sys$DEVPATH/queue/max_sectors_kb'" Reboot
Open up the Registry Editor (regedit)
Navigate to HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E97B-E325-11CE-BFC1-08002BE10318}\<Instance Number>\Parameters Change the following parameters to 1048576 in Decimal form: FirstBurstLength MaxBurstLength MaxRecvDataSegmentLength MaxTransferLength Reboot
# echo 'set maxphys=1048576' >> /etc/system
Reboot NFS
# mount -t nfs -o rsize=1048576,wsize=1048576 target:/export/share /mnt/share
# mount -F nfs -o rsize=1048576,wsize=1048576 target:/export/share /mnt/share
LUN alignment
Attachments This solution has no attachment |
||||||||||||||||||||||||
|