Skip to content

Commit 632ed16

Browse files
authored
Merge pull request kubernetes#128153 from dom4ha/sch
Add UnschedulableAsync test in scheduler_perf to monitor impact of unschedulable pods on scheduler performance
2 parents 1b20b08 + b7f55a3 commit 632ed16

File tree

1 file changed

+12
-19
lines changed

1 file changed

+12
-19
lines changed

test/integration/scheduler_perf/config/performance-config.yaml

Lines changed: 12 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -731,49 +731,42 @@
731731
initPods: 20000
732732
measurePods: 5000
733733

734+
# Measure throughput of regular schedulable pods that are interleaved by unschedulable pods injected at 100/s rate.
734735
- name: Unschedulable
735736
workloadTemplate:
736737
- opcode: createNodes
737738
countParam: $initNodes
738-
- opcode: createPods
739-
countParam: $initPods
740-
podTemplatePath: config/templates/pod-large-cpu.yaml
741-
skipWaitToCompletion: true
739+
- opcode: churn
740+
mode: create
741+
templatePaths:
742+
- config/templates/pod-large-cpu.yaml
743+
intervalMilliseconds: 10
742744
- opcode: createPods
743745
countParam: $measurePods
744746
podTemplatePath: config/templates/pod-default.yaml
745747
collectMetrics: true
746748
workloads:
747-
- name: 5Nodes/2InitPods
749+
- name: 5Nodes/10Pods
748750
labels: [integration-test, performance, short]
749751
params:
750752
initNodes: 5
751-
initPods: 2
752753
measurePods: 10
753-
- name: 500Nodes/200InitPods
754+
- name: 500Nodes/1kPods
754755
labels: [performance, short]
755756
params:
756757
initNodes: 500
757-
initPods: 200
758758
measurePods: 1000
759-
- name: 5000Nodes/200InitPods
759+
- name: 5kNodes/1kPods
760760
labels: [performance, short]
761761
params:
762762
initNodes: 5000
763-
initPods: 200
764-
measurePods: 5000
765-
- name: 5000Nodes/200InitPods/10000Pods
763+
measurePods: 1000
764+
- name: 5kNodes/10kPods
766765
labels: [performance]
767-
threshold: 300
766+
threshold: 400
768767
params:
769768
initNodes: 5000
770-
initPods: 200
771769
measurePods: 10000
772-
- name: 5000Nodes/2000InitPods
773-
params:
774-
initNodes: 5000
775-
initPods: 2000
776-
measurePods: 5000
777770

778771
- name: SchedulingWithMixedChurn
779772
workloadTemplate:

0 commit comments

Comments
 (0)