File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
pkg/kv/kvserver/asim/tests Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -37,18 +37,21 @@ import (
37
37
//
38
38
// - "gen_load" [rw_ratio=<float>] [rate=<float>] [access_skew=<bool>]
39
39
// [min_block=<int>] [max_block=<int>] [min_key=<int>] [max_key=<int>]
40
- // [replace=<bool>]
40
+ // [replace=<bool>] [cpu_per_access=<int>] [raft_cpu_per_write=<int>]
41
41
// Initialize the load generator with parameters. On the next call to eval,
42
42
// the load generator is called to create the workload used in the
43
43
// simulation. When `replace` is false, this workload doesn't replace
44
44
// any existing workload specified by the simulation, it instead adds it
45
45
// on top.The default values are: rw_ratio=0 rate=0 min_block=1
46
46
// max_block=1 min_key=1 max_key=10_000 access_skew=false replace=false
47
+ // cpu_per_access=0 raft_cpu_per_write=0
47
48
//
48
49
// - "gen_cluster" [nodes=<int>] [stores_per_node=<int>]
50
+ // [store_byte_capacity=<int>] [node_cpu_rate_capacity=<int>]
49
51
// Initialize the cluster generator parameters. On the next call to eval,
50
52
// the cluster generator is called to create the initial state used in the
51
- // simulation. The default values are: nodes=3 stores_per_node=1.
53
+ // simulation. The default values are: nodes=3 stores_per_node=1
54
+ // store_byte_capacity=256<<32, node_cpu_rate_capacity=0.
52
55
//
53
56
// - "load_cluster": config=<name>
54
57
// Load a defined cluster configuration to be the generated cluster in the
You can’t perform that action at this time.
0 commit comments