mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 16:29:21 +00:00
Tune PreemptionAsync and Unschedulable tests threshold and params.
This commit is contained in:
parent
5ffb0528dd
commit
b3c4fe48e9
@ -688,8 +688,8 @@
|
|||||||
# initPods: 20000
|
# initPods: 20000
|
||||||
# measurePods: 5000
|
# measurePods: 5000
|
||||||
|
|
||||||
# Measure throughput of regular schedulable pods that are interleaved by high priority preemption pods scheduled at 20/s rate.
|
# Measure throughput of regular schedulable pods that are interleaved by high priority preemption pods scheduled at 5/s rate.
|
||||||
# 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.
|
# 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.
|
||||||
# How is it achieved:
|
# How is it achieved:
|
||||||
# 1. There are X initial nodes with 4 low priority pods each, consuming 3.6 CPU out of the total 4 available.
|
# 1. There are X initial nodes with 4 low priority pods each, consuming 3.6 CPU out of the total 4 available.
|
||||||
# 2. High priority preemption which need to preempt 3 of 4 low priority pods to fit (require 3 CPU).
|
# 2. High priority preemption which need to preempt 3 of 4 low priority pods to fit (require 3 CPU).
|
||||||
@ -705,7 +705,7 @@
|
|||||||
mode: create
|
mode: create
|
||||||
templatePaths:
|
templatePaths:
|
||||||
- config/templates/pod-high-priority-large-cpu.yaml
|
- config/templates/pod-high-priority-large-cpu.yaml
|
||||||
intervalMilliseconds: 50
|
intervalMilliseconds: 200
|
||||||
- opcode: createPods
|
- opcode: createPods
|
||||||
countParam: $measurePods
|
countParam: $measurePods
|
||||||
podTemplatePath: config/templates/pod-default.yaml
|
podTemplatePath: config/templates/pod-default.yaml
|
||||||
@ -725,7 +725,7 @@
|
|||||||
measurePods: 500
|
measurePods: 500
|
||||||
- name: 5000Nodes
|
- name: 5000Nodes
|
||||||
labels: [performance]
|
labels: [performance]
|
||||||
threshold: 200
|
threshold: 120
|
||||||
params:
|
params:
|
||||||
initNodes: 5000
|
initNodes: 5000
|
||||||
initPods: 20000
|
initPods: 20000
|
||||||
@ -763,7 +763,7 @@
|
|||||||
measurePods: 1000
|
measurePods: 1000
|
||||||
- name: 5kNodes/10kPods
|
- name: 5kNodes/10kPods
|
||||||
labels: [performance]
|
labels: [performance]
|
||||||
threshold: 400
|
threshold: 250
|
||||||
params:
|
params:
|
||||||
initNodes: 5000
|
initNodes: 5000
|
||||||
measurePods: 10000
|
measurePods: 10000
|
||||||
|
Loading…
Reference in New Issue
Block a user