aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGary Wu <gary.wu@futurewei.com>2019-06-21 23:15:55 -0700
committerGary Wu <gary.wu@futurewei.com>2019-06-22 11:41:07 -0700
commit06b08126e911f834ca0b8e166ddaad4f6a6b1e01 (patch)
tree2e18902677f0b7eb0c3e5e40acbb1994eed174d3
parentcf883a01df772f6891ec43c3adb1a2b58f6aa3c0 (diff)
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
-rw-r--r--deployment/heat/onap-rke/env/windriver/onap-oom.env2
-rw-r--r--deployment/heat/onap-rke/nfs_vm_entrypoint.sh3
2 files changed, 4 insertions, 1 deletions
diff --git a/deployment/heat/onap-rke/env/windriver/onap-oom.env b/deployment/heat/onap-rke/env/windriver/onap-oom.env
index 77c1babad..480394bd1 100644
--- a/deployment/heat/onap-rke/env/windriver/onap-oom.env
+++ b/deployment/heat/onap-rke/env/windriver/onap-oom.env
@@ -16,7 +16,7 @@ parameters:
integration_gerrit_branch: master
- helm_deploy_delay: 3m
+ helm_deploy_delay: 30s
integration_override_yaml: >
global:
diff --git a/deployment/heat/onap-rke/nfs_vm_entrypoint.sh b/deployment/heat/onap-rke/nfs_vm_entrypoint.sh
index b307023be..871998a72 100644
--- a/deployment/heat/onap-rke/nfs_vm_entrypoint.sh
+++ b/deployment/heat/onap-rke/nfs_vm_entrypoint.sh
@@ -89,6 +89,9 @@ while ! hash jq &> /dev/null; do
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