diff options
author | Feng Pan <fpan@redhat.com> | 2017-04-06 11:27:27 -0400 |
---|---|---|
committer | Feng Pan <fpan@redhat.com> | 2017-04-06 11:27:27 -0400 |
commit | 0e446cc519de5f00cc2d5a03cac414b45cc1ce19 (patch) | |
tree | 51f65a4e6dcc0f85d3aebe3f118a0539b14a34b8 /jjb | |
parent | cf7e845476832dc8e1a0ca6c4e5bc40faea292d2 (diff) |
APEX: reduce hugepages and ram for virtual fdio/ovs deployments
Change-Id: Ifeea80111dd55785acbc6697ae216da4c8d3670a
Signed-off-by: Feng Pan <fpan@redhat.com>
Diffstat (limited to 'jjb')
-rwxr-xr-x | jjb/apex/apex-deploy.sh | 6 |
1 files changed, 5 insertions, 1 deletions
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" |