Skip to content

Commit

Permalink
set testpmd pod memory equals to hugepages
Browse files Browse the repository at this point in the history
  • Loading branch information
manurodriguez committed Oct 8, 2024
1 parent 4936b1b commit 3e5c697
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion testpmd-container-app/cnfapp/scripts/testpmd-wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ CORES_STR=$LCORES
IFS=',' read -ra CORES_ARR <<< "$CORES_STR"
CORES_LEN=${#CORES_ARR[@]}
if [[ $CORES_LEN -gt $TESTPMD_CPU_COUNT ]]; then
echo "ERROR: Acutal cores (${CORES_LEN}) is greater than configured cores (${TESTPMD_CPU_COUNT})"
echo "ERROR: Actual cores (${CORES_LEN}) is greater than configured cores (${TESTPMD_CPU_COUNT})"
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion testpmd-lb-operator/roles/loadbalancer/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ image_testpmd: "quay.io/rh-nfv-int/testpmd-container-app-testpmd@sha256:eca74e7c
image_listener: "quay.io/rh-nfv-int/testpmd-container-app-listener@sha256:050c5f7117bd6135af48cf742600bd30ab8448fe12fcab44960c1508c10327b1" # v0.2.3

hugepage_1gb_count: 4Gi
memory: 1000Mi
memory: 4Gi
cpu: 6
forwarding_cores: 4

Expand Down
2 changes: 1 addition & 1 deletion testpmd-operator/roles/testpmd/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ image_testpmd: "quay.io/rh-nfv-int/testpmd-container-app-cnfapp@sha256:c0cbe35d7
size: 1

hugepage_1gb_count: 4Gi
memory: 1000Mi
memory: 4Gi
cpu: 6
forwarding_cores: 4

Expand Down

0 comments on commit 3e5c697

Please sign in to comment.