Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add rc 200 and 0 to touchstone config for router-perf and modifying default number of clients #518

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"}
Copy link
Member

@rsevilla87 rsevilla87 Jan 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc: @mohit-sheth @jtaleric @dry923, changing default number of clients, as per 4.12 maxconns has been upgraded from 20K to 50K. Some context -> #519 (comment)

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