Skip to content

Commit 7d7bfda

Browse files
committed
asim: add comments for datadriven
This commit updates comments for a few options we added recently. Epic: none Release note: none
1 parent 037996b commit 7d7bfda

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

pkg/kv/kvserver/asim/tests/datadriven_simulation_test.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,21 @@ import (
3737
//
3838
// - "gen_load" [rw_ratio=<float>] [rate=<float>] [access_skew=<bool>]
3939
// [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>]
4141
// Initialize the load generator with parameters. On the next call to eval,
4242
// the load generator is called to create the workload used in the
4343
// simulation. When `replace` is false, this workload doesn't replace
4444
// any existing workload specified by the simulation, it instead adds it
4545
// on top.The default values are: rw_ratio=0 rate=0 min_block=1
4646
// 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
4748
//
4849
// - "gen_cluster" [nodes=<int>] [stores_per_node=<int>]
50+
// [store_byte_capacity=<int>] [node_cpu_rate_capacity=<int>]
4951
// Initialize the cluster generator parameters. On the next call to eval,
5052
// 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.
5255
//
5356
// - "load_cluster": config=<name>
5457
// Load a defined cluster configuration to be the generated cluster in the

0 commit comments

Comments
 (0)