From 61ddfc69a020c8f765cb26514b4354c576ab843a Mon Sep 17 00:00:00 2001 From: Dmitry Shmulevich Date: Tue, 6 May 2025 14:42:50 +0300 Subject: [PATCH] add scaling benchmark scripts Signed-off-by: Dmitry Shmulevich --- scripts/benchmarks/scaling/run-kai.sh | 2 +- scripts/benchmarks/scaling/run-kueue.sh | 21 +++++++++++++++++++++ scripts/benchmarks/scaling/run-volcano.sh | 21 +++++++++++++++++++++ scripts/benchmarks/scaling/run-yunikorn.sh | 21 +++++++++++++++++++++ 4 files changed, 64 insertions(+), 1 deletion(-) create mode 100755 scripts/benchmarks/scaling/run-kueue.sh create mode 100755 scripts/benchmarks/scaling/run-volcano.sh create mode 100755 scripts/benchmarks/scaling/run-yunikorn.sh diff --git a/scripts/benchmarks/scaling/run-kai.sh b/scripts/benchmarks/scaling/run-kai.sh index 27b4bcb5..a756fa34 100755 --- a/scripts/benchmarks/scaling/run-kai.sh +++ b/scripts/benchmarks/scaling/run-kai.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright (c) 2024, NVIDIA CORPORATION. All rights reserved. +# Copyright (c) 2024-2025, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/scripts/benchmarks/scaling/run-kueue.sh b/scripts/benchmarks/scaling/run-kueue.sh new file mode 100755 index 00000000..42034567 --- /dev/null +++ b/scripts/benchmarks/scaling/run-kueue.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +# Copyright (c) 2024-2025, NVIDIA CORPORATION. All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -e + +REPO_HOME=$(readlink -f $(dirname $(readlink -f "$0"))/../../../) + +$REPO_HOME/bin/knavigator -workflow "$REPO_HOME/resources/benchmarks/scaling/workflows/{config-nodes.yaml,config-kueue.yaml,run-test-single.yaml}" diff --git a/scripts/benchmarks/scaling/run-volcano.sh b/scripts/benchmarks/scaling/run-volcano.sh new file mode 100755 index 00000000..bf30c71a --- /dev/null +++ b/scripts/benchmarks/scaling/run-volcano.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +# Copyright (c) 2024-2025, NVIDIA CORPORATION. All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -e + +REPO_HOME=$(readlink -f $(dirname $(readlink -f "$0"))/../../../) + +$REPO_HOME/bin/knavigator -workflow "$REPO_HOME/resources/benchmarks/scaling/workflows/{config-nodes.yaml,config-volcano.yaml,run-test-single.yaml}" diff --git a/scripts/benchmarks/scaling/run-yunikorn.sh b/scripts/benchmarks/scaling/run-yunikorn.sh new file mode 100755 index 00000000..5d6d9a0b --- /dev/null +++ b/scripts/benchmarks/scaling/run-yunikorn.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +# Copyright (c) 2024-2025, NVIDIA CORPORATION. All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -e + +REPO_HOME=$(readlink -f $(dirname $(readlink -f "$0"))/../../../) + +$REPO_HOME/bin/knavigator -workflow "$REPO_HOME/resources/benchmarks/scaling/workflows/{config-nodes.yaml,config-yunikorn.yaml,run-test-single.yaml}"