Skip to content

Commit

Permalink
Dropping the number of clients in the large-scale and small-scale sce…
Browse files Browse the repository at this point in the history
…narios

Fixes: #451

Signed-off-by: Raul Sevilla <[email protected]>
  • Loading branch information
rsevilla87 committed Aug 11, 2022
1 parent f3991ff commit 010bd6b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions workloads/router-perf-v2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ It's possible to tune the default configuration through environment variables. T
| KUBE_BURNER_RELEASE_URL | Kube-burner binary URL | `https://github.com/cloud-bulldozer/kube-burner/releases/download/v0.16/kube-burner-0.16-Linux-x86_64.tar.gz` |
| LARGE_SCALE_THRESHOLD | Number of worker nodes required to consider a large scale scenario | `24` |
| SMALL_SCALE_ROUTES | Number of routes of each termination to create in the small scale scenario | `100` |
| SMALL_SCALE_CLIENTS | Threads/route to use in the small scale scenario | `1 40 200` |
| SMALL_SCALE_CLIENTS_MIX | Threads/route to use in the small scale scenario with mix termination | `1 20 80` |
| SMALL_SCALE_CLIENTS | Threads/route to use in the small scale scenario | `1 100` |
| SMALL_SCALE_CLIENTS_MIX | Threads/route to use in the small scale scenario with mix termination | `1 50` |
| LARGE_SCALE_ROUTES | Number of routes of each termination to create in the large scale scenario | `500` |
| LARGE_SCALE_CLIENTS | Threads/route to use in the large scale scenario | `1 20 80` |
| LARGE_SCALE_CLIENTS_MIX | Threads/route to use in the large scale scenario with mix termination | `1 10 20` |
| LARGE_SCALE_CLIENTS | Threads/route to use in the large scale scenario | `1 20` |
| LARGE_SCALE_CLIENTS_MIX | Threads/route to use in the large scale scenario with mix termination | `1 10` |
| DEPLOYMENT_REPLICAS | Number of pod replicas per deployment | `1` |
| TLS_REUSE | Reuse TLS session | `true` |
| SAMPLES | Number of samples to perform of each test | `2` |
Expand Down
8 changes: 4 additions & 4 deletions workloads/router-perf-v2/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ get_scenario(){
if [[ ${NUM_NODES} -ge ${LARGE_SCALE_THRESHOLD} ]]; then
log "Large scale scenario detected: #workers >= ${LARGE_SCALE_THRESHOLD}"
export NUMBER_OF_ROUTES=${LARGE_SCALE_ROUTES:-500}
CLIENTS=${LARGE_SCALE_CLIENTS:-"1 20 80"}
CLIENTS_MIX=${LARGE_SCALE_CLIENTS_MIX:-"1 10 20"}
CLIENTS=${LARGE_SCALE_CLIENTS:-"1 20"}
CLIENTS_MIX=${LARGE_SCALE_CLIENTS_MIX:-"1 10"}
else
log "Small scale scenario detected: #workers < ${LARGE_SCALE_THRESHOLD}"
export NUMBER_OF_ROUTES=${SMALL_SCALE_ROUTES:-100}
CLIENTS=${SMALL_SCALE_CLIENTS:-"1 40 200"}
CLIENTS_MIX=${SMALL_SCALE_CLIENTS_MIX:-"1 20 80"}
CLIENTS=${SMALL_SCALE_CLIENTS:-"1 100"}
CLIENTS_MIX=${SMALL_SCALE_CLIENTS_MIX:-"1 50"}
fi
}

Expand Down

0 comments on commit 010bd6b

Please sign in to comment.