cockroach icon indicating copy to clipboard operation
cockroach copied to clipboard

roachtest: add test for admission control disk bandwidth

Open aadityasondhi opened this issue 1 year ago • 1 comments

This test runs a single node target cluster that has two workloads running on it. The lower priority (qos=background) is very bandwidth intensive, and without the AC bandwidth limiter would saturate the provisioned bandwidth (controlled using cgroups).

This test shows how setting the cluster setting kvadmission.store.provisioned-bandwidth limits the disk bandwidth usage of lower priority work and shapes it at the value set in the setting.

Fixes https://github.com/cockroachdb/cockroach/issues/121576.

Release note: None

aadityasondhi avatar May 14 '24 19:05 aadityasondhi

This change is Reviewable

cockroach-teamcity avatar May 14 '24 19:05 cockroach-teamcity

Link to grafana dashboard showing this.

Note: I manually adjusted setting in that run to show how the shaping is working. In this test, we set those limits right away and assert on never going too far past the provisioned limit.

aadityasondhi avatar May 16 '24 22:05 aadityasondhi