Tune deployment performance
Increase number of NFS server threads.
Decrease helm deploy delay.
Issue-ID: INT-1117
Signed-off-by: Gary Wu <gary.wu@futurewei.com>
Change-Id: I819e9a14eec71cf0fa1c44ab15c52c2df527996e
diff --git a/deployment/heat/onap-rke/nfs_vm_entrypoint.sh b/deployment/heat/onap-rke/nfs_vm_entrypoint.sh
index b307023..871998a 100644
--- a/deployment/heat/onap-rke/nfs_vm_entrypoint.sh
+++ b/deployment/heat/onap-rke/nfs_vm_entrypoint.sh
@@ -89,6 +89,9 @@
sleep 10
done
+sed -i 's/RPCNFSDCOUNT=.*/RPCNFSDCOUNT=32/' /etc/default/nfs-kernel-server
+service nfs-kernel-server restart
+
nfs_volume_dev="/dev/disk/by-id/virtio-$(echo "__nfs_volume_id__" | cut -c -20)"
zpool create -f -m /dockerdata-nfs dockerdata-nfs $nfs_volume_dev