You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
153991: asim: scale up cpu load in gen_load r=tbg a=wenyihu6
Epic: CRDB-49117
Release note: none
---
**asim: scale up cpu load in gen_load**
This commit adjusts some cpu load config for gen_load (e.g.,
request_cpu_per_access) to maintain a reasonable cpu utilization in some of the
asim dd setup. Some values were too low since the beginning. But recent changes
to scale up node_cpu_rate_capacity made things worse. This is important because
mma only triggers cpu rebalancing when cpu util exceeds a certain threshold.
https://github.com/cockroachdb/cockroach/blob/93f41d0e0dabdf54c7275581e0767452d6df5390/pkg/kv/kvserver/allocator/mmaprototype/load.go#L531
---
**asim: rename mma-and-count to mma-count**
This commit renames mma-and-count to mma-count for consistency with sma-count.
---
**asim: remove topology.txt**
Previously, we stopped generating topology in asim tests but didn’t clean up the
corresponding folder. This commit removes leftover topology files from
generated. An open question remains on whether we should always clear the
generated folder before writing new content.
---
**asim: add mma-count mode to some tests**
This commit adds mma-count mode to the relevant mma asim dd test setup,
preparing for future work on a thrashing-prevention mechanism and its impact
assessment.
Co-authored-by: wenyihu6 <[email protected]>
Copy file name to clipboardExpand all lines: pkg/kv/kvserver/asim/tests/testdata/generated/example_rebalancing/example_rebalancing_mma-only_1_topology.txt
Copy file name to clipboardExpand all lines: pkg/kv/kvserver/asim/tests/testdata/generated/example_rebalancing/example_rebalancing_mma-only_2_topology.txt
Copy file name to clipboardExpand all lines: pkg/kv/kvserver/asim/tests/testdata/generated/example_rebalancing/example_rebalancing_sma-count_1_topology.txt
Copy file name to clipboardExpand all lines: pkg/kv/kvserver/asim/tests/testdata/generated/example_rebalancing/example_rebalancing_sma-count_2_topology.txt
0 commit comments