node-io: bound the writeback backlog so dind writeback cannot stall etcd
This commit is contained in:
parent
3cfb89fa2c
commit
c773a3e2a9
7 changed files with 220 additions and 0 deletions
16
infrastructure/node-io/configmap.yaml
Normal file
16
infrastructure/node-io/configmap.yaml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: etcd-io-guard-config
|
||||
namespace: node-io
|
||||
data:
|
||||
# Bounded writeback backlog. Measured on 2026-10-26 (see README.md):
|
||||
# default vm.dirty_ratio=20 (3 GB on this 15 GB box) lets the amd64 dind
|
||||
# runner queue 1-3 GB of dirty pages; an etcd WAL fdatasync has to wait for
|
||||
# the device to flush everything already submitted, which is where the
|
||||
# multi-second slow fdatasync comes from. 64 MiB / 16 MiB removed every
|
||||
# sample above 8 s and cut the median fsync from 512 ms to ~10 ms at a ~17 %
|
||||
# dind write-throughput cost. Raise both together if CI throughput matters
|
||||
# more than the etcd tail; keep background <= bytes.
|
||||
dirty-bytes: "67108864"
|
||||
dirty-background-bytes: "16777216"
|
||||
Loading…
Reference in a new issue