Skip to content

Commit

Permalink
add rc 200 and 0 and avg_latency touchstone config for router-perf & …
Browse files Browse the repository at this point in the history
…update default clients number
  • Loading branch information
qiliRedHat authored and mohit-sheth committed Jan 11, 2023
1 parent dfa9d31 commit 3839ba2
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 4 deletions.
35 changes: 35 additions & 0 deletions utils/touchstone-configs/mb-touchstone.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,15 @@
"requests_per_second": [
"avg"
],
"avg_latency": ["avg"],
"latency_95pctl": [
"avg"
],
"200": [
"avg"
],
"0": [
"avg"
]
}
},
Expand All @@ -32,8 +39,15 @@
"requests_per_second": [
"avg"
],
"avg_latency": ["avg"],
"latency_95pctl": [
"avg"
],
"200": [
"avg"
],
"0": [
"avg"
]
}
},
Expand All @@ -50,8 +64,15 @@
"requests_per_second": [
"avg"
],
"avg_latency": ["avg"],
"latency_95pctl": [
"avg"
],
"200": [
"avg"
],
"0": [
"avg"
]
}
},
Expand All @@ -68,8 +89,15 @@
"requests_per_second": [
"avg"
],
"avg_latency": ["avg"],
"latency_95pctl": [
"avg"
],
"200": [
"avg"
],
"0": [
"avg"
]
}
},
Expand All @@ -86,8 +114,15 @@
"requests_per_second": [
"avg"
],
"avg_latency": ["avg"],
"latency_95pctl": [
"avg"
],
"200": [
"avg"
],
"0": [
"avg"
]
}
}
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 @@ -24,13 +24,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 80"}
CLIENTS_MIX=${LARGE_SCALE_CLIENTS_MIX:-"1 25"}
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 400"}
CLIENTS_MIX=${SMALL_SCALE_CLIENTS_MIX:-"1 125"}
fi
}

Expand Down

0 comments on commit 3839ba2

Please sign in to comment.