experiment: add per-gpu workload control
This commit is contained in:
@@ -47,9 +47,9 @@ run_mode() {
|
||||
fi
|
||||
|
||||
mapfile -t families < <(
|
||||
jq -r --argjson prefix "${prefix_mode}" '
|
||||
jq -r --argjson prefix "${prefix_mode}" --argjson tp "${TP}" '
|
||||
.cases
|
||||
| map(select(.prefix_caching == $prefix))
|
||||
| map(select(.prefix_caching == $prefix and ((.tp // $tp) == $tp)))
|
||||
| map(.family)
|
||||
| unique
|
||||
| .[]
|
||||
@@ -75,9 +75,9 @@ run_mode() {
|
||||
traces=()
|
||||
command=()
|
||||
mapfile -t traces < <(
|
||||
jq -r --arg family "${family}" '
|
||||
jq -r --arg family "${family}" --argjson tp "${TP}" '
|
||||
.cases
|
||||
| map(select(.family == $family))
|
||||
| map(select(.family == $family and ((.tp // $tp) == $tp)))
|
||||
| sort_by(.global_offered_request_rate)
|
||||
| .[]
|
||||
| "\(.family)-rho\(.rho | tostring | gsub("\\."; "p"))=\(.public_csv)"
|
||||
|
||||
Reference in New Issue
Block a user