Skip to content

Commit b7a85a9

Browse files
authored
Merge pull request kubernetes#128262 from dom4ha/scheduler-perf
Tune PreemptionAsync and Unschedulable tests threshold and params.
2 parents 7b7a796 + b3c4fe4 commit b7a85a9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -688,8 +688,8 @@
688688
# initPods: 20000
689689
# measurePods: 5000
690690

691-
# Measure throughput of regular schedulable pods that are interleaved by high priority preemption pods scheduled at 20/s rate.
692-
# Implementation of asynchrounous preemption feature https://github.com/kubernetes/kubernetes/issues/126858 is supposed to increase the trhoughput of the measured pods as all heavy operations (apiserver communication) will be performed asyncronously, wihtout blocking the scheduler loop.
691+
# Measure throughput of regular schedulable pods that are interleaved by high priority preemption pods scheduled at 5/s rate.
692+
# Implementation of asynchronous preemption feature https://github.com/kubernetes/kubernetes/issues/126858 is supposed to increase the throughput of the measured pods as all heavy operations (apiserver communication) will be performed asynchronously, without blocking the scheduler loop.
693693
# How is it achieved:
694694
# 1. There are X initial nodes with 4 low priority pods each, consuming 3.6 CPU out of the total 4 available.
695695
# 2. High priority preemption which need to preempt 3 of 4 low priority pods to fit (require 3 CPU).
@@ -705,7 +705,7 @@
705705
mode: create
706706
templatePaths:
707707
- config/templates/pod-high-priority-large-cpu.yaml
708-
intervalMilliseconds: 50
708+
intervalMilliseconds: 200
709709
- opcode: createPods
710710
countParam: $measurePods
711711
podTemplatePath: config/templates/pod-default.yaml
@@ -725,7 +725,7 @@
725725
measurePods: 500
726726
- name: 5000Nodes
727727
labels: [performance]
728-
threshold: 200
728+
threshold: 120
729729
params:
730730
initNodes: 5000
731731
initPods: 20000
@@ -763,7 +763,7 @@
763763
measurePods: 1000
764764
- name: 5kNodes/10kPods
765765
labels: [performance]
766-
threshold: 400
766+
threshold: 250
767767
params:
768768
initNodes: 5000
769769
measurePods: 10000

0 commit comments

Comments
 (0)