From 0e446cc519de5f00cc2d5a03cac414b45cc1ce19 Mon Sep 17 00:00:00 2001 From: Feng Pan Date: Thu, 6 Apr 2017 11:27:27 -0400 Subject: APEX: reduce hugepages and ram for virtual fdio/ovs deployments Change-Id: Ifeea80111dd55785acbc6697ae216da4c8d3670a Signed-off-by: Feng Pan --- jjb/apex/apex-deploy.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'jjb') diff --git a/jjb/apex/apex-deploy.sh b/jjb/apex/apex-deploy.sh index 9e596d32e..01120f021 100755 --- a/jjb/apex/apex-deploy.sh +++ b/jjb/apex/apex-deploy.sh @@ -189,7 +189,11 @@ if [[ "$JOB_NAME" == *virtual* ]]; then # settings for virtual deployment DEPLOY_CMD="${DEPLOY_CMD} -v" if [[ "${DEPLOY_SCENARIO}" =~ fdio|ovs ]]; then - DEPLOY_CMD="${DEPLOY_CMD} --virtual-default-ram 14 --virtual-compute-ram 6" + DEPLOY_CMD="${DEPLOY_CMD} --virtual-default-ram 12 --virtual-compute-ram 4" + TMP_DEPLOY_FILE="${WORKSPACE}/${DEPLOY_SCENARIO}.yaml" + cp -f ${DEPLOY_FILE} ${TMP_DEPLOY_FILE} + sed -i 's/^\(\s*hugepages:\).*$/\1 1024/g' ${TMP_DEPLOY_FILE} + DEPLOY_FILE=${TMP_DEPLOY_FILE} fi if [[ "$JOB_NAME" == *csit* ]]; then DEPLOY_CMD="${DEPLOY_CMD} -e csit-environment.yaml" -- cgit 1.2.3-korg