References
Intel® Omni-Path Fabric Performance Tuning User Guide [Rev. 10.0, October 2017]
Section 4.3 “HFI1 Driver Parameters” contains the information surrounding initramfs.
‘dracut –f’ forces hfi1.conf parameters to be applied at boot.
Example:
Verify hfi1.conf and reboot: [RHEL7.4 hds1fnad261 20171116_1220 scripts]# cat /etc/modprobe.d/hfi1.conf options hfi1 krcvqs=4 sge_copy_mode=2 wss_threshold=70 [RHEL7.4 hds1fnad261 20171116_1222 scripts]# reboot Check hfi1 parameters in use after reboot: [RHEL7.4 hds1fnad261 20171116_1225 ~]# cd /scratch/mlkirkco/scripts [RHEL7.4 hds1fnad261 20171116_1226 scripts]# ./get-hfi1-params-conf.sh krcvqs= sge_copy_mode=0 wss_threshold=80 (*NOT using hfi1.conf as desired) Run ‘dracut –f’ to update initramfs: [RHEL7.4 hds1fnad261 20171116_1226 scripts]# dracut -f [RHEL7.4 hds1fnad261 20171116_1226 scripts]# reboot Verify hfi1 parameters after reboot: [RHEL7.4 hds1fnad261 20171116_1233 ~]# cat /etc/modprobe.d/hfi1.conf options hfi1 krcvqs=4 sge_copy_mode=2 wss_threshold=70 [RHEL7.4 hds1fnad261 20171116_1233 ~]# cd /scratch/mlkirkco/scripts [RHEL7.4 hds1fnad261 20171116_1233 scripts]# ./get-hfi1-params-conf.sh krcvqs=4 sge_copy_mode=2 wss_threshold=70